ARM: Add missing sfi_breg in LDR_GLOBAL macro.
[glibc.git] / ChangeLog
blobb2a1a091098f58c634d508d1cf5dbe0f4b6913ba
1 2015-02-06  Roland McGrath  <roland@hack.frob.com>
3         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
4         Use sfi_breg on ldr.
5         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
6         Likewise.
8         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
9         it's defined.
10         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
11         Test SIGSETXID only if it's defined.
13         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
15         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
16         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
18         * nptl/tst-align2.c: Moved ...
19         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
20         * nptl/Makefile (tests): Remove tst-align2.
21         * sysdeps/unix/sysv/linux/Makefile
22         [$(subdir) = nptl] (tests): Add tst-align-clone.
23         * nptl/tst-getpid1.c: Moved ...
24         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
25         * nptl/tst-getpid2.c: Moved ...
26         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
27         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
28         * sysdeps/unix/sysv/linux/Makefile
29         [$(subdir) = nptl] (tests): ... here.
30         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
31         * sysdeps/unix/sysv/linux/Makefile
32         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
34         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
35         Drop trailing \n from perror argument.  Use return rather than exit.
37         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
38         on [SA_SIGINFO].
39         * nptl/tst-cancel21.c (do_test): Likewise.
40         * debug/tst-backtrace6.c: Include <signal.h> first thing.
41         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
42         [!SA_SIGINFO]: Make it a stub test.
44         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
45         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
47         * posix/tst-getlogin.c: Move to ...
48         * login/tst-getlogin.c: ... here.
49         * posix/Makefile (tests): Move tst-getlogin to ...
50         * login/Makefile (tests): ... here.
52         * libio/tst-atime.c (do_test): Move local variables SV and E
53         inside [ST_NOATIME] conditional.
55         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
57         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
59         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
60         (wait_code): New function replaces macro.
61         Call nanosleep rather than syscall.
63         * nptl/pt-system.c: Rewritten.  Put everything under
64         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
65         Use IFUNC to redirect when possible.
67         * nptl/pt-longjmp.c: Rewritten.  Put everything under
68         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
69         Use IFUNC to redirect when possible.
71         * nptl/pt-fork.c: Rewritten.  Put everything under
72         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
73         Use IFUNC to redirect when possible.
74         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
76         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
77         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
78         unconditionally nowadays.  This included the only reference to
79         __vdso_clock_gettime that appears outside libc proper.
80         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
81         Remove version set (containing only __vdso_clock_gettime).
82         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
83         Add attribute_hidden.
84         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
85         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
86         libc_hidden_data_def.
87         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
88         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
90         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
91         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
92         setrpcent, and getrpcport to ...
93         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
94         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
95         getrpcbynumber_r, and getrpcent_r to ...
96         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
97         * inet/getrpcbyname.c: Moved ...
98         * sunrpc/getrpcbyname.c: ... here.
99         * inet/getrpcbyname_r.c: Moved ...
100         * sunrpc/getrpcbyname_r.c: ... here.
101         * inet/getrpcbynumber.c: Moved ...
102         * sunrpc/getrpcbynumber.c: ... here.
103         * inet/getrpcbynumber_r.c: Moved ...
104         * sunrpc/getrpcbynumber_r.c: ... here.
105         * inet/getrpcent.c: Moved ...
106         * sunrpc/getrpcent.c: ... here.
107         * inet/getrpcent_r.c: Moved ...
108         * sunrpc/getrpcent_r.c: ... here.
109         * inet/Makefile (routines): Move those to ...
110         * sunrpc/Makefile (routines): ... here.
111         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
112         the $(subdirs) list.
113         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
114         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
115         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
116         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
118         * elf/Makefile (routines): Include $(all-dl-routines), not just
119         $(dl-routines).
120         (rtld-routines): Likewise.  Use = rather than :=.
121         * sysdeps/aarch64/Makefile [$(subdir) = elf]
122         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
123         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
124         * sysdeps/arm/Makefile: Likewise.
125         * sysdeps/i386/Makefile: Likewise.
126         * sysdeps/x86_64/Makefile: Likewise.
127         * sysdeps/hppa/Makefile [$(subdir) = elf]
128         (sysdep_routines, sysdep-rtld-routines): Don't add
129         $(sysdep-dl-routines) to these.
130         * sysdeps/ia64/Makefile: Likewise.
131         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
132         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
133         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
134         Don't add dl-static to these; sysdep-dl-routines alone is enough.
135         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
136         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
137         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
138         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
139         * sysdeps/powerpc/Makefile [$(subdir) = elf]
140         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
141         these; sysdep-dl-routines alone is enough.
143 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
145         [BZ #17932]
146         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
147         where multiplication results in zero and third argument is finite
148         and nonzero.
149         * math/auto-libm-test-in: Add more tests of fma.
150         * math/auto-libm-test-out: Regenerated.
152         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
153         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
154         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
155         (_FP_CMP_EQ): Likewise.
156         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
158         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
159         extra argument CHECK_NAN.  Redefine as wrapper around
160         _FP_EXTEND_CNAN.
162 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
164         * version.h (RELEASE): Set to "stable".
165         (VERSION): Set to "2.21"
166         * include/features.h (__GLIBC_MINOR__): Set to 21.
168         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
170 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
171             Paul Eggert  <eggert@cs.ucla.edu>
173         [BZ #16618]
174         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
175         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
176         size in bytes. Store needed elements in wpmax. Use needed size
177         in bytes for extend_alloca.
179 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
181         * manual/install.texi: Latest tested versions are GCC 4.9.2,
182         binutls 2.25, and texinfo 5.2.
183         * INSTALL: Regenerate.
184         * sysdeps/nios2/configure: Regenerate.
185         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
186         * manual/contrib.texi: Update.
187         * po/be.po: Update.
188         * po/bg.po: Update.
189         * po/ca.po: Update.
190         * po/cs.po: Update.
191         * po/da.po: Update.
192         * po/de.po: Update.
193         * po/el.po: Update.
194         * po/eo.po: Update.
195         * po/es.po: Update.
196         * po/fi.po: Update.
197         * po/fr.po: Update.
198         * po/gl.po: Update.
199         * po/hr.po: Update.
200         * po/hu.po: Update.
201         * po/ia.po: Update.
202         * po/id.po: Update.
203         * po/it.po: Update.
204         * po/ja.po: Update.
205         * po/ko.po: Update.
206         * po/lt.po: Update.
207         * po/nb.po: Update.
208         * po/nl.po: Update.
209         * po/pl.po: Update.
210         * po/pt_BR.po: Update.
211         * po/ru.po: Update.
212         * po/rw.po: Update.
213         * po/sk.po: Update.
214         * po/sl.po: Update.
215         * po/sv.po: Update.
216         * po/tr.po: Update.
217         * po/uk.po: Update.
218         * po/vi.po: Update.
219         * po/zh_CN.po: Update.
220         * po/zh_TW.po: Update.
222         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
223         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
224         * sysdeps/hppa/dl-irel.h: Remove #warning.
225         * sysdeps/hppa/entry.h: Provide prototype for
226         __canonicalize_funcptr_for_compare and cast argument.
227         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
228         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
229         * sysdeps/hppa/sotruss-lib.c: New file.
230         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
231         (atomic_compare_and_exchange_val_acq): Use __typeof__.
232         (atomic_compare_and_exchange_bool_acq): Likewise.
233         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
234         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
236         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
237         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
238         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
240 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
242         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
243         called function in non-PIC case.
245 2015-01-31  David S. Miller  <davem@davemloft.net>
247         * sysdeps/sparc/sparc32/bits/atomic.h
248         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
249         unlock not after it.
250         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
251         volatile register usage warnings from the compiler.
253         * sysdeps/sparc/nptl/sem_init.c: Delete.
254         * sysdeps/sparc/nptl/sem_post.c: Delete.
255         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
256         * sysdeps/sparc/nptl/sem_wait.c: Delete.
257         * sysdeps/sparc/sparc32/sem_init.c: New file.
258         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
259         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
260         padding explicitly initialized.
261         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
262         padding for in-semaphore spinlock.
263         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
264         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
265         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
266         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
267         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
268         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
269         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
270         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
271         version.
272         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
273         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
275 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
277         [BZ #17801]
278         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
279         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
280         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
281         New.
282         (index_AVX_Fast_Unaligned_Load): Likewise.
283         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
284         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
285         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
286         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
287         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
288         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
289         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
290         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
291         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
293 2015-01-29  Andreas Schwab  <schwab@suse.de>
295         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
297 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
299         [BZ #17892]
300         * nscd/nscd_stat.c (send_stats): Initialize DATA.
302 2015-01-28  Martin Sebor  <msebor@redhat.com>
304         * math/README.libm-test: Clarify. Add "How to read the test output."
306 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
308         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
309         Define to 0.
311 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
313         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
314         (__HAVE_64B_ATOMICS): Define to 0.
316 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
318         [BZ #17885]
319         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
320         value to set as new flag.
322         [BZ #16576]
323         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
324         and use _ARCH_PPCSQ instead.
325         (__ieee754_sqrt): Likewise.
326         (__ieee754_sqrtf): Likewise.
327         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
328         _ARCH_PPCSQ is defined.
329         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
330         fsqrt instruction.
331         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
332         _ARCH_PPCSQ is defined.
333         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
334         fsqrts instruction.
335         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
337 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
339         * iconv/loop.c: Suppress array out of bound warning caused by GCC
340         bug (GCC BZ #64739).
342 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
344         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
345         Mark _retval as used.
346         (lll_futex_wake_unlock): Likewise.
347         (lll_futex_timed_wait_requeue_pi): Likewise.
349         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
350         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
351         register variables.
353         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
354         libm_hidden_def.
356         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
357         (__bswap_64): Mark as __always_inline.
359 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
361         [BZ #15378]
362         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
363         when none of the search directories exist.
365 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
367         [BZ #17869]
368         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
369         power8 in .machine directive.
371         [BZ #17868]
372         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
373         set dependency from opd value.
375 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
377         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
378         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
379         architecture.
381 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
383         [BZ #17870]
384         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
385         with uint64_t.
386         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
387         (uint64_t) 1.
388         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
389         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
390         Replace 1UL with (uint64_t) 1.
391         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
392         int with uint64_t.
394 2015-01-23  Roland McGrath  <roland@hack.frob.com>
396         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
397         (if_freenameindex): Likewise.
399         * resource/getrlimit64.c: Add missing libc_hidden_def.
401 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
403         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
404         __label__.
405         (_FP_FMA): Likewise.
406         (_FP_TO_INT_ROUND): Likewise.
407         (_FP_FROM_INT): Likewise.
409 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
411         [BZ #16418]
412         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
413         Make code racy and cancel safe.
415 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
417         * sysdeps/arm/unwind-resume.h: Fix copyright year.
418         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
419         attribution.
421         * pwd/tst-getpw.c: Rewrite.
423         [BZ #17702]
424         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
425         (modules-names): Add moddummy1 and moddummy2.
426         ($(objpfx)tst-rec-dlopen): Define.
427         * dlfcn/moddummy1.c: New file.
428         * dlfcn/moddummy2.c: New file.
429         * dlfcn/tst-rec-dlopen.c: New file.
430         * elf/dl-cache.c (_dl_load_cache_lookup):
431         Return char*. Copy result with alloca/strcpy/strdup.
432         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
433         returns char*. Free cached. If not saving realname
434         free cached.
435         * elf/dl-open.c (dl_open_worker): Do not assert that
436         _r_debug->r_state is RT_CONSISTENT.
437         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
438         returns char*.
440 2015-01-21  Torvald Riegel  <triegel@redhat.com>
441             Carlos O'Donell  <carlos@redhat.com>
443         [BZ #12674]
444         * nptl/sem_waitcommon.c: New file.
445         * nptl/sem_wait.c: Include sem_waitcommon.c.
446         (__sem_wait_cleanup, do_futex_wait): Remove.
447         (__new_sem_wait): Adapt.
448         (__new_sem_trywait): New function.
449         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
450         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
451         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
452         (sem_timedwait): Adapt.
453         * nptl/sem_post.c (__new_sem_post): Adapt.
454         (futex_wake): New function.
455         (__old_sem_post): Add release MO fence.
456         * nptl/sem_open.c (sem_open): Adapt.
457         * nptl/sem_init.c (__new_sem_init): Adapt.
458         (futex_private_if_supported): New function.
459         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
460         (__old_sem_getvalue): Add using previous code.
461         * sysdeps/nptl/internaltypes.h: Adapt.
462         * nptl/tst-sem13.c (do_test): Adapt.
463         * nptl/tst-sem11.c (main): Adapt.
464         * nptl/sem_trywait.c: Remove.
465         * nptl/DESIGN-sem.txt: Remove.
466         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
467         (gen-as-const-headers): Remove structsem.sym.
468         * nptl/structsem.sym: Remove.
469         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
470         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
471         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
472         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
473         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
474         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
475         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
476         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
477         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
478         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
479         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
480         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
481         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
482         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
483         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
484         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
485         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
486         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
487         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
488         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
489         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
490         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
492 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
494         * INSTALL: Regenerated.
496         * po/libc.pot: Regenerated.
498 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
499             Sandra Loosemore  <sandra@codesourcery.com>
500             Andrew Jenner  <andrew@codesourcery.com>
501             Joseph Myers  <joseph@codesourcery.com>
502             Nathan Sidwell  <nathan@codesourcery.com>
504         * NEWS: Mention new Nios II port.
505         * sysdeps/nios2/Implies: New file.
506         * sysdeps/nios2/Makefile: New file.
507         * sysdeps/nios2/Subdirs: New file.
508         * sysdeps/nios2/Versions: New file.
509         * sysdeps/nios2/__longjmp.S: New file.
510         * sysdeps/nios2/abort-instr.h: New file.
511         * sysdeps/nios2/backtrace.c: New file.
512         * sysdeps/nios2/bits/endian.h: New file.
513         * sysdeps/nios2/bits/fenv.h: New file.
514         * sysdeps/nios2/bits/link.h: New file.
515         * sysdeps/nios2/bits/setjmp.h: New file.
516         * sysdeps/nios2/bsd-_setjmp.S: New file.
517         * sysdeps/nios2/bsd-setjmp.S: New file.
518         * sysdeps/nios2/configure: New generated file.
519         * sysdeps/nios2/configure.ac: New file.
520         * sysdeps/nios2/crti.S: New file.
521         * sysdeps/nios2/crtn.S: New file.
522         * sysdeps/nios2/dl-init.c: New file.
523         * sysdeps/nios2/dl-machine.h: New file.
524         * sysdeps/nios2/dl-sysdep.h: New file.
525         * sysdeps/nios2/dl-tls.h: New file.
526         * sysdeps/nios2/dl-trampoline.S: New file.
527         * sysdeps/nios2/gccframe.h: New file.
528         * sysdeps/nios2/gmp-mparam.h: New file.
529         * sysdeps/nios2/jmpbuf-offsets.h: New file.
530         * sysdeps/nios2/jmpbuf-unwind.h: New file.
531         * sysdeps/nios2/ldsodefs.h: New file.
532         * sysdeps/nios2/libc-tls.c: New file.
533         * sysdeps/nios2/libm-test-ulps: New file.
534         * sysdeps/nios2/machine-gmon.h: New file.
535         * sysdeps/nios2/math-tests.h: New file.
536         * sysdeps/nios2/math_private.h: New file.
537         * sysdeps/nios2/memusage.h: New file.
538         * sysdeps/nios2/nptl/Makefile: New file.
539         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
540         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
541         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
542         * sysdeps/nios2/nptl/pthreaddef.h: New file.
543         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
544         * sysdeps/nios2/nptl/tls.h: New file.
545         * sysdeps/nios2/preconfigure: New file.
546         * sysdeps/nios2/s_fma.c: New file.
547         * sysdeps/nios2/s_fmaf.c: New file.
548         * sysdeps/nios2/setjmp.S: New file.
549         * sysdeps/nios2/sfp-machine.h: New file.
550         * sysdeps/nios2/sotruss-lib.c: New file.
551         * sysdeps/nios2/stackguard-macros.h: New file.
552         * sysdeps/nios2/stackinfo.h: New file.
553         * sysdeps/nios2/start.S: New file.
554         * sysdeps/nios2/sysdep.h: New file.
555         * sysdeps/nios2/tls-macros.h: New file.
556         * sysdeps/nios2/tst-audit.h: New file.
557         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
558         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
559         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
560         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
561         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
562         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
563         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
564         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
565         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
566         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
567         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
568         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
569         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
570         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
571         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
572         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
573         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
574         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
575         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
576         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
577         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
578         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
579         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
580         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
581         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
582         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
583         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
584         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
585         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
586         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
587         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
588         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
589         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
590         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
591         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
592         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
593         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
594         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
595         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
596         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
597         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
598         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
599         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
600         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
602 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
604         [BZ #17844]
605         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
606         (getutent): Use weak_alias in non SHARED case
607         and default_symbol_version in SHARED case.
608         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
609         (getutent_r, pututline): Likewise.
610         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
611         (getutid): Likewise.
612         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
613         (getutid_r): Likewise.
614         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
615         (getutline): Likewise.
616         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
617         (getutline_r): Likewise.
618         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
619         (updwtmp): Likewise.
621 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
623         [BZ #17848]
624         * sysdeps/s390/s390-32/memcmp.S
625         (memcmp_g5): Rename to __memcmp_g5.
626         * sysdeps/s390/s390-32/memcpy.S
627         (memcpy_g5): Rename to __memcpy_g5.
628         Jump to __memcpy_mvcle instead of memcpy_mvcle.
629         (memcpy_mvcle) Rename to __memcpy_mvcle.
630         * sysdeps/s390/s390-32/memset.S
631         (memset_g5): Rename to __memset_g5.
632         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
633         (IFUNC_RESOLVE): Prefix ifunc-resolve function
634         and use prefixed functions.
635         * sysdeps/s390/s390-32/multiarch/memcmp.S
636         (memcmp_z196): Rename to __memcmp_z196.
637         (memcmp_z10): Rename to __memcmp_z10.
638         (memcmp): Set alias to __memcmp_g5.
639         (bcmp): Set alias to __memcmp_g5.
640         * sysdeps/s390/s390-32/multiarch/memcpy.S
641         (memcpy_z196): Rename to __memcpy_z196.
642         Jump to __memcpy_mvcle instead of memcpy_mvcle.
643         (memcpy_z10): Rename to __memcpy_z10.
644         Jump to __memcpy_mvcle instead of memcpy_mvcle.
645         (memcpy): Set alias to __memcpy_g5.
646         * sysdeps/s390/s390-32/multiarch/memset.S
647         (memset_z196): Rename to __memset_z196.
648         Jump to __memset_mvcle instead of memset_mvcle.
649         (memset_z10): Rename to __memset_z10.
650         Jump to __memset_mvcle instead of memset_mvcle.
651         (memset_mvcle) Rename to __memset_mvcle.
652         (memset): Set alias to __memset_g5.
653         * sysdeps/s390/s390-64/memcmp.S
654         (memcmp_z900): Rename to __memcmp_z900.
655         * sysdeps/s390/s390-64/memcpy.S
656         (memcpy_z900): Rename to __memcpy_z900.
657         Jump to __memcpy_mvcle instead of memcpy_mvcle.
658         (memcpy_mvcle) Rename to __memcpy_mvcle.
659         * sysdeps/s390/s390-64/memset.S
660         (memset_z900): Rename to __memset_z900.
661         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
662         (IFUNC_RESOLVE): Prefix ifunc-resolve function
663         and use prefixed functions.
664         * sysdeps/s390/s390-64/multiarch/memcmp.S
665         (memcmp_z196): Rename to __memcmp_z196.
666         (memcmp_z10): Rename to __memcmp_z10.
667         (memcmp): Set alias to __memcmp_z900.
668         (bcmp): Set alias to __memcmp_z900.
669         * sysdeps/s390/s390-64/multiarch/memcpy.S
670         (memcpy_z196): Rename to __memcpy_z196.
671         Jump to __memcpy_mvcle instead of memcpy_mvcle.
672         (memcpy_z10): Rename to __memcpy_z10.
673         Jump to __memcpy_mvcle instead of memcpy_mvcle.
674         (memcpy): Set alias to __memcpy_z900.
675         * sysdeps/s390/s390-64/multiarch/memset.S
676         (memset_z196): Rename to __memset_z196.
677         Jump to __memset_mvcle instead of memset_mvcle.
678         (memset_z10): Rename to __memset_z10.
679         Jump to __memset_mvcle instead of memset_mvcle.
680         (memset_mvcle) Rename to __memset_mvcle.
681         (memset): Set alias to __memset_z900.
683 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
685         [BZ #17748]
686         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
687         __fesetenv instead of fesetenv.
689 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
691         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
692         macro.
694 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
696         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
697         regression on LE.
699         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
700         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
701         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
702         strncmp-power8 object.
703         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
704         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
705         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
706         * NEWS: Update.
708 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
709             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
711         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
712         trailing byte check.
714 2015-01-13  David S. Miller  <davem@davemloft.net>
716         * include/signal.h (__sigreturn): Guard with __USE_MISC.
718 2015-01-13  Roland McGrath  <roland@hack.frob.com>
720         * login/logout.c (logout): Use memset rather than bzero.
721         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
722         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
723         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
724         (_gethtbyaddr): Likewise.
725         * locale/programs/simple-hash.c (bcopy): Macro removed.
727 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
729         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
730         Add strcmp-power8 object.
731         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
732         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
733         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
734         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
735         __strcmp_power8 implementation.
736         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
737         * NEWS: Update.
739         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
740         Add strncpy-power8 and stpncpy-power8 objects.
741         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
742         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
743         implementations.
744         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
745         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
746         __stpncpy_power8 implementation.
747         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
748         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
749         __strncpy_power8 implementation.
750         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
751         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
752         * NEWS: Update.
754         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
755         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
756         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
758         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
759         strncat-power8 object.
760         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
761         __strcat_power8 implementation.
762         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
763         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
764         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
765         optimized strcat for power8.
767         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
768         strcpy-power8 and stpcpy-power8 objects.
769         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
770         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
771         implementations.
772         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
773         multiarch stpcpy implementation for POWER8.
774         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
775         multiarch strcpy implementation for POWER8.
776         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
777         __strcpy_power8 function.
778         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
779         stpcpy for POWER8.
780         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
781         strcpy for POWER8.
782         * NEWS: Update.
784 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
786         [BZ #16009]
787         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
788         weights and rules. Use do_xfrm_cached if data fits in cache,
789         do_xfrm otherwise.  Moved former main loop to...
790         * (do_xfrm_cached): New function.
791         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
792         find_idx, find_position and stack_push.
793         * (find_idx): New function.
794         * (find_position): Likewise.
795         * localedata/sort-test.sh: Added test run for do_xfrm.
796         * localedata/xfrm-test.c (main): Added command line option
797         -nocache to run the test with strings that are too large for
798         the STRXFRM cache.
800 2015-01-13  Torvald Riegel  <triegel@redhat.com>
802         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
803         variable to lll_futex_wake call, not the value itself.
805 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
807         [BZ #17803]
808         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
809         twom64.  Adjust value to 0x1p-64L.
810         (__scalblnl): Only return standard underflowing result for K <=
811         -64 not K <= -63; adjust exponent for underflowing result by 64
812         not 63.
813         * math/libm-test.inc (scalbn_test_data): Add more tests.
814         (scalbln_test_data): Likewise.
816         [BZ #17834]
817         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
818         0x1p63L.
819         (__scalblnl): Get new exponent of adjusted subnormal value from ES
820         not HX.
821         * math/libm-test.inc (scalbn_test_data): Add more tests.
822         (scalbln_test_data): Likewise.
824 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
825             Stefani Seibold  <stefani@seibold.net>
827         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
828         (sysdep_routines): Add dl-vdso here, ...
829         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
830         (sysdep_routines): ... not here.
831         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
832         fallback when vDSO is not presented.
833         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
834         Define with libc_hidden_proto/libc_hidden_data_def definitions.
835         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
836         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
837         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
838         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
839         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
840         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
841         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
842         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
843         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
844         fallback configurable symbol when vDSO is not available.
845         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
846         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
847         be able to redefine fallback symbol when vDSO is not available.
848         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
849         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
851 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
853         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
854         (TLS_INIT_TP): Add tm_capable initialization.
855         (TLS_DEFINE_INIT_TP): Likewise.
856         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
857         TCB.
858         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
859         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
860         calculation.
861         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
862         transactoion is lock elision is built and TCB tm_capable is set.
863         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
865         (INTERNAL_SYSCALL_NCS): Likewise.
866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
867         (INTERNAL_SYSCALL_NCS): Likewise.
868         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
870         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
871         for powerpc.
872         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
873         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
874         and remove it for 32 bits case.
875         [pthread_rwlock_t] (__rwelision): New field for lock elision.
876         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
877         initialization.
878         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
879         Disable lock elision with rdlocks if elision is not available.
881         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
882         (sysdep_routines): Add lock elision objects.
883         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
884         [pthread_mutex_t] (__spins): Rework to add lock elision field.
885         [pthread_mutex_t] (__elision): Add field.
886         [__PTHREAD_SPINS]: Adjust to init lock elision field.
887         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
888         elision definitions for powerpc.
889         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
890         implementation of lock elision for powerpc.
891         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
892         implementation of timed lock elision for powerpc.
893         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
894         implementation of trylock with lock elision for powerpc.
895         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
896         implementaion of unlock for lock elision for powerpc.
897         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
898         automatic enable lock elision for mutexes.
899         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
900         transaction execution definitions for powerpc.
901         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
902         definitions.
903         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
904         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
905         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
906         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
907         * NEWS: Update.
909 2015-01-09  Roland McGrath  <roland@hack.frob.com>
911         * sysdeps/posix/shm-directory.c: Use <> rather than ""
912         for #include of <shm-directory.h>.
914 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
916         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
917         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
919 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
921         [BZ #17791]
922         * NEWS: Mention bug fix.
923         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
924         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
925         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
927 2015-01-09  Torvald Riegel <triegel@redhat.com>
929         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
931 2015-01-09  Torvald Riegel <triegel@redhat.com>
933         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
935 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
937         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
938         pointer and cast to uintptr_t.
940 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
942         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
943         removed.
944         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
946 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
948         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
949         of 0.
951 2015-01-08  Roland McGrath  <roland@hack.frob.com>
953         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
954         <nptl/pthreadP.h> instead.
955         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
957         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
958         already defined.
959         [__SIGRTMIN] (init): Function removed.
960         [__SIGRTMIN] (initialized): Variable removed.
961         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
962         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
963         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
964         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
965         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
966         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
967         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
968         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
969         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
970         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
971         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
972         * sysdeps/nptl/allocrtsig.c: New file.
973         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
974         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
975         * sysdeps/generic/testrtsig.h: File removed.
977         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
978         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
980         * nptl/nptl-init.c (pthread_functions): Conditionalize
981         .ptr__nptl_setxid initialization on [SIGSETXID].
983         * sysdeps/nptl/sys/procfs.h: New file.
984         * nptl_db/Makefile (headers): Add it.
985         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
987         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
988         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
989         * nptl/pthread_attr_setaffinity.c: Include it.
990         * nptl/pthread_setattr_default_np.c: Likewise.
991         * nptl/check-cpuset.h: New file.
993 2015-01-08  Richard Henderson  <rth@redhat.com>
995         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
996         (CFLAGS-tst-execstack-prog.c): Likewise.
997         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
999 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
1000             Sandra Loosemore  <sandra@codesourcery.com>
1001             Andrew Jenner  <andrew@codesourcery.com>
1002             Joseph Myers  <joseph@codesourcery.com>
1003             Nathan Sidwell  <nathan@codesourcery.com>
1005         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1006         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1007         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1008         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1009         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1010         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1011         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
1012         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1013         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1014         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1015         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1016         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1017         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1018         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1019         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1020         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1021         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1023 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1025         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1026         timespec struct member in syscall macro.
1027         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1028         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1029         first timeval struct member in syscall macro.
1030         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1032 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
1034         [BZ #17748]
1035         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1036         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1037         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1038         __feupdateenv and define as weak alias of __feupdateenv.  Use
1039         libm_hidden_weak.
1040         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1041         libm_hidden_def.
1042         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1043         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
1044         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1045         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1046         libm_hidden_def.
1047         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1048         __feupdateenv and define as weak alias of __feupdateenv.  Use
1049         libm_hidden_weak.
1050         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1051         libm_hidden_def.
1052         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1053         __feupdateenv and define as weak alias of __feupdateenv.  Use
1054         libm_hidden_weak.
1055         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1056         libm_hidden_def.
1057         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1058         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1059         (__feupdateenv): Likewise.
1060         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1061         __feupdateenv and define as weak alias of __feupdateenv.  Use
1062         libm_hidden_weak.
1063         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1064         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1065         libm_hidden_def.
1066         * sysdeps/tile/math_private.h (__feupdateenv): New inline
1067         function.
1068         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1069         libm_hidden_def.
1070         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1071         __feupdateenv instead of feupdateenv.
1072         (default_libc_feupdateenv_test): Likewise.
1073         (libc_feresetround_ctx): Likewise.
1075 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1077         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1078         prototype.
1080 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
1082         * posix/regcomp.c (parse_bracket_exp): Initialize type to
1083         COLL_SYM in a couple of places to avoid uninitialized variable
1084         wanings on tilegx gcc 4.8.2.
1086 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
1088         * sysdeps/aarch64/strcpy.S: New file.
1089         * sysdeps/aarch64/stpcpy.S: New file.
1090         * NEWS: Updated.
1092 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
1094         * sysdeps/aarch64/strrchr.S: New file.
1095         * NEWS: Updated.
1097 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
1099         [BZ #17658]
1100         * stdlib/setenv.c: Fix memory leak when setting large,
1101         duplicate string.
1103 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
1105         [BZ #17273]
1106         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1107         and tabs from buffer before parsing fstab entry.
1108         * misc/tst-mntent.c (main): Add test for mount entry with
1109         trailing spaces and tabs.
1111 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
1113         [BZ #17748]
1114         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
1115         * math/fesetround.c (fesetround): Rename to __fesetround and
1116         define as weak alias of __fesetround.  Use libm_hidden_weak.
1117         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1118         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1119         * sysdeps/arm/fesetround.c (fesetround): Likewise.
1120         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1121         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1122         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1123         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1124         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1125         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1126         __fesetround_inline.
1127         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1128         __fesetround_inline instead of __fesetround.
1129         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1130         __fesetround and define as weak alias of __fesetround.  Use
1131         libm_hidden_weak.  Call __fesetround_inline instead of
1132         __fesetround.
1133         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1134         __fesetround and define as weak alias of __fesetround.  Use
1135         libm_hidden_weak.
1136         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1137         Likewise.
1138         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1139         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1140         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1141         * sysdeps/tile/math_private.h (__fesetround): New inline function.
1142         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1143         __fesetround and define as weak alias of __fesetround.  Use
1144         libm_hidden_weak.
1145         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1146         __fesetround instead of fesetround.
1147         (default_libc_feholdexcept_setround): Likewise.
1148         (libc_feholdsetround_ctx): Likewise.
1149         (libc_feholdsetround_noex_ctx): Likewise.
1151         [BZ #17748]
1152         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1153         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1154         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1155         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
1156         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1157         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1158         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1159         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1160         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1161         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1162         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1163         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1164         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1165         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1166         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1167         libm_hidden_def.
1168         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1169         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1170         Likewise.
1171         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1172         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1173         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1174         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1175         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1176         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1177         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
1178         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1179         __fesetenv instead of fesetenv.
1180         (libc_feresetround_noex_ctx): Likewise.
1181         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1182         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1183         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1184         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1185         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1186         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1187         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1188         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1189         (__feupdateenv): Likewise.
1190         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1191         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1192         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1193         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1195 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
1197         [BZ #17806]
1198         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1199         addresses have been freed.
1201 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
1203         * resolv/res_init.c (__res_vinit): Improve comments about nserv
1204         and nservall.
1206 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
1208         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1209         Clean up check_pf allocation pattern. addresses
1211 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1213         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1214         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1215         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1216         * nptl/pthread_exit.c (__pthread_exit): Likewise.
1217         * nptl/pthread_join.c (pthread_join): Likewise.
1218         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1219         * sysdeps/posix/waitid.c (__waitid): Likewise.
1220         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1221         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1222         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1223         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1224         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1225         Likewise.
1226         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1227         (__libc_pread64): Likewise.
1228         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1229         (__libc_pwrite): Likewise.
1230         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1231         (__libc_pwrite64): Likewsie.
1232         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1233         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1234         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1235         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1236         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1237         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1238         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1240         Likewise.
1241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1242         (__libc_pread64): Likewise.
1243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1244         Likewise.
1245         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1246         (__libc_pwrite64): Likewise.
1247         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1248         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1249         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1250         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1251         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1252         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1253         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1254         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1255         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1256         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1257         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1258         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1259         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1260         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1261         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1262         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1263         Likewise.
1265 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
1267         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1268         (CFLAGS-test-double.c): Likewise.
1269         (CFLAGS-test-ldouble.c): Likewise.
1270         (CPPFLAGS-test-ifloat.c): Likewise.
1271         (CPPFLAGS-test-idouble.c): Likewise.
1272         (CPPFLAGS-test-ildoubl.c): Likewise.
1273         (CFLAGS-test-test-fenv.c): Remove variable.
1274         (CFLAGS-test-misc.c): Likewise.
1276 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
1278         [BZ #17797]
1279         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1280         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1281         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1282         CLOCKS_PER_SEC == 1000000.
1283         * time/clocktest.c (main): Replace %ld with %jd and cast to
1284         intmax_t.
1286 2015-01-05  Roland McGrath  <roland@hack.frob.com>
1288         * sysdeps/generic/unwind-resume.h: New file.
1289         * sysdeps/gnu/unwind-resume.c: Include it.
1290         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1291         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1292         argument list.
1293         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1294         global rather than static.
1295         (_Unwind_Resume): Update user.
1296         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1297         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
1298         rather than static.  Add __attribute__ ((cold)).
1299         (_Unwind_Resume, __gcc_personality_v0): Update callers.
1300         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1301         * sysdeps/arm/arm-unwind-resume.S: New file.
1302         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1303         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1304         * sysdeps/arm/Makefile [$(subdir) = csu]
1305         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1306         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1307         Add rt-arm-unwind-resume.
1308         [$(subdir) = nptl]
1309         (libpthread-sysdep_routines, libpthread-shared-only-routines):
1310         Add pt-arm-unwind-resume.
1311         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1312         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1314 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1316         [BZ #17748]
1317         * include/fenv.h (__feholdexcept): Declare.  Use
1318         libm_hidden_proto.
1319         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1320         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
1321         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1322         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1323         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1324         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1325         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1326         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1327         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1328         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1329         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1330         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1331         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1332         (feholdexcept): Likewise.
1333         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1334         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1335         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1336         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1337         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1338         __feholdexcept instead of feholdexcept.
1339         (default_libc_feholdexcept_setround): Likewise.
1341 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1343         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1344         to avoid using stl/str to align destination.
1346 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1348         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1350 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1352         [BZ #17796]
1353         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1354         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1355         Define as weak alias not strong alias.
1357 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1359         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1360         bltzal with addiupc.
1361         (RTLD_START): Ditto.
1363 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
1365         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1366         for __vdso_* functions in declarations.
1367         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1368         definitions.
1369         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1370         INTERNAL_VSYSCALL): Use struct return types to check for error.
1372         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1373         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1374         function with cast from llround().
1375         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1376         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1377         Define.
1379 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1381         [BZ #17793]
1382         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1383         Define as weak alias not strong alias.
1385         [BZ #17635]
1386         * ctype/ctype-c99.c: New file.  isblank implementation moved from
1387         ...
1388         * ctype/ctype-extn.c: ... here.
1389         (__isblank_l): Move to ...
1390         * ctype/ctype-c99_l.c: ... here.  New file.
1391         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1392         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1393         Remove variable.
1394         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1395         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1396         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1397         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1398         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1400         [BZ #17777]
1401         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1402         (posix_fadvise64): Define as weak alias not strong alias.
1403         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1404         (posix_fallocate64): Likewise.
1405         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1406         Remove variable.
1407         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1408         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1409         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1410         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1411         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1413 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
1415         [BZ #16191]
1416         * NEWS: Mention bug fix.
1417         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1418         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1419         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1420         (HOST_STACK_END_ADDR): Likewise.
1422 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
1424         [BZ #17748]
1425         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
1426         * math/fegetround.c (fegetround): Rename to __fegetround and
1427         define as weak alias of __fegetround.  Use libm_hidden_weak.
1428         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1429         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1430         * sysdeps/arm/fegetround.c (fegetround): Likewise.
1431         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1432         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1433         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1434         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1435         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1436         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1437         Undefine after rather than before function definition; use
1438         parentheses around function name in definition.
1439         (__fegetround): Also undefine macro after function definition.
1440         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1441         __fegetround and define as weak alias of __fegetround.  Use
1442         libm_hidden_weak.  Do not undefine as macro.
1443         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1444         Likewise.
1445         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1446         __fegetround and define as weak alias of __fegetround.  Use
1447         libm_hidden_weak.
1448         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1449         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1450         * sysdeps/tile/math_private.h (__fegetround): New inline function.
1451         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1452         __fegetround and define as weak alias of __fegetround.  Use
1453         libm_hidden_weak.
1454         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1455         __fegetround instead of fegetround.
1457         [BZ #17782]
1458         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1459         Condition macro definition on [__USE_MISC].
1461         [BZ #17781]
1462         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1463         (struct sigaction): Change type of sa_flags field to int.
1465         [BZ #17780]
1466         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1467         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1468         __glibc_reserved0.
1470         * nptl/version.c (banner): Use single year in copyright notice.
1472         * NEWS: Update copyright dates.
1473         * catgets/gencat.c (print_version): Likewise.
1474         * csu/version.c (banner): Likewise.
1475         * debug/catchsegv.sh: Likewise.
1476         * debug/pcprofiledump.c (print_version): Likewise.
1477         * debug/xtrace.sh (do_version): Likewise.
1478         * elf/ldconfig.c (print_version): Likewise.
1479         * elf/ldd.bash.in: Likewise.
1480         * elf/pldd.c (print_version): Likewise.
1481         * elf/sotruss.sh: Likewise.
1482         * elf/sprof.c (print_version): Likewise.
1483         * iconv/iconv_prog.c (print_version): Likewise.
1484         * iconv/iconvconfig.c (print_version): Likewise.
1485         * locale/programs/locale.c (print_version): Likewise.
1486         * locale/programs/localedef.c (print_version): Likewise.
1487         * login/programs/pt_chown.c (print_version): Likewise.
1488         * malloc/memusage.sh (do_version): Likewise.
1489         * malloc/memusagestat.c (print_version): Likewise.
1490         * malloc/mtrace.pl: Likewise.
1491         * manual/libc.texinfo: Likewise.
1492         * nptl/version.c (banner): Likewise.
1493         * nscd/nscd.c (print_version): Likewise.
1494         * nss/getent.c (print_version): Likewise.
1495         * nss/makedb.c (print_version): Likewise.
1496         * posix/getconf.c (main): Likewise.
1497         * scripts/test-installation.pl: Likewise.
1498         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1500 2015-01-02  Will Newton  <will.newton@linaro.org>
1502         * sysdeps/arm/armv7/configure: Removed.
1503         * sysdeps/arm/armv7/configure.ac: Likewise.
1505 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
1507         * All files with FSF copyright notices: Update copyright dates
1508         using scripts/update-copyrights.
1509         * intl/plural.c: Regenerated.
1510         * locale/programs/charmap-kw.h: Likewise.
1511         * locale/programs/locfile-kw.h: Likewise.
1513 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1515         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1517 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
1519         [BZ #17748]
1520         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1521         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1522         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1523         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
1524         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1525         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1526         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1527         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1528         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1529         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1530         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1531         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1532         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1533         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1534         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1535         libm_hidden_def.
1536         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1537         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1538         Likewise.
1539         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1540         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1541         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1542         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1543         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1544         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1545         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
1546         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1547         __fegetenv instead of fegetenv.
1548         (libc_feholdsetround_noex_ctx): Likewise.
1550 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
1552         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1553         (Elf_MIPS_ABIFlags_v0): New structure.
1554         (EF_MIPS_FP64): Define.
1555         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1556         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1557         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1558         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1559         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1560         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1561         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1562         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1563         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1564         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1565         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1566         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1567         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1568         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1569         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1570         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1571         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1572         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1573         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1574         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1575         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1576         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1577         field.
1578         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1579         EF_MIPS_FP64.
1580         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1581         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1582         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1583         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1584         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1585         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1586         * sysdeps/mips/tst-abi-interlink.c: Likewise.
1587         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1588         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1589         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1590         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1591         record the current FP ABI extension.
1592         (mips-mode-switch): Define to show if kernel headers support mode
1593         switching.
1594         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1595         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1596         supported SYSV ABI version to 3.
1597         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1598         feature.
1600 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1601             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1603         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1604         path.
1605         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1607 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
1609         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1610         __fegetround and redefine to call __fegetround.  Remove condition
1611         on [!__NO_MATH_INLINES].
1612         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1613         function.
1614         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1615         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1616         Remove macro.
1617         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1618         instead of <fenv_libc.h>.
1619         (__llrintl): Call fegetround instead of __fegetround.
1620         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1621         instead of <fenv_libc.h>.
1622         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1623         (__lrintl): Call fegetround instead of __fegetround.
1624         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1625         instead of <fenv_libc.h>.
1626         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1627         (__rintl): Call fegetround instead of __fegetround.
1629 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1631         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1632         arrays.
1634 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
1636         [BZ #17775]
1637         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1638         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1639         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1641 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1643         * sysdeps/i386/tls-macros.h: Include <features.h>.
1644         (TLS_LE): Use non-PIC version for GCC >= 5.0.
1645         (TLS_IE): Likewise.
1646         (TLS_LD): Likewise.
1647         (TLS_GD): Likewise.
1648         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1649         define for GCC >= 5.0.
1651 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
1653         * math/test-fenv.c (test_single_exception, set_single_exc,
1654         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1655         feexcp_mask_test, feenable_test, fe_single_test): Add
1656         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1657         case where they are not used.
1658         * math/libm-test.inc: Likewise.
1659         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1660         unused in the absence of FP rounding/exception support.
1661         * stdio-common/tst-printf-round.c: Likewise.
1662         * stdlib/tst-strtod-round.c: Likewise.
1663         * stdlib/tst-strtod-underflow.c: Likewise.
1665 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
1667         [BZ #17723]
1668         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1669         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1670         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1671         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1672         libm_hidden_weak.
1673         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1674         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1675         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1676         libm_hidden_def.
1677         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1678         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1679         libm_hidden_weak.
1680         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1681         Likewise.
1682         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1683         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1684         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1685         libm_hidden_weak.
1686         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1687         libm_hidden_def.
1688         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1689         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1690         (__feraiseexcept): Likewise.
1691         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1692         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1693         libm_hidden_weak.
1694         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1695         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1696         libm_hidden_def.
1697         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1698         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1699         Use libm_hidden_def.
1700         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1701         libm_hidden_def.
1702         (feraiseexcept): Define as weak not strong alias.  Use
1703         libm_hidden_weak.
1704         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1705         New inline function.  Factored out of ...
1706         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
1707         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1708         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1709         feraiseexcept.
1710         * math/w_acos.c (__acos): Likewise.
1711         * math/w_asin.c (__asin): Likewise.
1712         * math/w_ilogb.c (__ilogb): Likewise.
1713         * math/w_j0.c (y0): Likewise.
1714         * math/w_j1.c (y1): Likewise.
1715         * math/w_jn.c (yn): Likewise.
1716         * math/w_log.c (__log): Likewise.
1717         * math/w_log10.c (__log10): Likewise.
1718         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1719         * sysdeps/aarch64/fpu/math_private.h
1720         (libc_feupdateenv_test_aarch64): Likewise.
1721         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1722         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1723         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1724         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1725         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1726         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1727         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1728         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1729         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1730         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1732 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
1734         [BZ #17732]
1735         * io/test-utime.c (main): Replace %ld with %jd and cast to
1736         intmax_t.
1737         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
1738         * nptl/tst-mutex5.c: Include <stdint.h>.
1739         (do_test): Replace %ld with %jd and cast to intmax_t.
1740         * posix/tst-regex.c (run_test): Likewise.
1741         (run_test_backwards): Likewise.
1742         * rt/tst-clock.c: Include <stdint.h>.
1743         (clock_test): Replace %ld with %jd and cast to intmax_t.
1744         * rt/tst-cpuclock1.c: Include <stdint.h>.
1745         (do_test): Replace %lu with %ju and cast to uintmax_t.
1746         * rt/tst-cpuclock2.c: Include <stdint.h>.
1747         (do_test): Replace %lu with %ju and cast to uintmax_t.
1748         * rt/tst-mqueue1.c: Include <stdint.h>.
1749         (check_attrs): Replace %ld with %jd and cast to intmax_t.
1750         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
1751         intmax_t.
1752         * rt/tst-mqueue4.c (do_test): Likewise.
1753         * rt/tst-timer4.c: Include <stdint.h>.
1754         (check_ts): Replace %ld with %jd and cast to intmax_t.
1755         (do_test): Likewise.
1756         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
1757         and cast to intmax_t.
1758         * sysdeps/pthread/tst-timer.c (main): Likewise.
1759         * time/clocktest.c (main): Likewise.
1760         * time/tst-posixtz.c (do_test): Likewise.
1761         * timezone/tst-timezone.c (main): Likewise.
1763 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1764             H.J. Lu  <hongjiu.lu@intel.com>
1766         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
1767         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
1768         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
1769         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
1770         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
1771         version if bit_Fast_Unaligned_Load is set.
1772         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1773         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1774         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1775         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1776         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1777         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1778         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1779         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
1780         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
1781         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
1782         to 4.
1783         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
1784         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
1785         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
1786         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
1788 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
1790         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
1791         instead of #if to avoid a Wundef warning.
1792         * stdlib/tst-limits.c (do_test): Likewise.
1794         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
1795         parallel other exception macros.
1796         (fegetenv): Convert from macro to extern inline so that it applies
1797         retroactively to inline functions already seen by the compiler.
1798         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
1800         * posix/Makefile (before-compile): Use $(objpfx) for
1801         posix-conf-vars-def.h.
1803 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1805         * posix/getconf.c (main): Use size_t for type of I.
1806         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
1807         NSPEC.
1809         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
1810         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
1811         * posix/posix-envs.def: Likewise.
1812         * sysdeps/posix/sysconf.c: Likewise.
1813         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
1814         (specs): Remove array.
1815         * scripts/gen-posix-conf-vars.awk: Support generation of specs
1816         array.
1818         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
1819         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
1820         (__sysconf): Use CONF_IS_* macros.
1822         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
1823         ($(objpfx)posix-conf-vars-def.h): New target.
1824         * posix/posix-conf-vars.list: New file.
1825         * posix/posix-conf-vars.h: New file.
1826         * posix/confstr.c: Include posix-conf-vars.h.
1827         (confstr): Use CONF_IS_* macros.
1828         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
1829         CONF_IS_* macros.
1830         * scripts/gen-posix-conf-vars.awk: New file.
1832 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
1834         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
1835         fegetround): Add no-op macros to avoid linknamespace issues.
1837         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
1838         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
1840         * sysdeps/unix/sysv/linux/tile/sysdep.h
1841         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
1842         assembly-specific section to avoid a redefinition warning.
1844         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
1845         long before casting to pointer to avoid a cast warning.
1847 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
1849         * sysdeps/tile/tilegx/Implies: New file.
1851 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
1853         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
1855 2014-12-23  Florian Weimer  <fweimer@redhat.com>
1857         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
1859 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
1861         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
1862         not define.
1863         * sysdeps/unix/sysv/linux/utimes.c: Do not include
1864         <kernel-features.h>.
1865         (__utimes) [__NR_utimes]: Make code unconditional.
1866         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
1867         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1868         (__ASSUME_UTIMES): Do not undefine.
1869         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1870         (__ASSUME_UTIMES): Likewise.
1871         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1872         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
1873         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
1874         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
1876 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
1878         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
1880 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
1882         [BZ #17747]
1883         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
1884         alias to weak alias for j0l, y0l.
1885         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
1886         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
1888         [BZ #17746]
1889         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
1890         conversion.
1892 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
1894         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
1895         to zero if not already defined.
1897 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
1899         [BZ #17724]
1900         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
1901         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
1902         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
1903         (char *) casts added.
1904         * sysdeps/ieee754/k_standardf.c: New file.
1905         * sysdeps/ieee754/k_standardl.c: Likewise.
1906         * math/Makefile (libm-support): Remove k_standard.
1907         (libm-calls): Add k_standard.
1909 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1911         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1912         Optimize to avoid an unnecessary FPCR read.
1914 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1916         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1917         Optimize to reduce FPCR/FPSR accesses.
1919 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1921         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
1922         Call libc_fetestexcept_aarch64.
1924 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1926         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
1927         Call libc_fesetround_aarch64.
1929 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
1931         [BZ #17733]
1932         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
1933         (__bind): Do not define as weak alias.
1934         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
1935         define.
1936         (__getsockname): Do not define as weak alias.
1938 2014-12-22  Will Newton  <will.newton@linaro.org>
1940         * manual/install.texi: Document that we require bison 2.7
1941         or above.
1942         * INSTALL: Regenerate.
1943         * configure.ac: Use AC_CHECK_PROG_VER instead of
1944         AC_PATH_PROG when checking for bison and check for
1945         version 2.7 or above.
1946         * configure: Regenerate.
1948 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
1950         [BZ #17745]
1951         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
1952         * sysdeps/tile/ffsll.c (ffsll): To here.
1954         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
1956 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
1958         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
1959         if not defined.
1960         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
1961         definition.
1962         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1963         hidden ___tls_get_addr.
1964         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1965         hidden __tls_get_addr.
1966         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
1967         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
1968         Likewise.
1970 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
1972         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
1973         _dl_init call.
1975 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
1977         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
1978         from "call _dl_init@PLT".
1979         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
1981 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
1983         * manual/search.texi: (Array Sort Function): Clarify stable sorting
1984         guarantees.
1986 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
1988         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
1990 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
1992         [BZ #17744]
1993         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
1994         strnlen.
1996 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
1998         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
1999         of multu on MIPSr6.
2000         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2001         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2002         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2003         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2004         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2006 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
2008         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2009         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2010         (PTR_SUBU): Use subu for mips32r6/mips64r6.
2011         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
2012         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2013         mips32r6/mips64r6.
2014         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2016 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
2018         * string/strncat.c (STRNCAT): Simplify implementation.
2020 2014-12-19  David S. Miller  <davem@davemloft.net>
2022         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2023         access the quad as both a long double and as a series of 4 words.
2025         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2026         link_map->l_info array access.
2028 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
2030         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2032         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2033         * math/atest-exp2.c (TIMEOUT): Likewise.
2034         * math/atest-sincos.c (TIMEOUT): Likewise.
2036 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2038         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2039         -Wno-error with -fno-builtin-lround.
2041 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2043         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2044         Contains futex constants and functions moved over from ...
2045         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
2046         <lowlevellock-futex.h>.
2047         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2048         (lll_timedwait_tid): Add comments and parentheses around macro
2049         arguments.
2051 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2053         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2054         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
2055         (__lll_private_flag): Remove.
2056         (lll_futex_wait): Likewise.
2057         (lll_futex_timed_wait): Likewise.
2058         (lll_futex_wake): Likewise.
2059         (lll_futex_requeue): Likewise.
2060         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2061         (__lll_timedwait_tid): Spell out argument names.
2062         (lll_timedwait_tid): Add comments and parentheses around macro
2063         arguments.
2064         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2065         LLL_SHARED and LLL_PRIVATE usable from assembly code.
2067 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2069         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2070         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2071         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2072         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2073         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2074         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2075         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2076         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2077         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2078         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2079         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2080         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2081         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2082         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2083         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2084         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2085         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2086         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2087         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2089 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2091         * sysdeps/x86_64/x32/Makefile: New file.
2093 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2095         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2096         1L with (mp_limb_t) 1.
2098 2014-12-17  Roland McGrath  <roland@hack.frob.com>
2100         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2101         * nptl/libc_pthread_init.c: ... here.
2102         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2103         * nptl/register-atfork.c: ... here.
2105         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2106         Use pthread_sigmask rather than INTERNAL_SYSCALL.
2107         Use assert_perror to check its return value.
2108         (__gai_create_helper_thread): Likewise.
2110         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2112         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2114 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
2116         [BZ #17725]
2117         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2118         __profil_counter.
2119         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2120         Likewise.
2121         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2122         Likewise.
2123         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2124         Likewise.
2125         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2126         (profil_counter): Likewise.
2127         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2128         (profil_counter): Likewise.
2129         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2130         Likewise.
2131         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2132         Likewise.
2133         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2134         (profil_counter): Likewise.
2135         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2136         Likewise.
2137         [!__profil_counter] (profil_counter): Define as weak alias of
2138         __profil_counter.
2139         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2140         (profil_counter): Rename to __profil_counter.
2141         [!__profil_counter] (profil_counter): Define as weak alias of
2142         __profil_counter.
2143         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2144         (profil_counter): Rename to __profil_counter.
2145         [!__profil_counter] (profil_counter): Define as weak alias of
2146         __profil_counter.
2147         * sysdeps/posix/profil.c: Update comment referring to
2148         profil_counter.
2149         (__profil): Use __profil_counter instead of profil_counter.
2150         * sysdeps/posix/sprofil.c (profil_counter): Rename to
2151         __profil_counter.  Use __profil_counter_ushort and
2152         __profil_counter_uint in definitions.
2153         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2154         instead of profil_counter_uint and profil_counter_ushort.
2156         [BZ #17722]
2157         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2158         define as weak alias of __inet_makeaddr.
2159         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2160         as weak alias of __inet_addr.
2161         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2162         as weak alias of __inet_pton.  Use libc_hidden_weak.
2163         * include/arpa/inet.h (__inet_pton): Declare.  Use
2164         libc_hidden_proto.
2165         (inet_makeaddr): Don't use libc_hidden_proto.
2166         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
2167         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2168         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
2169         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2170         Remove variable.
2171         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2172         (test-xfail-POSIX/time.h/linknamespace): Likewise.
2174 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
2176         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2178 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2180         * stdio-common/bug-vfprintf-nargs.c (do_test):
2181         Cast value to intptr_t to avoid format warning
2182         for usage with PRIdPTR printing macro.
2184 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2186         * libio/tst-widetext.c (do_test):
2187         Use format type %td instead of %Zd for ptrdiff_t
2188         in order to avoid format warning.
2190 2014-12-17  Andreas Schwab  <schwab@suse.de>
2192         * nscd/mem.c (gc): Add size_t cast to match printf format.
2194 2014-12-16  Roland McGrath  <roland@hack.frob.com>
2196         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2197         (init): Apply PTR_MANGLE to pointers before storing them.
2198         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2199         before using them.
2201 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
2203         [BZ #17719]
2204         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2205         define as weak alias of __memrchr.
2206         (__memrchr): Do not define as strong alias of memrchr.
2207         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2208         Remove variable.
2209         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2210         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2211         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2213         [BZ #17717]
2214         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2215         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
2216         (if_indextoname): Rename to __if_indextoname and define as weak
2217         alias of __if_indextoname.  Use libc_hidden_weak.
2218         (if_freenameindex): Rename to __if_freenameindex and define as
2219         weak alias of __if_freenameindex.
2220         (if_nameindex): Rename to __if_nameindex and define as weak alias
2221         of __if_nameindex.
2222         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2223         __if_nametoindex and define as weak alias of __if_nametoindex.
2224         Use libc_hidden_weak.
2225         (if_freenameindex): Rename to __if_freenameindex and define as
2226         weak alias of __if_freenameindex.
2227         (if_nameindex): Rename to __if_nameindex and define as weak alias
2228         of __if_nameindex.
2229         (if_indextoname): Rename to __if_indextoname and define as weak
2230         alias of __if_indextoname.  Use libc_hidden_weak.
2231         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2232         __if_nametoindex and define as weak alias of __if_nametoindex.
2233         Use libc_hidden_weak.
2234         (if_freenameindex): Rename to __if_freenameindex and define as
2235         weak alias of __if_freenameindex.  Use libc_hidden_weak.
2236         (if_nameindex_netlink): Use __if_freenameindex instead of
2237         if_freenameindex.
2238         (if_nameindex): Rename to __if_nameindex and define as weak alias
2239         of __if_nameindex.  Use libc_hidden_weak.
2240         (if_indextoname): Rename to __if_indextoname and define as weak
2241         alias of __if_indextoname.  Use libc_hidden_weak.
2242         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2243         libc_hidden_proto.
2244         [!_ISOMAC] (__if_freenameindex): Likewise.
2245         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2246         if_nametoindex.
2247         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2248         variable.
2249         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2250         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2251         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2252         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2253         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2254         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2255         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2257         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2258         Remove variable.
2259         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2260         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2262 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2264         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2265         subscript above bounds'
2267         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2268         bounds.
2270 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
2272         * libio/tst-fopenloc.c: Use test-skeleton.c.
2274         * stdlib/tst-bsearch.c: Use test-skeleton.c.
2275         (entry): Rename to ITEM.
2276         (do_test, comp): Adjust.
2278         * stdio-common/tst-fseek.c: Use test-skeleton.c.
2280 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2282         * string/tester.c: Include <libc-internal.h>.
2283         (test_memset): Ignore -Wmemset-transposed-args.
2285 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2287         * misc/tst-mntent2.c (do_test): Fix warning.
2289 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2291         * elf/tst-unique4lib.cc(a): Mark as used.
2293 2014-12-16  Florian Weimer  <fweimer@redhat.com>
2295         [BZ #17630]
2296         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2297         names.
2299 2014-12-16  Allan McRae  <allan@archlinux.org>
2301         * stdio-common/Makefile (tests): Re-add bug26.
2303 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
2305         [BZ #17657]
2306         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2307         static array.
2309 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
2311         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2312         (__lll_lock_wait): Likewise.
2313         (__lll_timedlock_wait): Likewise.
2314         (__lll_timedwait_tid): Likewise.
2315         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2316         (__lll_robust_timedlock_wait): Likewise.
2317         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2318         (lll_cond_trylock): Likewise.
2319         (__lll_lock): Likewise.
2320         (__lll_robust_lock): Likewise.
2321         (__lll_cond_lock): Likewise.
2322         (lll_robust_cond_lock): Likewise.
2323         (__lll_timedlock): Likewise.
2324         (__lll_robust_timedlock): Likewise.
2325         (__lll_unlock): Likewise.
2326         (__lll_robust_unlock): Likewise.
2327         (lll_wait_tid): Likewise.
2328         (lll_timedwait_tid): Likewise.
2330 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2332         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2334 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2336         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2338 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
2340         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2341         * stdio-common/tst-sprintf.c: Likewise.
2343 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2345         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2347 2014-12-15  Jeff Law  <law@redhat.com>
2349         [BZ #16617]
2350         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2351         on the heap.  (CVE-2012-3406)
2352         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2353         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
2354         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2356 2014-12-15  Will Newton  <will.newton@linaro.org>
2358         * manual/install.texi: Bump required version of texinfo
2359         to 4.7 from 4.5.
2360         * INSTALL: Regenerated.
2361         * configure.ac: Check for makeinfo version 4.7 and above.
2362         * configure: Regenerated.
2364 2014-12-12  Roland McGrath  <roland@hack.frob.com>
2366         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2367         PREFIX, string constant to insert between directory and name.
2368         * sysdeps/posix/shm_open.c: Update caller.
2369         * sysdeps/posix/shm_unlink.c: Likewise.
2370         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2371         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2372         (SEM_SHM_PREFIX): New macro.
2373         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2374         [$(have-thread-library) = no].
2375         * nptl/Makefile (libpthread-routines): Add shm-directory.
2376         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2377         * sysdeps/nptl/shm-directory.h: New file.
2378         * sysdeps/posix/shm-directory.c
2379         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2380         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2381         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2382         INTERNAL_SYSCALL.
2383         (__where_is_shmfs): Function removed.
2384         (mountpoint, defaultmount, defaultdir, __namedsem_once):
2385         Variables removed.
2386         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2387         Use SHM_GET_NAME.
2388         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
2390         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2391         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2392         unconditional for use inside libpthread.
2393         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2395 2014-12-12  Roland McGrath  <roland@hack.frob.com>
2397         * nptl/pthread_getaffinity.c: New file.
2398         * nptl/pthread_setaffinity.c: New file.
2399         * nptl/pthread_getname.c: New file.
2400         * nptl/pthread_setname.c: New file.
2402         * nptl/pthread_create.c (START_THREAD_DEFN)
2403         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2405 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2406             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2408         * resolv/res_send.c (send_vc): Disable warning resplen may
2409         be used uninitialized.
2411 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2413         * nptl/tst-mutex6.c
2414         (ATTR_NULL): New define checks ATTR against NULL.
2415         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2416         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2418 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
2420         [BZ #17581]
2421         * malloc/hooks.c
2422         (mem2mem_check): Revert my previous change.
2423         (malloc_check_get_size): Revert my previous change.
2424         (mem2chunk_check): Revert my previous change.
2426 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2428         * sysdeps/posix/shm-directory.c: New file.
2429         * sysdeps/posix/shm-directory.h: New file.
2430         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2431         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2432         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
2433         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2434         Transmute EPERM to EACCES.
2435         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2436         from ...
2437         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
2438         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2440 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2442         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2443         pointer and cast to uintptr_t.
2444         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2445         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2446         Add cast to avoid warning.
2447         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2449 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
2451         * nptl/semaphore.h: Move to ...
2452         * sysdeps/pthread/semaphore.h: ... here.
2453         * Makefile (installed-headers): Change nptl/semaphore.h to
2454         sysdeps/pthread/semaphore.h.
2456 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2458         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2459         generated error format strings.
2461         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2462         -Wformat-extra-args warnings for scanf formats.
2463         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2464         test of zero-length format (duh).
2465         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2466         corner-case scanf format test.
2467         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2468         generated fprintf format string.
2469         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2470         corner-case sprintf format tests.
2471         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2472         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2473         -Wformat-extra-args warnings throughout.
2474         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2475         (CFLAGS-scanf4.c): Likewise.
2476         (CFLAGS-scanf7.c): Likewise.
2477         (CFLAGS-tst-sprintf.c): Likewise.
2478         (CFLAGS-tst-printf.c): Likewise.
2479         (CFLAGS-tst-printfsz.c): Likewise.
2481 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
2483         * include/cpio.h: New file.
2484         * include/fmtmsg.h: Likewise.
2486         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
2487         corresponding format argument to size_t.
2488         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
2489         arguments.
2490         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
2491         corresponding format argument to size_t.
2492         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
2493         arguments.
2494         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
2495         corresponding format argument to size_t.
2496         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2497         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2498         (CFLAGS-tst-mbswcs2.c): Likewise.
2499         (CFLAGS-tst-mbswcs3.c): Likewise.
2500         (CFLAGS-tst-mbswcs4.c): Likewise.
2501         (CFLAGS-tst-mbswcs5.c): Likewise.
2502         (CFLAGS-tst-trans.c): Likewise
2504 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2506         * posix/regexbug1.c (main): Use "%s" format with regerror results,
2507         rather than assuming they won't contain any '%'s.
2509 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
2511         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2512         inhibit_loop_to_libcall to avoid recursive calls.
2513         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2514         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2516 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
2518         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2519         prototype.
2521 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
2523         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2524         integer value instead of boolean.
2526 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
2528         * malloc/malloc.c: Fix powerof2 check.
2530 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2532         * locale/programs/locfile.h (maybe_swap_uint32):
2533         Remove inline and add unused attribute.
2535 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2537         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2538         Truncating assembler expression to a .long expression.
2540 2014-12-11  Andreas Schwab  <schwab@suse.de>
2542         * elf/rtld.c (struct map_args): Constify str member.
2543         (do_preload): Constify fname argument.
2545 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2547         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2548         constants definition.
2550 2014-12-11  Andreas Schwab  <schwab@suse.de>
2552         [BZ #16657]
2553         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2554         FORCE_ELISION instead of DO_ELISION.
2555         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2556         Remove.
2557         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2558         Likewise.
2560         * iconvdata/gconv-modules: Remove duplicate entry.
2562 2014-12-11  Will Newton  <will.newton@linaro.org>
2564         Merge gettext 0.19.3 into intl/.
2566         This involves a number of cosmetic changes to comments
2567         and ANSI function definitions and prototypes throughout
2568         all the files. The gettext copyright header is used but
2569         with the date ranges taken from the glibc copy.
2571         * NEWS: Add gettext merge to 2.21.
2572         * intl/bindtextdom.c: Switch to gettext copyright.
2573         Use ANSI definitions and prototypes.
2574         Use gl_* locking primitives rather than __libc_* ones.
2575         Use __builtin_expect rather than __glibc_likely/unlikely.
2576         * intl/dcgettext.c: Switch to gettext copyright.
2577         Use ANSI definitions and prototypes.
2578         * intl/dcigettext.c: Switch to gettext copyright.
2579         Use ANSI definitions and prototypes.
2580         (INTDIV0_RAISES_SIGFPE): New define.
2581         Use gl_* locking primitives rather than __libc_* ones.
2582         Include eval-plural.h instead of plural-eval.c.
2583         Use __builtin_expect rather than __glibc_likely/unlikely.
2584         * intl/dcngettext.c: Switch to gettext copyright.
2585         Use ANSI definitions and prototypes.
2586         * intl/dgettext.c: Likewise.
2587         * intl/dngettext.c: Likewise.
2588         * intl/plural-eval.c: Renamed to...
2589         * intl/eval-plural.h: ...this.
2590         * intl/explodename.c: Switch to gettext copyright.
2591         Use ANSI definitions and prototypes.
2592         (_nl_explode_name): Use strchr instead of __rawmemchr.
2593         * intl/finddomain.c: Switch to gettext copyright.
2594         Use ANSI definitions and prototypes.
2595         Use gl_* locking primitives rather than __libc_* ones.
2596         (_nl_find_domain): Use malloc rather than alloca for
2597         allocation of temporary locale name.
2598         * intl/gettext.c: Switch to gettext copyright.
2599         Use ANSI definitions and prototypes.
2600         * intl/gettextP.h: Switch to gettext copyright.
2601         Use ANSI definitions and prototypes.
2602         Use gl_* locking primitives rather than __libc_* ones.
2603         * intl/gmo.h: Switch to gettext copyright.
2604         (struct sysdep_string): Move struct segment_pair outside of
2605         struct definition.
2606         * intl/hash-string.c: Use ANSI definitions and prototypes.
2607         * intl/hash-string.h: Switch to gettext copyright.
2608         Use ANSI definitions and prototypes.
2609         * intl/l10nflist.c: Switch to gettext copyright.
2610         Use ANSI definitions and prototypes.
2611         (_nl_normalize_codeset): Avoid integer overflow.
2612         * intl/loadinfo.h: Switch to gettext copyright.
2613         Use ANSI definitions and prototypes.
2614         (LIBINTL_DLL_EXPORTED): New define.
2615         (PATH_SEPARATOR): New define.
2616         * intl/loadmsgcat.c: Switch to gettext copyright.
2617         * intl/localealias.c: Switch to gettext copyright.
2618         Use ANSI definitions and prototypes.
2619         (_nl_expand_alias): Use PATH_SEPARATOR.
2620         * intl/ngettext.c: Switch to gettext copyright.
2621         Use ANSI definitions and prototypes.
2622         * intl/plural-exp.c: Likewise.
2623         * intl/plural-exp.h: Switch to gettext copyright.
2624         Use ANSI definitions and prototypes.
2625         (struct expression): Move definition of enum operator outside
2626         of struct definition.
2627         * intl/plural.c: Regenerate.
2628         * intl/plural.y: Switch to gettext copyright.
2629         Use ANSI definitions and prototypes.
2630         Port to bison 3.0.
2631         * intl/textdomain.c: Switch to gettext copyright.
2632         Use ANSI definitions and prototypes.
2633         Use gl_* locking primitives rather than __libc_* ones.
2635 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
2637         * debug/warning-nop.c: Add used atrribute.
2639 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2641         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2643         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2644         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2645         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2647 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2648             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2650         [BZ #17634]
2651         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2652         Undefine after defining function.  Define as weak alias of
2653         __wcschr.  Use libc_hidden_weak.
2654         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
2655         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2656         (libc_hidden_def): Also define __GI___wcschr alias.
2657         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2658         __wcschr and define as weak alias of __wcschr.
2659         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2660         __wcschr.
2661         [!WCSCHR] (DEFAULT_WCSCHR): Define.
2662         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2663         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
2664         libc_hidden_weak.  Do not use libc_hidden_def.
2665         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2666         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2667         __GI___wcschr alias.
2668         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2669         [IS_IN (libc)] (wcschr): Define as macro expanding to
2670         __redirect_wcschr.
2671         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2672         [IS_IN (libc)] (__wcschr_power6): Likewise.
2673         [IS_IN (libc)] (__wcschr_power7): Likewise.
2674         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
2675         instead of wcschr.
2676         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2677         __libc_wcschr.
2678         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2679         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2680         __wcschr and define as weak alias of __wcschr.  Use
2681         libc_hidden_builtin_def.
2682         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2683         as weak alias of __wcschr.  Use libc_hidden_weak.
2684         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2685         wcschr.
2686         * time/era.c (_nl_init_era_entries): Likewise.
2687         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2688         variable.
2689         (test-xfail-XPG3/time.h/linknamespace): Likewise.
2690         (test-xfail-XPG4/time.h/linknamespace): Likewise.
2692 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2694         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2695         format for long int variable.
2697 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
2699         [BZ #10672]
2700         * manual/search.texi: (Array Sort Function): Remove claim how to make
2701         qsort stable.
2703 2014-12-10  Andreas Schwab  <schwab@suse.de>
2705         [BZ #12847]
2706         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2707         user-controlled locks.
2709 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
2711         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2712         register.
2714 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2716         * configure.ac (--disable-werror): New configure option.
2717         (enable_werror): New AC_SUBST.
2718         * configure: Regenerated.
2719         * config.make.in (enable-werror): New variable.
2720         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2721         -Wno-error=undef.
2722         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2723         * manual/install.texi (Configuring and compiling): Document
2724         --disable-werror.
2725         * INSTALL: Regenerated.
2726         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2727         (CFLAGS-tst-chk2.c): Likewise.
2728         (CFLAGS-tst-chk3.c): Likewise.
2729         (CFLAGS-tst-chk4.cc): Likewise.
2730         (CFLAGS-tst-chk5.cc): Likewise.
2731         (CFLAGS-tst-chk6.cc): Likewise.
2732         (CFLAGS-tst-lfschk1.c): Likewise.
2733         (CFLAGS-tst-lfschk2.c): Likewise.
2734         (CFLAGS-tst-lfschk3.c): Likewise.
2735         (CFLAGS-tst-lfschk4.cc): Likewise.
2736         (CFLAGS-tst-lfschk5.cc): Likewise.
2737         (CFLAGS-tst-lfschk6.cc): Likewise.
2739         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
2740         (main): Disable -Wdeprecated-declarations around calls to
2741         register_printf_function.
2743         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
2744         (do_test): Disable -Wdiv-by-zero around some calls to
2745         fwrite_unlocked and fread_unlocked.
2747         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
2748         (DIAG_POP_NEEDS_COMMENT): Likewise.
2749         (_DIAG_STR1): Likewise.
2750         (_DIAG_STR): Likewise.
2751         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
2752         * stdio-common/bug21.c: Include <libc-internal.h>.
2753         (do_test): Disable -Wformat around call to sscanf.
2754         * stdio-common/scanf14.c: Include <libc-internal.h>.
2755         (main): Disable -Wformat around some calls to scanf functions.
2757 2014-12-09  Torvald Riegel  <triegel@redhat.com>
2759         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
2761 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2763         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
2764         stack variable alignment.
2766 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
2768         [BZ #17682]
2769         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
2770         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
2771         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
2772         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
2773         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
2774         __getrlimit instead of getrlimit.
2775         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
2776         __gettimeofday instead of gettimeofday.
2777         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2778         Likewise.
2779         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2780         Likewise.
2781         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2782         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
2783         Remove variable.
2784         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2785         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2787 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2789         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
2790         for wide-character tests.
2792 2014-12-04  Roland McGrath  <roland@hack.frob.com>
2794         * io/openat64.c: #include <libc-internal.h>
2795         (__openat64): Prototypify.  Use ignore_value on MODE.
2796         * io/openat.c: Likewise.
2797         * misc/reboot.c: #include <libc-internal.h>
2798         (reboot): Prototypify.  Use ignore_value on HOWTO.
2799         * misc/ptrace.c: #include <libc-internal.h>
2800         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
2802 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
2804         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
2805         XPG4, UNIX98 and XOPEN2K.
2806         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
2807         Remove variable.
2808         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2810 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2812         * libio/fileops.c: Use ISO C style for function definitions.
2813         * libio/iofopen.c: Likewise.
2814         * libio/wfileops.c: Likewise.
2816         [BZ #17653]
2817         * libio/fileops.c (_IO_new_file_underflow): Unset cached
2818         offset on EOF.
2819         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2820         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
2821         (fgets_func): Function pointer to fgets and fgetws.
2822         (do_ftell_test): Add test to verify ftell value after read
2823         EOF.
2824         (do_test): Set fgets_func.
2826         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
2827         O_TRUNC flag for w and w+ modes.
2828         (do_rewind_test): Likewise.
2829         (do_ftell_test): Likewise.
2830         (do_write_test): Likewise.
2832         [BZ #17647]
2833         * libio/fileops.c (do_ftell): Seek only when there are
2834         unflushed writes.
2835         * libio/wfileops.c (do_ftell_wide): Likewise.
2836         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
2837         test case.
2838         (do_one_test): Call it.
2840 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
2842         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
2843         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
2844         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
2845         Remove variable.
2846         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2847         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2848         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2850 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
2852         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
2853         Remove variable.
2854         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2856         [BZ #17668]
2857         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
2858         as weak alias of __getifaddrs.  Use libc_hidden_weak.
2859         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2860         __freeifaddrs.  Use libc_hidden_weak.
2861         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
2862         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
2863         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2864         __freeifaddrs.  Use libc_hidden_weak.
2865         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
2866         __getifaddrs and define as weak alias of __getifaddrs.  Use
2867         libc_hidden_weak.
2868         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2869         __freeifaddrs.  Use libc_hidden_weak.
2870         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
2871         Remove variable.
2872         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2873         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2875 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
2877         [BZ #17601]
2878         * sysdeps/mips/start.S (__start): Use indirect jump to call
2879         __libc_start_main.
2881 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
2883         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
2885         * nptl/tst-mutex1.c: Include <stdbool.h>.
2886         [!ATTR] (ATTR_NULL): New macro.
2887         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
2888         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
2889         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
2891         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
2892         to char *.
2894         [BZ #17665]
2895         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
2896         Change conditional to [__USE_MISC].
2898         [BZ #17664]
2899         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
2900         fgets_unlocked.
2901         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
2902         __fgets_unlocked.
2903         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
2904         fgets_unlocked.
2905         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
2906         Remove variable.
2907         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2908         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2909         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2910         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2911         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2912         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2913         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2914         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2915         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2917         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
2919 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2921         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2922         Remove strpbrk objects.
2923         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2924         (__libc_ifunc_impl_list): Remove strpbrk implementation.
2925         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
2926         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
2927         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
2928         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
2930         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2931         Remove strcspn objects.
2932         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2933         (__libc_ifunc_impl_list): Remove strcspn implementation.
2934         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
2935         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
2936         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
2937         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2939         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2940         Remove strspn objetcs.
2941         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2942         (__libc_ifunc_impl_list): Remove strspn implementation.
2943         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
2944         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2945         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
2946         * sysdeps/powerpc/powerpc64/strspn.S: New file.
2948 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
2950         [BZ #17581]
2951         * malloc/hooks.c
2952         (mem2mem_check): Add a terminator to the chain of checking blocks.
2953         (malloc_check_get_size): Use it here.
2954         (mem2chunk_check): Ditto.
2956 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2958         * sysdeps/powerpc/powerpc64/strtok.S: New file.
2959         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
2961 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
2963         * bits/ioctl-types.h: Indent preprocessor directives correctly.
2965         * nptl/nptl-init.c: Include libc-internal.h.
2966         (__pthread_initialize_minimal_internal): Use ROUND_UP.
2968         * elf/ldconfig.c (search_dir): Expand comment.
2970 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
2972         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
2973         variable.
2974         (linknamespace-symlist-stdlibs-tests): Likewise.
2975         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
2976         instead of $(objpfx)symlist-stdlibs.
2977         (linknamespace-libs-isoc): New variable.
2978         (linknamespace-libs): Use $(linknamespace-libs-isoc).
2979         (linknamespace-libs-ISO): New variable.
2980         (linknamespace-libs-ISO99): Likewise.
2981         (linknamespace-libs-ISO11): Likewise.
2982         (linknamespace-libs-XPG3): Likewise.
2983         (linknamespace-libs-XPG4): Likewise.
2984         (linknamespace-libs-POSIX): Likewise.
2985         (linknamespace-libs-UNIX98): Likewise.
2986         (linknamespace-libs-XOPEN2K): Likewise.
2987         (linknamespace-libs-POSIX2008): Likewise.
2988         (linknamespace-libs-XOPEN2K8): Likewise.
2989         ($(objpfx)symlist-stdlibs): Replace by
2990         $(linknamespace-symlist-stdlibs-tests).  Use
2991         $(linknamespace-libs-$*) as set of libraries.
2992         ($(linknamespace-header-tests)): Update dependencies.  Use
2993         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
2994         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
2995         * conform/linknamespace.pl: Remove comment about considering
2996         definitions of symbols from irrelevant libraries.
2998 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
3000         [BZ #13862]
3001         * elf/dl-tls.c: Include <atomic.h>.
3002         (oom): Remove #ifdef SHARED/#endif.
3003         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3004         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
3005         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3006         big enough.
3007         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3008         * nptl/Makefile (tests): Add tst-stack4.
3009         (modules-names): Add tst-stack4mod.
3010         ($(objpfx)tst-stack4): New.
3011         (tst-stack4mod.sos): Likewise.
3012         ($(objpfx)tst-stack4.out): Likewise.
3013         ($(tst-stack4mod.sos)): Likewise.
3014         (clean): Likewise.
3015         * nptl/tst-stack4.c: New file.
3016         * nptl/tst-stack4mod.c: Likewise.
3018 2014-11-27  J. Brown  <jb999@gmx.de>
3020         * sysdeps/x86/bits/string.h: Add recent CPUs.
3022 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
3024         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3025         sigblock.
3027         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3028         feof.
3030         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3031         variable.
3033 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
3035         * nscd/connections.c: Include libc-internal.h because of macro
3036         usage ignore_value.
3038 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3040         * string/bits/string3.h (__warn_memset_zero_len): Don't
3041         declare for gcc newer than 5.0.
3042         (memset): Don't test for zero-length __LEN for gcc newer than
3043         5.0.
3045 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
3047         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3048         size_t for %zu format.
3050         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3051         difference, not %ju.
3053 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
3055         * include/libc-internal.h (ignore_value): New macro.
3056         * nscd/connections.c (restart): Wrap calls to setuid and setgid
3057         with ignore_value.
3059         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3060         definition.
3062         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3063         pthread_cleanup_push to void *.
3065         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3066         Undefine.
3068         [BZ #16619]
3069         [BZ #16740]
3070         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3071         instead of 1L << 52.
3073         * libio/bug-rewind.c (do_test): Check fwscanf return values.
3074         * libio/bug-rewind2.c (do_test): Likewise.
3076         * debug/test-stpcpy_chk-ifunc.c: Remove file.
3077         * debug/test-strcpy_chk-ifunc.c: Likewise.
3078         * wcsmbs/test-wcschr-ifunc.c: Likewise.
3079         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3080         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3081         * wcsmbs/test-wcslen-ifunc.c: Likewise.
3082         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3083         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3084         * Rules [$(multi-arch) = no] (tests): Do not filter out
3085         $(tests-ifunc).
3086         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3087         * debug/Makefile (tests-ifunc): Remove variable.
3088         (tests): Do not add $(tests-ifunc).
3089         * wcsmbs/Makefile (tests-ifunc): Remove variable.
3090         (tests): Do not add $(tests-ifunc).
3091         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3092         [TEST_IFUNC]: Remove conditionals.
3093         * string/test-string.h (TEST_IFUNC): Remove macro.
3094         [TEST_IFUNC]: Remove conditionals.
3096         * string/test-strchr.c [!WIDE] (L): New macro.
3097         [WIDE] (L): Likewise.
3098         (check1): Use CHAR instead of char.  Use L on string and character
3099         constants.
3101 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
3103         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3104         tests.
3105         * sysdeps/powerpc/bits/atomic.h
3106         (__arch_atomic_exchange_and_add_32_acq): Add definition.
3107         (__arch_atomic_exchange_and_add_32_rel): Likewise.
3108         (atomic_exchange_and_add_acq): Likewise.
3109         (atomic_exchange_and_add_rel): Likewise.
3110         * sysdeps/powerpc/powerpc32/bits/atomic.h
3111         (__arch_atomic_exchange_and_add_64_acq): Add definition.
3112         (__arch_atomic_exchange_and_add_64_rel): Likewise.
3113         * sysdeps/powerpc/powerpc64/bits/atomic.h
3114         (__arch_atomic_exchange_and_add_64_acq): Add definition.
3115         (__arch_atomic_exchange_and_add_64_rel): Likewise.
3117 2014-11-26  Torvald Riegel  <triegel@redhat.com>
3119         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3120         Change synchronization of __sched_fifo_min_prio and
3121         __sched_fifo_max_prio.
3122         * nptl/pthread_mutexattr_getprioceiling.c
3123         (pthread_mutexattr_getprioceiling): Likewise.
3124         * nptl/pthread_mutexattr_setprioceiling.c
3125         (pthread_mutexattr_setprioceiling): Likewise.
3126         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3127         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3128         Likewise.
3130 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
3132         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3133         void.
3135 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
3137         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3138         third argument const.
3140 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
3142         fnmatch: work around GCC compiler warning bug with uninit var
3143         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3144         This works around a bug with x86-64 GCC 4.9.2 and earlier
3145         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3146         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3147         used uninitialized in this function [-Wmaybe-uninitialized]".
3149 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
3151         * posix/bug-regex31.c (main): Return RES not 0.
3153 2014-11-25  Anton Blanchard <anton@samba.org>
3155         * sysdeps/powerpc/bits/atomic.h
3156         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3158 2014-11-24  Sterling Augustine  <saugustine@google.com>
3160         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3162 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
3164         [BZ #17608]
3165         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3167 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
3169         [BZ #17633]
3170         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3171         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3172         variable.
3173         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3174         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3176 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
3178         * string/strncpy.c (strncpy): Improve performance by using memset.
3180 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
3182         * string/strcpy.c (strcpy):
3183         Improve performance by using strlen and memcpy.
3185 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
3187         * string/strcoll_l.c (get_next_seq): __always_inline.
3188         * string/strcoll_l.c (do_compare): __always_inline.
3190 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3192         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3193         defined.
3194         * include/mqueue.h: Likewise.
3195         * include/stdlib.h: Likewise.
3197         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3198         (get_null_defines): Adjust.
3199         * sunrpc/Makefile: Adjust comment.
3200         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3201         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3202         (CFLAGS-interp.c): Likewise.
3203         (CFLAGS-ldconfig.c): Likewise.
3204         (CPPFLAGS-.os): Likewise.
3205         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3206         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3207         * extra-modules.mk (extra-modules.mk): Likewise.
3208         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3209         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3210         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3211         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3212         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3213         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3214         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3215         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3216         * iconvdata/Makefile (CPPFLAGS): Likewise.
3217         (cpp-srcs-left): Add libof for all iconvdata routines.
3218         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3219         * include/assert.h: Likewise.
3220         * include/ctype.h: Likewise.
3221         * include/errno.h: Likewise.
3222         * include/libc-symbols.h: Likewise.
3223         * include/math.h: Likewise.
3224         * include/netdb.h: Likewise.
3225         * include/resolv.h: Likewise.
3226         * include/stdio.h: Likewise.
3227         * include/stdlib.h: Likewise.
3228         * include/string.h: Likewise.
3229         * include/sys/stat.h: Likewise.
3230         * include/wctype.h: Likewise.
3231         * intl/l10nflist.c: Likewise.
3232         * libidn/idn-stub.c: Likewise.
3233         * libio/libioP.h: Likewise.
3234         * nptl/libc_multiple_threads.c: Likewise.
3235         * nptl/pthreadP.h: Likewise.
3236         * posix/regex_internal.h: Likewise.
3237         * resolv/res_hconf.c: Likewise.
3238         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3239         * sysdeps/arm/memmove.S: Likewise.
3240         * sysdeps/arm/sysdep.h: Likewise.
3241         * sysdeps/generic/_itoa.h: Likewise.
3242         * sysdeps/generic/symbol-hacks.h: Likewise.
3243         * sysdeps/gnu/errlist.awk: Likewise.
3244         * sysdeps/gnu/errlist.c: Likewise.
3245         * sysdeps/i386/i586/memcpy.S: Likewise.
3246         * sysdeps/i386/i586/memset.S: Likewise.
3247         * sysdeps/i386/i686/memcpy.S: Likewise.
3248         * sysdeps/i386/i686/memmove.S: Likewise.
3249         * sysdeps/i386/i686/mempcpy.S: Likewise.
3250         * sysdeps/i386/i686/memset.S: Likewise.
3251         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3252         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3253         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3254         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3255         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3256         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3257         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3258         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3259         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3260         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3261         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3262         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3263         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3264         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3265         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3266         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3267         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3268         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3269         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3270         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3271         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3272         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3273         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3274         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3275         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3276         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3277         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3278         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3279         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3280         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3281         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3282         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3283         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3284         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3285         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3286         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3287         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3288         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3289         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3290         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3291         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3292         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3293         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3294         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3295         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3296         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3297         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3298         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3299         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3300         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3301         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3302         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3303         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3304         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3305         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3306         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3307         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3308         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3309         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3310         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3311         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3312         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3313         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3314         * sysdeps/nptl/bits/libc-lock.h: Likewise.
3315         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3316         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3317         * sysdeps/posix/closedir.c: Likewise.
3318         * sysdeps/posix/opendir.c: Likewise.
3319         * sysdeps/posix/readdir.c: Likewise.
3320         * sysdeps/posix/rewinddir.c: Likewise.
3321         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3322         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3323         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3324         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3325         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3326         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3327         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3328         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3329         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3330         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3331         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3332         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3333         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3334         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3335         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3336         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3337         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3338         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3339         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3340         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3341         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3342         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3343         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3344         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3345         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3346         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3347         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3348         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3349         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3350         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3351         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3352         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3353         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3354         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3355         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3356         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3357         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3358         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3359         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3360         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3361         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3362         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3363         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3364         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3365         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3366         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3367         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3368         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3369         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3370         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3371         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3372         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3373         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3374         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3375         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3376         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3377         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3378         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3379         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3380         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3381         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3382         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3383         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3384         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3385         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3386         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3387         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3388         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3389         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3390         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3391         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3392         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3393         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3394         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3395         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3396         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3397         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3398         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3399         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3400         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3401         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3402         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3403         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3404         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3405         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3406         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3407         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3408         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3409         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3410         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3411         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3412         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3413         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3414         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3415         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3416         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3417         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3418         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3419         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3420         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3421         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3422         * sysdeps/unix/alpha/sysdep.S: Likewise.
3423         * sysdeps/unix/alpha/sysdep.h: Likewise.
3424         * sysdeps/unix/make-syscalls.sh: Likewise.
3425         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3426         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3427         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3428         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3429         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3430         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3431         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3432         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3433         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3434         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3435         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3436         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3437         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3438         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3439         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3440         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3441         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3442         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3443         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3444         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3445         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3446         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3447         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3448         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3449         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3450         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3451         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3452         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3454         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3455         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3456         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3457         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3458         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3459         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3460         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3461         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3462         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3463         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3464         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3465         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3466         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3467         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3468         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3469         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3470         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3471         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3472         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3473         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3474         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3475         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3476         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3477         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3478         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3479         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3480         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3481         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3482         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3483         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3484         * sysdeps/x86_64/memcpy.S: Likewise.
3485         * sysdeps/x86_64/memmove.c: Likewise.
3486         * sysdeps/x86_64/memset.S: Likewise.
3487         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3488         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3489         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3490         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3491         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3492         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3493         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3494         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3495         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3496         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3497         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3498         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3499         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3500         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3501         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3502         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3503         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3504         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3505         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3506         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3507         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3508         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3509         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3510         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3511         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3512         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3513         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3514         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3515         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3516         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3517         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3518         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3519         * sysdeps/x86_64/strcmp.S: Likewise.
3521         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3523         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3524         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3525         * elf/rtld-Rules: Likewise.
3526         * elf/setup-vdso.h: Likewise.
3527         * include/assert.h: Likewise.
3528         * include/bits/stdlib-float.h: Likewise.
3529         * include/errno.h: Likewise.
3530         * include/sys/stat.h: Likewise.
3531         * include/unistd.h: Likewise.
3532         * sysdeps/aarch64/setjmp.S: Likewise.
3533         * sysdeps/alpha/setjmp.S: Likewise.
3534         * sysdeps/arm/__longjmp.S: Likewise.
3535         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3536         * sysdeps/arm/setjmp.S: Likewise.
3537         * sysdeps/arm/sysdep.h: Likewise.
3538         * sysdeps/generic/_itoa.h: Likewise.
3539         * sysdeps/generic/dl-sysdep.h: Likewise.
3540         * sysdeps/generic/ldsodefs.h: Likewise.
3541         * sysdeps/i386/dl-tls.h: Likewise.
3542         * sysdeps/i386/setjmp.S: Likewise.
3543         * sysdeps/m68k/setjmp.c: Likewise.
3544         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3545         * sysdeps/mach/hurd/opendir.c: Likewise.
3546         * sysdeps/posix/getcwd.c: Likewise.
3547         * sysdeps/posix/opendir.c: Likewise.
3548         * sysdeps/posix/profil.c: Likewise.
3549         * sysdeps/powerpc/dl-procinfo.h: Likewise.
3550         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3551         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3552         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3553         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3554         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3555         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3556         * sysdeps/s390/dl-tls.h: Likewise.
3557         * sysdeps/s390/s390-32/setjmp.S: Likewise.
3558         * sysdeps/s390/s390-64/setjmp.S: Likewise.
3559         * sysdeps/sh/sh3/setjmp.S: Likewise.
3560         * sysdeps/sh/sh4/setjmp.S: Likewise.
3561         * sysdeps/unix/alpha/sysdep.h: Likewise.
3562         * sysdeps/unix/arm/sysdep.S: Likewise.
3563         * sysdeps/unix/i386/sysdep.S: Likewise.
3564         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3565         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3566         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3567         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3568         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3569         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3570         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3571         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3572         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3573         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3574         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3575         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3576         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3579         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3580         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3581         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3582         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3583         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3584         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3585         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3586         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3587         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3588         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3589         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3590         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3591         * sysdeps/unix/x86_64/sysdep.S: Likewise.
3592         * sysdeps/x86_64/setjmp.S: Likewise.
3594         * include/math.h: Use IS_IN instead of IS_IN_libm.
3595         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3596         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3597         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3598         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3599         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3600         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3601         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3602         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3603         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3604         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3605         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3606         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3607         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3608         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3609         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3610         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3611         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3612         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3613         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3614         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3615         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3616         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3617         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3618         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3619         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3620         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3621         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3622         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3623         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3624         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3625         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3626         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3627         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3628         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3629         Likewise.
3630         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3631         Likewise.
3632         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3633         Likewise.
3634         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3635         Likewise.
3636         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3637         Likewise.
3638         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3639         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3640         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3641         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3642         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3643         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3646         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3648         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3649         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3650         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3651         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3652         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3653         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3654         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3655         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3656         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3657         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3658         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3659         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3660         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3661         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3662         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3663         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3664         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3666         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3667         * nptl/pthreadP.h: Likewise.
3668         * nptl_db/structs.def: Likewise.
3669         * sysdeps/arm/sysdep.h: Likewise.
3670         * sysdeps/nptl/bits/libc-lock.h: Likewise.
3671         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3672         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3673         * sysdeps/unix/alpha/sysdep.h: Likewise.
3674         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3675         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3676         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3677         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3678         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3679         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3680         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3681         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3682         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3683         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3684         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3685         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3686         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3687         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3689         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3690         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3691         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3692         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3693         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3694         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3695         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3696         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3697         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3698         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
3699         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3701         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3702         * nptl/pthreadP.h: Likewise.
3703         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3704         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3705         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3706         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3707         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3708         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3709         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3710         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3711         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3712         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3713         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3714         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3716         Likewise.
3717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3718         Likewise.
3719         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3720         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3721         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3722         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3723         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3724         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3725         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3726         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3728         * dlfcn/dladdr.c: Use IS_IN.
3729         * dlfcn/dladdr1.c: Likewise.
3730         * dlfcn/dlclose.c: Likewise.
3731         * dlfcn/dlerror.c: Likewise.
3732         * dlfcn/dlinfo.c: Likewise.
3733         * dlfcn/dlmopen.c: Likewise.
3734         * dlfcn/dlopen.c: Likewise.
3735         * dlfcn/dlsym.c: Likewise.
3736         * dlfcn/dlvsym.c: Likewise.
3738         * include/ifaddrs.h: Use IS_IN.
3739         * inet/check_pf.c: Likewise.
3740         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3741         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
3743         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
3744         IS_IN_ldconfig.
3745         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
3746         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
3748         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
3749         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
3750         IS_IN (libc).
3752         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
3754         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
3755         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3756         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3757         * include/libc-symbols.h (IS_IN_LIB): New macro.
3758         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
3759         * include/netdb.h: Likewise.
3760         * include/stap-probe.h: Remove all uses of IN_LIB.
3762         * Makeconfig (module-cppflags-real): Define MODULE_NAME
3763         instead of IN_MODULE.
3764         * include/libc-symbols.h (IN_MODULE): Define using
3765         MODULE_NAME.
3766         (PASTE_NAME, PASTE_NAME1): New macros.
3767         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
3768         of IN_LIB.
3769         (STAP_PROBE_ASM): Likewise.
3771 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3773         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
3774         __mach_init in dlopened libc.
3776 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
3778         * sysdeps/arm/preconfigure.ac: Delete EABI check.
3779         * sysdeps/arm/preconfigure: Regenerate.
3781 2014-11-21  Roland McGrath  <roland@hack.frob.com>
3783         * nptl/pthread_create.c (__pthread_create_2_1): Set
3784         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
3785         when copying values from IATTR into PD.
3787 2014-11-21  Will Newton  <will.newton@linaro.org>
3788             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
3790         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
3791         Refactor inline-asm.  Also add comment.
3793         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
3794         ElfW macro instead of hardcoded Elf64 types.
3795         (la_aarch64_gnu_pltenter): Likewise.
3796         * sysdeps/aarch64/dl-machine.h
3797         (elf_machine_runtime_setup): Use ElfW(Addr).
3799         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
3800         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
3801         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
3802         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
3803         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
3804         (R_AARCH64_TLS_DTPMOD64): Rename to ..
3805         (R_AARCH64_TLS_DTPMOD): This.
3806         (R_AARCH64_TLS_DTPREL64): Rename to ...
3807         (R_AARCH64_TLS_DTPREL): This.
3808         (R_AARCH64_TLS_TPREL64): Rename to ...
3809         (R_AARCH64_TLS_TPREL): This.
3810         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
3811         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
3812         R_AARCH64_TLS_TPREL64.
3813         (elf_machine_rela): Likewise.
3815 2014-11-21  Torvald Riegel  <triegel@redhat.com>
3817         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
3818         by setting it to 0.  64b atomics are not supported currently.
3820 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3822         [BZ #16469]
3823         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
3824         search domain names.
3826 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3828         [BZ #16469]
3829         * NEWS: Update.
3830         * resolv/res_query.c (__libc_res_nquerydomain): Retain
3831         trailing dot.
3832         * posix/tst-getaddrinfo5.c: New.
3833         * posix/Makefile (tests): Add it.
3835 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3837         [BZ #14498]
3838         * NEWS: Fixed.
3839         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
3840         after parsing line but before break_if_match.
3841         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
3842         if there is a protocol mismatch.
3844 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
3846         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
3847         because the potential race is on the user-supplied stream.
3849 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3851         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
3852         string literal if not passed a buffer.
3853         * manual/job.texi (ctermid): Update reasoning, note deviation
3854         from posix, suggest mtasurace when not passed a buffer, for
3855         future non-preliminary safety notes.
3857 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3859         * manual/users.texi (cuserid): Fix MT-Safety note for the case
3860         of not passing it a buffer.
3861         Reported by Peng Haitao.
3863 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3865         * manual/Makefile ($(objpfx)stamp-summary): Require
3866         check-safety.sh to pass.
3867         * manual/check-safety.sh: Wish for verification that every
3868         @deftypefn and @deftypefun is followed by a @safety remark.
3870 2014-11-20  Roland McGrath  <roland@hack.frob.com>
3872         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
3874         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
3875         PTHREAD_CANCEL_ASYNCHRONOUS.
3876         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
3877         send SIGCANCEL.
3879         * nptl/default-sched.h: New file.
3880         * sysdeps/unix/sysv/linux/default-sched.h: New file.
3881         * nptl/pthread_create.c: Include it.
3882         (__pthread_create_2_1): Use collect_default_sched instead of making
3883         Linux syscalls here directly.
3885 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3887         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
3888         __pthread_once): Use C11 atomics.
3890 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3892         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
3894 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3896         * include/atomic.h (__atomic_link_error, __atomic_check_size,
3897         atomic_thread_fence_acquire, atomic_thread_fence_release,
3898         atomic_thread_fence_seq_cst, atomic_load_relaxed,
3899         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
3900         atomic_compare_exchange_weak_relaxed,
3901         atomic_compare_exchange_weak_acquire,
3902         atomic_compare_exchange_weak_release,
3903         atomic_exchange_acquire, atomic_exchange_release,
3904         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
3905         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
3906         atomic_fetch_and_acquire,
3907         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
3909 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3911         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
3912         USE_ATOMIC_COMPILER_BUILTINS): Define.
3913         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
3914         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3915         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
3916         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3917         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
3918         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3919         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
3920         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3921         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
3922         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3923         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
3924         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3925         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
3926         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3927         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
3928         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3929         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3930         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3931         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3932         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3933         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
3934         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3935         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3936         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3937         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
3938         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3939         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3940         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3941         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
3942         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3943         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
3944         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3945         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
3946         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3947         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3948         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3949         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
3950         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3951         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
3952         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3954 2014-11-19  Roland McGrath  <roland@hack.frob.com>
3956         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
3957         the sched_priority value here.  It was already checked when the user
3958         called pthread_attr_setschedparam.
3960         * nptl/tst-bad-schedattr.c: New file.
3961         * nptl/Makefile (tests): Add it.
3963 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
3964             Florian Weimer  <fweimer@redhat.com>
3965             Joseph Myers  <joseph@codesourcery.com>
3966             Adam Conrad  <adconrad@0c3.net>
3967             Andreas Schwab  <schwab@suse.de>
3968             Brooks  <bmoses@google.com>
3970         [BZ #17625]
3971         * wordexp-test.c (__dso_handle): Add prototype.
3972         (__register_atfork): Likewise.
3973         (__app_register_atfork): New function.
3974         (registered_forks): New global.
3975         (register_fork): New function.
3976         (test_case): Add 3 new tests for WRDE_CMDSUB.
3977         (main): Call __app_register_atfork.
3978         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
3979         fork count is non-zero fail the test.
3980         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
3981         is set.
3982         (parse_dollars): Remove check for WRDE_NOCMD.
3983         (parse_dquote): Likewise.
3985 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3987         * Makeconfig (built-modules): List non-library modules to be
3988         built.
3989         (module-cppflags): Include libc-modules.h for
3990         everything except shlib-versions.v.i.
3991         (CPPFLAGS): Use it.
3992         (before-compile): Add libc-modules.h.
3993         ($(common-objpfx)libc-modules.h,
3994         $(common-objpfx)libc-modules.stmp): New targets.
3995         (common-generated): Add libc-modules.h and libc-modules.stmp.
3996         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
3997         * include/libc-symbols.h: Don't include libc-modules.h.
3998         * include/libc-modules.h: Remove file.
3999         * scripts/gen-libc-modules.awk: New script to generate
4000         libc-modules.h.
4001         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4002         Depend on libc-modules.stmp.
4004         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4006         * Makeconfig (in-module): Get value of libof set for the
4007         translation unit.
4008         (CPPFLAGS): Use $(in-module).
4009         * Makerules: Don't suffix routine names for nonlib.
4010         * include/libc-modules.h: New file.
4011         * include/libc-symbols.h: Include libc-modules.h
4012         (IS_IN): New macro to replace IS_IN_* macros.
4013         * elf/Makefile: Set libof-* for each routine.
4014         * elf/rtld-Rules: Likewise.
4015         * extra-modules.mk: Likewise.
4016         * iconv/Makefile: Likewise.
4017         * iconvdata/Makefile: Likewise.
4018         * locale/Makefile: Likewise.
4019         * malloc/Makefile: Likewise.
4020         * nss/Makefile: Likewise.
4021         * sysdeps/gnu/Makefile: Likewise.
4022         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4023         * sysdeps/unix/sysv/linux/Makefile: Likewise.
4024         * sysdeps/s390/s390-64/Makefile: Likewise.
4025         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
4026         CPPFLAGS for nscd instead of nonlib.
4028 2014-11-18  Roland McGrath  <roland@hack.frob.com>
4030         * nptl/createthread.c: New file.
4032         * nptl/createthread.c: Moved ...
4033         * sysdeps/unix/sysv/linux/createthread.c: ... here.
4035         * nptl/createthread.c: Add proper top-line comment.
4036         (do_clone): Folded into ...
4037         (create_thread): ... here.  Take new arguments STOPPED_START and
4038         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
4039         increment __nptl_threads, do event-reporting logic, do
4040         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4041         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
4042         resource cleanup if sched_setaffinity or sched_setscheduler fails,
4043         just send SIGCANCEL.
4044         * nptl/pthread_create.c: Forward-declare create_thread before
4045         including createthread.c.
4046         (start_thread): Use new macro START_THREAD_DEFN to replace defining
4047         declaration, and new macro START_THREAD_SELF to replace argument.
4048         Remove return statement.
4049         (report_thread_creation): New function.
4050         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
4051         synchronization logic, and __nptl_nthreads increment here, around
4052         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
4053         PD->parent_cancelhandling here, before create_thread.  When
4054         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4055         __deallocate_stack, and ENOMEM translation here.
4057 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
4059         [BZ #17616]
4060         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4061         (mptwo): Rename to __mptwo.
4062         (__inv): Use __mptwo instead of mptwo.
4063         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4064         (mptwo): Rename to __mptwo.
4065         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4066         of mpone and __mptwo instead of mptwo.
4067         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4068         instead of mpone.
4069         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4070         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4071         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4072         of mpone and __mptwo instead of mptwo.
4073         (__mpranred): Use __mpone instead of mpone.
4074         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4075         variable.
4076         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4077         (test-xfail-ISO99/math.h/linknamespace): Likewise.
4078         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4079         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4080         (test-xfail-ISO11/math.h/linknamespace): Likewise.
4081         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4082         (test-xfail-XPG3/math.h/linknamespace): Likewise.
4083         (test-xfail-XPG4/math.h/linknamespace): Likewise.
4084         (test-xfail-POSIX/math.h/linknamespace): Likewise.
4085         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4086         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4087         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4088         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4089         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4090         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4091         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4092         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4093         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4094         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4096 2014-11-18  Tom de Vries  <tom@codesoucery.com>
4098         * manual/signal.texi (Primitives Interrupted by Signals): In section,
4099         replace BSD Handler xref with BSD Signal Handling.
4101 2014-11-17  Richard Henderson  <rth@redhat.com>
4103         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4104         (_FP_PACK_RAW_2): Remove.
4105         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4106         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4107         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4108         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4109         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4110         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4111         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4112         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4113         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4114         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4115         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4116         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4117         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4118         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4119         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4120         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4122 2014-11-14  Roland McGrath  <roland@hack.frob.com>
4124         * signal/signal.h [__USE_MISC]
4125         (struct sigvec): Remove type.
4126         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4127         (sigvec): Remove declaration.
4128         * sysdeps/posix/sigvec.c: Moved ...
4129         * signal/sigvec.c: ... here, replacing old file.
4130         (struct sigvec): New type, copied from old signal.h definition.
4131         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4132         (__sigvec): Convert definition to prototype.
4133         (sigvec): Replace weak_alias with compat_symbol.
4134         * signal/Versions (libc: GLIBC_2.21): New version set.
4135         * include/signal.h: Remove __sigvec declaration.
4136         * sysdeps/unix/bsd/sigvec.c: Remove file.
4137         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4138         * manual/signal.texi (BSD Handler): Remove subsection.
4139         Move siginterrupt up to ...
4140         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
4141         (Blocking in BSD): Fold subsection into its parent.
4142         * NEWS: Mention sigvec removal.
4144 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
4146         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4147         (DLA_FMS): Make definition conditional only on [__FMA4__].
4148         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4149         definition.
4151         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4152         Make definition conditional only on [PROF].
4153         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4154         definition.
4155         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4156         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4158         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4159         !__GNUC__].
4160         * include/signal.h (__sigpause): Move declaration above call to
4161         libc_hidden_proto.
4162         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4163         variable.
4164         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4165         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4167 2014-11-14  David S. Miller  <davem@davemloft.net>
4169         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4170         Define before including <string/memcpy.c> and <string/mempcpy.c>.
4172 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
4174         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4175         * configure: Regenerated.
4176         * manual/install.texi (Tools for Compilation): Document a
4177         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4178         compiler verified to work.
4179         * INSTALL: Regenerated.
4181         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4182         redeclare with asm name.
4183         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4184         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4185         including <string.h>.
4186         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4187         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4188         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4189         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4190         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4191         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4192         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4194 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
4196         * stdlib/strtol.c (__strtol): Use prototype definition.
4198         [BZ #17594]
4199         * stdlib/strtol.c (SYM__): New macro.
4200         (SYM__1): Likewise.
4201         (__strtol): Likewise.
4202         (strtol): Rename to __strtol and define as weak alias of
4203         __strtol.  Use libc_hidden_weak.
4205 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4207         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4208         Use numbered labels in inline assembly.
4210 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4212         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4213         Add setjmp LIBC_PROBE.
4214         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4215         Likewise.
4216         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4217         Add longjmp, longjmp_target LIBC_PROBE.
4218         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4219         Likewise.
4221 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4223         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4224         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4225         to get rid of unused variable warning.
4227 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4229         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4230         Check for unwind_backtrace ==  NULL only in SHARED case.
4231         (__backchain_backtrace): Compile only in SHARED case.
4232         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4233         Likewise.
4234         (__backchain_backtrace): Declare as static.
4236 2014-11-12  Roland McGrath  <roland@hack.frob.com>
4238         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4239         (__libc_multiple_threads_ptr): Variable moved ...
4240         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4242 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
4244         * conform/GlibcConform.pm: New file.
4245         * conform/conformtest.pl: Use GlibcConform module.
4246         * conform/linknamespace.pl: New file.
4247         * conform/list-header-symbols.pl: Likewise.
4248         * conform/Makefile (linknamespace-symlists-base): New variable.
4249         (linknamespace-symlists-tests): Likewise.
4250         (linknamespace-header-base): Likewise.
4251         (linknamespace-header-tests): Likewise.
4252         (tests-special): Add new tests.
4253         ($(linknamespace-symlists-tests)): New rule.
4254         (linknamespace-libs): New variable.
4255         ($(objpfx)symlist-stdlibs): New rule.
4256         ($(linknamespace-header-tests)): Likewise.
4257         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4258         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4259         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4260         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4261         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4262         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4263         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4264         (test-xfail-ISO/math.h/linknamespace): Likewise.
4265         (test-xfail-ISO/signal.h/linknamespace): Likewise.
4266         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4267         (test-xfail-ISO/time.h/linknamespace): Likewise.
4268         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4269         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4270         (test-xfail-ISO99/math.h/linknamespace): Likewise.
4271         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4272         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4273         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4274         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4275         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4276         (test-xfail-ISO11/math.h/linknamespace): Likewise.
4277         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4278         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4279         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4280         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4281         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4282         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4283         (test-xfail-XPG3/math.h/linknamespace): Likewise.
4284         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4285         (test-xfail-XPG3/search.h/linknamespace): Likewise.
4286         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4287         (test-xfail-XPG3/time.h/linknamespace): Likewise.
4288         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4289         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4290         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4291         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4292         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4293         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4294         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4295         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4296         (test-xfail-XPG4/math.h/linknamespace): Likewise.
4297         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4298         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4299         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4300         (test-xfail-XPG4/search.h/linknamespace): Likewise.
4301         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4302         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4303         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4304         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4305         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4306         (test-xfail-XPG4/time.h/linknamespace): Likewise.
4307         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4308         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4309         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4310         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4311         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4312         (test-xfail-POSIX/math.h/linknamespace): Likewise.
4313         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4314         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4315         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4316         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4317         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4318         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4319         (test-xfail-POSIX/time.h/linknamespace): Likewise.
4320         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4321         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4322         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4323         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4324         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4325         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4326         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4327         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4328         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4329         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4330         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4331         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4332         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4333         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4334         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4335         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4336         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4337         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4338         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4339         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4340         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4341         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4342         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4343         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4344         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4345         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4346         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4347         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4348         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4349         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4350         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4351         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4352         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4353         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4354         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4355         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4356         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4357         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4358         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4359         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4360         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4361         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4362         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4363         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4364         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4365         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4366         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4367         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4368         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4369         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4370         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4371         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4372         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4373         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4374         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4375         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4376         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4377         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4378         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4379         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4380         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4381         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4382         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4383         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4384         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4385         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4386         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4387         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4388         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4389         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4390         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4391         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4392         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4393         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4394         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4395         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4396         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4397         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4398         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4399         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4400         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4401         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4402         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4403         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4404         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4405         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4406         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4407         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4408         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4409         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4410         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4411         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4412         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4413         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4414         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4415         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4416         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4417         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4419         [BZ #17589]
4420         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4421         of fgets_unlocked.
4423         [BZ #17585]
4424         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4425         (memmem): Rename to __memmem and define as weak alias of
4426         __memmem.  Use libc_hidden_weak.
4427         (__memmem): Use libc_hidden_def.
4428         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
4429         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4430         memmem.
4432         [BZ #17582]
4433         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4434         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
4435         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4436         and define as weak alias of __fgets_unlocked.  Use
4437         libc_hidden_weak.
4438         (__fgets_unlocked): Use libc_hidden_def.
4439         * include/stdio.h (__fgets_unlocked): Declare.  Use
4440         libc_hidden_proto.
4441         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4442         __fgets_unlocked instead of fgets_unlocked.
4443         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4444         (GET_NPROCS_CONF_PARSER): Likewise.
4445         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4446         (GET_NPROCS_CONF_PARSER): Likewise.
4448         [BZ #17574]
4449         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4450         weak alias of __wmemset.  Use libc_hidden_weak.
4451         (__wmemset): Use libc_hidden_def.
4452         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
4453         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4454         of wmemset.
4456         [BZ #17573]
4457         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4458         with asm name __mempcpy.
4459         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4461         [BZ #17572]
4462         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4463         and define as weak alias of __rawmemchr.
4464         (__rawmemchr): Do not define as strong alias of rawmemchr.
4466         [BZ #17571]
4467         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4468         alias of __qsort_r.
4469         (qsort): Call __qsort_r instead of qsort_r.
4470         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4471         (__qsort_r): Declare.  Call libc_hidden_proto.
4472         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4473         instead of qsort_r.
4474         * nscd/gai.c (__qsort_r): Define to qsort_r.
4475         * posix/tst-rfc3484.c (__qsort_r): Likewise.
4476         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4477         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4479         [BZ #17570]
4480         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4481         define as weak alias of __malloc_info.
4483         [BZ #17584]
4484         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4485         as weak alias of __rewinddir.  Don't use libc_hidden_def.
4486         (__rewinddir): Use libc_hidden_def.
4487         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4488         as weak alias of __rewinddir.  Don't use libc_hidden_def.
4489         (__rewinddir): Use libc_hidden_def.
4490         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4491         weak alias of __rewinddir.  Don't use libc_hidden_def.
4492         (__rewinddir): Use libc_hidden_def.
4493         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4494         (__rewinddir): Use libc_hidden_proto.
4495         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4496         rewinddir.
4497         (__getcwd): Use __rewinddir instead of rewinddir.
4499         [BZ #17583]
4500         * libio/fileno.c (fileno): Rename to __fileno and define as weak
4501         alias of __fileno.  Use libc_hidden_weak.
4502         (__fileno): Use libc_hidden_def.
4503         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4504         * libio/ftello.c (ftello): Rename to __ftello and define as weak
4505         alias of __ftello.
4506         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4507         __ftello.
4508         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4509         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
4510         libc_hidden_def.
4511         (fread_unlocked): Don't use libc_hidden_ver.
4512         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4513         and define as weak alias of __fread_unlocked.  Don't use
4514         libc_hidden_def.
4515         (__fread_unlocked): Use libc_hidden_def.
4516         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
4517         (ftello): Don't use libc_hidden_proto.
4518         (__ftello): Declare.  Use libc_hidden_proto.
4519         (fread_unlocked): Don't use libc_hidden_proto.
4520         (__fread_unlocked): Declare.  Use libc_hidden_proto.
4521         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4522         and __ftello instead of fileno, fread_unlocked and ftello.
4524 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4526         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4527         GOT12.
4528         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4529         Likewise.
4530         (_dl_start_user): Likewise.
4531         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4533 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
4534             Siddhesh Poyarekar  <siddhesh@redhat.com>
4536         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4537         Move argv and envp down instead of moving argc up.
4538         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4540 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
4542         [BZ #17506]
4543         * test-skeleton.c (main): Return successful if one of
4544         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4545         * string/tst-strcoll-overflow.c: Define expected status.
4547 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
4549         [BZ #17475]
4550         * locale/iso-639.def: Define Bhili and Tulu language codes.
4552 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
4554         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4556 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
4558         [BZ #17555]
4559         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4561 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
4563         * configure.ac: Updated check of minimal required version to
4564         2.22.
4565         * manual/install.texi (Tools for Compilation): Updated version
4566         number.
4567         * configure: Regenerated.
4568         * INSTALL: Likewise.
4570 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
4572         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4573         __tls_get_addr.
4575 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
4577         * include/sys/wait.h (__libc_waitpid): Remove declaration.
4578         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
4579         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4580         libc_hidden_weak.
4581         (waitpid): Define as alias of __waitpid.
4582         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
4583         __waitpid.
4584         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4585         libc_hidden_weak.
4586         (waitpid): Define as alias of __waitpid.
4587         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4588         __libc_waitpid alias.
4589         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4590         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4591         Likewise.
4592         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4593         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4594         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4595         alias.
4596         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4597         __waitpid.
4598         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4599         libc_hidden_weak.
4600         (waitpid): Define as alias of __waitpid.
4602 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
4604         * manual/llio.texi: Add comment that write safety has been
4605         fixed in Linux.
4607         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4608         (localplt-build-dso): Add elf/ld.so.
4609         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4610         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4611         and free for ld.so.
4612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4613         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4614         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4615         Likewise.
4616         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4617         Likewise.
4618         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4619         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4620         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4621         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4622         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4623         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4624         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4625         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4626         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4627         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4628         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4630 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
4632         [BZ #14132]
4633         * include/libc-symbols.h (INTUSE): Remove macro.
4634         (INTDEF): Likewise.
4635         (INTVARDEF): Likewise.
4636         (_INTVARDEF): Likewise.
4637         (INTDEF2): Likewise.
4638         (INTVARDEF2): Likewise.
4639         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4640         rtld_hidden_def instead of INTVARDEF.
4641         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4642         (_dl_starting_up_internal): Remove declaration.
4643         (_dl_starting_up): Use rtld_hidden_proto.
4644         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4645         declaration.
4646         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4647         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4648         _dl_starting_up.
4649         * elf/dl-writev.h (_dl_writev): Likewise.
4650         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4651         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4652         _dl_starting_up_internal.
4654 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4656         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4657         test-skeleton.c.
4659 2014-11-05  Will Newton  <will.newton@linaro.org>
4661         * benchtests/Makefile: (bench-malloc): Add malloc thread
4662         scalability benchmark.
4663         * benchtests/bench-malloc-threads.c: New file.
4665 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
4667         * sysdeps/aarch64/strchrnul.S: New file.
4669 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4671         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4672         definition.
4673         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4674         Likwise.
4675         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4676         Likewise.
4677         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4678         Likewise.
4679         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4680         Likewise.
4681         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4682         Likewise.
4684 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
4686         * catgets/test-gencat.c: Use test-skeleton.c.
4687         * catgets/tst-catgets.c: Likewise.
4688         * csu/tst-empty.c: Likewise.
4689         * elf/tst-audit2.c: Likewise.
4690         * elf/tst-global1.c: Likewise.
4691         * elf/tst-pathopt.c: Likewise.
4692         * elf/tst-piemod1.c: Likewise.
4693         * elf/tst-tls10.c: Likewise.
4694         * elf/tst-tls11.c: Likewise.
4695         * elf/tst-tls12.c: Likewise.
4696         * gnulib/tst-gcc.c: Likewise.
4697         * iconvdata/tst-e2big.c: Likewise.
4698         * iconvdata/tst-loading.c: Likewise.
4699         * iconv/tst-iconv1.c: Likewise.
4700         * iconv/tst-iconv2.c: Likewise.
4701         * inet/test-inet6_opt.c: Likewise.
4702         * inet/tst-gethnm.c: Likewise.
4703         * inet/tst-network.c: Likewise.
4704         * inet/tst-ntoa.c: Likewise.
4705         * intl/tst-codeset.c: Likewise.
4706         * intl/tst-gettext2.c: Likewise.
4707         * intl/tst-gettext3.c: Likewise.
4708         * intl/tst-ngettext.c: Likewise.
4709         * intl/tst-translit.c: Likewise.
4710         * io/test-stat.c: Likewise.
4711         * libio/test-fmemopen.c: Likewise.
4712         * libio/tst-freopen.c: Likewise.
4713         * libio/tst-sscanf.c: Likewise.
4714         * libio/tst-ungetwc1.c: Likewise.
4715         * libio/tst-ungetwc2.c: Likewise.
4716         * libio/tst-widetext.c: Likewise.
4717         * localedata/tst-ctype.c: Likewise.
4718         * localedata/tst-digits.c: Likewise.
4719         * localedata/tst-leaks.c: Likewise.
4720         * localedata/tst-mbswcs1.c: Likewise.
4721         * localedata/tst-mbswcs2.c: Likewise.
4722         * localedata/tst-mbswcs3.c: Likewise.
4723         * localedata/tst-mbswcs4.c: Likewise.
4724         * localedata/tst-mbswcs5.c: Likewise.
4725         * localedata/tst-setlocale.c: Likewise.
4726         * localedata/tst-trans.c: Likewise.
4727         * localedata/tst-wctype.c: Likewise.
4728         * localedata/tst-xlocale1.c: Likewise.
4729         * login/tst-grantpt.c: Likewise.
4730         * malloc/tst-calloc.c: Likewise.
4731         * malloc/tst-malloc.c: Likewise.
4732         * malloc/tst-mallocstate.c: Likewise.
4733         * malloc/tst-mcheck.c: Likewise.
4734         * malloc/tst-mtrace.c: Likewise.
4735         * malloc/tst-obstack.c: Likewise.
4736         * math/atest-exp2.c: Likewise.
4737         * math/atest-exp.c: Likewise.
4738         * math/atest-sincos.c: Likewise.
4739         * math/test-matherr.c: Likewise.
4740         * math/test-misc.c: Likewise.
4741         * math/test-powl.c: Likewise.
4742         * math/tst-definitions.c: Likewise.
4743         * misc/tst-dirname.c: Likewise.
4744         * misc/tst-efgcvt.c: Likewise.
4745         * misc/tst-fdset.c: Likewise.
4746         * misc/tst-hsearch.c: Likewise.
4747         * misc/tst-mntent2.c: Likewise.
4748         * nptl/tst-sem7.c: Likewise.
4749         * nptl/tst-sem8.c: Likewise.
4750         * nptl/tst-sem9.c: Likewise.
4751         * nss/test-netdb.c: Likewise.
4752         * posix/tst-fnmatch.c: Likewise.
4753         * posix/tst-getlogin.c: Likewise.
4754         * posix/tst-gnuglob.c: Likewise.
4755         * posix/tst-mmap.c: Likewise.
4756         * pwd/tst-getpw.c: Likewise.
4757         * resolv/tst-inet_ntop.c: Likewise.
4758         * rt/tst-timer.c: Likewise.
4759         * stdio-common/test-fseek.c: Likewise.
4760         * stdio-common/test-popen.c: Likewise.
4761         * stdio-common/test-vfprintf.c: Likewise.
4762         * stdio-common/tst-cookie.c: Likewise.
4763         * stdio-common/tst-fileno.c: Likewise.
4764         * stdio-common/tst-gets.c: Likewise.
4765         * stdio-common/tst-obprintf.c: Likewise.
4766         * stdio-common/tst-perror.c: Likewise.
4767         * stdio-common/tst-sprintf2.c: Likewise.
4768         * stdio-common/tst-sprintf3.c: Likewise.
4769         * stdio-common/tst-sprintf.c: Likewise.
4770         * stdio-common/tst-swprintf.c: Likewise.
4771         * stdio-common/tst-tmpnam.c: Likewise.
4772         * stdio-common/tst-unbputc.c: Likewise.
4773         * stdio-common/tst-wc-printf.c: Likewise.
4774         * stdlib/tst-environ.c: Likewise.
4775         * stdlib/tst-fmtmsg.c: Likewise.
4776         * stdlib/tst-limits.c: Likewise.
4777         * stdlib/tst-rand48-2.c: Likewise.
4778         * stdlib/tst-rand48.c: Likewise.
4779         * stdlib/tst-random2.c: Likewise.
4780         * stdlib/tst-random.c: Likewise.
4781         * stdlib/tst-strtol.c: Likewise.
4782         * stdlib/tst-strtoll.c: Likewise.
4783         * stdlib/tst-tls-atexit.c: Likewise.
4784         * stdlib/tst-xpg-basename.c: Likewise.
4785         * string/test-ffs.c: Likewise.
4786         * string/tst-bswap.c: Likewise.
4787         * string/tst-inlcall.c: Likewise.
4788         * string/tst-strtok.c: Likewise.
4789         * string/tst-strxfrm.c: Likewise.
4790         * sysdeps/x86_64/tst-audit10.c: Likewise.
4791         * sysdeps/x86_64/tst-audit3.c: Likewise.
4792         * sysdeps/x86_64/tst-audit4.c: Likewise.
4793         * sysdeps/x86_64/tst-audit5.c: Likewise.
4794         * time/tst-ftime_l.c: Likewise.
4795         * time/tst-getdate.c: Likewise.
4796         * time/tst-mktime3.c: Likewise.
4797         * time/tst-mktime.c: Likewise.
4798         * time/tst-posixtz.c: Likewise.
4799         * time/tst-strptime2.c: Likewise.
4800         * time/tst-strptime3.c: Likewise.
4801         * wcsmbs/tst-btowc.c: Likewise.
4802         * wcsmbs/tst-mbrtowc.c: Likewise.
4803         * wcsmbs/tst-mbsrtowcs.c: Likewise.
4804         * wcsmbs/tst-wchar-h.c: Likewise.
4805         * wcsmbs/tst-wcpncpy.c: Likewise.
4806         * wcsmbs/tst-wcrtomb.c: Likewise.
4807         * wcsmbs/tst-wcsnlen.c: Likewise.
4808         * wcsmbs/tst-wcstof.c: Likewise.
4810 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
4812         [BZ #14132]
4813         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
4814         INTDEF.
4815         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
4816         declaration.
4817         (_dl_mcount): Use rtld_hidden_proto.
4818         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
4819         _dl_mcount.
4820         * elf/rtld.c (_rtld_global_ro): Likewise.
4822         [BZ #14132]
4823         * elf/dl-init.c (_dl_init): Don't use INTDEF.
4824         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
4825         of _dl_init_internal.
4826         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
4827         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
4828         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
4829         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
4830         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
4831         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
4832         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
4833         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
4834         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
4835         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
4836         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
4837         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
4838         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4839         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4840         * sysdeps/tile/dl-start.S (_start): Likewise.
4841         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
4842         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
4844         [BZ #14132]
4845         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
4846         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
4847         (rtld_progname): Make macro definition unconditional.
4848         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
4849         INTDEF.
4850         (dlmopen_doit): Do not use INTUSE with _dl_argv.
4851         (dl_main): Likewise.
4852         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4853         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
4854         instead of _dl_argv_internal.
4855         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4856         __GI__dl_argv instead of INTUSE(_dl_argv).
4857         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
4858         __GI__dl_argv instead of _dl_argv_internal.
4860         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
4861         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
4862         macro.
4863         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
4864         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
4865         New macro.
4866         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
4867         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
4868         macro.
4869         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
4870         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
4872 2014-11-04  Andreas Schwab  <schwab@suse.de>
4874         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
4876 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4878         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
4879         mtvsrd instruction in binary form.
4881 2014-11-03  Andreas Schwab  <schwab@suse.de>
4883         [BZ #17522]
4884         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
4885         for less than MB_LEN_MAX use a local buffer of that size.
4886         * libio/tst-fputws.c: New file.
4887         * libio/Makefile (tests): Add tst-fputws.
4889 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
4891         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
4892         the size of the fpu_fr.fpu_dregs[] array.
4894 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
4896         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
4897         (__nanosleep): Do not define as alias.
4898         (nanosleep): Define as alias of __nanosleep.
4899         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
4900         __libc_nanosleep name.
4902 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
4904         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
4905         install.texi in comment.
4907 2014-10-31  Torvald Riegel  <triegel@redhat.com>
4909         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
4910         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
4911         ... add here and use lwsync or sync ...
4912         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
4913         ... and add here using lwsync.
4915 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
4917         * elf/dl-machine-reject-phdr.h: New file.
4918         * elf/dl-load.c: #include that.
4919         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
4920         if that returned true.
4922 2014-10-31  Roland McGrath  <roland@hack.frob.com>
4924         [BZ #17496]
4925         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
4926         gen-as-const-headers chunk.  Add a big scare comment after the last
4927         safe place to touch before-compile.
4929 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
4931         * manual/install.texi (Tools for Compilation): Update autoconf
4932         version requirements.
4933         * INSTALL: Regenerated.
4935         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
4936         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
4937         (__libc_pselect): Likewise.
4939         [BZ #14138]
4940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
4941         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4945 2014-10-31  Torvald Riegel  <triegel@redhat.com>
4947         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
4948         correct barrier instruction.
4949         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
4950         Likewise.
4951         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
4952         Likewise.
4954 2014-10-30  Roland McGrath  <roland@hack.frob.com>
4956         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
4957         after defining inlines.  Instead, just use parens to defeat macro
4958         expansion of __isctype in its declaration.
4960 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
4962         * include/sys/uio.h (__libc_readv): Remove declaration.
4963         (__libc_writev): Likewise.
4964         * misc/readv.c (__libc_readv): Rename to __readv.
4965         (__readv): Do not define as alias.
4966         (readv): Define as alias of __readv.
4967         * misc/writev.c (__libc_writev): Rename to __writev.
4968         (__writev): Do not define as alias.
4969         (writev): Define as alias of __writev.
4970         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
4971         (__readv): Do not define as alias.
4972         (readv): Define unconditionally as alias of __readv.
4973         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
4974         (__writev): Do not define as alias.
4975         (writev): Define unconditionally as alias of __writev.
4976         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
4977         name.
4978         (writev): Do not define __libc_writev name.
4980 2014-10-30  Roland McGrath  <roland@hack.frob.com>
4982         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
4983         (convert_charseq): New function, broken out of ...
4984         (use_from_charmap): ... here.  Call it.
4985         (use_to_charmap): Use convert_charseq and free instead of duplicating
4986         its code with a variable-length stack struct.
4988 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
4990         * include/fcntl.h (__libc_creat): Remove declaration.
4991         * io/creat.c (__libc_creat): Rename to creat.
4992         (creat): Do not define as alias.
4993         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
4994         of creat instead of __libc_creat.
4995         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
4996         to creat.
4997         (creat): Do not define as alias.
4998         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
4999         __libc_creat.
5000         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5001         __libc_creat name.
5002         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5003         Likewise.
5005 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
5007         * manual/llio.texi: Add comments discussing why write() may be
5008         considered MT-unsafe on Linux.
5010 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
5012         * dl-load.c (local_strdup): Remove.
5013         (expand_dynamic_string_token): Use __strdup.
5014         (decompose_rpath): Likewise.
5015         (_dl_map_object): Likewise.
5017 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
5019         [BZ #14132]
5020         * sysdeps/generic/unwind-dw2-fde.c
5021         (__register_frame_info_bases_internal): Do not declare.
5022         (__register_frame_info_table_bases_internal): Likewise.
5023         (__deregister_frame_info_bases_internal): Likewise.
5024         (__register_frame_info_bases): Declare and use hidden_proto before
5025         definition.  Use hidden_def instead of INTDEF.
5026         (__register_frame_info_table_bases): Likewise.
5027         (__deregister_frame_info_bases): Likewise.
5028         (__register_frame_info): Do not use INTUSE.
5029         (__register_frame): Likewise.
5030         (__register_frame_info_table): Likewise.
5031         (__register_frame_table): Likewise.
5032         (__deregister_frame_info): Likewise.
5033         (__deregister_frame): Likewise.
5035 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
5037         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5038         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5039         not undefine.
5040         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5041         Likewise.
5042         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5043         Likewise.
5045 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
5047         [BZ #14138]
5048         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5049         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5050         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5051         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5052         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5053         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5054         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5055         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5056         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5057         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5058         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5059         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5060         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5061         syscall.
5062         (setfsuid): Likewise.
5063         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5064         (setfsuid): Likewise.
5065         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5066         (setfsuid): Likewise.
5067         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5068         Likewise.
5069         (setfsuid): Likewise.
5070         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5071         (setfsuid): Likewise.
5072         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5073         Likewise.
5074         (setfsuid): Likewise.
5076 2014-10-27  Andreas Schwab  <schwab@suse.de>
5078         [BZ #17501]
5079         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5080         check for Slow_SSE4_2 feature bit.
5081         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5082         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5083         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5084         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
5086 2014-10-24  Roland McGrath  <roland@hack.frob.com>
5088         * configure.ac: Validate compiler version with a empirical test of
5089         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5090         $CC -v output.
5091         * configure: Regenerated.
5093         * inet/htons.c (htons): Prototypify.
5094         * inet/htonl.c (htonl): Likewise.
5096 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5098         * string/strncat.c (strncat): Improve performance by using strlen.
5100 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5102         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5104 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5106         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5107         Call libc_fetestexcept_aarch64.
5109 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5111         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5112         Call libc_feholdexcept_aarch64.
5114 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5116         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5117         Call get_rounding_mode.
5119 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5121         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5122         Simplify logic.
5124 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5126         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5127         Simplify logic.
5129 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
5131         [BZ #14138]
5132         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5133         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5134         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5135         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5136         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5137         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5138         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5139         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5140         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5141         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5142         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5143         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5144         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5145         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5146         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5147         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5148         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5149         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5150         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5151         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5152         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5153         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5154         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5155         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5156         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5157         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5158         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5159         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5160         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5161         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5162         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5163         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5164         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5165         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5166         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5167         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5168         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5169         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5170         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5171         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5172         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5173         syscall.
5174         (geteuid): Likewise.
5175         (getgid): Likewise.
5176         (getuid): Likewise.
5177         (getresgid): Likewise.
5178         (getresuid): Likewise.
5179         (getgroups): Likewise.
5180         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5181         (geteuid): Likewise.
5182         (getgid): Likewise.
5183         (getuid): Likewise.
5184         (getresgid): Likewise.
5185         (getresuid): Likewise.
5186         (getgroups): Likewise.
5187         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5188         (geteuid): Likewise.
5189         (getgid): Likewise.
5190         (getuid): Likewise.
5191         (getresgid): Likewise.
5192         (getresuid): Likewise.
5193         (getgroups): Likewise.
5194         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5195         Likewise.
5196         (geteuid): Likewise.
5197         (getgid): Likewise.
5198         (getuid): Likewise.
5199         (getresgid): Likewise.
5200         (getresuid): Likewise.
5201         (getgroups): Likewise.
5202         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
5203         (geteuid): Likewise.
5204         (getgid): Likewise.
5205         (getuid): Likewise.
5206         (getresgid): Likewise.
5207         (getresuid): Likewise.
5208         (getgroups): Likewise.
5209         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
5210         Likewise.
5211         (geteuid): Likewise.
5212         (getgid): Likewise.
5213         (getuid): Likewise.
5214         (getgroups): Likewise.
5216         [BZ #14138]
5217         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5218         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5219         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5220         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5221         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5222         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5223         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5224         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5225         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5226         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5227         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5228         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5229         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5230         __chown.
5231         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5232         (lchown): Likewise.
5233         (fchown): Likewise.
5234         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5235         Likewise.
5236         (lchown): Likewise.
5237         (fchown): Likewise.
5238         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5239         (lchown): Likewise.
5240         (fchown): Likewise.
5241         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5242         Likewise.
5243         (lchown): Likewise.
5244         (fchown): Likewise.
5246 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5248         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5249         Simplify logic.
5251 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5253         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5254         Cleanup logic.
5256 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5258         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5259         Remove unused include.
5261 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5263         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5264         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5265         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5266         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5268 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
5269             Helge Deller <deller@gmx.de>
5271         [BZ #17508]
5272         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5273         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5274         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5276 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
5278         [BZ #14132]
5279         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5280         Remove macro definition.
5281         (__ashrdi3_v_glibc20): Likewise.
5282         (__lshrdi3_v_glibc20): Likewise.
5283         (__cmpdi2_v_glibc20): Likewise.
5284         (__ucmpdi2_v_glibc20): Likewise.
5285         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5286         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5287         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5288         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5289         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5290         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5292 2014-10-22  Roland McGrath  <roland@hack.frob.com>
5294         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5295         old GNU extension [0] syntax.
5296         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5297         alloca rather than an array member with variable length.
5298         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5299         * nscd/nscd.c (invalidate_db): New function, broken out of ...
5300         (parse_opt): ... here.  Likewise use alloca there.
5301         Validate the -i argument before checking for rootness.
5302         (send_shutdown): New function, broken out of ...
5303         (parse_opt): ... here.
5305 2014-10-22  Roland McGrath  <roland@hack.frob.com>
5307         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5308         macro to get at the _rt_local_ro field.
5309         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5310         ([PIC] case) or _dl_hwcap ([!PIC] case).
5311         * sysdeps/arm/setjmp.S: Likewise.
5313         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5314         * sysdeps/arm/configure.ac: New check to define it.
5315         * sysdeps/arm/configure: Regenerated.
5316         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5317         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5318         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5319         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5320         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5321         Use move/movt pair instead of a load.
5322         (LDST_GLOBAL): Macro removed.
5323         (LDR_GLOBAL): New macro replaces it.
5324         (LDR_HIDDEN): New macro.
5325         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5326         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5328         * setjmp/tst-setjmp-static.c: New file.
5329         * setjmp/Makefile (tests): Add it.
5330         (tests-static): New variable.
5332 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
5334         [BZ #17485]
5335         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5337 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
5339         [BZ #14132]
5340         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5342 2014-10-21  Roland McGrath  <roland@hack.frob.com>
5344         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5346 2014-10-20  Roland McGrath  <roland@hack.frob.com>
5348         * io/fts.c (dirent_not_directory): New function.
5349         (fts_build): Call it.
5351 2014-10-20  Roland McGrath  <roland@hack.frob.com>
5353         * nptl/version.c (__nptl_main): Use normal __write rather than
5354         INTERNAL_SYSCALL.
5355         (banner): Update copyright years.
5357         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5358         gettimeofday.
5359         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5360         * nptl/pthread_cond_timedwait.c: Likewise.
5361         * nptl/pthread_mutex_timedlock.c: Likewise.
5362         * nptl/sem_timedwait.c: Likewise.
5364         * sysdeps/nptl/bits/libc-lock.h
5365         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5366         (__libc_lock_init_recursive): Return void, not 0.
5367         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5368         (__libc_rwlock_init): Likewise.
5369         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5371 2014-10-20  Torvald Riegel  <triegel@redhat.com>
5373         [BZ #15215]
5374         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5375         (__pthread_once_slow): ... here.
5376         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5377         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5379 2014-10-20  Torvald Riegel  <triegel@redhat.com>
5381         [BZ #15215]
5382         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5383         __PTHREAD_ONCE_FORK_GEN_INCR): New.
5384         * sysdeps/nptl/fork.c (__libc_fork): Use them.
5385         * nptl/pthread_once.c (__pthread_once): Likewise.
5386         Update comments.
5388 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
5390         [BZ #14138]
5391         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5392         name.
5393         (writev): Use __libc_writev as strong name.
5394         * sysdeps/unix/sysv/linux/readv.c: Remove file.
5395         * sysdeps/unix/sysv/linux/writev.c: Likewise.
5397 2014-10-17  Roland McGrath  <roland@hack.frob.com>
5399         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5401         * sysdeps/i386/nptl/tls.h
5402         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5403         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5404         New macros.
5405         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5406         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5407         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5408         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5409         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5410         Call CHECK_THREAD_SYSINFO instead of doing an assert.
5412         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5413         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5414         on [__NR_futex].
5415         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5416         broken out of ...
5417         (__pthread_mutex_init): ... here.  Call it.
5418         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5419         Conditionalize PI cases on [__NR_futex].
5420         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5421         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5422         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5424         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5425         conditional on [SIGSETXID].
5426         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5427         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5428         is defined.  Likewise for SIGSETXID.
5429         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5430         Conditionalize definitions on [SIGSETXID].
5431         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5432         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5433         unblocking on [SIGCANCEL].
5435         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5436         [__NR_set_robust_list].
5438 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5440         * string/strcoll_l.c (get_next_seq): Fix up formatting.
5441         (do_compare): Likewise.
5443 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
5445         [BZ #15884]
5446         * string/strcoll_l.c: Don't include stdio.h.
5447         (coll_seq): Remove members idxarr and rulearr.
5448         (get_next_seq_cached): Remove function.
5449         (get_next_seq): Likewise.
5450         (get_next_seq_nocache): Rename to get_next_seq.
5451         (do_compare): Remove function.
5452         (do_compare_nocache): Rename to do_compare.
5453         (STRCOLL): Remove weight and rules cache.
5455 2014-10-16  Roland McGrath  <roland@hack.frob.com>
5457         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5458         * sysdeps/arm/sfp-machine.h: ... to here.
5459         * sysdeps/arm/Implies: Remove arm/soft-fp.
5461 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
5463         * conform/data/sys/utsname.h-data (*_t): Allow.
5464         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5465         [POSIX] (WEXITED): Do not expect constant.
5466         [POSIX] (WSTOPPED): Likewise.
5467         [POSIX] (WNOHANG): Likewise.
5468         [POSIX] (WNOWAIT): Likewise.
5469         [POSIX] (siginfo_t): Do not expect type or elements.
5470         [POSIX] (pid_t): Do not expect type.
5471         [POSIX] (signal.h): Do not allow header.
5472         [POSIX] (sys/resource.h): Likewise.
5473         [POSIX] (si_*): Do not allow pattern.
5474         [POSIX] (W*): Likewise.
5475         [POSIX] (P_*): Likewise.
5476         [POSIX] (BUS_*): Likewise.
5477         [POSIX] (CLD_*): Likewise.
5478         [POSIX] (FPE_*): Likewise.
5479         [POSIX] (ILL_*): Likewise.
5480         [POSIX] (POLL_*): Likewise.
5481         [POSIX] (SEGV_*): Likewise.
5482         [POSIX] (SI_*): Likewise.
5483         [POSIX] (TRAP_*): Likewise.
5484         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5485         variable.
5487 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
5489         [BZ #12926]
5490         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5491         infinite loop when __recvmsg returns 0.
5493 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
5495         * CANCEL-FCT-WAIVE: Remove file.
5496         * CANCEL-FILE-WAIVE: Likewise.
5498         [BZ #14132]
5499         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5500         instead of INTVARDEF.
5501         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5502         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5503         rtld_hidden_data_def instead of INTVARDEF.
5504         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5505         * elf/dl-deps.c (expand_dst): Likewise.
5506         * elf/dl-load.c (_dl_dst_count): Likewise.
5507         (_dl_dst_substitute): Likewise.
5508         (decompose_rpath): Likewise.
5509         (_dl_init_paths): Likewise.
5510         (open_path): Likewise.
5511         (_dl_map_object): Likewise.
5512         * elf/rtld.c (dl_main): Likewise.
5513         (process_dl_audit): Likewise.
5514         (process_envvars): Likewise.
5515         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5516         Remove declaration.
5517         (__libc_enable_secure): Use rtld_hidden_proto.
5519 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5521         * elf/dl-load.c
5522         (add_path): New function broken out of _dl_rtld_di_serinfo.
5523         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
5525 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
5527         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5528         parentheses around macro arguments.
5529         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5530         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5531         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5532         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5533         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5534         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5535         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5536         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5537         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5538         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5539         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5540         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5541         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5542         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5543         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5544         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5545         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5546         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5547         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5548         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5549         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5550         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5551         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5552         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5553         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5554         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5555         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5556         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5557         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5558         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5559         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5560         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5561         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5562         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5563         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5564         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5565         Likewise.
5566         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5567         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5568         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5569         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5570         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5571         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5572         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5573         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5574         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5575         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5576         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5577         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5578         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5579         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5580         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5581         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5582         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5583         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5584         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5585         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5586         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5587         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5588         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5589         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5590         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5591         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5592         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5593         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5594         (_FP_FRAC_SRS_1): Likewise.
5595         (_FP_FRAC_CLZ_1): Likewise.
5596         (_FP_MUL_MEAT_1_imm): Likewise.
5597         (_FP_MUL_MEAT_1_wide): Likewise.
5598         (_FP_MUL_MEAT_1_hard): Likewise.
5599         (_FP_SQRT_MEAT_1): Likewise.
5600         (_FP_FRAC_ASSEMBLE_1): Likewise.
5601         (_FP_FRAC_DISASSEMBLE_1): Likewise.
5602         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5603         (__FP_CLZ_2): Likewise.
5604         (_FP_MUL_MEAT_2_wide): Likewise.
5605         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5606         (_FP_MUL_MEAT_2_gmp): Likewise.
5607         (_FP_MUL_MEAT_2_120_240_double): Likewise.
5608         (_FP_SQRT_MEAT_2): Likewise.
5609         (_FP_FRAC_ASSEMBLE_2): Likewise.
5610         (_FP_FRAC_DISASSEMBLE_2): Likewise.
5611         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5612         (_FP_FRAC_CLZ_4): Likewise.
5613         (_FP_MUL_MEAT_4_wide): Likewise.
5614         (_FP_MUL_MEAT_4_gmp): Likewise.
5615         (_FP_SQRT_MEAT_4): Likewise.
5616         (_FP_FRAC_ASSEMBLE_4): Likewise.
5617         (_FP_FRAC_DISASSEMBLE_4): Likewise.
5618         * soft-fp/op-common.h (_FP_CMP): Likewise.
5619         (_FP_CMP_EQ): Likewise.
5620         (_FP_CMP_UNORD): Likewise.
5621         (_FP_TO_INT): Likewise.
5622         (_FP_FROM_INT): Likewise.
5623         [!__FP_CLZ] (__FP_CLZ): Likewise.
5624         (_FP_DIV_HELP_imm): Likewise.
5625         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5626         Likewise.
5627         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5628         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5629         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5630         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5631         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5632         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5633         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5634         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5635         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5636         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5637         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5638         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5639         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5640         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5641         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5642         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5643         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5644         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5645         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5646         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5647         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5648         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5649         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5650         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5651         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5652         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5653         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5654         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5655         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5656         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5657         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5658         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5659         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5660         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5661         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5662         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5663         (FP_UNPACK_RAW_SP): Likewise.
5664         (FP_PACK_RAW_S): Likewise.
5665         (FP_PACK_RAW_SP): Likewise.
5666         (FP_UNPACK_S): Likewise.
5667         (FP_UNPACK_SP): Likewise.
5668         (FP_UNPACK_SEMIRAW_S): Likewise.
5669         (FP_UNPACK_SEMIRAW_SP): Likewise.
5670         (FP_PACK_S): Likewise.
5671         (FP_PACK_SP): Likewise.
5672         (FP_PACK_SEMIRAW_S): Likewise.
5673         (FP_PACK_SEMIRAW_SP): Likewise.
5674         (_FP_SQRT_MEAT_S): Likewise.
5675         (FP_CMP_S): Likewise.
5676         (FP_CMP_EQ_S): Likewise.
5677         (FP_CMP_UNORD_S): Likewise.
5678         (FP_TO_INT_S): Likewise.
5679         (FP_FROM_INT_S): Likewise.
5681         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5683         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5684         (FP_EX_INVALID_IMZ): Likewise.
5685         (FP_EX_INVALID_IMZ_FMA): Likewise.
5686         (FP_EX_INVALID_ISI): Likewise.
5687         (FP_EX_INVALID_ZDZ): Likewise.
5688         (FP_EX_INVALID_IDI): Likewise.
5689         (FP_EX_INVALID_SQRT): Likewise.
5690         (FP_EX_INVALID_CVI): Likewise.
5691         (FP_EX_INVALID_VC): Likewise.
5692         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5693         "invalid" exceptions.
5694         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5695         (_FP_ADD_INTERNAL): Likewise.
5696         (_FP_MUL): Likewise.
5697         (_FP_FMA): Likewise.
5698         (_FP_DIV): Likewise.
5699         (_FP_CMP_CHECK_NAN): Likewise.
5700         (_FP_SQRT): Likewise.
5701         (_FP_TO_INT): Likewise.
5702         (FP_EXTEND): Likewise.
5704 2014-10-09  Allan McRae  <allan@archlinux.org>
5706         * po/fr.po: Update French translation from translation project.
5708 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
5710         [BZ #14132]
5711         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5712         of INTDEF.
5713         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5714         (__cxa_atexit): Use libc_hidden_proto.
5715         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5717         [BZ #14132]
5718         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5719         declaration.
5720         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5721         [!_ISOMAC] (__iswspace_l_internal): Likewise.
5722         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5723         [!_ISOMAC] (__iswctype_internal): Likewise.
5724         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5725         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5726         alias.
5727         (fcntl): Remove __fcntl_internal alias.
5728         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5729         __connect_internal alias.
5730         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5731         Likewise.
5733         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
5734         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
5735         FP_DENORM_ZERO.
5736         (_FP_CHECK_FLUSH_ZERO): New macro.
5737         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
5738         (_FP_CMP): Likewise.
5739         (_FP_CMP_EQ): Likewise.
5740         (_FP_TO_INT): Do not set inexact for subnormal arguments if
5741         FP_DENORM_ZERO.
5742         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
5743         (FP_TRUNC): Likewise.
5745         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
5746         treated as invalid conversion, not as normal exponent.
5748         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
5749         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
5750         (_FP_CMP_EQ): Likewise.
5751         (_FP_CMP_UNORD): Likewise.
5752         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
5753         (FP_CMP_EQ_D): Likewise.
5754         (FP_CMP_UNORD_D): Likewise.
5755         * soft-fp/extended.h (FP_CMP_E): Likewise.
5756         (FP_CMP_EQ_E): Likewise.
5757         (FP_CMP_UNORD_E): Likewise.
5758         * soft-fp/quad.h (FP_CMP_Q): Likewise.
5759         (FP_CMP_EQ_Q): Likewise.
5760         (FP_CMP_UNORD_Q): Likewise.
5761         * soft-fp/single.h (FP_CMP_S): Likewise.
5762         (FP_CMP_EQ_S): Likewise.
5763         (FP_CMP_UNORD_S): Likewise.
5764         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
5765         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
5766         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
5767         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
5768         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
5769         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
5770         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
5771         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
5772         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
5773         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
5774         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
5775         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
5776         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
5777         to FP_CMP_Q.
5778         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
5779         FP_CMP_Q.
5780         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
5781         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
5782         FP_CMP_EQ_Q.
5783         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
5784         FP_CMP_Q.
5785         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
5786         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
5787         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
5788         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
5789         FP_CMP_EQ_Q.
5790         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
5791         FP_CMP_Q.
5792         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
5793         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
5794         FP_CMP_EQ_Q.
5795         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
5796         FP_CMP_Q.
5797         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
5798         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
5799         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
5800         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
5801         FP_CMP_EQ_Q.
5803         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
5804         a subnormal result, set the underflow exception if trapping on
5805         underflow is enabled.
5806         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
5807         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
5808         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
5809         redefine to 0.
5810         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
5811         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5812         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5813         * soft-fp/extendxftf2.c (__extendxftf2): Use
5814         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
5816         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
5817         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
5818         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5819         FP_HANDLE_EXCEPTIONS.
5820         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
5821         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5822         FP_HANDLE_EXCEPTIONS.
5823         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
5824         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5825         FP_HANDLE_EXCEPTIONS.
5826         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
5827         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5828         FP_HANDLE_EXCEPTIONS.
5830 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
5832         [BZ #14132]
5833         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
5834         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
5835         use INTUSE.
5836         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
5837         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
5838         Remove alias.
5839         (__adjtimex): Define using libc_hidden_ver.
5840         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
5841         Remove declaration.
5842         (ntp_gettime): Call __adjtimex directly.
5843         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
5844         Remove declaration.
5845         (ntp_gettimex): Call __adjtimex directly.
5846         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
5847         __adjtimex_internal alias.
5849 2014-10-08  Roland McGrath  <roland@hack.frob.com>
5851         [BZ #17460]
5852         * nscd/nscd.c (more_help): Rewrite list of tables collection
5853         using xstrdup and asprintf.
5855         * nscd/nscd_conf.c: Remove local xstrdup declaration.
5857 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5858             Roland McGrath  <roland@hack.frob.com>
5860         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
5861         (do_lookup_unique): ... local function 'enter' here; update callers.
5863 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
5865         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
5866         compat_symbol calls on [SHARED].
5867         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
5868         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
5869         Remove.
5870         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5871         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
5872         (oldsetrlimit): Remove.
5873         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5875         (lchown): New syscall entry.
5876         (oldsetrlimit): Remove.
5877         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5878         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
5879         (oldsetrlimit): Remove.
5880         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5882         [BZ #14138]
5883         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
5884         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
5885         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
5886         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
5887         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5888         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
5889         (fchown): Likewise.
5890         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
5891         (fchown): Likewise.
5892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
5893         Likewise.
5895 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5897         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
5898         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
5899         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
5900         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
5901         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
5902         Likewise.
5903         (__old_sem_post): Likewise.
5905 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
5907         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
5908         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
5909         HAVE_CLOCK_GETTIME_VSYSCALL macros.
5910         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
5911         Use INLINE_VSYSCALL macro.
5912         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
5913         __vdso_clock_gettime.
5914         * sysdeps/unix/sysv/linux/tile/init-first.c
5915         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
5916         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
5917         __vdso_clock_gettime.
5919         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
5920         to set up frame more cleanly.
5922         * sysdeps/tile/memcmp.c: New file.
5924         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
5926         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
5927         * sysdeps/tile/tilegx/strcasestr.c: New file.
5928         * sysdeps/tile/tilegx/strnlen.c: New file.
5929         * sysdeps/tile/tilegx/strstr.c: New file.
5931         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
5933 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
5935         * nptl/tst-setuid3.c: Write errors to stdout.
5937 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5939         * elf/dl-deps.c
5940         (preload): New functions broken out of _dl_map_object_deps.
5941         (_dl_map_object_deps):  Remove a nested function. Update call sites.
5943 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
5945         [BZ #14138]
5946         * sysdeps/unix/sysv/linux/execve.c: Remove file.
5947         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
5949 2014-10-01  Steve Ellcey  <sellcey@mips.com>
5951         * sysdeps/mips/strcmp.S: New.
5953 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
5955         [BZ #14138]
5956         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
5957         (linkat): Likewise.
5958         (mkdirat): Likewise.
5959         (readlinkat): Likewise.
5960         (renameat): Likewise.
5961         (symlinkat): Likewise.
5962         (unlinkat): Likewise.
5963         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
5964         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
5965         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
5966         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
5967         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
5968         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
5969         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
5971 2014-09-30  Will Newton  <will.newton@linaro.org>
5973         * math/math.h: Define long double math functions if
5974         _LIBC_TEST is defined.
5975         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
5977         * localedata/Makefile: Move assignment to tests-special
5978         into an ifdef testing run-built-tests.
5979         * timezone/Makefile: Likewise.
5981 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
5983         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
5984         with $(BASH) not $(SHELL).
5986 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
5987             Matthew LeGendre  <legendre1@llnl.gov>
5989         [BZ #17411]
5990         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
5991         l_reloc_result.
5993 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5995         * stdio-common/printf_fp.c
5996         (hack_digit): New function, broken out of ...
5997         (__printf_fp): ... local function here.  Update call sites.
5998         hack_digit now takes an additional parameter that is a pointer
5999         to a struct of the referenced locals.  Those locals moved inside
6000         the struct and references updated.
6002 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
6004         * aclocal.m4: Require autoconf 2.69.
6005         * configure: Regenerated.
6006         * sysdeps/aarch64/configure: Likewise.
6007         * sysdeps/alpha/configure: Likewise.
6008         * sysdeps/arm/armv7/configure: Likewise.
6009         * sysdeps/arm/configure: Likewise.
6010         * sysdeps/ia64/configure: Likewise.
6011         * sysdeps/mach/configure: Likewise.
6012         * sysdeps/mips/configure: Likewise.
6013         * sysdeps/s390/configure: Likewise.
6014         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6017         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6018         file.
6019         * sysdeps/ia64/configure.ac: Likewise.
6021 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
6023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6024         specify symbol version for ld.so.  Do not include entry for
6025         libpthread.
6026         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6027         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6028         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6030         [BZ #14171]
6031         * Makeconfig [$(build-shared) = yes]
6032         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6033         makefiles.
6034         [$(build-shared) = yes && $(soversions.mk-done) = t]
6035         ($(common-objpfx)gnu/lib-names.h): Remove rule.
6036         [$(build-shared) = yes && $(soversions.mk-done) = t]
6037         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
6038         to Makerules.
6039         [$(build-shared) = yes && $(soversions.mk-done) = t]
6040         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6041         here.
6042         [$(build-shared) = yes && $(soversions.mk-done) = t]
6043         (common-generated): Don't append gnu/lib-names.h and
6044         gnu/lib-names.stmp here.
6045         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6046         (lib-names-h-abi): New variable.
6047         [$(build-shared) = yes && $(soversions.mk-done) = t]
6048         (lib-names-stmp-abi): Likewise.
6049         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6050         abi-variants] (before-compile): Append
6051         $(common-objpfx)$(lib-names-h-abi).
6052         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6053         abi-variants] (common-generated): Append gnu/lib-names.h.
6054         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6055         abi-variants] (install-others-nosubdir): Depend on
6056         $(inst_includedir)/$(lib-names-h-abi).
6057         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6058         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6059         [$(build-shared) = yes && $(soversions.mk-done) = t]
6060         ($(common-objpfx)$(lib-names-h-abi)): New rule.
6061         [$(build-shared) = yes && $(soversions.mk-done) = t]
6062         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6063         [$(build-shared) = yes && $(soversions.mk-done) = t]
6064         (common-generated): Append $(lib-names-h-abi) and
6065         $(lib-names-stmp-abi).
6066         * scripts/lib-names.awk: Do not handle multi being set.
6067         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6068         Remove variable.
6069         (abi-lp64_be-ld-soname): Likewise.
6070         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6071         Likewise.
6072         (abi-hard-ld-soname): Likewise.
6073         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6074         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6075         Remove variable.
6076         (abi-o32_hard-ld-soname): Likewise.
6077         (abi-o32_soft_2008-ld-soname): Likewise.
6078         (abi-o32_hard_2008-ld-soname): Likewise.
6079         (abi-n32_soft-ld-soname): Likewise.
6080         (abi-n32_hard-ld-soname): Likewise.
6081         (abi-n32_soft_2008-ld-soname): Likewise.
6082         (abi-n32_hard_2008-ld-soname): Likewise.
6083         (abi-n64_soft-ld-soname): Likewise.
6084         (abi-n64_hard-ld-soname): Likewise.
6085         (abi-n64_soft_2008-ld-soname): Likewise.
6086         (abi-n64_hard_2008-ld-soname): Likewise.
6087         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6088         Likewise.
6089         (abi-64-v2-ld-soname): Likewise.
6090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6091         ld.so entries.
6092         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6093         variable.
6094         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6095         entry.
6096         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6097         variable.
6098         (abi-64-ld-soname): Likewise.
6099         (abi-x32-ld-soname): Likewise.
6100         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6101         entry.
6102         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6104 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
6106         [BZ #14138]
6107         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6108         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6109         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6110         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6111         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6112         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6113         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6114         syscall entry for GLIBC_2.2 symbol version.
6115         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6116         Likewise.
6117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6118         (setrlimit): Likewise.
6119         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6120         Likewise.
6122 2014-09-23  Will Newton  <will.newton@linaro.org>
6124         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6125         _LINUX_ARM_SYSDEP_H include guard too.
6126         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6127         define.
6129 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
6131         * sysdeps/unix/sysv/linux/eventfd.c:
6132         Make first argument unsigned.
6133         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6134         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6136 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
6138         * socket/recvmmsg.c (recvmmsg): Drop const argument.
6139         * socket/sys/socket.h: Likewise
6140         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6142 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6144         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6146 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
6148         * time/tst-ftime.c: New test.
6149         * time/Makefile (tests): Add tst-ftime.
6151 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
6153         * soft-fp/extended.h: Fix comment formatting.
6154         * soft-fp/op-1.h: Likewise.
6155         * soft-fp/op-2.h: Likewise.
6156         * soft-fp/op-4.h: Likewise.
6157         * soft-fp/op-8.h: Likewise.
6158         * soft-fp/op-common.h: Likewise.
6159         * soft-fp/soft-fp.h: Likewise.
6161         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6163 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
6165         [BZ #6652]
6166         * Makeconfig (soversions-default-setname): Remove variable.
6167         ($(common-objpfx)soversions.i): Don't pass default_setname to
6168         soversions.awk.
6169         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6170         oldest_abi to abi-versions.awk.
6171         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6172         * config.make.in (oldest-abi): Remove variable.
6173         * configure.ac (--enable-oldest-abi): Remove configure option.
6174         * configure: Regenerated.
6175         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6176         text.
6177         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6178         * scripts/soversions.awk: Do not handle default_setname variable.
6179         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6180         variable.
6181         * sysdeps/mach/hurd/configure: Regenerated.
6182         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6183         variable.
6184         * sysdeps/unix/sysv/linux/configure: Regenerated.
6186 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6188         * elf/Makefile (CFLAGS-interp.c): Remove.
6189         ($(elf-objpfx)runtime-linker.h): Generate header with linker
6190         path string.
6191         * elf/interp.c: Include generated runtime-linker.h
6193         * Makerules (lib%.so): Don't include $(+interp) in
6194         prerequisites.
6195         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6196         * dlfcn/eval.c: Remove file.
6198         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6199         macros.
6201         [BZ #17266]
6202         * misc/sys/cdefs.h: Define __extern_always_inline for clang
6203         4.2 and newer.
6205         [BZ #17370]
6206         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6208 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6209             Jakub Jelinek  <jakub@redhat.com>
6211         [BZ #17266]
6212         * libio/stdio.h: Check definition of __fortify_function
6213         instead of __extern_always_inline to include bits/stdio2.h.
6214         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6215         check if __extern_always_inline is defined.
6216         [__USE_MISC || __USE_XOPEN]: Likewise.
6217         [__USE_ISOC99] Likewise.
6218         * misc/sys/cdefs.h (__fortify_function): Define only if
6219         __extern_always_inline is defined.
6220         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6221         __extern_always_inline and __extern_inline only for g++-4.3
6222         and newer or a compatible gcc.
6224 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
6226         [BZ #17371]
6227         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6228         last change to handle zero prefix length.
6230 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6232         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6233         _SC_REGEX_VERSION.
6235         * posix/getconf.c (vars): Add _POSIX_IPV6 and
6236         _POSIX_RAW_SOCKETS.
6238 2014-09-13  Allan McRae  <allan@archlinux.org>
6240         * po/ru.po: Update Russian translation from translation project.
6242 2014-09-12  Roland McGrath  <roland@hack.frob.com>
6244         * locale/programs/locale.c (show_locale_vars): Inline local function
6245         into its sole call site.  Clean up some style nits.
6246         (print_item): New function, broken out of ...
6247         (show_info): ... local function here.  Clean up style nits.
6249         * locale/programs/ld-ctype.c (set_one_default): New function, broken
6250         out of ...
6251         (set_class_defaults): ... local function set_default here.
6252         Define set_default as a macro locally to pass constant parameters.
6253         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6254         rather than a shared local.
6256         * stdlib/rpmatch.c (try): New function, broken out of ...
6257         (rpmatch): ... local function here.  Also, prototypify definition.
6259 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
6261         * scripts/soversions.awk: Do not handle configuration names.
6262         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6263         vendor and os variables to soversions.awk.
6264         * configure.ac: Do not modify gnu-* host_os.
6265         * configure: Regenerated
6266         * shlib-versions: Remove first column with configuration names.
6267         * nptl/shlib-versions: Likewise.
6268         * nptl_db/shlib-versions: Likewise.
6269         * sysdeps/hppa/shlib-versions: Likewise.
6270         * sysdeps/m68k/shlib-versions: Likewise.
6271         * sysdeps/mach/hurd/shlib-versions: Likewise.
6272         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6273         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6274         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6275         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6276         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6277         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6278         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6279         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6281         Likewise.
6282         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6283         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6284         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6285         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6286         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6287         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6288         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6289         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6292         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6294         Regenerated.
6295         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6297         Condition symbol version definitions on [HAVE_ELFV2_ABI].
6299         * shlib-versions: Remove OS-specific entries.  Moved to files in
6300         sysdeps.
6301         * sysdeps/mach/hurd/shlib-versions: New file.
6302         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6304         * nptl/shlib-versions: Remove architecture-specific entries.
6305         Moved to files in sysdeps.
6306         * shlib-versions: Likewise.
6307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6308         file.
6309         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6310         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6311         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6312         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6314         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6315         (UDP_NO_CHECK6_RX): Likewise.
6317 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6319         * sysdeps/posix/sysconf.c (__sysconf): Spell
6320         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6322 2014-08-12  Florian Weimer  <fweimer@redhat.com>
6324         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6325         loading.
6326         * iconv/Versions (__gconv_transliterate): Export for use from
6327         gconv modules.
6328         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6329         (struct __gconv_trans_data, __gconv_trans_fct,
6330         __gconv_trans_context_fct, __gconv_trans_query_fct,
6331         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6332         definitions.
6333         (struct __gconv_step_data): Remove __trans member.
6334         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
6335         longer hidden.  Remove unused trans_data argument.
6336         * iconv/gconv_int.h (struct trans_struct): Remove definition.
6337         (__gconv_translit_find): Remove declaration.
6338         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
6339         prototype.
6340         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6341         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6342         trans_data argument.  Add hidden definition.
6343         (__gconv_translit_find): Remove.
6344         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6345         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6346         * iconv/skeleton.c: Remove transliteration initialization.
6347         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6348         __gconv_step_data initialization.
6349         * libio/iofwide.c (__libio_translit_): Remove.
6350         (_IO_fwide): Adjust struct __gconv_step_data initialization.
6351         * wcsmbs/btowc.c (__btowc): Likewise.
6352         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6353         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6354         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6355         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6356         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6357         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6358         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6359         * wcsmbs/wctob.c (wctob): Likewise.
6361 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6363         [BZ #16194]
6364         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6365         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
6366         register usage.
6367         * sysdeps/x86/Makefile: Adjust.
6369 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6370             Roland McGrath  <roland@hack.frob.com>
6372         * locale/weight.h: Add include guard.
6373         (findidx): Make static rather than auto; take new parameters
6374         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6375         * locale/weightwc.h: Likewise.
6376         * posix/fnmatch_loop.c
6377         (FCT): Change type of EXTRA from int32_t to wint_t.
6378         Don't include either header inside the function.
6379         Call FINDIDX rather than findidx, and pass new arguments.
6380         #undef FINDIDX at the end of the file.
6381         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6382         FINDIDX before including fnmatch_loop.c for the non-wide version.
6383         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6384         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6385         for the wide version.
6386         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6387         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6388         Pass new arguments to findidx.
6389         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6390         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6391         Don't #include it inside the function.  Pass new arguments to findidx.
6392         * posix/regex_internal.h
6393         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6394         (re_string_elem_size_at): Don't #include it inside the function.
6395         Pass new arguments to findidx.
6396         * string/strcoll_l.c: #include WEIGHT_H at top level.
6397         (get_next_seq): Don't #include it inside the function.
6398         Pass new arguments to findidx.
6399         (get_next_seq_nocache): Likewise.
6400         * string/strxfrm_l.c: #include WEIGHT_H at top level.
6401         (STRXFRM): Don't #include it inside the function.
6402         Pass new arguments to findidx.
6404 2014-09-11  Florian Weimer  <fweimer@redhat.com>
6406         [BZ #17344]
6407         * malloc/malloc.c (unlink): Turn asserts into a call to
6408         malloc_printerr.
6410 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
6412         [BZ #17370]
6413         * libio/wfileops (do_ftell_wide): Free OUT.
6415 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
6417         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6419 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6421         [BZ #17363]
6422         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6423         group if the current group is empty.
6425 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6427         * benchtests/bench-memset.c (test_main): Add more test from size
6428         from 32 to 512 bytes.
6429         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6430         Add POWER8 memset object.
6431         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6432         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6433         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6434         implementation.
6435         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6436         Likewise.
6437         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6438         multiarch POWER8 memset optimization.
6439         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6440         POWER8 memset optimization.
6442         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6443         Remove bzero multiarch objects.
6444         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6445         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6446         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6447         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6448         Remove define.
6449         [__bzero]: Redefine to specific name.
6450         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6451         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6452         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6453         define.
6454         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6455         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6457 2014-09-10  Florian Weimer  <fweimer@redhat.com>
6459         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6460         warnings into errors.
6462         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6463         __cxa_thread_atexit_impl prototype.
6465 2014-09-09  Steve Ellcey  <sellcey@mips.com>
6467         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6468         Fix capitalization of error message.
6470 2014-09-09  Steve Ellcey  <sellcey@mips.com>
6472         * sysdeps/mips/preconfigure: Modify ABI tests.
6474 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
6476         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6478 2014-09-07  Roland McGrath  <roland@hack.frob.com>
6479             Carlos O'Donell  <carlos@systemhalted.org>
6481         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6482         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6483         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6484         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6485         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6486         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6487         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6488         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6489         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6490         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6491         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6492         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6493         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6494         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6495         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6496         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6497         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6498         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6499         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6500         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6501         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6502         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6503         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6504         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6505         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6506         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6507         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6508         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6509         Deconditionalize the code that was previously under [RESET_PID].
6510         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6511         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6512         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6513         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6514         include sysdep.h.
6516 2014-09-08  Allan McRae  <allan@archlinux.org>
6518         * version.h (RELEASE): Set to "development".
6519         (VERSION): Set to "2.20.90"
6521 2014-09-07  Allan McRae  <allan@archlinux.org
6523         * version.h (RELEASE): Set to "stable".
6524         (VERSION): Set to "2.20"
6525         * include/features.h (__GLIBC_MINOR__): Set to 20.
6527         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6528         Liebler.
6530         * po/ko.po: Update Korean translation from translation project.
6532 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
6534         [BZ #17354]
6535         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6536         macro for handling signed relocations.
6538 2014-09-03  Florian Weimer  <fweimer@redhat.com>
6540         [BZ #17325]
6541         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6542         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6543         assert.
6544         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6545         * iconvdata/ibm935.c (BODY): Likewise.
6546         * iconvdata/ibm937.c (BODY): Likewise.
6547         * iconvdata/ibm939.c (BODY): Likewise.
6548         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6549         assert.
6550         * iconvdata/Makefile (iconv-test.out): Pass module list to test
6551         script.
6552         * iconvdata/run-iconv-test.sh: New test loop for checking for
6553         decoder crashers.
6555 2014-09-02  Khem Raj  <raj.khem@gmail.com>
6557         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6558         libm_hidden_ver.
6560 2014-09-01  Allan McRae  <allan@archlinux.org>
6562         * po/eo.po: Update Esperanto translation from translation project.
6564         * po/ca.po: Update Catalan translation from translation project.
6566 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6568         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6569         __proc_dostop call.
6571 2014-08-27  Mark Wielaard  <mjw@redhat.com>
6573         [BZ #17319]
6574         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6575         to call set_thread_area instead of hand written asm.
6576         (__NR_set_thread_area): Removed define.
6577         (TLS_FLAG_WRITABLE): Likewise.
6578         (__ASSUME_SET_THREAD_AREA): Remove check.
6579         (TLS_EBX_ARG): Remove define.
6580         (TLS_LOAD_EBX): Likewise.
6582 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6584         Simplify atomicity of socket creation in bind.
6586         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6587         looking up the name after linking the file.
6589 2014-08-27  Allan McRae  <allan@archlinux.org>
6591         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6593 2014-08-26  Florian Weimer  <fweimer@redhat.com>
6595         [BZ #17187]
6596         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6597         trans_compare, open_translit, __gconv_translit_find):
6598         Remove module loading code.
6600 2014-08-26  Allan McRae  <allan@archlinux.org>
6602         * po/vi.po: Update Vietnamese translation from translation project.
6604         * po/uk.po: Update Ukrainian translation from translation project.
6606         * po/fr.po: Update French translation from translation project.
6608         * po/ru.po: Update Russian translation from translation project.
6610         * po/pl.po: Update Polish translation from translation project.
6612         * po/cs.po: Update Czech translation from translation project.
6614         * po/de.po: Update German translation from translation project.
6616         * po/bg.po: Update Bulgarian translation from translation project.
6618         * po/sv.po: Update Sweedish translation from translation project.
6620         * po/nl.po: Update Dutch translation from translation project.
6622         * po/es.po: Update Spanish translation from translation project.
6624 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6626         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6628         * catgets/Makefile (CPPFLAGS-gencat): Remove.
6629         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6630         (CPPFLAGS-iconvconfig): Likewise.
6631         * timezone/Makefile (CPPFLAGS-zic): Likewise.
6633         * include/libc-symbols.h: Remove unnecessary check for
6634         NOT_IN_libc.
6635         * nptl/pthreadP.h: Likewise.
6636         * sysdeps/aarch64/setjmp.S: Likewise.
6637         * sysdeps/alpha/setjmp.S: Likewise.
6638         * sysdeps/arm/sysdep.h: Likewise.
6639         * sysdeps/i386/setjmp.S: Likewise.
6640         * sysdeps/m68k/setjmp.c: Likewise.
6641         * sysdeps/posix/getcwd.c: Likewise.
6642         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6643         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6644         * sysdeps/s390/s390-32/setjmp.S: Likewise.
6645         * sysdeps/s390/s390-64/setjmp.S: Likewise.
6646         * sysdeps/sh/sh3/setjmp.S: Likewise.
6647         * sysdeps/sh/sh4/setjmp.S: Likewise.
6648         * sysdeps/unix/alpha/sysdep.h: Likewise.
6649         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6650         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6651         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6652         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6654         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6655         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6656         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6657         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6658         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6659         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6660         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6661         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6662         * sysdeps/x86_64/setjmp.S: Likewise.
6664 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
6666         [BZ #17263]
6667         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6668         <stdint.h>.
6669         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6670         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6672 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6674         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6676         [BZ #17262]
6677         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6678         and __x86_64__ when disabling x87 inline functions.
6680 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
6682         [BZ #17259]
6683         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6684         asm statement with __cpuid_count.
6686 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
6688         * configure.ac: Change __ehdr_start code to dereference the struct.
6689         Run readelf on the output to look for relocations.
6690         * configure: Regenerated.
6692 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
6694         [BZ #17261]
6695         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6696         value to 0.
6697         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6699 2014-08-12  Roland McGrath  <roland@hack.frob.com>
6701         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6703 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
6705         [BZ #16892]
6706         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6707         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6709 2014-08-12  Sean Anderson  <seanga2@gmail.com>
6711         * malloc/malloc.c: Fix typo in comment.
6713 2014-08-09  Allan McRae  <allan@archlinux.org>
6715         * Regenerate libc.po.
6717 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
6719         * intl/tst-gettext2.sh: Check every lang file for creation.
6721 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
6723         * sysdeps/aarch64/fpu/math_private.h
6724         (libc_feholdsetround_noex_aarch64_ctx): New function.
6726 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
6728         * sysdeps/arm/armv6/strcpy.S (strcpy):
6729         Fix performance issue in misaligned cases.
6731 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6733         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
6734         Move definition from termios.h.
6735         (struct termio): Likewise.
6736         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6737         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6738         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6739         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6740         Likewise.
6741         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
6742         Move definition to ioctl-types.h
6743         (struct termio): Likewise.
6744         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6745         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6746         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6747         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6748         Likewise.
6750 2014-08-05  Richard Henderson  <rth@redhat.com>
6752         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
6753         exceptions.
6754         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
6755         Add fraiseexcpt.
6756         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6757         Use __feraiseexcept.
6758         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
6759         Protect libm symbols with IS_IN_libm.
6761         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
6763 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
6765         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
6767 2014-08-04  Will Newton  <will.newton@linaro.org>
6769         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
6770         file.
6772 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
6774         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
6775         variants for each function.
6777 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6779         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
6780         appended ...
6781         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
6782         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
6783         appended ...
6784         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
6785         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
6786         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
6787         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
6788         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
6789         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
6790         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
6791         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
6792         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
6793         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
6794         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
6795         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
6796         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
6797         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
6798         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
6799         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
6800         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
6801         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
6802         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
6803         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
6804         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
6805         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
6806         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
6807         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
6808         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
6809         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
6810         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
6811         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
6812         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
6813         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
6814         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
6815         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
6816         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
6817         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
6818         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
6819         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
6820         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
6821         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
6822         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
6823         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
6824         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
6825         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
6826         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
6827         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
6828         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
6829         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
6830         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
6831         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
6832         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
6833         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
6834         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
6835         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
6836         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
6837         Update #include.
6838         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
6839         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
6841 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6843         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
6844         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
6845         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
6846         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
6847         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
6848         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
6850 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6852         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
6853         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
6854         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6855         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
6857 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6859         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
6860         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
6861         (__libc_vfork): Define function under this name.
6862         (__vfork): Define as an alias.
6863         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
6864         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
6866 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6868         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
6869         that was previously under [RESET_PID].
6870         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
6872 2014-08-04  Andreas Schwab  <schwab@suse.de>
6874         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
6876 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
6878         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
6879         (main): Likewise.
6881 2014-08-01  Roland McGrath  <roland@hack.frob.com>
6883         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
6885 2014-08-01  Richard Henderon  <rth@redhat.com>
6887         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
6888         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
6889         typo in exact zero test.
6890         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6891         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6892         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6894 2014-08-01  Roland McGrath  <roland@hack.frob.com>
6896         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
6897         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
6898         * sysdeps/arm/sysdep.h: ... here.
6899         [!__ASSEMBLER__]: Include <stdint.h>.
6901 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
6903         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
6904         (HAVE_WCTYPE_H): Likewise.
6905         (HAVE_ISWCTYPE): Likewise.
6906         (ENABLE_NLS): Likewise.
6907         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
6908         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
6910         * posix/regex_internal.c: Check if DEBUG is defined and is
6911         set.
6913         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
6914         (HAVE_MBSRTOWCS): Likewise.
6915         * posix/fnmatch.c: Include string.h unconditionally.
6917 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6919         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
6920         reversal.
6922 2014-07-31  Roland McGrath  <roland@hack.frob.com>
6924         * sysdeps/generic/safe-fatal.h: New file.
6925         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
6926         * nptl/forward.c: Include it.
6927         (__pthread_unwind): Use __safe_fatal as default action, rather
6928         than a bogus use of INTERNAL_SYSCALL that could never work.
6930         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
6931         * configure.ac (libc_cv_builtin_trap): New test.
6932         * configure: Regenerated.
6933         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
6934         (ABORT_INSTRUCTION): Define using __builtin_trap.
6936         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
6937         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
6938         * sysdeps/nptl/nptl-signals.h: New file.
6939         * nptl/pthreadP.h: Include <nptl-signals.h>.
6941 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6943         * sysdeps/s390/s390-64/utf16-utf32-z9.c
6944         (ONE_DIRECTION): Define.
6945         * sysdeps/s390/s390-64/utf8-utf16-z9.c
6946         (ONE_DIRECTION): Define.
6947         * sysdeps/s390/s390-64/utf8-utf32-z9.c
6948         (ONE_DIRECTION): Define.
6950 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6952         * sysdeps/s390/Makefile: Delete file.
6953         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
6954         * sysdeps/s390/__longjmp.c: Delete file.
6955         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
6956         Remove fields __flags and __reserved.
6957         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
6958         and add versioning.
6959         * sysdeps/s390/rtld-__longjmp.c: Delete file.
6960         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
6961         * sysdeps/s390/rtld-setjmp.S: Likewise.
6962         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
6963         * sysdeps/s390/s390-32/__longjmp.c: ... here.
6964         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
6965         * sysdeps/s390/s390-32/setjmp.S: ... here.
6966         Add versioning.
6967         (__sigsetjmp): Remove setting __flags field.
6968         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
6969         * sysdeps/s390/s390-64/__longjmp.c: ... here.
6970         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
6971         * sysdeps/s390/s390-64/setjmp.S: ... here.
6972         Add versioning.
6973         (__sigsetjmp): Remove setting __flags field.
6974         * sysdeps/s390/setjmp.S: Delete file.
6975         * sysdeps/s390/sigjmp.c: Likewise.
6976         * sysdeps/s390/v1-longjmp.c: Likewise.
6977         * sysdeps/s390/v1-setjmp.h: Likewise.
6978         * sysdeps/s390/v1-sigjmp.c: Likewise.
6979         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
6980         Remove v1-longjmp_chk.
6981         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
6982         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
6983         Include debug/longjmp_chk.c and add versioning.
6984         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
6985         Include nptl/pt-longjmp.c and add versioning.
6986         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
6987         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
6988         Include __longjmp.c.
6989         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6990         Move to ...
6991         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
6992         (__getcontext): Remove setting __flags field.
6993         Add versioning.
6994         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
6995         Don't restore upper high grps.
6996         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
6997         Likewise.
6998         (__swapcontext): Remove setting uc_flags field.
6999         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7000         Delete file.
7001         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7002         Include __longjmp.c.
7003         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7004         Move to ...
7005         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7006         (__getcontext): Remove setting __flags field.
7007         Add versioning.
7008         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7009         (__swapcontext): Remove setting uc_flags field.
7010         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7011         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7012         Remove fields uc_high_gprs and __reserved.
7013         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7014         New file with reverted content.
7015         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7016         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7017         Regenerated.
7018         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7019         Regenerated.
7021 2014-07-31  Andreas Schwab  <schwab@suse.de>
7023         * config.h.in (HAVE_IFUNC): Define to 0.
7024         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7025         definedness.
7027 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
7029         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7030         memmove-avx-unaligned, memcpy-avx-unaligned and
7031         mempcpy-avx-unaligned.
7032         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7033         Add tests for AVX memcpy functions.
7034         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7035         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7036         memcpy_chk.
7037         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7038         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7039         memmove_chk.
7040         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7041         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7042         mempcpy_chk.
7043         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7044         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7045         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7047 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7049         [BZ #17213]
7050         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7051         powerpc64le.
7053 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
7055         [BZ #16839]
7056         * manual/llio.texi: Add section about open file description locks.
7057         * manual/examples/ofdlocks.c: Example of open file description
7058         lock usage.
7059         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7060         F_OFD_SETLK, and F_OFD_SETLKW.
7062 2014-07-23  Allan McRae  <allan@archlinux.org>
7064         * po/es.po: Update Spanish translation from translation project.
7066 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
7068         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7070 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
7072         [BZ #17078]
7073         * sysdeps/arm/dl-machine.h (elf_machine_rela)
7074         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7075         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7077 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
7079         [BZ #17088]
7080         * math/fesetenv.c (__fesetenv)
7081         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7082         * math/feupdateenv.c (__feupdateenv)
7083         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7085         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7086         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7087         (__ASSUME_SOCKETCALL): Do not define.
7089         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7090         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7091         (__ASSUME_SOCKETCALL): Do not define.
7092         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7093         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7094         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7095         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7096         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7097         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7098         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7099         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7101         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7102         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7103         (__ASSUME_SOCKETCALL): Do not define.
7104         (__ASSUME_IPC64): Define unconditionally.
7105         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7106         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7107         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7108         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7109         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7110         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7111         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7112         Likewise.
7114         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7115         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7116         (__ASSUME_SOCKETCALL): Do not define.
7117         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7118         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7119         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7120         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7121         (__ASSUME_REQUEUE_PI): Define unconditionally.
7122         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7123         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7124         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7125         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7126         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7127         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7129         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7130         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7131         (__ASSUME_SOCKETCALL): Do not define.
7132         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7133         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7134         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7135         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7136         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7137         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7139         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7140         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7141         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7142         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7143         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7144         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7145         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7146         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7147         (__ASSUME_GETCPU_SYSCALL): Likewise.
7149         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7150         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
7151         cases for individual architectures.
7152         * sysdeps/gnu/configure: Regenerated.
7153         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7154         LIBC_SLIBDIR_RTLDDIR.
7155         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7156         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7157         LIBC_SLIBDIR_RTLDDIR.
7158         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7160         LIBC_SLIBDIR_RTLDDIR.
7161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7162         Regenerated.
7163         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7164         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7165         file.
7166         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7167         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7168         file.
7169         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7170         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7171         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7172         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7174         * sysdeps/aarch64/shlib-versions: Move to ...
7175         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7176         * sysdeps/alpha/shlib-versions: Move to ...
7177         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7178         * sysdeps/arm/shlib-versions: Move to ...
7179         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7180         * sysdeps/hppa/shlib-versions: Move all contents except for
7181         libgcc_s entry to ...
7182         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
7183         entry from ...
7184         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
7185         * sysdeps/ia64/shlib-versions: Move to ...
7186         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
7187         entry from ...
7188         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
7189         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7190         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7191         * sysdeps/microblaze/shlib-versions: Move to ...
7192         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7193         * sysdeps/mips/shlib-versions: Move to ...
7194         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
7195         entry from ...
7196         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
7197         * sysdeps/tile/shlib-versions: Move to ...
7198         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7199         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7200         from ...
7201         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
7202         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7203         entry from ...
7204         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
7206 2014-07-17  Will Newton  <will.newton@linaro.org>
7208         * sysdeps/arm/bits/atomic.h
7209         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7210         (__arch_compare_and_exchange_bool_16_int): Likewise.
7211         (__arch_compare_and_exchange_bool_64_int): Likewise.
7213         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7214         into an #else block.
7216 2014-07-16  Roland McGrath  <roland@hack.frob.com>
7218         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7219         just Linux configurations.  Test empirically that the compiler sets
7220         __ARM_EABI__, rather than using the tuple to decide.
7221         * sysdeps/arm/preconfigure: Regenerated.
7222         * sysdeps/unix/sysv/linux/arm/configure: File removed.
7223         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7224         contents appended ...
7225         * sysdeps/arm/configure.ac: ... here.
7226         * sysdeps/arm/configure: Regenerated.
7228 2014-07-15  Roland McGrath  <roland@hack.frob.com>
7230         * nptl/pthread_kill.c: New file.
7231         * nptl/pthread_sigmask.c: New file.
7232         * nptl/pthread_sigqueue.c: New file.
7234         * sysdeps/nptl/lowlevellock.h: New file.
7235         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7236         * sysdeps/nptl/lowlevellock-futex.h: New file.
7238         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7239         Remove dead declarations.
7241 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
7243         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7244         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7245         config-cflags-avx2.
7246         * sysdeps/x86_64/configure.ac: Likewise.
7247         * sysdeps/i386/configure: Regenerated.
7248         * sysdeps/x86_64/configure: Likewise.
7249         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7250         memset-avx2 only if config-cflags-avx2 is yes.
7251         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7252         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7253         defined.
7254         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7255         only if HAVE_AVX2_SUPPORT is defined.
7256         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7258 2014-07-14  Alan Modra  <amodra@gmail.com>
7260         [BZ #17153]
7261         * elf/elf.h (DT_PPC64_NUM): Correct value.
7262         * NEWS: Add to fixed bug list.
7264 2014-07-13  Jim Meyering  <meyering@fb.com>
7266         [BZ 17150]
7267         regex: don't deref NULL upon heap allocation failure
7268         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7269         failure in one more place.
7270         To trigger the segfault, configure grep -with-included-regex,
7271         build it, and run these commands:
7272         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7274 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
7276         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7278 2014-07-11  Richard Henderson  <rth@redhat.com>
7280         * sysdeps/aarch64/libm-test-ulps: Update.
7282 2014-07-10  Florian Weimer  <fweimer@redhat.com>
7284         [BZ #17135]
7285         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7286         * nptl/allocatestack.c (__nptl_setxid_error): New function.
7287         (__nptl_setxid): Initialize error member.  Call
7288         __nptl_setxid_error.
7289         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7290         * nptl/descr.h (struct xid_command): Add error member.
7291         * nptl/tst-setuid3.c: New file.
7292         * nptl/Makefile (tests): Add it.
7294 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7296         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7297         New define.
7298         (__lll_trylock): Use __lll_base_trylock.
7299         (__lll_cond_trylock): Likewise.
7301 2014-07-10  Roland McGrath  <roland@hack.frob.com>
7303         * nptl/pthread_create.c (start_thread): Use atomic_or and
7304         lll_futex_wake directly rather than lll_robust_dead.
7305         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7306         (lll_robust_dead): Macro removed.
7307         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
7308         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7309         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7310         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7311         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7312         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7313         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7314         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7315         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7316         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7317         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7318         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7319         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7320         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7321         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7323         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7324         Use atomic_compare_and_exchange_val_acq directly rather than
7325         lll_robust_trylock.
7326         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7327         (__lll_robust_trylock, lll_robust_trylock): Removed.
7328         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7329         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7330         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7331         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7332         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7333         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7334         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7335         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7336         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7337         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7338         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7339         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7340         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7341         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7343 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7345         * manual/locale.texi (Locale Names): New section documenting
7346         locale name syntax.  Adjust menu and node chaining accordingly.
7347         (Choosing Locale): Reference Locale Names, Locale Categories.
7348         Mention setting LC_ALL=C.  Reflect that name syntax is now
7349         documented.
7350         (Locale Categories): New section title.  Reference Locale Names.
7351         LC_ALL is an environment variable, but not a category.
7352         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7353         description, now in Locale Name.  Reference that section.  Locale
7354         name syntax is now documented.
7356 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7358         [BZ #17137]
7359         * locale/findlocale.c (name_present, valid_locale_name): New
7360         functions.
7361         (_nl_find_locale): Use the loc_name variable to store name
7362         candidates.  Call name_present and valid_locale_name to check and
7363         validate locale names.  Return an error if the locale is invalid.
7365 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7367         * locale/setlocale.c (setlocale): Use strdup for allocating
7368         composite name copy.
7370 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7372         Sync up with gnulib.
7373         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7374         [!_LIBC && ENABLE_NLS]: Include gettext.h.
7375         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7376         and _GL_ARG_NONNULL.
7377         [USE_UNLOCKED_IO]: Include unlocked-io.h.
7378         [!_LIBC]: Include code for Windows and Cygwin.
7379         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7380         Include prototype for int strerror_r.
7381         [!_LIBC] (is_open): New function.
7382         (flush_stdout): New function.
7383         (print_errno_message): Use it.
7384         (error): Likewise.
7385         (error_at_line): Likewise.
7386         (error_tail) Add function attribute macros.  Use
7387         __builtin_expect.
7389         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7391         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7393         * io/ftw.c: Include sys/param.h unconditionally.
7395         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7397         [BZ #17125]
7398         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7399         libc_freeres_ptr.
7400         (freecache): New function to free CACHE on exit.
7402         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7403         initialization.
7405 2014-07-09  David S. Miller  <davem@davemloft.net>
7407         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7409         * sysdeps/sparc/nptl/internaltypes.h: Delete.
7410         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7411         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7412         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7413         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7414         * sysdeps/sparc/nptl/sem_init.c: Likewise.
7415         * sysdeps/sparc/nptl/sem_post.c: Likewise.
7416         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7417         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7418         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7419         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7420         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7421         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7423 2014-07-09  Andreas Schwab  <schwab@suse.de>
7425         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7426         output.
7427         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7428         (do_test): Likewise.
7430         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7432 2014-07-09  Will Newton  <will.newton@linaro.org>
7434         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7435         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7436         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7437         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7438         * sysdeps/hppa/start.S (_start): Likewise.
7440 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
7442         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7444         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7445         defined.
7447 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7449         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7450         after checking that it is non-NULL.
7452         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7454 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7456         * sysdeps/powerpc/memmove.c: Remove file.
7457         * sysdeps/powerpc/powerpc32/power4/memcopy.h
7458         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7459         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7460         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7461         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7462         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7463         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7464         string memmove instead of removed powerpc one.
7466         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7467         [weak_alias]: Fix compiler warning due trailing data.
7468         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7469         [weak_alias]: Likewise.
7470         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7471         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7473         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7474         (__libc_ifunc_impl_list): Add memmove functions.
7476 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7478         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7479         Remove code.
7480         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7481         Likewise
7482         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7483         Likewise
7484         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7485         Likewise
7486         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7487         Likewise
7488         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7489         Likewise
7490         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7491         Likewise
7492         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7493         Likewise
7494         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7495         Likewise
7496         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7497         Likewise
7498         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7499         Likewise
7500         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7501         Likewise
7502         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7503         Likewise
7504         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7505         Likewise
7506         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7507         Likewise
7508         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7509         Likewise
7510         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7511         Likewise
7513 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7515         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7516         to avoid alignment traps in non-cacheable memory.
7517         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7519         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7520         multiarch objects.
7521         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7522         file: multiarch power7 memmove.
7523         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7524         multiarch default memmove.
7525         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7526         multiarch memove for powerpc32/power4.
7528         * string/bcopy.c: Use full path to include memmove.c.
7529         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7530         multiarch objects.
7531         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7532         bcopy for powerpc64.
7533         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7534         bcopy for powerpc64.
7535         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7536         and memmove implementations.
7537         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7538         optimized multiarch memmove for POWER7/powerpc64.
7539         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7540         default multiarch memmove for powerpc64.
7541         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7542         multiarch for powerpc64.
7543         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7544         for POWER7/powerpc64.
7545         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7546         memmove for POWER7/powerpc64.
7548         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7549         glibc default one.
7551         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7552         __ELF_NATIVE_CLASS equal to 64.
7554 2014-07-07  Roland McGrath  <roland@hack.frob.com>
7556         * sysdeps/nptl/lowlevellock.h: File removed.
7558         * NEWS: NPTL is no longer an add-on!
7559         * nptl/internaltypes.h: Moved ...
7560         * sysdeps/nptl/internaltypes.h: ... here.
7561         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7562         * sysdeps/nptl/fork.c: Likewise.
7563         * sysdeps/nptl/gai_misc.h: Likewise.
7564         * sysdeps/nptl/librt-cancellation.c: Likewise.
7565         * sysdeps/nptl/jmp-unwind.c: Likewise.
7566         * sysdeps/nptl/setxid.h: Likewise.
7567         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7568         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7569         * sysdeps/unix/sysv/linux/arm/Implies: New file.
7570         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7571         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7572         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7573         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7574         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7575         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7576         * sysdeps/unix/sysv/linux/mips/Implies: New file.
7577         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7578         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7579         * sysdeps/unix/sysv/linux/sh/Implies: New file.
7580         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7581         * sysdeps/unix/sysv/linux/tile/Implies: New file.
7582         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7583         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7584         * nptl/Makeconfig: Moved ...
7585         * sysdeps/nptl/Makeconfig: ... here.
7586         * nptl/configure: File removed.
7587         * nptl/ANNOUNCE: File removed.
7588         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7589         * sysdeps/unix/sysv/linux/configure: Regenerated.
7591         * nptl/Makefile (routines): Add libc_pthread_init,
7592         libc_multiple_threads, register-atfork and unregister-atfork.
7593         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7594         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7595         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7596         pthread-pi-defines.sym, structsem.sym.
7597         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7598         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7599         [$(subdir) = nptl] (tests): Add tst-setgetname.
7600         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7601         * sysdeps/unix/sysv/linux/sigaction.c: Just include
7602         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7603         [!LIBC_SIGACTION]: Remove aliases.
7604         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7605         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7606         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7607         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7608         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7609         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7610         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7611         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7612         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7613         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7614         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7615         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7616         __libc_allocate_rtsig_private.
7617         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7618         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7619         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7620         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7621         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7622         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7623         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7624         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7625         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7626         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7627         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7628         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7629         * nptl/internaltypes.h: ... here.
7630         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7631         * sysdeps/nptl/jmp-unwind.c: ... here.
7632         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7633         * nptl/libc-lowlevellock.c: ... here.
7634         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7635         * nptl/libc_multiple_threads.c: ... here.
7636         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7637         * nptl/libc_pthread_init.c: ... here.
7638         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7639         * nptl/lowlevelbarrier.sym: ... here.
7640         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7641         * nptl/lowlevelcond.sym: ... here.
7642         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7643         * nptl/lowlevellock.c: ... here.
7644         * nptl/lowlevellock.h: Moved ...
7645         * sysdeps/nptl/lowlevellock.h: ... here.
7646         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7647         * nptl/lowlevelrobustlock.c: ... here.
7648         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7649         * nptl/lowlevelrobustlock.sym: ... here.
7650         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7651         * nptl/lowlevelrwlock.sym: ... here.
7652         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7653         * nptl/pt-fork.c: ... here.
7654         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7655         * nptl/pthread-pi-defines.sym: ... here.
7656         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7657         * nptl/pthread_attr_getaffinity.c: ... here.
7658         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7659         * nptl/pthread_attr_setaffinity.c: ... here.
7660         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7661         * nptl/pthread_mutex_cond_lock.c: ... here.
7662         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7663         Update #include.
7664         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7665         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7666         * nptl/pthread_once.c: ... here, replacing old file.
7667         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7668         * nptl/pthread_yield.c: ... here.
7669         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7670         * nptl/register-atfork.c: ... here.
7671         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7672         * nptl/sem_post.c: ... here.
7673         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7674         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7675         * nptl/sem_timedwait.c: ... here.
7676         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7677         * nptl/sem_trywait.c: ... here.
7678         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7679         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7680         * nptl/sem_wait.c: ... here.
7681         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7682         * nptl/structsem.sym: ... here.
7683         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7684         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7685         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7686         * nptl/unregister-atfork.c: ... here.
7687         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7688         * nptl/unwindbuf.sym: ... here.
7689         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7690         * sysdeps/nptl/fork.c: ... here.
7691         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7692         * sysdeps/nptl/fork.h: ... here.
7693         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7694         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7695         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7696         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7697         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7698         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7699         * sysdeps/unix/sysv/linux/getpid.c: ... here.
7700         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7701         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7702         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7703         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7704         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7705         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7706         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7707         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7708         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7709         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7710         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7711         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7712         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7713         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7714         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7715         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7716         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7717         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7718         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7719         * sysdeps/unix/sysv/linux/raise.c: ... here.
7720         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7721         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7722         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7723         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7724         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7725         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7726         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7727         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7728         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7729         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7730         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7731         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
7732         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
7733         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
7734         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
7736 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7738         * sysdeps/generic/memcopy.h: Add comment for
7739         MEMCPY_OK_FOR_FWD_MEMMOVE.
7741 2014-07-04  Will Newton  <will.newton@linaro.org>
7743         * string/memchr.c: Merge from gnulib.
7744         [_LIBC]: Remove conditionals.
7745         (__ptr_t): Remove define.
7746         (LONG_MAX_32_BITS): Likewise.
7747         (LONG_MAX): Likewise.
7748         (MEMCHR): Use ANSI prototype and optimize algorithm.
7750         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
7752 2014-07-03  Roland McGrath  <roland@hack.frob.com>
7754         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
7755         (lll_futex_timed_wait_bitset): Fix syscall argument count.
7757         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
7758         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
7759         in a bare environment with no <stdlib.h> installed.
7760         * sysdeps/nptl/configure: Regenerated.
7762         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
7764         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
7765         AC_EGREP_CPP for kernel header checks, so they only succeed if
7766         including <linux/version.h> actually works right.
7767         * sysdeps/unix/sysv/linux/configure: Regenerated.
7769         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
7770         value so it's not diagnosed as unused.
7772         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
7773         thing) with "ifeq ($(subdir),rt)".
7775 2014-07-03  Richard Henderson  <rth@redhat.com>
7777         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
7778         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
7779         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
7781         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
7782         (math_force_eval): New.
7784         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
7785         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
7787         * sysdeps/alpha/fpu/s_round.c: Remove file.
7788         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
7790         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
7791         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
7792         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
7793         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
7794         (_dl_start, print_statistics): Likewise.
7795         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
7796         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
7798         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7799         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7800         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7801         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7802         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7803         (HP_SMALL_TIMING_AVAIL): Define.
7804         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7805         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7806         (HP_SMALL_TIMING_AVAIL): Define.
7807         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7808         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7810         * sysdeps/aarch64/hp-timing.h: New file.
7812         * sysdeps/generic/hp-timing.h: Remove dead comment.
7813         * sysdeps/generic/hp-timing-common.h: New file.
7814         * sysdeps/alpha/hp-timing.h: Include it.
7815         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
7816         * sysdeps/i386/i686/hp-timing.h: Likewise.
7817         * sysdeps/ia64/hp-timing.h: Likewise.
7818         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7819         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7820         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7821         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7822         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
7823         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
7824         (hp_timing_t): New.
7826         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
7827         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
7828         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
7829         * elf/rtld.c (_dl_start_final): Likewise.
7830         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
7831         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7832         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7833         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7834         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7835         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7836         (HP_TIMING_DIFF_INIT): Remove.
7837         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7838         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7839         (HP_TIMING_DIFF_INIT): Remove.
7840         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7841         * sysdeps/i386/i686/hp-timing.c: Remove file.
7842         * sysdeps/x86_64/hp-timing.c: Remove file.
7843         * sysdeps/ia64/hp-timing.c: Remove file.
7844         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
7845         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
7846         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
7847         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
7849         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
7850         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
7851         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
7852         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7853         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7854         (HP_TIMING_ACCUM): Remove.
7855         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7856         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
7857         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7859         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
7860         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
7861         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
7862         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
7863         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
7864         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7865         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
7866         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7868         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
7870 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
7872         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
7874 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7876         Sync up with gettext.
7877         * intl/loadmsgcat.c: Define O_BINARY if not defined.
7878         [_MSC_VER]: Include malloc.h
7879         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
7880         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
7881         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
7882         TEMP_FAILURE_RETRY.  Cast return of alloca.
7883         [!_LIBC] Call gl_rwlock_init.
7884         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
7886 2014-07-02  Roland McGrath  <roland@hack.frob.com>
7888         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
7889         before checking its value.
7891 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7893         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
7895         * debug/memcpy_chk.c: Don't include pagecopy.h.
7896         * debug/mempcpy_chk.c: Likewise.
7897         * string/memcpy.c: Likewise.
7898         * string/memmove.c: Likewise.
7899         * sysdeps/powerpc/memmove.c: Likewise.
7900         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
7901         definition of PAGE_COPY_FWD_MAYBE here...
7902         * sysdeps/generic/pagecopy.h: ... from here.
7903         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
7905 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7906             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7908         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
7909         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
7910         optimizations.
7911         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7912         (__libc_ifunc_impl_list): Likewise.
7913         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
7914         multiarch strcat for PPC64.
7915         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
7916         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
7918 2014-07-02  Roland McGrath  <roland@hack.frob.com>
7920         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
7922 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7924         * intl/loadmsgcat.c: Remove declaration of
7925         get_sysdep_segment_value.
7926         (get_sysdep_segment_value): Use ISO C style.
7927         (_nl_load_domain): Use ISO C style.  Get rid of redundant
7928         semicolon.  Fix typo and formatting in comment.
7929         (_nl_unload_domain): Use ISO C style.
7931         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
7933 2014-07-02  Will Newton  <will.newton@linaro.org>
7935         * malloc/obstack.c: Merge from gnulib master.
7936         [HAVE_CONFIG_H]: Remove conditional code.
7937         [!_LIBC]: Include config.h.
7938         [!ELIDE_CODE]: Don't include inttypes.h, include
7939         stdint.h unconditionally.
7940         (print_and_abort): Mark as _Noreturn.
7941         (_obstack_allocated_p): Mark as __attribute_pure__.
7942         (obstack_free): Rename to __obstack_free.
7943         [!__attribute__]: Remove conditional code.
7944         * malloc/obstack.h: Merge from gnulib master.
7945         [__cplusplus]: Move conditional down.
7946         [!__attribute_pure__]: Define __attribute_pure__ here
7947         if it is not already defined.
7948         (_obstack_memory_used): Mark as __attribute_pure__.
7949         [!__obstack_free]: Define as obstack_free.
7950         [__GNUC__]: Remove check for ancient NeXT gcc.
7952 2014-07-02  Will Newton  <will.newton@linaro.org>
7953             Paul Eggert  <eggert@cs.ucla.edu>
7955         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
7957 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7959         * resolv/gethnamaddr.c: Add comment warning that the file is
7960         not maintained.
7962 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
7964         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
7965         entries.
7967         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
7968         entry for aio_cancel and aio_cancel64.
7969         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
7970         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
7971         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
7972         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
7973         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
7974         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
7975         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
7976         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
7977         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
7978         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
7979         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
7980         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
7981         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
7983 2014-07-01  Roland McGrath  <roland@hack.frob.com>
7985         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
7986         * nptl/pthread_mutex_lock.c: Likewise.
7987         * nptl/pthread_mutex_timedlock.c: Likewise.
7988         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
7990 2014-07-01  Richard henderson  <rth@redhat.com>
7992         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
7993         (__isnan, __isnanl): Remove.
7994         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
7996         * sysdeps/alpha/fpu/libm-test-ulps: Update.
7998 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
8000         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8002 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8004         * resolv/nss_dns/dns-host.c (getanswer_r)
8005         [MULTI_PTRS_ARE_ALIASES]: Remove code.
8007 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
8009         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8010         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8011         undefine.
8012         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8013         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8015 2014-07-01  Roland McGrath <roland@hack.frob.com>
8017         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8018         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8020         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8021         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8023         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8024         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8025         ... here.
8026         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8027         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8029         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8030         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8031         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8032         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8034         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8035         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8036         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8037         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8038         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8039         Moved ...
8040         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8041         ... here.
8042         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8043         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8044         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8045         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8046         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8047         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8048         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8049         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8050         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8051         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8052         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8053         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8054         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8055         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8056         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8057         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8058         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8059         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8060         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8061         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8062         ... here.
8063         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8064         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8065         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8066         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8067         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8068         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8069         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8070         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8072 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
8074         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8075         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8076         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8077         Add sysdep.
8079 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8081         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8083 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
8085         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8086         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8088         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8090         * sysdeps/arm/libm-test-ulps: Regenerated.
8092 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
8093             Roland McGrath <roland@hack.frob.com>
8095         * test-skeleton.c (signal_handler): Kill the whole process group
8096         before killing the child individually.
8097         (main): Report any failure on `setpgid'.
8099 2014-06-30  Roland McGrath  <roland@hack.frob.com>
8101         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8102         from _TLS_H to _ARM_NPTL_TLS_H.
8103         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8104         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8106 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
8108         [BZ #16539]
8109         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8110         (__expm1l): Return argument unchanged when small but not
8111         subnormal.
8113         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8114         include macro name.
8115         (_FP_UNPACK_RAW_1_P): Likewise.
8116         (_FP_PACK_RAW_1): Likewise.
8117         (_FP_PACK_RAW_1_P): Likewise.
8118         (_FP_MUL_MEAT_1_wide): Likewise.
8119         (_FP_MUL_MEAT_DW_1_hard): Likewise.
8120         (_FP_MUL_MEAT_1_hard): Likewise.
8121         (_FP_DIV_MEAT_1_imm): Likewise.
8122         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8123         (_FP_DIV_MEAT_1_udiv): Likewise.
8124         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8125         (_FP_UNPACK_RAW_2): Likewise.
8126         (_FP_UNPACK_RAW_2_P): Likewise.
8127         (_FP_PACK_RAW_2): Likewise.
8128         (_FP_PACK_RAW_2_P): Likewise.
8129         (_FP_MUL_MEAT_DW_2_wide): Likewise.
8130         (_FP_MUL_MEAT_2_wide): Likewise.
8131         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8132         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8133         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8134         (_FP_MUL_MEAT_2_gmp): Likewise.
8135         (_FP_DIV_MEAT_2_udiv): Likewise.
8136         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8137         (_FP_FRAC_SRL_4): Likewise.
8138         (_FP_FRAC_SRST_4): Likewise.
8139         (_FP_FRAC_SRS_4): Likewise.
8140         (_FP_UNPACK_RAW_4): Likewise.
8141         (_FP_UNPACK_RAW_4_P): Likewise.
8142         (_FP_PACK_RAW_4): Likewise.
8143         (_FP_PACK_RAW_4_P): Likewise.
8144         (_FP_MUL_MEAT_DW_4_wide): Likewise.
8145         (_FP_MUL_MEAT_4_wide): Likewise.
8146         (_FP_MUL_MEAT_4_gmp): Likewise.
8147         (umul_ppppmnnn): Likewise.
8148         (_FP_DIV_MEAT_4_udiv): Likewise.
8149         (__FP_FRAC_ADD_4): Likewise.
8150         (__FP_FRAC_SUB_3): Likewise.
8151         (__FP_FRAC_SUB_4): Likewise.
8152         (__FP_FRAC_DEC_3): Likewise.
8153         (__FP_FRAC_DEC_4): Likewise.
8154         (__FP_FRAC_ADDI_4): Likewise.
8155         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8156         (_FP_FRAC_SRL_8): Likewise.
8157         (_FP_FRAC_SRS_8): Likewise.
8159         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8160         include macro name.
8161         (FP_UNPACK_RAW_EP): Likewise.
8162         (FP_PACK_RAW_E): Likewise.
8163         (FP_PACK_RAW_EP): Likewise.
8164         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8165         (_FP_ISSIGNAN): Likewise.
8166         (_FP_ADD_INTERNAL): Likewise.
8167         (_FP_FMA): Likewise.
8168         (_FP_CMP): Likewise.
8169         (_FP_SQRT): Likewise.
8170         (_FP_TO_INT): Likewise.
8171         (_FP_FROM_INT): Likewise.
8172         (FP_EXTEND): Likewise.
8173         (_FP_DIV_MEAT_N_loop): Likewise.
8175 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
8177         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8178         throughout.
8180 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
8182         [BZ #17097]
8183         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8184         result with correct sign in case of exponents that produce
8185         overflow except for X very close to 1.
8187 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
8189         mktime: merge #if/#ifdef usage from glibc
8190         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8191         as that works with both Glibc's and Gnulib's style.
8192         See thread starting at Siddhesh Poyarekar's bug report at:
8193         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8195 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8197         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8198         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8199         * sysdeps/tile/tilegx/memmove.c: Remove file.
8201 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
8203         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8204         abi-name definition.
8205         * scripts/soversions.awk: Do not handle or generate ABI lines.
8206         * shlib-versions: Remove ABI entries.
8207         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8208         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8210 2014-06-27  Roland McGrath  <roland@hack.frob.com>
8212         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8213         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8214         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8215         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8216         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8217         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8218         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8219         Moved ...
8220         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8221         ... here.
8222         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8223         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8224         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8225         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8226         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8227         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8228         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8229         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8230         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8231         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8232         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8233         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8234         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8235         Moved ...
8236         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8237         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8238         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8239         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8240         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8241         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8242         Moved ...
8243         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8244         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8245         Moved ...
8246         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8247         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8248         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8249         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8250         Moved ...
8251         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8252         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8253         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8254         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8255         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8256         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8257         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8258         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8259         Moved ...
8260         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8261         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8262         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8263         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8264         Moved ...
8265         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8266         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8267         Moved ...
8268         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8269         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8270         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8271         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8272         Moved ...
8273         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8274         ... here.
8275         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8276         Identical file removed.
8277         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8278         Moved ...
8279         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8280         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8281         Identical file removed.
8282         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8283         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8284         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8285         Moved ...
8286         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8287         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8288         Identical file removed.
8289         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8290         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8291         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8292         Identical file removed.
8293         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8294         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8295         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8296         Identical file removed.
8297         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8298         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8299         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8300         Identical file removed.
8301         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8302         Moved ...
8303         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8304         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8305         Identical file removed.
8306         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8307         Moved ...
8308         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8309         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8310         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8311         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8312         Identical file removed.
8313         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8314         Moved ...
8315         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8316         ... here.
8317         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8318         Identical file removed.
8319         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8320         Moved ...
8321         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8322         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8323         Identical file removed.
8324         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8325         Moved ...
8326         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8327         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8328         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8329         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8330         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8331         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8332         Moved ...
8333         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8334         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8335         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8337         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8338         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8339         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8340         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8341         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8343 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
8345         [BZ #17092]
8346         * nscd/nscd.c (monitor_child): Return exit status of child
8347         instead of return value from wait syscall.
8349 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
8351         * configure.ac (libc_commonpagesize): Remove variable.
8352         (libc_relro_required): Likewise.
8353         (libc_cv_z_relro): Remove configure test.
8354         * configure: Regenerated.
8355         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8356         variable.
8357         (libc_relro_required): Likewise.
8358         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8359         (libc_relro_required): Likewise.
8360         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8361         (libc_relro_required): Likewise.
8362         * sysdeps/arm/preconfigure: Regenerated.
8363         * sysdeps/ia64/preconfigure: Remove file.
8364         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8365         variable.
8366         (libc_relro_required): Likewise.
8368         [BZ #16561]
8369         [BZ #16562]
8370         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8371         (__ieee754_yn): Set FE_TONEAREST mode internally and then
8372         recompute overflowing results in original rounding mode.
8373         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8374         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8375         recompute overflowing results in original rounding mode.
8376         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8377         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8378         recompute overflowing results in original rounding mode.
8379         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8380         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8381         recompute overflowing results in original rounding mode.
8382         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8383         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8384         recompute overflowing results in original rounding mode.
8385         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8386         (libc_feholdsetround_ctx): New macro.
8387         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8388         * sysdeps/i386/fpu/libm-test-ulps: Update.
8389         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8391 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8393         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8394         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8395         corresponding .cpsetup call.
8397 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8399         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8400         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8401         * sysdeps/arm/Makefile [$(subdir) = csu]
8402         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8403         (static-only-routines): Add aeabi_read_tp here.
8404         (shared-only-routines): Add libc-aeabi_read_tp here.
8405         (CFLAGS-libc-start.c): Add -fexceptions here.
8406         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8407         (sysdep_routines, static-only-routines, shared-only-routines):
8408         Don't add to these here.
8409         (CFLAGS-libc-start.c): Likewise.
8411         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8412         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8413         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8414         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8415         * sysdeps/arm/Makefile [$(subdir) = rt]
8416         (librt-sysdep_routines, librt-shared-only-routines):
8417         Append rt-aeabi_unwind_cpp_pr1 here.
8418         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8419         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8420         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8421         (libpthread-sysdep_routines, libpthread-shared-only-routines):
8422         Append nptl-aeabi_unwind_cpp_pr1 here.
8423         (tests): Filter out tst-cleanupx4 here.
8424         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8425         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8426         Don't do those here.
8428 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8430         * scripts/list-sources.sh: Do not handle ports specially.
8432 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8434         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8435         * sysdeps/arm/feupdateenv.c: Likewise.
8437         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8439 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8441         * manual/texinfo.tex: Update to version 2014-05-05.10 with
8442         trailing whitespace removed.
8443         * scripts/config.guess: Update to version 2014-03-23.
8444         * scripts/config.sub: Update to version 2014-05-01
8445         * scripts/install-sh: Update to version 2013-12-25.23.
8446         * scripts/move-if-change: Update from gnulib.
8448 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8450         * debug/memmove_chk.c: Remove pagecopy.h include.
8452 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
8454         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
8455         identical to gnulib mktime.
8457 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8459         * configure.ac: Do not test for machine being rs6000.  Do not test
8460         for powerpc*-*soft.
8461         * configure: Regenerated.
8463         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8464         test.
8465         * configure: Regenerated.
8466         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8467         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8468         Remove configure test.
8469         * sysdeps/arm/configure: Regenerated.
8470         * sysdeps/nptl/configure.ac: Do not check
8471         libc_cv_asm_cfi_directives.
8472         * sysdeps/nptl/configure: Regenerated.
8473         * sysdeps/x86_64/nptl/configure.ac: Remove file.
8474         * sysdeps/x86_64/nptl/configure: Remove generated file.
8475         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8476         unconditional.
8477         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8479 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8481         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8482         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8483         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8484         it is defined.
8486         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8487         instead of whether it is defined.
8488         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8489         * sysdeps/hppa/dl-machine.h: Likewise.
8490         * sysdeps/ia64/dl-machine.h: Likewise.
8491         * sysdeps/m68k/dl-machine.h: Likewise.
8492         * sysdeps/microblaze/dl-machine.h: Likewise.
8493         * sysdeps/mips/dl-machine.: Likewise.
8494         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8495         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8496         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8497         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8498         * sysdeps/sh/dl-machine.h: Likewise.
8499         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8500         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8501         * sysdeps/tile/dl-machine.h: Likewise.
8502         * sysdeps/x86_64/dl-machine.h: Likewise.
8504         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8505         code.
8506         (verify_persistent_db): Likewise.
8508 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8510         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8511         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8512         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8513         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8514         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8515         Moved ...
8516         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8517         ... here.
8518         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8519         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8520         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8521         Identical file removed.
8522         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8523         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8524         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8525         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8526         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8527         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8528         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8529         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8530         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8531         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8532         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8533         Moved ...
8534         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8535         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8536         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8537         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8538         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8539         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8540         Moved ...
8541         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8542         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8543         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8545         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8546         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8547         Identical file removed.
8548         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8549         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8550         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8551         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8552         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8553         Moved ...
8554         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8555         ... here.
8556         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8557         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8558         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8559         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8560         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8561         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8562         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8563         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8564         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8565         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8566         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8567         Moved ...
8568         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8569         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8570         Moved ...
8571         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8572         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8573         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8574         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8575         Moved ...
8576         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8577         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8578         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8580         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8581         folded into ...
8582         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8583         * sysdeps/unix/sysv/linux/s390/Versions
8584         (libpthread: GLIBC_2.19): New version set.
8585         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8586         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8587         (librt: GLIBC_2.3.3): New version set.
8588         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8589         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8590         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8591         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8592         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8593         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8594         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8595         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8596         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8597         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8598         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8599         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8600         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8601         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8602         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8603         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8604         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8605         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8606         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8607         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8608         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8609         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8610         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8611         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8612         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8613         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8614         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8615         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8616         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8617         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8618         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8619         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8620         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8621         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8622         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8623         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8624         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8625         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8626         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8627         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8628         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8629         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8630         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8631         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8632         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8634         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8635         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
8636         (__libc_vfork): Define the function under this name.
8637         [!NOT_IN_libc] (__vfork): Make this an alias.
8638         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8639         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8640         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8641         (__libc_vfork): Define the function under this name.
8642         [!NOT_IN_libc] (__vfork): Make this an alias.
8643         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8644         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8645         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8646         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8647         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8648         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8650         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8651         code that was previously under [RESET_PID].
8652         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8653         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8654         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8656         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8657         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8658         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8659         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8660         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8661         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8662         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8663         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8664         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8665         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8666         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8667         Moved ...
8668         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8669         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8670         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8671         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8672         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8673         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8674         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8675         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8676         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8677         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8678         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8679         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8680         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8681         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8682         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8683         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8684         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8685         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8686         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8687         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8688         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8689         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8690         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8691         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8692         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8693         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8694         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8695         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8696         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8698 2014-06-25  Roland McGrath  <roland@hack.frob.com>
8700         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8701         that was previously under [RESET_PID].
8702         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8704 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
8706         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8707         not undefine and redefine.
8708         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8709         [O_CLOEXEC]: Make code unconditional.
8710         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8711         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8712         <kernel-features.h>.
8713         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8714         conditional variable definition.
8715         (shm_open) [O_CLOEXEC]: Make code unconditional.
8716         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8717         code.
8719         * configure.ac (USE_REGPARMS): Don't define here.
8720         * configure: Regenerated.
8721         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8722         * sysdeps/i386/configure: Regenerated.
8724         * nptl/createthread.c: Don't include kernel-features.h.
8725         * nptl/pthread_cancel.c: Likewise.
8726         * nptl/pthread_condattr_setclock.c: Likewise.
8727         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8728         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8729         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8730         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8731         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
8732         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
8733         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8734         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
8735         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8736         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
8737         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
8738         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
8739         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
8740         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
8741         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
8742         * nscd/gai.c: Likewise.
8743         * nss/nss_db/db-open.c: Likewise.
8744         * sysdeps/generic/ldsodefs.h: Likewise.
8745         * sysdeps/sh/nptl/tls.h: Likewise.
8746         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8747         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
8748         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
8749         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
8750         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
8751         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8752         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
8753         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8754         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8755         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8756         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8757         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8758         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
8759         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
8760         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
8761         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
8762         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
8763         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
8764         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
8765         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8766         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8767         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8768         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
8769         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
8770         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8771         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8772         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
8773         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
8774         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8775         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
8776         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
8777         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8778         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8779         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8780         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8781         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8782         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8783         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8784         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
8785         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8786         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8787         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
8788         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
8789         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8790         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8791         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
8792         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
8793         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
8794         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
8795         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8796         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8797         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8798         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8799         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8800         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
8801         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8802         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8803         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
8804         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
8806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
8807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
8808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
8809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
8816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
8817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
8818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
8824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
8825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8826         * sysdeps/unix/sysv/linux/pread.c: Likewise.
8827         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8828         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
8829         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
8830         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8831         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
8832         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
8833         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8834         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
8835         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8836         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8837         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8838         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8839         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8840         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8841         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8842         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8843         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8844         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
8845         * sysdeps/unix/sysv/linux/system.c: Likewise.
8846         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
8847         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8848         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8849         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8850         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8851         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8852         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8854         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
8855         * configure: Regenerated.
8856         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
8858         * configure.ac (base_machine): Do not set specially for particular
8859         machines here.
8860         * configure: Regenerated.
8861         * sysdeps/powerpc/preconfigure: Move machine and base_machine
8862         settings from configure.ac.
8863         * sysdeps/i386/preconfigure: New file.
8864         * sysdeps/s390/preconfigure: Likewise.
8865         * sysdeps/sh/preconfigure: Likewise.
8866         * sysdeps/sparc/preconfigure: Likewise.
8868 2014-06-25  Roland McGrath  <roland@hack.frob.com>
8870         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
8871         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
8872         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
8873         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
8874         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
8875         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
8876         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
8877         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
8878         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
8879         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
8880         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
8881         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
8882         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
8883         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
8884         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
8885         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
8886         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
8887         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
8888         * sysdeps/sparc/sparc64/Makefile: ... appended here.
8890         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
8891         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
8892         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
8893         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
8894         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
8895         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
8896         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
8897         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
8898         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
8899         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
8900         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
8901         * sysdeps/sparc/sparc32/sem_post.c: ... here.
8902         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
8903         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
8904         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
8905         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
8906         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
8907         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
8908         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
8909         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
8910         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
8911         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
8912         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
8913         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
8914         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
8915         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
8916         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
8917         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
8918         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
8919         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
8920         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
8921         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
8922         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
8923         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
8924         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
8925         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
8926         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
8927         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
8929         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
8930         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
8931         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
8932         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
8933         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8934         Moved ...
8935         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
8936         ... here.
8937         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
8938         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
8939         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
8940         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
8941         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
8942         Moved ...
8943         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
8944         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
8945         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
8946         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
8947         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
8948         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
8949         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
8950         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8951         Moved ...
8952         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
8953         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8954         Moved ...
8955         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
8956         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
8957         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
8958         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8959         Moved ...
8960         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
8961         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
8962         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
8963         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
8964         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
8965         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
8966         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
8967         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
8968         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
8969         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8970         Moved ...
8971         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
8972         ... here.
8973         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
8974         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
8975         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
8976         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
8977         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
8978         Moved ...
8979         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
8980         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
8981         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
8982         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
8983         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
8984         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
8985         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
8986         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8987         Moved ...
8988         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
8989         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8990         Moved ...
8991         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
8992         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
8993         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
8994         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
8995         Moved ...
8996         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
8997         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
8998         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
8999         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9000         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9002 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
9004         * timezone/checktab.awk: Update from tzcode 2014e.
9005         * timezone/private.h: Likewise.
9006         * timezone/tzfile.h: Likewise.
9007         * timezone/zdump.c: Likewise.
9008         * timezone/zic.c: Likewise.
9010         * sysdeps/unix/sysv/linux/kernel-features.h
9011         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9012         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9013         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9014         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9015         Remove conditional code.
9017 2014-06-25  Will Newton  <will.newton@linaro.org>
9019         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9020         (_dl_arm_cap_flags): Add HWCAP2 values.
9021         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9022         (_DL_HWCAP_COUNT): Increase to 37.
9023         (_DL_HWCAP_LAST): New define.
9024         (_DL_HWCAP2_LAST): New define.
9025         (_dl_procinfo): Add support for printing
9026         AT_HWCAP2 entries.
9027         (_dl_string_hwcap): Use _dl_hwcap_string.
9029 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9031         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9033 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
9035         * README: Do not mention ports directory.
9037         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9038         Remove macro.
9039         * sysdeps/unix/sysv/linux/futimes.c: Do not include
9040         <kernel-features.h>.
9041         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9042         conditional variable definition.
9043         (__futimes): Update comment.
9044         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9045         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9047         [BZ #16560]
9048         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9049         arguments close to 0.
9050         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9051         Likewise.
9052         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9053         Likewise.
9054         * math/auto-libm-test-in: Add more tests of exp10.
9055         * math/auto-libm-test-out: Regenerated.
9056         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9058         * sysdeps/unix/sysv/linux/kernel-features.h
9059         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9060         * sysdeps/unix/sysv/linux/readv.c: Do not include
9061         <kernel-features.h>.
9062         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9063         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9064         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9065         unconditional.
9066         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9067         conditional code.
9068         * sysdeps/unix/sysv/linux/writev.c: Do not include
9069         <kernel-features.h>.
9070         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9071         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9072         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9073         unconditional.
9074         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9075         conditional code.
9077 2014-06-25  Will Newton  <will.newton@linaro.org>
9079         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9080         comment changes throughout the file.  Remove checks
9081         for HAVE_*_H definitions that are not required.
9082         (__gen_tempname): Call abort if an unknown kind value is
9083         passed.
9085 2014-06-25  Andreas Schwab  <schwab@suse.de>
9087         [BZ #17086]
9088         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9089         scalbln, scalblnf, scalblnl in libc.
9091 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
9093         [BZ #17086]
9094         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9095         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9096         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9098 2014-06-24  Roland McGrath  <roland@hack.frob.com>
9100         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9101         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9102         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9103         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9104         Update #include.
9105         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9106         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9107         Update #include.
9108         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9109         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9110         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9111         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9112         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9113         * sysdeps/x86/bits/pthreadtypes.h: ... here.
9114         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9115         * sysdeps/x86/bits/semaphore.h: ... here.
9116         * sysdeps/x86/nptl/elide.h: Moved ...
9117         * sysdeps/x86/elide.h: ... here.
9118         * sysdeps/x86_64/nptl/Implies: File removed.
9119         * sysdeps/i386/nptl/Implies: File removed.
9121 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
9123         [BZ #16539]
9124         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9125         return the argument for normal arguments with exponent below -64.
9126         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9127         Likewise.
9128         * math/auto-libm-test-in: Add another test of expm1.
9129         * math/auto-libm-test-out: Regenerated.
9131         [BZ #16287]
9132         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9133         calling __erfcl for arguments at least 16.
9134         * math/auto-libm-test-in: Add more tests of erf.
9135         * math/auto-libm-test-out: Regenerated.
9137         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9138         individual architectures.
9139         * sysdeps/unix/sysv/linux/configure: Regenerated.
9140         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9141         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9142         * sysdeps/unix/sysv/linux/powerpc/configure.ac
9143         (ldd_rewrite_script): Define variable.
9144         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9146         file.
9147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9148         generated file.
9149         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9150         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9151         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9152         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9153         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9154         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9155         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9156         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9158 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9160         [BZ #17084]
9161         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9162         Rename member __data.d to __data.__elision_data.
9164 2014-06-24  Wilco  <wdijkstr@arm.com>
9166         * NEWS: Add 16918 to fixed bug list.
9168 2014-06-24  Wilco  <wdijkstr@arm.com>
9170         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9172 2014-06-24  Wilco  <wdijkstr@arm.com>
9174         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9175         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9176         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9177         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9178         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9179         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9180         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9181         Use _FPU_MASK_RM.
9183 2014-06-24  Wilco  <wdijkstr@arm.com>
9185         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9187 2014-06-24  Wilco  <wdijkstr@arm.com>
9189         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9190         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9191         * sysdeps/arm/fesetround.c (fesetround): Remove space.
9192         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9194 2014-06-24  Wilco  <wdijkstr@arm.com>
9196         [BZ #16918]
9197         * sysdeps/arm/feupdateenv.c (feupdateenv):
9198         Rewrite to reduce FPSCR accesses and fix return value.
9200 2014-06-24  Wilco  <wdijkstr@arm.com>
9202         * sysdeps/arm/fclrexcpt.c (feclearexcept):
9203         Optimize to avoid unnecessary FPSCR writes.
9204         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9205         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9206         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9207         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9209 2014-06-24  Wilco  <wdijkstr@arm.com>
9211         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9212         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9213         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9214         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9215         Call libc_fetestexcept_vfp.
9216         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9217         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9218         __SOFTFP__ ifdef so that they can be built for softfp.
9220 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9222         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9223         argument type signed char.
9225         * Makerules (check-abi): Dump diff of symlist if the test
9226         fails.
9228 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9230         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9231         using abort.
9233         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9234         Remove unused variable ST.
9236 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
9238         [BZ #16354]
9239         [BZ #17061]
9240         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9241         small arguments before calling __expm1.
9242         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9243         small arguments before calling __expm1f.
9244         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9245         small arguments before calling __expm1l.
9246         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9247         Likewise.
9248         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9249         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
9250         spurious underflow for some cosh tests.
9251         * math/auto-libm-test-out: Regenerated.
9252         * sysdeps/i386/fpu/libm-test-ulps: Update.
9254         [BZ #17050]
9255         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9256         (__ieee754_y1): Set errno if return value overflows.
9257         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9258         (__ieee754_y1f): Set errno if return value overflows.
9259         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9260         (__ieee754_y1l): Set errno if return value overflows.
9261         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9262         (__ieee754_y1l): Set errno if return value overflows.
9263         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9264         * math/auto-libm-test-out: Regenerated.
9266         * math/gen-auto-libm-tests.c: Document use of
9267         ignore-zero-inf-sign.
9268         (input_flag_type): Add value flag_ignore_zero_inf_sign.
9269         (input_flags): Add ignore-zero-inf-sign.
9270         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9271         * math/gen-libm-test.pl (generate_testfile): Handle
9272         ignore-zero-inf-sign.
9273         * math/auto-libm-test-in: Mark some cpow tests with
9274         ignore-zero-inf-sign and some with xfail-rounding.
9275         * math/auto-libm-test-out: Regenerated.
9276         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9277         * sysdeps/i386/fpu/libm-test-ulps: Update.
9278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9280         [BZ #16315]
9281         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9282         overflowing or underflowing operations take place with sign of
9283         result.
9284         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9285         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9286         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9287         (__ieee754_pow): Recompute overflowing and underflowing results in
9288         original rounding mode.
9289         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9290         (__powl_helper): Allow negative argument X and scale negated value
9291         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
9292         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9293         overflowing or underflowing operations take place with sign of
9294         result.
9295         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9296         Include <math.h>.
9297         * math/auto-libm-test-in: Add more tests of pow.
9298         * math/auto-libm-test-out: Regenerated.
9299         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9300         (pow_tonearest_test_data): Remove.
9301         (pow_test_tonearest): Likewise.
9302         (pow_towardzero_test_data): Likewise.
9303         (pow_test_towardzero): Likewise.
9304         (pow_downward_test_data): Likewise.
9305         (pow_test_downward): Likewise.
9306         (pow_upward_test_data): Likewise.
9307         (pow_test_upward): Likewise.
9308         (main): Don't call removed functions.
9309         * sysdeps/i386/fpu/libm-test-ulps: Update.
9310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9312 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9314         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9315         Moved ...
9316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9318         Moved ...
9319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9321         Moved ...
9322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9324         Moved ...
9325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9326         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9327         File removed.
9328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9329         File removed.
9330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9331         File removed.
9332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9333         File removed.
9334         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9335         File removed.
9336         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9337         File removed.
9338         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9339         File removed.
9340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9341         File removed.
9342         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9343         File removed.
9344         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9345         File removed.
9346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9347         File removed.
9348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9349         File removed.
9350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9351         Moved ...
9352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9354         Moved ...
9355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9356         ... here.
9357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9358         Moved ...
9359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9361         Moved ...
9362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9364         Moved ...
9365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9367         Moved ...
9368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9370         Moved ...
9371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9373         Moved ...
9374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9376         Moved ...
9377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9378         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9380         ... here.
9381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9382         Moved ...
9383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9385         Moved ...
9386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9387         ... here.
9388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9389         Moved ...
9390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9391         ... here.
9392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9393         Moved ...
9394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9395         ... here.
9396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9397         Moved ...
9398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9400         Moved ...
9401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9405         Moved ...
9406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9407         ... here.
9408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9409         Moved ...
9410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9411         ... here.
9412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9413         Moved ...
9414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9416         Moved ...
9417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9419         Moved ...
9420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9422         Moved ...
9423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9425         Moved ...
9426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9427         ... here.
9428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9429         Moved ...
9430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9432         Moved ...
9433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9435         Moved ...
9436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9438         Moved ...
9439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9443         Moved ...
9444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9446         Moved ...
9447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9448         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9449         Moved ...
9450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9451         ... here.
9452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9453         Moved ...
9454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9455         ... here.
9456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9457         Moved ...
9458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9459         ... here.
9460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9461         Moved ...
9462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9464         Moved ...
9465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9467         Moved ...
9468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9470         Moved ...
9471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9472         ... here.
9473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9474         Moved ...
9475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9476         ... here.
9477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9478         Moved ...
9479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9480         ... here.
9481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9482         Moved ...
9483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9485         Moved ...
9486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9488 2014-06-23  Will Newton  <will.newton@linaro.org>
9489             Wilco  <wdijkstr@arm.com>
9491         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9492         implementation.  Include get-rounding-mode.h.
9493         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9494         [!libc_feholdsetround_noex_ctx]: Define
9495         libc_feholdsetround_noex_ctx.
9496         [!libc_feholdsetround_noexf_ctx]: Define
9497         libc_feholdsetround_noexf_ctx.
9498         [!libc_feholdsetround_noexl_ctx]: Define
9499         libc_feholdsetround_noexl_ctx.
9500         (libc_feholdsetround_ctx): New function.
9501         (libc_feresetround_ctx): New function.
9502         (libc_feholdsetround_noex_ctx): New function.
9503         (libc_feresetround_noex_ctx): New function.
9505 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9507         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9508         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9509         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9510         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9511         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9512         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9514         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9515         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9516         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9517         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9518         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9519         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9520         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9521         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9522         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9523         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9524         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9525         Moved ...
9526         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9527         ... here.
9528         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9529         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9530         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9531         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9532         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9533         Moved ...
9534         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9535         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9536         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9537         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9538         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9539         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9540         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9541         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9542         Moved ...
9543         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9544         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9545         Moved ...
9546         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9547         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9548         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9549         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9550         Moved ...
9551         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9552         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9553         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9554         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9555         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9556         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9557         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9558         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9559         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9560         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9561         Moved ...
9562         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9563         ... here.
9564         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9565         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9566         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9567         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9568         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9569         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9570         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9571         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9572         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9573         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9574         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9575         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9576         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9577         Moved ...
9578         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9579         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9580         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9581         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9582         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9583         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9584         Moved ...
9585         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9586         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9587         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9588         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9589         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9591         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9592         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9593         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9594         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9595         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9596         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9597         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9598         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9599         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9600         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9601         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9602         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9603         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9604         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9605         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9606         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9607         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9608         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9609         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9610         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9611         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9612         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9613         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9614         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9615         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9616         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9617         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9618         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9620 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
9622         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9623         (FALLOC_FL_COLLAPSE_RANGE): New macro.
9624         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9625         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9626         (IPV6_PMTUDISC_INTERFACE): Likewise.
9627         (IPV6_PMTUDISC_OMIT): Likewise.
9629 2014-06-23  Andreas Schwab  <schwab@suse.de>
9631         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9632         Remove unused errout label.
9634 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9636         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9637         macro: hardware supports Vector Crypto instructions.
9639 2014-06-23  Will Newton  <will.newton@linaro.org>
9641         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9642         rather than __builtin_expect.
9644         * elf/dl-lookup.c (undefined_msg): Remove variable.
9645         (_dl_lookup_symbol_x): Replace undefined_msg with string
9646         literal.
9648         * elf/dl-lookup.c (do_lookup_unique): New function.
9649         (do_lookup_x): Move STB_GNU_UNIQUE handling code
9650         to a separate function.
9652 2014-06-23  Andreas Schwab  <schwab@suse.de>
9654         [BZ #17079]
9655         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9656         before reading the next line.
9658 2014-06-23  Will Newton  <will.newton@linaro.org>
9660         * test-skeleton.c (signal_handler): Use printf and %m
9661         rather than perror.  Use printf rather than fprintf to
9662         stderr.  Use puts rather than fputs to stderr.
9663         (main): Likewise.
9665 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
9667         * nscd/nscd.c (thread_info_t): Remove typedef.
9668         (thread_info): Remove variable.
9670 2014-06-21  Allan McRae  <allan@archlinux.org>
9672         * NEWS: Mention CVE-2014-4043.
9674 2014-06-20  Roland McGrath  <roland@hack.frob.com>
9676         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9677         * nptl/smp.h: ... here.
9679         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9681         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9682         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9683         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9684         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9686         * nptl/allocatestack.c: Include <stack-aliasing.h>.
9687         * nptl/stack-aliasing.h: New file.
9688         * sysdeps/i386/i686/stack-aliasing.h: New file.
9689         * sysdeps/i386/i686/nptl/Makefile: File removed.
9690         * sysdeps/x86_64/stack-aliasing.h: New file.
9691         * sysdeps/x86_64/nptl/Makefile
9692         (CFLAGS-pthread_create.c): Variable removed.
9694         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9695         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9696         old file.
9697         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9698         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9699         old file.
9701 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
9703         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9704         (__ASSUME_SIGFRAME_V2): Remove macro.
9705         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9706         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9707         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9708         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9709         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9710         Declare as function.  Remove conditional macro definitions.
9711         (__default_rt_sa_restorer): Likewise.
9712         (__default_sa_restorer_v1): Remove declaration.
9713         (__default_sa_restorer_v2): Likewise.
9714         (__default_rt_sa_restorer_v1): Likewise.
9715         (__default_rt_sa_restorer_v2): Likewise.
9716         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9717         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9718         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9720 2014-06-20  Roland McGrath  <roland@hack.frob.com>
9722         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9723         (libpthread-routines): Add sysdep.
9724         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9725         * sysdeps/unix/sysv/linux/sparc/Versions
9726         (libpthread: GLIBC_2.3.3): New version set.
9727         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9728         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9729         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9730         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9731         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
9732         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
9733         Moved ...
9734         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
9735         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
9736         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
9737         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
9738         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
9739         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
9740         * sysdeps/sparc/nptl/sem_init.c: ... here.
9741         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
9742         * sysdeps/sparc/nptl/sem_post.c: ... here.
9743         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
9744         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
9745         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
9746         * sysdeps/sparc/nptl/sem_wait.c: ... here.
9747         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
9748         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
9749         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
9750         (libpthread-routines): Add cpu_relax.
9751         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
9752         File removed.
9753         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
9754         (librt: GLIBC_2.3.3): New version set.
9755         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
9756         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
9757         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
9758         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
9759         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
9760         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
9761         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
9762         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
9763         Moved ...
9764         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
9765         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
9766         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
9767         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
9768         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
9769         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
9770         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
9771         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
9772         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
9773         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
9774         Moved ...
9775         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
9776         Update #include.
9777         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
9778         Moved ...
9779         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
9780         Update #include.
9781         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
9782         Moved ...
9783         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
9784         Update #include.
9785         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
9786         Moved ...
9787         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
9788         Update #include.
9789         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
9790         Moved ...
9791         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
9792         Update #include.
9793         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
9794         Moved ...
9795         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
9796         Update #include.
9797         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
9798         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
9799         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
9800         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
9801         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
9802         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
9803         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
9804         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
9805         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
9806         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
9807         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9808         Moved ...
9809         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
9810         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
9811         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
9812         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
9813         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
9815 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9817         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
9818         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
9819         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9820         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
9821         * nscd/nscd.c: Likewise.
9822         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9823         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9824         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9825         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9827         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
9828         <kernel-features.h>.
9829         (init_mq_netlink): Remove conditional have_sock_cloexec
9830         definitions.  Remove code conditional on have_sock_cloexec < 0.
9831         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
9832         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
9833         * sysdeps/unix/sysv/linux/opensock.c: Do not include
9834         <kernel-features.h>.
9835         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
9836         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
9838 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
9840         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9841         Add tests for memset_chk and memset.
9843         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
9844         with AVX2_Usable.
9846 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
9848         [BZ #16046]
9849         * elf/tst-dl-iter-static.c: New file.
9850         * elf/Makefile (tests-static): Add tst-dl-iter-static.
9852         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
9853         error.
9855 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9857         * sysdeps/unix/sysv/linux/kernel-features.h
9858         (__ASSUME_F_GETOWN_EX): Remove macro.
9859         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
9860         <kernel-features.h>.
9861         (miss_F_GETOWN_EX): Remove variable or macro.
9862         (do_fcntl): Do not check miss_F_GETOWN_EX.
9863         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
9865         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
9866         Remove macro.
9867         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
9868         [!__ASSUME_AT_RANDOM]: Remove conditional code.
9869         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
9871         * sysdeps/unix/sysv/linux/kernel-features.h
9872         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
9873         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
9874         [ADJ_OFFSET_SS_READ]: Make code unconditional.
9875         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
9877 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
9879         [BZ #17075]
9880         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
9881         Fix calculation of the symbol's value.
9882         * sysdeps/arm/tst-armtlsdescloc.c: New file.
9883         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
9884         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
9885         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
9886         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
9887         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
9888         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
9889         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
9890         (modules-names): Add `tst-armtlsdescmod',
9891         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
9892         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
9893         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9894         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
9895         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
9896         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9897         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
9898         ($(objpfx)tst-armtlsdescloc): New dependency.
9899         ($(objpfx)tst-armtlsdescextnow): Likewise.
9900         ($(objpfx)tst-armtlsdescextlazy): Likewise.
9901         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
9902         TLS scheme support.
9903         * sysdeps/arm/configure: Regenerate.
9905 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9907         * include/fcntl.h (__atfct_seterrno): Remove prototype.
9908         (__atfct_seterrno_2): Likewise.
9909         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
9910         <kernel-features.h>.
9911         (__ASSUME_ATFCTS): Do not undefine and redefine.
9912         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
9913         (__have_atfcts): Remove conditional definition.
9914         (__fxstatat([__NR_fstatat64]: Make code unconditional.
9915         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
9916         unreachable if [__ASSUME_ATFCTS].
9917         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
9918         not undefine and redefine.
9919         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
9920         <kernel-features.h>.
9921         (faccessat) [__NR_faccessat]: Make code unconditional.
9922         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
9923         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
9924         <kernel-features.h>.
9925         (fchmodat) [__NR_fchmodat]: Make code unconditional.
9926         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9927         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
9928         <kernel-features.h>.
9929         (fchownat) [__NR_fchownat]: Make code unconditional.
9930         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
9931         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
9932         <kernel-features.h>.
9933         (futimesat) [__NR_futimesat]: Make code unconditional.
9934         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
9935         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9936         <kernel-features.h>.
9937         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9938         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9939         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9940         <kernel-features.h>.
9941         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
9942         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9943         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
9944         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9945         <kernel-features.h>.
9946         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
9947         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9948         * sysdeps/unix/sysv/linux/linkat.c: Do not include
9949         <kernel-features.h>.
9950         (linkat) [__NR_linkat]: Make code unconditional.
9951         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9952         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
9953         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
9954         <kernel-features.h>.
9955         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
9956         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9957         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
9958         <kernel-features.h>.
9959         (mkdirat) [__NR_mkdirat]: Make code unconditional.
9960         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
9961         * sysdeps/unix/sysv/linux/openat.c: Do not include
9962         <kernel-features.h>.
9963         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
9964         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
9965         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
9966         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
9967         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
9968         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
9969         <kernel-features.h>.
9970         (readlinkat) [__NR_readlinkat]: Make code unconditional.
9971         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
9972         result of INLINE_SYSCALL directly, not via int variable.
9973         * sysdeps/unix/sysv/linux/renameat.c: Do not include
9974         <kernel-features.h>.
9975         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
9976         (renameat) [__NR_renameat]: Make code unconditional.
9977         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
9978         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
9979         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
9980         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
9981         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
9982         (__ASSUME_ATFCTS): Do not undefine and redefine.
9983         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
9984         <kernel-features.h>.
9985         (symlinkat) [__NR_symlinkat]: Make code unconditional.
9986         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9987         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
9988         <kernel-features.h>.
9989         (unlinkat) [__NR_unlinkat]: Make code unconditional.
9990         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9991         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
9992         (__ASSUME_ATFCTS): Do not undefine and redefine.
9993         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9994         <kernel-features.h>.
9995         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9996         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9997         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
9998         <kernel-features.h>.
9999         (__xmknodat) [__NR_mknodat]: Make code unconditional.
10000         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10002 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
10004         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10006 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
10008         [BZ #17069]
10009         * posix/regcomp.c (parse_reg_exp): Deallocate partially
10010         constructed tree before returning error.
10011         * posix/bug-regexp36.c: Expand test case.
10013 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10015         [BZ #6803]
10016         * math/libm-test.inc (scalbln_test_date):
10017         Add errno expectations.
10018         * math/w_scalblnf.c: New File.
10019         Add wrapper which checks for setting errno to ERANGE.
10020         Add weak_alias for corresponding scalbln function.
10021         * math/w_scalbln.c: Likewise.
10022         * math/w_scalblnl.c: Likewise.
10023         * math/Makefile (libm-calls): Add w_scalbln.
10024         * sysdeps/ieee754/flt-32/s_scalblnf.c:
10025         Remove weak_alias for corresponding scalbln function.
10026         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10027         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10028         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10029         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10030         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10031         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10032         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10033         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10034         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10035         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10036         Remove long_double_symbol for scalblnl function in libm, libc.
10037         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10038         Add wrapper which checks for setting errno to ERANGE.
10039         Add long_double_symbol for scalblnl function in libm, libc.
10040         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10041         Remove long_double_symbol for scalblnl in libm.
10042         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10043         Add wrapper which checks for setting errno to ERANGE.
10044         Add long_double_symbol for scalblnl function in libm.
10045         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10046         Do not use wrapper because of own implementation.
10048 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
10050         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10051         3 bytes for __pad1 for x32.
10052         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10054 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
10055             H.J. Lu  <hongjiu.lu@intel.com>
10057         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10058         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10059         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10060         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10061         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10063 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
10065         [BZ #17069]
10066         * posix/regcomp.c (parse_expression): Deallocate partially
10067         constructed tree before returning error.
10068         * posix/Makefile.c (tests): Add bug-regex36.
10069         (generated): Add bug-regex36.mtrace.
10070         (tests-special): Add $(objpfx)bug-regex36-mem.out
10071         (bug-regex36-ENV): New variable.
10072         ($(objpfx)bug-regex36-mem.out): New rule.
10073         * posix/bug-regex36.c: New file.
10075 2014-06-19  Will Newton  <will.newton@linaro.org>
10077         * malloc/malloc.c (systrim): If extra is zero then return
10078         early.
10080 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10082         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10084 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
10086         * sysdeps/aarch64/strchr.S: New file.
10088 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
10090         [BZ #17022]
10091         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10092         from arguments -2 or below.
10093         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10094         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10096 2014-06-18  Andreas Schwab  <schwab@suse.de>
10098         [BZ #17062]
10099         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10100         of a bracket expr not to run off the end of the string.
10101         * posix/Makefile (tests): Add tst-fnmatch3.
10102         * posix/tst-fnmatch3.c: New file.
10104 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
10106         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10107         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10108         [$(cross-compiling) = no]: Likewise.
10109         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10110         [$(cross-compiling) = no]: Likewise.
10112 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10114         [BZ #17031]
10115         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10116         double, adjusted for any remainder from the high double.
10117         * math/libm-test.inc (nearbyint): Add tests.
10118         (rint): Likewise.
10120 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10122         * nptl/sysdeps/powerpc/Makefile: Moved ...
10123         * sysdeps/powerpc/nptl/Makefile: ... here.
10124         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10125         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10126         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10127         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10128         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10129         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10130         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10131         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10132         * nptl/sysdeps/powerpc/tls.h: Moved ...
10133         * sysdeps/powerpc/nptl/tls.h: ... here.
10135 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
10137         [BZ #16681]
10138         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10139         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10140         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10141         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10142         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10143         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10144         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10145         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10146         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10148 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
10150         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10152 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
10154         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10155         defined operator.
10157         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10158         $TIMEOUTFACTOR.
10160 2014-06-16  Florian Weimer  <fweimer@redhat.com>
10162         [BZ #17058]
10163         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10164         non-executed part of the test.
10166 2014-06-16  Andreas Schwab  <schwab@suse.de>
10168         * string/bits/string2.h (strdup, strndup): Update feature guard.
10170 2014-06-14  David S. Miller  <davem@davemloft.net>
10172         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10174 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
10176         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10177         that was previously under [RESET_PID].
10178         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10180         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10181         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10182         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10183         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10184         (__libc_vfork): New strong alias.
10185         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10187 2014-06-14 Andi Kleen  <ak@linux.intel.com>
10189         * sysdeps/generic/elide.h: New file.
10191 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10193         * Makefile (installed-headers): Adjust path of pthread.h header.
10195 2014-06-13  Roland McGrath  <roland@hack.frob.com>
10197         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10198         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10199         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10200         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10202         * nptl/sysdeps/s390/Makefile: Moved ...
10203         * sysdeps/s390/nptl/Makefile: ... here.
10204         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10205         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10206         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10207         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10208         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10209         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10210         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10211         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10212         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10213         * sysdeps/s390/nptl/pthreaddef.h: ... here.
10214         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10215         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10216         * nptl/sysdeps/s390/tls.h: Moved ...
10217         * sysdeps/s390/nptl/tls.h: ... here.
10219         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10220         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10222 2014-06-13  David S. Miller  <davem@davemloft.net>
10224         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10225         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10226         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10227         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10228         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10229         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10230         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10231         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10232         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10233         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10234         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10235         Remove RESET_PID cpp guards.
10236         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10237         Remove RESET_PID cpp guards.
10238         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10240 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
10242         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10243         __sp to uintptr_t.
10245 2014-06-13  Andi Kleen  <ak@linux.intel.com>
10247         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10248         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10249         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10250         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10251         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10252         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10253         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10254         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10255         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10256         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10257         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10258         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10259         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10260         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10261         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10262         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10263         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10264         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10265         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10266         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
10268         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
10269         (pthread_rwlock_rdlock): Add elision.
10270         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10271         (pthread_rwlock_wrlock): Add elision.
10272         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10273         (pthread_rwlock_trywrlock): Add elision.
10274         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10275         (pthread_rwlock_tryrdlock): Add elision.
10276         * nptl/pthread_rwlock_unlock.c: Include elide.h.
10277         (pthread_rwlock_tryrdlock): Add elision unlock.
10278         * nptl/sysdeps/pthread/pthread.h:
10279         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10280         (PTHREAD_RWLOCK_INITIALIZER,
10281         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10282         Handle new elision field.
10283         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10284         * sysdeps/arm/nptl/bits/pthreadtypes.h
10285         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10286         * sysdeps/sh/nptl/bits/pthreadtypes.h
10287         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10288         * sysdeps/tile/nptl/bits/pthreadtypes.h
10289         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10290         * sysdeps/a/nptl/bits/pthreadtypes.h
10291         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10292         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10293         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10294         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10295         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10296         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10297         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10298         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10299         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10300         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10301         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10302         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10303         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10304         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10305         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10306         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10307         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10308         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10309         (elision_init): Set try_xbegin to zero when no RTM.
10310         * sysdeps/x86/nptl/bits/pthreadtypes.h
10311         (pthread_rwlock_t): Change __pad1 to __rwelision.
10312         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10314 2014-06-13  Andi Kleen  <ak@linux.intel.com>
10316         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10317         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10318         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10319         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10321 2014-06-13  Meador Inge  <meadori@codesourcery.com>
10323         [BZ #16996]
10324         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
10325         that the cached result has been set before returning it.
10327 2014-06-12  Roland McGrath  <roland@hack.frob.com>
10329         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10330         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10331         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10332         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10333         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10334         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10336         * nptl/sysdeps/sparc/Makefile: Moved ...
10337         * sysdeps/sparc/nptl/Makefile: ... here.
10338         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10339         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10340         * nptl/sysdeps/sparc/tls.h: Moved ...
10341         * sysdeps/sparc/nptl/tls.h: ... here.
10342         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10343         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10344         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10345         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10346         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10347         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10348         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10349         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10350         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10351         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10352         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10353         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10354         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10355         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10356         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10357         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10358         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10359         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10360         Update #include.
10361         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10362         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10363         Update #include.
10364         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10365         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10366         Update #include.
10367         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10368         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10369         Update #include.
10371         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10373         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10374         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10376         * sysdeps/pthread/posix-timer.h: Include <list.h>.
10377         (struct list_links): Type removed.
10378         (struct thread_node, struct timer_node): Replace struct list_links
10379         with struct list_head.
10380         (list_unlink_ip): Likewise.
10381         * sysdeps/pthread/timer_routines.c
10382         (timer_free_list, thread_free_list, thread_active_list): Likewise.
10383         (list_append, list_insbefore): Likewise.
10384         (list_init): Function removed.
10385         (thread_init, init_module): Use INIT_LIST_HEAD instead.
10386         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10387         * sysdeps/pthread/Makefile: ... here, new file.
10389         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10390         * sysdeps/nptl/Implies: ... here.
10391         * sysdeps/unix/sysv/linux/Implies: Add nptl.
10392         * nptl/sysdeps/pthread/list.h: Moved ...
10393         * include/list.h: ... here.
10394         * nptl/sysdeps/pthread/createthread.c: Moved ...
10395         * nptl/createthread.c: ... here.
10396         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10397         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10398         * nptl/pt-longjmp.c: ... here.
10399         * nptl/sysdeps/pthread/Makefile: Moved ...
10400         * sysdeps/nptl/Makefile: ... here.
10401         * nptl/sysdeps/pthread/Subdirs: Moved ...
10402         * sysdeps/nptl/Subdirs: ... here.
10403         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10404         * sysdeps/nptl/aio_misc.h: ... here.
10405         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10406         * sysdeps/nptl/bits/libc-lock.h: ... here.
10407         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10408         * sysdeps/nptl/bits/libc-lockP.h: ... here.
10409         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10410         * sysdeps/nptl/bits/stdio-lock.h: ... here.
10411         * nptl/sysdeps/pthread/configure: Moved ...
10412         * sysdeps/nptl/configure: ... here.
10413         * nptl/sysdeps/pthread/configure.ac: Moved ...
10414         * sysdeps/nptl/configure.ac: ... here.
10415         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10416         * sysdeps/nptl/gai_misc.h: ... here.
10417         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10418         * sysdeps/nptl/librt-cancellation.c: ... here.
10419         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10420         * sysdeps/nptl/malloc-machine.h: ... here.
10421         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10422         * sysdeps/nptl/pthread-functions.h: ... here.
10423         * nptl/sysdeps/pthread/pthread.h: Moved ...
10424         * sysdeps/nptl/pthread.h: ... here.
10425         * nptl/sysdeps/pthread/setxid.h: Moved ...
10426         * sysdeps/nptl/setxid.h: ... here.
10427         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10428         * sysdeps/nptl/sigfillset.c: ... here.
10429         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10430         * sysdeps/nptl/tcb-offsets.h: ... here.
10431         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10432         * sysdeps/nptl/tst-mqueue8x.c: ... here.
10433         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10434         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10435         * nptl/sysdeps/pthread/allocalim.h: Moved ...
10436         * sysdeps/pthread/allocalim.h: ... here.
10437         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10438         * sysdeps/pthread/bits/sigthread.h: ... here.
10439         * nptl/sysdeps/pthread/flockfile.c: Moved ...
10440         * sysdeps/pthread/flockfile.c: ... here.
10441         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10442         * sysdeps/pthread/ftrylockfile.c: ... here.
10443         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10444         * sysdeps/pthread/funlockfile.c: ... here.
10445         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10446         * sysdeps/pthread/posix-timer.h: ... here.
10447         * nptl/sysdeps/pthread/timer_create.c: Moved ...
10448         * sysdeps/pthread/timer_create.c: ... here.
10449         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10450         * sysdeps/pthread/timer_delete.c: ... here.
10451         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10452         * sysdeps/pthread/timer_getoverr.c: ... here.
10453         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10454         * sysdeps/pthread/timer_gettime.c: ... here.
10455         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10456         * sysdeps/pthread/timer_routines.c: ... here.
10457         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10458         * sysdeps/pthread/timer_settime.c: ... here.
10459         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10460         * sysdeps/pthread/tst-timer.c: ... here.
10461         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10462         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10464         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10465         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10467         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10468         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10469         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10470         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10471         Update #include target.
10472         * nptl/sysdeps/i386/i686/Makefile: Moved ...
10473         * sysdeps/i386/i686/nptl/Makefile: ... here.
10474         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10475         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10476         Update #include target.
10477         * nptl/sysdeps/i386/i686/tls.h: Moved ...
10478         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
10479         * nptl/sysdeps/i386/Makefile: Moved ...
10480         * sysdeps/i386/nptl/Makefile: ... here.
10481         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10482         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10483         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10484         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10485         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10486         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10487         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10488         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10489         * sysdeps/i386/nptl/pthreaddef.h: ... here.
10490         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10491         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10492         * nptl/sysdeps/i386/tls.h: Moved ...
10493         * sysdeps/i386/nptl/tls.h: ... here.
10495         * sysdeps/sh/Makefile [$(subdir) = csu]
10496         (gen-as-const-headers): Add tcb-offsets.sym.
10497         * nptl/sysdeps/sh/Makefile: File removed.
10498         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10499         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10500         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10501         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10502         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10503         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10504         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10505         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10506         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10507         * sysdeps/sh/nptl/pthreaddef.h: ... here.
10508         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10509         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10510         * nptl/sysdeps/sh/tls.h: Moved ...
10511         * sysdeps/sh/nptl/tls.h: ... here.
10512         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10513         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10514         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10515         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10516         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10517         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10518         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10519         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10520         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10521         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10522         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10523         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10524         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10525         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10526         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10527         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10528         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10529         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10530         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10531         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10532         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10533         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10534         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10535         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10536         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10537         Moved ...
10538         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10539         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10540         Moved ...
10541         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10542         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10543         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10544         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10545         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10546         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10547         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10548         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10549         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10550         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10551         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10552         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10553         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10554         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10555         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10556         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10557         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10558         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10559         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10561 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10563         * posix/spawn_faction_addopen.c: Include string.h.
10565 2014-06-11  Roland McGrath  <roland@hack.frob.com>
10567         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10568         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10569         * nptl/sysdeps/x86_64/Makefile: Moved ...
10570         * sysdeps/x86_64/nptl/Makefile: ... here.
10571         * nptl/sysdeps/x86_64/configure: Moved ...
10572         * sysdeps/x86_64/nptl/configure: ... here.
10573         * nptl/sysdeps/x86_64/configure.ac: Moved ...
10574         * sysdeps/x86_64/nptl/configure.ac: ... here.
10575         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10576         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10577         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10578         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10579         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10580         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10581         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10582         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10583         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10584         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10585         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10586         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10587         * nptl/sysdeps/x86_64/tls.h: Moved ...
10588         * sysdeps/x86_64/nptl/tls.h: ... here.
10589         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10590         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10591         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10592         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10594         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10596 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10598         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10600 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
10602         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10603         type.
10604         [POSIX] (off_t): Likewise.
10605         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10606         [POSIX] (S_ISBLK): Require macro.
10607         [POSIX] (S_ISCHR): Likewise.
10608         [POSIX] (S_ISDIR): Likewise.
10609         [POSIX] (S_ISFIFO): Likewise.
10610         [POSIX] (S_ISREG): Likewise.
10611         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10612         optional-macro.
10613         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10614         type.
10615         [POSIX] (time_t): Likewise.
10616         [POSIX] (timer_t): Likewise.
10618 2014-06-11  Florian Weimer  <fweimer@redhat.com>
10620         [BZ #17048]
10621         * posix/spawn_int.h (struct __spawn_action): Make the path string
10622         non-const to support deallocation.
10623         * posix/spawn_faction_addopen.c
10624         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10625         * posix/spawn_faction_destroy.c
10626         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
10627         path in all spawn_do_open actions.
10628         * posix/tst-spawn.c (do_test): Exercise the copy operation in
10629         posix_spawn_file_actions_addopen.
10631 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
10633         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10634         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10635         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10636         conditional code always true.
10637         (__libc_vfork): New alias.
10639 2014-06-11  Roland McGrath  <roland@hack.frob.com>
10641         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10642         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10644         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10646         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10647         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10649         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10650         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10652         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10653         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10655 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10657         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10658         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10659         multiarch strcmp for PPC64.
10660         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10661         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10662         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10663         multiarch optimizations.
10664         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10665         (__libc_ifunc_impl_list): Likewise.
10667 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10669         * benchtests/scripts/validate_benchout.py: New script.
10670         * benchtests/Makefile (bench-func): Call it.
10671         * benchtests/scripts/benchout.schema.json: New file.
10673 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
10675         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10676         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10677         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10678         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10679         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10680         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10681         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10682         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10683         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10684         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10685         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10686         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10687         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10688         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10689         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10690         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10691         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
10692         Moved ...
10693         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
10694         ... here.
10695         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
10696         Moved ...
10697         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
10699         Moved ...
10700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
10701         ... here.
10702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
10703         Moved ...
10704         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
10705         ... here.
10706         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
10707         Moved ...
10708         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
10710         Moved ...
10711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
10712         ... here.
10713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
10714         Moved ...
10715         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
10716         ... here.
10717         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
10718         Moved ...
10719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
10721         Moved ...
10722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
10723         ... here.
10724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
10725         Moved ...
10726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
10727         ... here.
10728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
10729         Moved ...
10730         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
10731         ... here.
10732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
10733         Moved ...
10734         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
10735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
10736         Moved ...
10737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
10738         ... here.
10739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
10740         Moved ...
10741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
10742         ... here.
10743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
10744         Moved ...
10745         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
10746         ... here.
10747         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
10748         Moved ...
10749         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
10750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
10751         Moved ...
10752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
10753         ... here.
10754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
10755         Moved ...
10756         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
10757         ... here.
10758         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
10759         Moved ...
10760         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
10761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
10762         Moved ...
10763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
10764         ... here.
10765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
10766         Moved ...
10767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
10768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
10769         Moved ...
10770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
10771         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
10772         Moved ...
10773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
10774         ... here.
10775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
10776         Moved ...
10777         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
10778         ... here.
10779         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
10780         Moved ...
10781         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
10782         ... here.
10783         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
10784         Moved ...
10785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
10786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
10787         Moved ...
10788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
10789         ... here.
10790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
10791         Moved ...
10792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
10793         ... here.
10794         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
10795         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
10796         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
10797         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
10798         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
10799         Moved ...
10800         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
10801         ... here.
10802         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
10803         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
10804         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
10805         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
10806         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
10807         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
10808         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
10809         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
10810         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
10811         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
10812         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
10813         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
10814         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
10815         Moved ...
10816         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
10817         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
10818         Moved ...
10819         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
10820         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
10821         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
10822         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
10823         Moved ...
10824         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
10825         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
10826         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
10827         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
10828         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
10829         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
10830         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
10832 2014-06-10  Wilco  <wdijkstr@arm.com>
10834         * math/test-fenv-return.c: New file.
10835         * math/Makefile: Add new test test-fenv-return.
10837 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
10839         [BZ #17042]
10840         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
10841         when x - 1 is zero.
10842         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
10843         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
10844         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
10845         0.0L for an argument of 1.0L.
10846         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10847         Likewise.
10848         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
10849         value when x - 1 is zero.
10850         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
10851         * sysdeps/i386/fpu/libm-test-ulps: Update.
10852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10854 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
10856         [BZ #15119]
10857         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
10859 2014-06-09  Roland McGrath  <roland@hack.frob.com>
10861         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
10862         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
10864 2014-06-09  Roland McGrath  <roland@hack.frob.com>
10866         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10867         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
10869         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10870         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
10872         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10873         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
10875         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10876         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
10878         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
10879         if not already defined.
10880         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
10881         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
10882         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
10883         (TLS_INIT_TP): Use it.
10884         (TLS_DEFINE_INIT_TP): New macro.
10885         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
10887 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
10889         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
10890         constant.
10891         [POSIX] (IXANY): Likewise.
10892         [POSIX] (OLCUC): Likewise.
10893         [POSIX || POSIX2008] (CBAUD): Do not allow.
10894         [POSIX || POSIX2008] (DEFECHO): Likewise.
10895         [POSIX || POSIX2008] (ECHOCTL): Likewise.
10896         [POSIX || POSIX2008] (ECHOKE): Likewise.
10897         [POSIX || POSIX2008] (ECHOPRT): Likewise.
10898         [POSIX || POSIX2008] (EXTA): Likewise.
10899         [POSIX || POSIX2008] (EXTB): Likewise.
10900         [POSIX || POSIX2008] (FLUSHO): Likewise.
10901         [POSIX || POSIX2008] (LOBLK): Likewise.
10902         [POSIX || POSIX2008] (PENDIN): Likewise.
10903         [POSIX || POSIX2008] (SWTCH): Likewise.
10904         [POSIX || POSIX2008] (VDISCARD): Likewise.
10905         [POSIX || POSIX2008] (VDSUSP): Likewise.
10906         [POSIX || POSIX2008] (VLNEXT): Likewise.
10907         [POSIX || POSIX2008] (VREPRINT): Likewise.
10908         [POSIX || POSIX2008] (VSTATUS): Likewise.
10909         [POSIX || POSIX2008] (VWERASE): Likewise.
10910         (B*): Change to B[0123456789]*.
10911         * conform/data/time.h-data [POSIX || UNIX98]
10912         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
10913         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10914         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
10915         [POSIX] (tm_*): Do not allow.
10917 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
10919         * Makefile (install): Don't set LANGUAGE.
10920         * Makefile.in (install): Likewise.
10921         * assert/Makefile (test-assert-ENV): Remove variable.
10922         (test-assert-perr-ENV): Likewise.
10923         * elf/Makefile (neededtest4-ENV): Likewise.
10924         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10925         [$(cross-compiling) = no]: Don't set LANGUAGE.
10926         * io/ftwtest-sh (LANG): Remove variable.
10927         * libio/Makefile (tst-widetext-ENV): Likewise.
10928         * manual/install.texi (Running make install): Don't refer to
10929         environment settings for make install.
10930         * INSTALL: Regenerated.
10931         * nptl/tst-tls6.sh: Don't set LANG.
10932         * posix/globtest.sh (LANG): Remove variable.
10933         * string/Makefile (tester-ENV): Likewise.
10934         (inl-tester-ENV): Likewise.
10935         (noinl-tester-ENV): Likewise.
10936         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10937         [$(cross-compiling) = no]: Don't set LANGUAGE.
10938         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
10939         without explicit environment settings.
10941 2014-06-06  Roland McGrath  <roland@hack.frob.com>
10943         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
10944         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
10945         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
10946         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
10948 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
10950         * crypt/crypt-private.h [DOS]: Add some includes taken from the
10951         other files in the crypt directory.
10952         * crypt/crypt.c: Remove duplicate includes.
10953         * crypt/crypt-entry.c: Likewise.
10954         * crypt/crypt_util.c: Likewise.
10956 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
10958         * Makeconfig (run-program-env): New variable.
10959         (run-program-prefix-before-env): Likewise.
10960         (run-program-prefix-after-env): Likewise.
10961         (run-program-prefix): Define in terms of new variables.
10962         (built-program-cmd-before-env): New variable.
10963         (built-program-cmd-after-env): Likewise.
10964         (built-program-cmd): Define in terms of new variables.
10965         (test-program-prefix-before-env): New variable.
10966         (test-program-prefix-after-env): Likewise.
10967         (test-program-prefix): Define in terms of new variables.
10968         (test-program-cmd-before-env): New variable.
10969         (test-program-cmd-after-env): Likewise.
10970         (test-program-cmd): Define in terms of new variables.
10971         * Rules (make-test-out): Use $(run-program-env).
10972         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
10973         (help): Do not mention environment variables.  Mention
10974         --timeoutfactor option.
10975         (timeoutfactor): New variable.
10976         (blacklist_exports): Remove function.
10977         (exports): Remove variable.
10978         (command): Do not include ${exports}.
10979         * manual/install.texi (Configuring and compiling): Do not mention
10980         test wrappers preserving environment variables.  Mention that last
10981         assignment to a variable must take precedence.
10982         * INSTALL: Regenerated.
10983         * benchtests/Makefile (run-bench): Use $(run-program-env).
10984         * catgets/Makefile ($(objpfx)test1.cat): Use
10985         $(built-program-cmd-before-env), $(run-program-env) and
10986         $(built-program-cmd-after-env).
10987         ($(objpfx)test2.cat): Do not specify environment variables
10988         explicitly.
10989         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
10990         $(run-program-env) and $(built-program-cmd-after-env).
10991         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
10992         $(run-program-env) and $(test-program-cmd-after-env).
10993         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
10994         explicitly.
10995         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
10996         run_program_env and test_program_cmd_after_env arguments.
10997         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
10998         * elf/tst-pathopt.sh: Use run_program_env argument.
10999         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11000         $(test-wrapper-env) and $(run-program-env).
11001         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11002         run_program_env arguments.
11003         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11004         * intl/Makefile ($(objpfx)tst-gettext.out): Use
11005         $(test-program-prefix-before-env), $(run-program-env) and
11006         $(test-program-prefix-after-env).
11007         ($(objpfx)tst-gettext2.out): Likewise.
11008         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11009         run_program_env and test_program_prefix_after_env arguments.
11010         * intl/tst-gettext2.sh: Likewise.
11011         * intl/tst-gettext4.sh: Do not set environment variables
11012         explicitly.
11013         * intl/tst-gettext6.sh: Likewise.
11014         * intl/tst-translit.sh: Likewise.
11015         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11016         $(test-program-prefix-before-env), $(run-program-env) and
11017         $(test-program-prefix-after-env).
11018         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11019         run_program_env and test_program_prefix_after_env arguments.
11020         * math/Makefile (run-regen-ulps): Use $(run-program-env).
11021         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11022         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
11023         explicitly with each use of ${test_wrapper_env}.
11024         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11025         $(test-program-prefix-before-env), $(run-program-env) and
11026         $(test-program-prefix-after-env).
11027         * posix/tst-getconf.sh: Do not set environment variables
11028         explicitly.
11029         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11030         run_program_env and test_program_prefix_after_env arguments.
11031         * stdio-common/tst-printf.sh: Do not set environment variables
11032         explicitly.
11033         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11034         $(test-program-prefix-before-env), $(run-program-env) and
11035         $(test-program-prefix-after-env).
11036         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11037         run_program_env and test_program_prefix_after_env arguments.
11038         Split $test calls into $test_pre and $test.
11039         * timezone/Makefile (build-testdata): Use
11040         $(built-program-cmd-before-env), $(run-program-env) and
11041         $(built-program-cmd-after-env).
11043 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11045         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11046         strlen for non SHARED builds.
11048 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11050         * nptl/allocatestack.c (check_list): Inlined function...
11051         (__reclaim_stacks): ... here.
11053 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
11055         [BZ #15698]
11056         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11057         memory overrun.
11059 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
11061         * Rules (make-test-out): Include
11062         LOCPATH=$(common-objpfx)localedata in default environment.
11063         * debug/Makefile (tst-chk1-ENV): Remove variable.
11064         (tst-chk2-ENV): Likewise.
11065         (tst-chk3-ENV): Likewise.
11066         (tst-chk4-ENV): Likewise.
11067         (tst-chk5-ENV): Likewise.
11068         (tst-chk6-ENV): Likewise.
11069         (tst-lfschk1-ENV): Likewise.
11070         (tst-lfschk2-ENV): Likewise.
11071         (tst-lfschk3-ENV): Likewise.
11072         (tst-lfschk4-ENV): Likewise.
11073         (tst-lfschk5-ENV): Likewise.
11074         (tst-lfschk6-ENV): Likewise.
11075         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11076         (tst-iconv7-ENV): Likewise.
11077         * intl/Makefile (LOCPATH-ENV): Likewise.
11078         (tst-codeset-ENV): Likewise.
11079         (tst-gettext3-ENV): Likewise.
11080         (tst-gettext5-ENV): Likewise.
11081         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11082         (tst-fopenloc-ENV): Likewise.
11083         (tst-fgetws-ENV): Remove variable.
11084         (tst-ungetwc1-ENV): Likewise.
11085         (tst-ungetwc2-ENV): Likewise.
11086         (bug-ungetwc2-ENV): Likewise.
11087         (tst-swscanf-ENV): Likewise.
11088         (bug-ftell-ENV): Likewise.
11089         (tst-fgetwc-ENV): Likewise.
11090         (tst-fseek-ENV): Likewise.
11091         (tst-ftell-partial-wide-ENV): Likewise.
11092         (tst-ftell-active-handler-ENV): Likewise.
11093         (tst-ftell-append-ENV): Likewise.
11094         * posix/Makefile (tst-fnmatch-ENV): Likewise.
11095         (tst-regexloc-ENV): Likewise.
11096         (bug-regex1-ENV): Likewise.
11097         (tst-regex-ENV): Likewise.
11098         (tst-regex2-ENV): Likewise.
11099         (bug-regex5-ENV): Likewise.
11100         (bug-regex6-ENV): Likewise.
11101         (bug-regex17-ENV): Likewise.
11102         (bug-regex18-ENV): Likewise.
11103         (bug-regex19-ENV): Likewise.
11104         (bug-regex20-ENV): Likewise.
11105         (bug-regex22-ENV): Likewise.
11106         (bug-regex23-ENV): Likewise.
11107         (bug-regex25-ENV): Likewise.
11108         (bug-regex26-ENV): Likewise.
11109         (bug-regex30-ENV): Likewise.
11110         (bug-regex32-ENV): Likewise.
11111         (bug-regex33-ENV): Likewise.
11112         (bug-regex34-ENV): Likewise.
11113         (bug-regex35-ENV): Likewise.
11114         (tst-rxspencer-ENV): Likewise.
11115         (tst-rxspencer-no-utf8-ENV): Likewise.
11116         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11117         (tst-sscanf-ENV): Likewise.
11118         (tst-swprintf-ENV): Likewise.
11119         (tst-swscanf-ENV): Likewise.
11120         (test-vfprintf-ENV): Likewise.
11121         (scanf13-ENV): Likewise.
11122         (bug14-ENV): Likewise.
11123         (tst-grouping-ENV): Likewise.
11124         * stdlib/Makefile (tst-strtod-ENV): Likewise.
11125         (tst-strtod3-ENV): Likewise.
11126         (tst-strtod4-ENV): Likewise.
11127         (tst-strtod5-ENV): Likewise.
11128         (testmb2-ENV): Likewise./
11129         * string/Makefile (tst-strxfrm-ENV): Likewise.
11130         (tst-strxfrm2-ENV): Likewise.
11131         (bug-strcoll1-ENV): Likewise.
11132         (test-strcasecmp-ENV): Likewise.
11133         (test-strncasecmp-ENV): Likewise.
11134         * time/Makefile (tst-strptime-ENV): Likewise.
11135         (tst-ftime_l-ENV): Likewise.
11136         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11137         (tst-mbrtowc-ENV): Likewise.
11138         (tst-wcrtomb-ENV): Likewise.
11139         (tst-mbrtowc2-ENV): Likewise.
11140         (tst-c16c32-1-ENV): Likewise.
11141         (tst-mbsnrtowcs-ENV): Likewise.
11143 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
11145         * manual/resource.texi (How to get information about the memory
11146         subsystem?): Fix typo.
11147         Reported by Peon de la Parra Ivan <peon@keba.com>
11149 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
11151         [BZ #16882]
11152         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11153         (pthread_spin_lock): Branch out of spin loop to proper location.
11154         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11155         (pthread_spin_lock): Likewise.
11157         * nptl/tst-spin4.c: New test.
11158         * nptl/Makefile (tests): Add tst-spin4.
11160 2014-06-03  Andreas Schwab  <schwab@suse.de>
11162         [BZ #15946]
11163         * resolv/res_send.c (send_dg): Reload file descriptor after
11164         calling reopen.
11166 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
11168         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11170 2014-06-03  Richard Henderson  <rth@redhat.com>
11172         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11173         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11174         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11175         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
11176         in the SAVE_PID block.
11177         (__libc_vfork): New alias.
11178         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
11180         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11181         child in registers, not on the stack.  Remove RESET_PID conditionals.
11182         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11184 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11186         * sysdeps/aarch64/libm-test-ulps: Regenerate.
11188 2014-06-03  Wilco  <wdijkstr@arm.com>
11190         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11191         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11192         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11193         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11194         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11195         Likewise.
11197 2014-06-03  Wilco  <wdijkstr@arm.com>
11199         * sysdeps/aarch64/fpu/math_private.h
11200         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11201         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11202         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11203         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11204         Fix declarations.
11206 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11208         * crypt/crypt-private.h: Include ufc-crypt.h.
11209         (__b64_from_24bit): Declare extern.
11210         * crypt/crypt_util.c(__b64_from_24bit): New function.
11211         (b64t): New static const variable.
11212         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11213         (b64t): Remove variable.
11214         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11215         * crypt/sha256-crypt.c: Include crypt-private.h.
11216         (b64t): Remove variable.
11217         (__sha256_crypt_r): Remove b64_from_24bit and replace
11218         with __b64_from_24bit.
11219         * crypt/sha512-crypt.c: Likewise.
11221 2014-06-02  Roland McGrath  <roland@hack.frob.com>
11223         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11224         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11225         Label the code __libc_vfork rather than __vfork.
11226         [!NOT_IN_libc] (vfork): Define as weak alias.
11227         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11228         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11229         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11231 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11233         * malloc/malloc.c (malloc_info): Fix format specifier for
11234         n_mmaps.
11236 2014-06-02  Wilco  <wdijkstr@arm.com>
11238         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11239         FPCR write.
11241 2014-06-02  Wilco  <wdijkstr@arm.com>
11243         [BZ #17009]
11244         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11245         Rewrite to reduce FPCR/FPSR accesses.
11247 2014-06-01  David S. Miller  <davem@davemloft.net>
11249         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11251 2014-05-31  David S. Miller  <davem@davemloft.net>
11253         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11254         to occur in round to nearest mode when |x| >= 2.0
11256 2014-05-30  Richard Henderson  <rth@twiddle.net>
11258         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11259         (PSEUDO_RET_NOERRNO): Remove.
11260         (ret): Don't redefine.
11261         (ret_NOERRNO): Define in terms of ret.
11262         (ret_ERRVAL): Likewise.
11264         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11265         use of PSEUDO_RET; perform the error check directly.
11267 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
11269         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11270         with __int128_t.
11272 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11274         * malloc/malloc (malloc_info): Fix formatting.
11276 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11277             Roland McGrath  <roland@hack.frob.com>
11279         * malloc/malloc (malloc_info): Also print mmapped statistics.
11281 2014-05-30  Roland McGrath  <roland@hack.frob.com>
11283         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11284         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11286 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
11288         * malloc/malloc.c (malloc_info): Inline mi_arena.
11290 2014-05-29  Richard Henderson  <rth@twiddle.net>
11292         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11293         Remove comma before expanding ASM_ARGS_##nr.
11294         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11295         Make _x0 a strict output; make _x8 a strict input; adjust expansion
11296         of ASM_ARGS_##nr.
11297         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11298         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11299         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11300         (ASM_ARGS_1): Add leading comma.
11302         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11303         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11304         to __errno_location.
11305         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11306         Remove the expected plt for __errno_location.
11308         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11309         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
11310         call to __read_tp.
11312         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11313         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
11314         it and break it down.
11315         (DOCARGS_0, DOCARGS_1): Do nothing.
11316         (DOCARGS_2): Update to store into the new stack frame.
11317         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11318         (UNDOCARGS_1): Update to restore from the new stack frame.
11319         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11320         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11322         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11323         (SINGLE_THREAD_P): New parameter for result regno.
11324         (PSEUDO): Update to match; use cbz instead of beq.
11326         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11327         Use ENTRY to define the _nocancel entry point.  Share the syscall
11328         and syscall error check paths with the cancel path.
11329         (PSEUDO_END): New.
11331         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11332         whitespace; tabs before and after asm mnemonics.
11334 2014-05-29  Eric Wong  <normalperson@yhbt.net>
11336         [BZ #15132]
11337         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11338         Call fstat64 or stat64 internally, depending on arguments passed.
11339         Replace stat buffer argument with file descriptor argument.
11340         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11341         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11342         Pass fd to __internal_statvfs instead of calling fstat64.
11343         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11344         Pass fd to __internal_statvfs64 instead of calling fstat64.
11345         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11346         Pass -1 to __internal_statvfs instead of calling stat64.
11347         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11348         Pass -1 to __internal_statvfs64 instead of calling stat64.
11350 2014-05-28  Roland McGrath  <roland@hack.frob.com>
11352         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11353         that was previously under [RESET_PID].
11354         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11356         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11357         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11359 2014-05-27  Roland McGrath  <roland@hack.frob.com>
11361         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11363         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11364         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11366 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
11368         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11370 2014-05-27  Andreas Schwab  <schwab@suse.de>
11372         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11373         TLS_INIT_TP macro.
11374         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11375         * elf/rtld.c (init_tls, dl_main): Likewise.
11376         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11377         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11378         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11379         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11380         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11381         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11382         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11383         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11384         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11385         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11386         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11387         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11388         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11389         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11390         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11391         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11392         * sysdeps/generic/tls.h: Update description.
11394 2014-05-27  Will Newton  <will.newton@linaro.org>
11396         [BZ #16990]
11397         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11398         and restore r2 rather than just restoring.
11400 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11402         [BZ #16724]
11403         * libio/tst-ftell-append.c: New test case.
11404         * libio/Makefile (tests): Add test case.
11405         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11406         append mode.
11407         * libio/wfileops.c (do_ftell_wide): Likewise.
11409 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11411         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11413         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11414         ...
11415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11417         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11418         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11419         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11420         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11421         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11422         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11423         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11424         Moved ...
11425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11426         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11427         Moved ...
11428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11429         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11430         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11431         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11432         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11433         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11434         ...
11435         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11436         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11437         Moved ...
11438         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11439         here.
11440         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11441         ...
11442         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11443         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11444         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11446         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11447         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11448         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11449         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11451         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11452         merge into ...
11453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11454         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11455         ...
11456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11457         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11458         ...
11459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11460         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11461         Moved ...
11462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11463         here.
11464         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11465         Moved ...
11466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11467         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11468         Moved ...
11469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11472         conditional [RESET_PID].
11473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11474         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11475         removed.
11476         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11477         removed.
11479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11480         <tcb-offsets.h>.
11481         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11482         (__libc_vfork): New strong alias.
11483         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11484         removed.
11485         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11486         Removed.
11488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11489         <tcb-offsets.h>.
11490         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11491         (__libc_vfork): New strong alias.
11492         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11493         removed.
11494         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11495         removed.
11497 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
11499         * malloc/malloc.c (mi_arena): New function.
11500         (malloc_info): Remove nested function mi_arena. Call non-nosted
11501         function mi_arena.
11503 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11505         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11506         by insrwi.
11507         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11508         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11509         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11510         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11511         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11512         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11513         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11515 2014-05-26  Andreas Schwab  <schwab@suse.de>
11517         [BZ #16984]
11518         * locale/programs/repertoire.c (repertoire_read): Add slash
11519         between I18NPATH element and file name.
11520         * locale/programs/locfile.c (locfile_read): Likewise.
11522 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11524         * nptl/pthread_mutexattr_settype.c
11525         (__pthread_mutexattr_settype):
11526         Disable lock elision for PTHREAD_MUTEX_NORMAL.
11528 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11530         * nptl/tst-mutex5 (do_test):
11531         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11533 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11535         * benchtests/README: Document 'init' directive.
11536         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11537         BENCH_INIT.
11538         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11539         (parse_file): Recognize 'init' directive.
11541 2014-05-26  Kyle McMartin  <kyle@redhat.com>
11543         [BZ #16796]
11544         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11545         alignment of struct pthread.
11547 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11549         [BZ #16878]
11550         * nscd/netgroupcache.c (addgetnetgrentX): Look for
11551         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11552         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11553         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11555 2014-05-25  Richard Henderson  <rth@twiddle.net>
11557         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11558         (SINGLE_THREAD_P_PIC): Remove.
11559         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11560         (SINGLE_THREAD_P_PIC): Remove.
11562         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11563         branch to syscall error ...
11564         (PSEUDO): ... here.
11565         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11566         from __local_syscall_error to .Lsyscall_error.
11567         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11568         (SYSCALL_ERROR): Update label name.
11570         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11571         Do not use DOARGS/UNDOARGS.
11572         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11573         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11574         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11575         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11576         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11578         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11579         block comment.
11581         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11582         define if !NOT_IN_libc.
11583         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11584         define with non-default symbol versions.
11586 2014-05-23  Richard Henderson  <rth@twiddle.net>
11588         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11589         (vfork, __vfork): Define via compat_symbol.
11591         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11592         [!HAVE_IFUNC] (vfork_compat): Remove.
11593         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11595 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
11597         [BZ #16978]
11598         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11599         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11600         variable.
11602 2014-05-23  Richard Henderson  <rth@twiddle.net>
11604         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11605         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11606         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11607         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11609         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11610         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11611         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11612         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11613         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11614         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11615         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11616         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11617         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11618         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11619         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11620         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11621         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11622         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11623         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11624         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11625         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11626         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11627         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11628         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11629         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11630         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11631         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11632         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11633         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11634         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11635         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11636         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11637         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11638         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11639         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11640         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11641         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11642         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11643         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11644         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11645         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11646         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11647         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11648         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11649         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11650         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11651         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11652         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11653         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11654         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11655         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11656         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11657         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11658         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11659         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11660         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11661         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11662         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11663         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11664         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11666         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11667         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11668         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
11669         before exiting on error.
11670         (__libc_vfork): New strong alias.
11671         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11672         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11674         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11675         that was previously under [RESET_PID].
11676         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11678         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11680 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
11682         [BZ #16977]
11683         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11684         value when x - 1 is zero.
11685         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11686         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11687         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11688         0.0L for an argument of 1.0L.
11689         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11690         Likewise.
11691         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11692         value when x - 1 is zero.
11693         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11694         * sysdeps/i386/fpu/libm-test-ulps: Update.
11695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11697 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11699         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11700         alphasort and versionsort.
11702 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11704         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11705         macro.
11706         [copysignf]: Likewise.
11708 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11710         * crypt/md5-crypt.c: Fix formatting.
11712 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11714         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11715         (b64_from_24bit): New function.
11717 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11719         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11720         libc_hidden_builtin_def to ifunc.
11721         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11722         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11724 2014-05-21  Roland McGrath  <roland@hack.frob.com>
11726         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11727         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11729 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
11731         * nscd/Depend (linuxthreads): Remove.
11732         (nptl): Add.
11733         * resolv/Depend (linuxthreads): Remove.
11734         * rt/Depend (linuxthreads): Remove.
11736         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
11737         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
11738         $(common-objpfx)elf/.
11739         (link-libc-before-gnulib): Likewise.
11740         (elfobjdir): Remove variable.
11741         * Makefile (install): Use $(elf-objpfx) instead of
11742         $(common-objpfx)elf/.
11743         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
11744         $(elfobjdir)/.
11745         (link-libc-deps): Likewise.
11746         ($(common-objpfx)libc.so): Likewise.
11747         ($(common-objpfx)linkobj/libc.so): Likewise.
11748         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
11749         instead of $(common-objpfx)elf/.
11750         (symbolic-link-list): Likewise.
11751         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11752         [$(cross-compiling) = no]: Likewise.
11753         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
11754         $(elfobjdir)/.
11755         (static-gnulib-arch): Likewise.
11756         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11757         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
11758         $(common-objpfx)elf/.
11760 2014-05-21  Richard Henderson  <rth@redhat.com>
11762         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11763         (SINGLE_THREAD_P): Use the correct width load.  Fold
11764         into the ldr offset.
11766         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
11767         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
11769 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
11771         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
11772         (libgcc_s_resume): Use __attribute_used__.
11773         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
11774         Likewise.
11776 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11778         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
11779         optimization when used with float constants.
11781         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11783 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
11785         [BZ #16915]
11786         * locale/nl_langinfo_l.c: Make direct reference to every
11787         _nl_current_CATEGORY symbol.
11788         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
11789         (tests-static): Add tst-langinfo-static.
11790         (tests-special): Add tst-langinfo-static.out.
11791         ($(objpfx)tst-langinfo.out): Redirect output.
11792         ($(objpfx)tst-langinfo-static.out): New.
11793         * localedata/tst-langinfo.sh: Send output to stdout.
11794         * localedata/tst-langinfo-static.c: New file.
11796         [BZ #16965]
11797         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
11798         when the shift amount is modulo the limb size.
11800 2014-05-20  Richard Henderson  <rth@redhat.com>
11802         [BZ #16967]
11803         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
11804         Change type of sa_flags from unsigned int to int.
11806         [BZ #16966]
11807         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
11809         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
11811 2014-05-20  Will Newton  <will.newton@linaro.org>
11813         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11814         Test the return value of the system call in the nocancel case.
11816 2014-05-20  Will Newton  <will.newton@linaro.org>
11817             Yvan Roux  <yvan.roux@linaro.org>
11819         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
11820         #include of asm/ptrace.h.
11821         (PTRACE_GET_THREAD_AREA): Remove #undef.
11822         (PTRACE_GETHBPREGS): Likewise.
11823         (PTRACE_SETHBPREGS): Likewise.
11824         (struct user_regs_struct): New structure.
11825         (struct user_fpsimd_struct): New structure.
11826         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
11827         #include of asm/ptrace.h and second #include of sys/user.h.
11828         (PTRACE_GET_THREAD_AREA): Remove #undef.
11829         (PTRACE_GETHBPREGS): Likewise.
11830         (PTRACE_SETHBPREGS): Likewise.
11831         (ELF_NGREG): Use new struct user_regs_struct.
11832         (elf_fpregset_t): Use new struct user_fpsimd_struct.
11834 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11836         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
11837         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
11839 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
11841         [BZ #16958]
11842         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
11843         membar to avoid block loads/stores to overlap previous stores.
11845 2014-05-17  Richard Henderson  <rth@redhat.com>
11847         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
11848         Create the __##syscall_name##_nocancel entry point.
11849         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
11850         Remove; let the sysdep-cancel.h code create it.
11852 2014-05-17  David S. Miller  <davem@davemloft.net>
11854         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
11855         Protect with __USE_GNU.
11856         (TIOCSET_TEMPT): Likewise.
11857         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11858         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
11859         these are already provided in bits/ioctl-types.h
11861 2014-05-16  Roland McGrath  <roland@hack.frob.com>
11863         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
11864         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
11866         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
11867         Use wait4 regardless of [__NR_waitpid].
11869 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
11871         PR libgcc/60166
11872         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11873         (_FP_NANSIGN_Q): Set the quiet bit.
11875 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
11877         * benchtests/Makefile
11878         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
11879         not $(common-objpfx)math/libm.so.
11880         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
11881         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
11882         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
11883         $(common-objpfx)dlfcn/libdl.so.
11884         ($(objpfx)tst-audit8): Depend on $(libm), not
11885         $(common-objpfx)math/libm.so.
11886         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
11887         not $(common-objpfx)dlfcn/libdl.so.
11888         * math/Makefile
11889         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11890         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
11891         [$(build-shared) = yes].
11892         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
11893         $(common-objpfx)nptl/libpthread.so.
11894         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
11895         $(common-objpfx)math/libm.so$(libm.so-version) or
11896         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
11897         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
11898         $(common-objpfx)dlfcn/libdl.so.
11899         * setjmp/Makefile (link-libm): Remove variable.
11900         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
11901         * stdio-common/Makefile (link-libm): Remove variable.
11902         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
11903         * stdlib/Makefile (link-libm): Remove variable.
11904         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
11905         ($(objpfx)tst-strtod-round): Likewise.
11906         ($(objpfx)tst-tininess): Likewise.
11907         ($(objpfx)tst-strtod-underflow): Likewise.
11908         ($(objpfx)tst-strtod6): Likewise.
11909         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
11910         $(libdl), not $(common-objpfx)nptl/libpthread.so and
11911         $(common-objpfx)dlfcn/libdl.so.
11913 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11915         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
11916         BSD terminal modes definitions.
11918 2014-05-16  Roland McGrath  <roland@hack.frob.com>
11920         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
11921         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
11923         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
11924         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
11925         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
11926         Don't do #include_next.
11927         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
11928         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
11929         Don't do #include_next.
11930         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
11931         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
11932         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
11933         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
11935 2014-05-16  Allan McRae  <allan@archlinux.org>
11937         * po/sv.po: Update Swedish translation from translation project.
11939         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
11940         in sed expression.
11942 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
11944         [BZ #16917]
11945         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
11946         errno if the TIOCGPTN ioctl fails with an error different than
11947         EINVAL.
11948         * login/tst-ptsname.c: New file.
11949         * login/Makefile (tests): Add tst-ptsname.
11951         [BZ #16943]
11952         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
11953         and prlimit64.
11955 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11957         [BZ #16849]
11958         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
11959         herrno to return EAI_AGAIN.
11961 2014-05-14  Roland McGrath  <roland@hack.frob.com>
11963         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
11964         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
11965         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
11966         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
11967         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
11968         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
11969         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
11970         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
11971         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
11972         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
11973         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
11974         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
11975         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
11976         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
11977         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
11978         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
11979         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
11980         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
11981         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
11982         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
11983         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
11984         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
11985         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
11986         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
11987         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
11988         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
11989         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
11990         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
11991         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
11992         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
11993         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
11994         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
11995         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
11996         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
11997         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
11998         Moved ...
11999         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12000         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12001         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12002         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12003         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12004         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12005         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12006         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12007         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12008         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12009         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12010         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12011         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12012         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12013         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12014         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12015         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12016         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12017         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12018         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12019         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12020         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12021         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12022         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12023         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12024         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12025         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12026         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12027         Moved ...
12028         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12029         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12030         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12031         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12032         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12033         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12034         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12035         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12036         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12037         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12038         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12039         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12040         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12041         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12042         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12043         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12044         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12045         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12046         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12047         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12048         Moved ...
12049         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12050         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12051         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12053         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12054         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12055         (libpthread-sysdep_routines): Add elision-related stuff here instead.
12056         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12057         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12058         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12059         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12060         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12061         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12062         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12063         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12064         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12065         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12066         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12067         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12068         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12069         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12070         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12071         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12072         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12073         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12074         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12075         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12076         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12077         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12078         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12079         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12080         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12081         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12082         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12083         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12085         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12086         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12088         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12089         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12090         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12091         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12092         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12093         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12094         Moved ...
12095         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12096         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12097         Moved ...
12098         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12099         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12100         Moved ...
12101         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12102         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12103         Moved ...
12104         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12105         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12106         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12107         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12108         Moved ...
12109         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12110         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12111         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12112         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12113         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12114         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12115         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12116         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12117         Moved ...
12118         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12119         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12120         Moved ...
12121         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12122         ... here.
12123         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12124         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12125         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12126         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12127         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12128         Moved ...
12129         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12130         ... here.
12131         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12132         Moved ...
12133         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12134         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12135         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12136         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12137         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12138         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12139         Moved ...
12140         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12141         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12142         Moved ...
12143         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12144         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12145         Moved ...
12146         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12147         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12148         Moved ...
12149         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12150         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12151         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12152         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12153         Moved ...
12154         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12155         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12156         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12157         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12158         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12159         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12160         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12161         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12162         Moved ...
12163         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12164         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12165         Moved ...
12166         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12167         ... here.
12168         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12169         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12170         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12171         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12172         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12173         Moved ...
12174         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12175         ... here.
12176         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12177         Moved ...
12178         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12179         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12180         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12181         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12182         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12183         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12184         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12185         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12186         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12187         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12188         Moved ...
12189         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12190         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12191         Moved ...
12192         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12193         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12194         Moved ...
12195         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12196         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12197         Moved ...
12198         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12199         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12200         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12201         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12202         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12203         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12204         Moved ...
12205         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12206         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12207         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12208         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12209         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12210         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12211         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12212         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12213         Moved ...
12214         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12215         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12216         Moved ...
12217         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12218         ... here.
12219         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12220         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12221         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12222         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12223         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12224         Moved ...
12225         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12226         ... here.
12227         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12228         Moved ...
12229         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12230         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12231         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12232         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12233         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12234         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12235         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12236         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12237         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12238         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12239         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12241         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12242         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12244         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12245         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12247         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12248         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12249         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12250         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12251         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12252         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12253         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12254         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12255         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12256         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12257         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12258         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12259         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12260         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12261         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12262         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12263         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12264         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12265         Moved ...
12266         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12267         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12268         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12269         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12270         Moved ...
12271         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12272         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12273         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12274         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12275         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12276         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12277         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12278         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12279         Moved ...
12280         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12281         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12282         Moved ...
12283         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12284         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12285         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12286         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12287         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12288         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12289         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12290         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12291         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12292         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12293         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12294         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12295         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12296         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12297         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12298         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12299         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12301         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12302         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12303         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12304         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12305         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12307         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12308         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12309         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12310         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12311         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12312         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12313         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12314         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12315         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12316         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12318         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12319         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12321         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12322         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
12323         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12324         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12325         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12326         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12327         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12328         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12329         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12330         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12331         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12332         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12333         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12334         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12335         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12336         Update #include.
12337         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12338         Likewise.
12339         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12340         Likewise.
12341         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12342         Likewise.
12343         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12344         Likewise.
12345         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12346         Likewise.
12347         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12348         Likewise.
12349         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12350         Likewise.
12351         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12352         Likewise.
12353         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12354         Likewise.
12355         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12356         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12357         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12358         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12359         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
12360         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12361         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12362         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12363         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12364         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12365         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12366         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12367         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12368         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
12369         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
12371         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12372         that was previously under [RESET_PID].
12373         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12374         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12375         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12377         * sysdeps/i386/nptl/Implies: New file.
12378         * sysdeps/x86_64/nptl/Implies: New file.
12379         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12380         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12381         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12382         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12384         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12385         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12386         (__libc_vfork): New strong alias.
12387         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12388         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12390         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12391         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12392         (__libc_vfork): New strong alias.
12393         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12394         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12396         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12397         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12398         (__libc_vfork): New strong alias.
12399         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12400         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12401         * nptl/pt-vfork.c: New file.
12402         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12403         (libpthread: GLIBC_2.20): New version set (empty).
12405 2014-05-14  Will Newton  <will.newton@linaro.org>
12407         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12408         rather than #if.
12410 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
12412         [BZ #16564]
12413         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12414         arguments with exponent 65 or above.
12415         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12416         arguments 0x1p113L or above.
12417         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12418         to arguments 0x1p107L or above.
12419         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12420         positive arguments with exponent 65 or above.
12421         * math/auto-libm-test-in: Add more tests of log1p.
12422         * math/auto-libm-test-out: Regenerated.
12424         [BZ #16928]
12425         * math/s_cacos.c (__cacos): Ensure zero real part of result from
12426         non-finite arguments is +0.
12427         * math/s_cacosf.c (__cacosf): Likewise.
12428         * math/s_cacosl.c (__cacosl): Likewise.
12429         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12430         * sysdeps/i386/fpu/libm-test-ulps: Update.
12431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12433         [BZ #16927]
12434         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12435         value.
12436         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12437         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12438         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12439         for explicit high bit of mantissa when testing for argument equal
12440         to 1.
12441         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12442         * sysdeps/i386/fpu/libm-test-ulps: Update.
12443         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12445         [BZ #16516]
12446         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12447         (__erf): Scale by 16 instead of 8 in potentially underflowing
12448         case.  Ensure exception if result actually underflows.
12449         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12450         (__erff): Scale by 16 instead of 8 in potentially underflowing
12451         case.  Ensure exception if result actually underflows.
12452         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12453         (efx8): Remove variable.
12454         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12455         case.  Ensure exception if result actually underflows.
12456         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12457         (efx8): Remove variable.
12458         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12459         case.  Ensure exception if result actually underflows.
12460         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12461         (efx8): Remove variable.
12462         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12463         case.  Ensure exception if result actually underflows.
12464         * math/auto-libm-test-in: Add more tests of erf.
12465         * math/auto-libm-test-out: Regenerated.
12467 2014-05-14  Andreas Schwab  <schwab@suse.de>
12469         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12470         Remove code conditionalized on USE___THREAD.
12472         * config.h.in (HAVE_PT_CHOWN): Define as 0.
12473         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12474         not definedness.
12476 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
12478         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12479         Define unconditionally.
12480         (__ASSUME_O_CLOEXEC): Likewise.
12481         (__ASSUME_SOCK_CLOEXEC): Likewise.
12482         (__ASSUME_IN_NONBLOCK): Likewise.
12483         (__ASSUME_PIPE2): Likewise.
12484         (__ASSUME_EVENTFD2): Likewise.
12485         (__ASSUME_SIGNALFD4): Likewise.
12486         (__ASSUME_DUP3): Likewise.
12487         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12488         (__ASSUME_DUP3): Do not define.
12489         (__ASSUME_EVENTFD2): Likewise.
12490         (__ASSUME_IN_NONBLOCK): Likewise.
12491         (__ASSUME_O_CLOEXEC): Likewise.
12492         (__ASSUME_PIPE2): Likewise.
12493         (__ASSUME_SIGNALFD4): Likewise.
12494         (__ASSUME_SOCK_CLOEXEC): Likewise.
12495         (__ASSUME_UTIMES): Undefine.
12496         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12497         (__ASSUME_UTIMES): Do not define.
12498         (__ASSUME_O_CLOEXEC): Likewise.
12499         (__ASSUME_SOCK_CLOEXEC): Likewise.
12500         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12501         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12502         0x020621].
12503         (__ASSUME_PIPE2): Likewise.
12504         (__ASSUME_EVENTFD2): Likewise.
12505         (__ASSUME_SIGNALFD4): Likewise.
12506         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12507         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12508         Do not define.
12509         (__ASSUME_EVENTFD2): Likewise.
12510         (__ASSUME_SIGNALFD4): Likewise.
12511         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12512         (__ASSUME_32BITUIDS): Likewise.
12513         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12514         (__ASSUME_IPC64): Likewise.
12515         (__ASSUME_ST_INO_64_BIT): Likewise.
12516         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12517         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12518         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12519         (__ASSUME_UTIMES): Do not define.
12520         (__ASSUME_PSELECT): Likewise.
12521         (__ASSUME_PPOLL): Likewise.
12522         (__ASSUME_O_CLOEXEC): Likewise.
12523         (__ASSUME_SOCK_CLOEXEC): Likewise.
12524         (__ASSUME_IN_NONBLOCK): Likewise.
12525         (__ASSUME_PIPE2): Likewise.
12526         (__ASSUME_EVENTFD2): Likewise.
12527         (__ASSUME_SIGNALFD4): Likewise.
12528         (__ASSUME_DUP3): Likewise.
12529         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12530         (__ASSUME_UTIMES): Likewise.
12531         (__ASSUME_O_CLOEXEC): Likewise.
12532         (__ASSUME_SOCK_CLOEXEC): Likewise.
12533         (__ASSUME_IN_NONBLOCK): Likewise.
12534         (__ASSUME_PIPE2): Likewise.
12535         (__ASSUME_EVENTFD2): Likewise.
12536         (__ASSUME_SIGNALFD4): Likewise.
12537         (__ASSUME_DUP3): Likewise.
12538         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12539         (__ASSUME_UTIMES): Likewise.
12540         (__ASSUME_O_CLOEXEC): Likewise.
12541         (__ASSUME_SOCK_CLOEXEC): Likewise.
12542         (__ASSUME_IN_NONBLOCK): Likewise.
12543         (__ASSUME_PIPE2): Likewise.
12544         (__ASSUME_EVENTFD2): Likewise.
12545         (__ASSUME_SIGNALFD4): Likewise.
12546         (__ASSUME_DUP3): Likewise.
12547         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12548         Likewise.
12549         (__ASSUME_UTIMES): Likewise.
12550         (__ASSUME_EVENTFD2): Likewise.
12551         (__ASSUME_SIGNALFD4): Likewise.
12552         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12553         (__ASSUME_O_CLOEXEC): Likewise.
12554         (__ASSUME_SOCK_CLOEXEC): Likewise.
12555         (__ASSUME_IN_NONBLOCK): Likewise.
12556         (__ASSUME_PIPE2): Likewise.
12557         (__ASSUME_EVENTFD2): Likewise.
12558         (__ASSUME_SIGNALFD4): Likewise.
12559         (__ASSUME_DUP3): Likewise.
12560         (__ASSUME_UTIMES): Undefine.
12562         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12563         feclearexcept.  Remove symbol versioning code.
12564         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
12565         symbol versioning code.
12566         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
12567         symbol versioning code.
12568         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12569         feupdateenv.  Remove symbol versioning code.
12570         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12571         fegetexceptflag.  Remove symbol versioning code.
12572         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12573         fesetexceptflag.  Remove symbol versioning code.
12574         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12575         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
12576         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12577         (__posix_fadvise64_l32): Remove prototype.
12578         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12579         code.
12581 2014-05-13  Roland McGrath  <roland@hack.frob.com>
12583         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12584         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12585         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12586         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12588 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
12590         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12591         current working directory
12593 2014-05-13  Roland McGrath  <roland@hack.frob.com>
12595         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12596         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12597         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12598         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12599         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12600         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12601         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12602         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12603         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12604         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12605         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12606         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12607         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12608         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12609         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12610         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12611         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12612         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12613         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12614         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12615         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12616         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12617         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12618         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12619         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12620         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12621         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12622         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12623         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12624         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12625         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12626         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12627         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12628         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12629         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12630         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12631         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12632         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12633         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12634         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12635         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12636         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12638         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12639         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12641         * sysdeps/unix/sysv/linux/arm/Makefile
12642         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12643         Add rt-aeabi_unwind_cpp_pr1.
12644         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12645         Add nptl-aeabi_unwind_cpp_pr1.
12646         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12647         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12648         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12649         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12650         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12651         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12653         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12654         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12655         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12656         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12658         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12659         Deconditionalize the code that was previously under [RESET_PID].
12660         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12662         * sysdeps/generic/exit-thread.h: New file.
12663         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12664         * include/unistd.h (__exit_thread): Remove declaration.
12665         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12666         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12667         * csu/libc-start.c: Include <exit-thread.h>.
12668         (LIBC_START_MAIN): Pass no argument to __exit_thread.
12669         * nptl/pthread_create.c: Include <exit-thread.h>.
12670         (start_thread): Call __exit_thread in place of __exit_thread_inline.
12671         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12672         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12673         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12674         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12675         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12676         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12677         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12678         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12679         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12680         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12681         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12682         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12683         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12684         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12685         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12686         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12688 2014-05-13  Andreas Schwab  <schwab@suse.de>
12690         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12692 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
12694         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12695         (__ASSUME_UTIMES): Do not condition on kernel version.
12696         (__ASSUME_PSELECT): Define unconditionally.
12697         (__ASSUME_PPOLL): Likewise.
12698         (__ASSUME_ATFCTS): Likewise.
12699         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12700         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12701         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12702         (__ASSUME_UTIMENSAT): Define unconditionally.
12703         (__ASSUME_PRIVATE_FUTEX): Likewise.
12704         (__ASSUME_FALLOCATE): Likewise.
12705         (__ASSUME_O_CLOEXEC): Likewise.
12706         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12707         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12708         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12709         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12710         (__ASSUME_IN_NONBLOCK): Likewise.
12711         (__ASSUME_PIPE2): Likewise.
12712         (__ASSUME_EVENTFD2): Likewise.
12713         (__ASSUME_SIGNALFD4): Likewise.
12714         (__ASSUME_DUP3): Likewise.
12715         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12716         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12717         (__ASSUME_AT_RANDOM): Likewise.
12718         (__ASSUME_PREADV): Likewise.
12719         (__ASSUME_PWRITEV): Likewise.
12720         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12721         (__ASSUME_F_GETOWN_EX): Define unconditionally.
12722         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12723         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12724         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12725         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12726         (__ASSUME_O_CLOEXEC): Define unconditionally.
12727         (__ASSUME_PSELECT): Do not undefine conditionally.
12728         (__ASSUME_PPOLL): Likewise.
12729         (__ASSUME_ATFCTS): Likewise.
12730         (__ASSUME_SET_ROBUST_LIST): Likewise.
12731         (__ASSUME_UTIMENSAT): Likewise.
12732         (__ASSUME_FDATASYNC): Define unconditionally.
12733         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12734         (__ASSUME_SIGFRAME_V2): Likewise.
12735         )__ASSUME_EVENTFD2): Likewise.
12736         (__ASSUME_SIGNALFD4): Likewise.
12737         (__ASSUME_PSELECT): Do not undefine conditionally.
12738         (__ASSUME_PPOLL): Likewise.
12739         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12740         (__ASSUME_PSELECT): Define unconditionally.
12741         (__ASSUME_PPOLL): Likewise.
12742         (__ASSUME_O_CLOEXEC): Likewise.
12743         (__ASSUME_SOCK_CLOEXEC): Likewise.
12744         (__ASSUME_IN_NONBLOCK): Likewise.
12745         (__ASSUME_PIPE2): Likewise.
12746         (__ASSUME_EVENTFD2): Likewise.
12747         (__ASSUME_SIGNALFD4): Likewise.
12748         (__ASSUME_DUP3): Likewise.
12749         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12750         (__ASSUME_O_CLOEXEC): Likewise.
12751         (__ASSUME_SOCK_CLOEXEC): Likewise.
12752         (__ASSUME_IN_NONBLOCK): Likewise.
12753         (__ASSUME_PIPE2): Likewise.
12754         (__ASSUME_EVENTFD2): Likewise.
12755         (__ASSUME_SIGNALFD4): Likewise.
12756         (__ASSUME_DUP3): Likewise.
12757         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12758         (__ASSUME_EVENTFD2): Likewise.
12759         (__ASSUME_SIGNALFD4): Likewise.
12760         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12762 2014-05-12  Andreas Schwab  <schwab@suse.de>
12764         [BZ #16932]
12765         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
12766         (_nss_nis_gethostbyname4_r): Return error if item length is larger
12767         than maximum RPC packet size.
12768         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
12769         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
12770         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
12771         (_nss_nis_getservbyport_r): Likewise.
12773 2014-05-12  Will Newton  <will.newton@linaro.org>
12775         * malloc/Makefile (tests): Add tst-mallopt.
12776         * malloc/tst-mallopt.c: New file.
12778 2014-05-09  Roland McGrath  <roland@hack.frob.com>
12780         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
12781         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
12783 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12785         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
12786         (tst-tlsmod6.so): Likewise.
12788 2014-05-09  Roland McGrath  <roland@hack.frob.com>
12790         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
12792 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
12794         [BZ #16064]
12795         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
12796         and <dl-procinfo.h>.
12797         (__fegetenv): Save SSE state in envp->__eip if supported.
12798         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
12799         envp->__eip if supported.
12800         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
12801         and <dl-procinfo.h>.
12802         (__fesetenv): Always set __eip, __cs_selector, __opcode,
12803         __data_offset and __data_selector in environment to 0.  Set SSE
12804         state if supported.
12805         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12806         test-fenv-sse.
12807         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
12808         -mfpmath=sse.
12809         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
12811 2014-05-09  Will Newton  <will.newton@linaro.org>
12813         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
12814         and libc_relro_required for ARM.
12815         * sysdeps/arm/preconfigure: Regenerate.
12817 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
12818             Stefan Liebler  <stli@linux.vnet.ibm.com>
12820         * config.make.in (enable-lock-elision): New Makefile variable.
12821         * configure.ac: Likewise.
12822         * configure: Regenerate.
12823         * sysdeps/s390/configure.ac:
12824         Add check for gcc transactions support.
12825         * sysdeps/s390/configure: Regenerate.
12826         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
12827         Build elision files if enabled.
12828         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
12829         Add lock elision support for s390.
12830         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
12831         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
12832         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
12833         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12834         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12835         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
12836         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12837         Likewise.
12838         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
12839         Likewise.
12840         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
12841         Likewise.
12842         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
12843         Likewise.
12844         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
12845         (__lll_timedlock_elision, __lll_lock_elision)
12846         (__lll_unlock_elision, __lll_trylock_elision)
12847         (lll_timedlock_elision, lll_lock_elision)
12848         (lll_unlock_elision, lll_trylock_elision): Add.
12849         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12850         (pthread_mutex_t): Add lock elision support for s390.
12852 2014-05-14  Wilco  <wdijkstr@arm.com>
12854         * sysdeps/arm/fclrexcpt.c: Cleanup.
12855         * sysdeps/arm/fedisblxcpt.c: Cleanup.
12856         * sysdeps/arm/feenablxcpt.c: Cleanup.
12857         * sysdeps/arm/fegetenv.c: Cleanup.
12858         * sysdeps/arm/fegetexcept.c: Cleanup.
12859         * sysdeps/arm/fegetround.c: Cleanup.
12860         * sysdeps/arm/feholdexcpt.c: Cleanup.
12861         * sysdeps/arm/fesetenv.c: Cleanup.
12862         * sysdeps/arm/fesetround.c: Cleanup.
12863         * sysdeps/arm/feupdateenv.c: Cleanup.
12864         * sysdeps/arm/fgetexcptflg.c: Cleanup.
12865         * sysdeps/arm/fraiseexcpt.c: Cleanup.
12866         * sysdeps/arm/fsetexcptflg.c: Cleanup.
12867         * sysdeps/arm/ftestexcept.c: Cleanup.
12868         * sysdeps/arm/get-rounding-mode.h: Cleanup.
12869         * sysdeps/arm/setfpucw.c: Cleanup.
12871 2014-05-09  Will Newton  <will.newton@linaro.org>
12873         * sysdeps/arm/armv7/strcmp.S: New file.
12874         * NEWS: Mention addition of ARMv7 optimized strcmp.
12876 2014-05-08  Roland McGrath  <roland@hack.frob.com>
12878         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
12879         look for %.ac rather than %.in.
12881         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
12882         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
12883         * sysdeps/mach/hurd/configure: Regenerated.
12884         * sysdeps/unix/sysv/linux/configure: Regenerated.
12886         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
12888 2014-05-07  Steve Ellcey  <sellcey@mips.com>
12890         [BZ# 16922]
12891         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
12892         (LONG_SUB): Ditto.
12893         (PTR_SUB): Ditto.
12895 2014-05-07  Andreas Schwab  <schwab@suse.de>
12897         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
12898         when skipping over non-matching result from nscd.
12900 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
12902         [BZ #16876]
12903         * nptl/sockperf.c (client): Check socket return value.
12905         [BZ #16877]
12906         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
12907         nscd security class.
12909 2014-05-06  Roland McGrath  <roland@hack.frob.com>
12911         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
12912         * sysdeps/arm/unwind.h: ... here.
12914 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
12916         [BZ# 16916]
12917         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
12918         Define.
12920 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12922         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
12923         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
12924         multiarch strncpy for PPC64.
12925         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
12926         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
12927         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
12928         multiarch optimizations.
12929         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12930         (__libc_ifunc_impl_list): Likewise.
12931         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
12932         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
12933         multiarch stpncpy for PPC64.
12934         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
12935         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
12937 2014-05-06  Andreas Schwab  <schwab@suse.de>
12939         [BZ #16912]
12940         * gmon/mcount.c (_MCOUNT_DECL): Use
12941         atomic_compare_and_exchange_bool_acq instead of
12942         catomic_compare_and_exchange_bool_acq.
12944 2014-05-05  Roland McGrath  <roland@hack.frob.com>
12946         * elf/Makefile (others, install-bin): Remove pldd.
12947         (pldd-modules): Variable removed.
12948         ($(objpfx)pldd): Target removed.
12949         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
12950         (others, install-bin): Append pldd here.
12951         ($(objpfx)pldd): New target.
12953         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
12954         to 0, so the first #if test emitted later doesn't see it undefined.
12955         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
12956         * sysdeps/gnu/errlist.c: Regenerated.
12958 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12960         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12961         [libc_hidden_builtin_def]: Define to empty value.
12962         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
12963         [libc_hidden_builtin_def]: Likewise.
12964         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
12965         [libc_hidden_builtin_def]: Likewise.
12966         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
12967         [libc_hidden_builtin_def]: Likewise.
12968         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
12969         __redirect_memcpy and define ifunc as default hidden symbol.
12970         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
12971         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
12973 2014-05-04  Adam Conrad  <adconrad@0c3.net>
12975         * locale/iso-4217.def: Reintroduce XDR currency.
12977 2014-05-04  Allan McRae  <allan@archlinux.org>
12979         * po/eo.po: Update Esperanto translation from translation project.
12981 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
12983         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
12984         and FEATURE_INDEX_MAX to 1.
12985         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
12987 2014-05-01  Steve Ellcey  <sellcey@mips.com>
12989         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
12990         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
12991         * iconvdata/big5.c (ONE_DIRECTION): Define.
12992         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
12993         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
12994         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
12995         * iconvdata/cp932.c (ONE_DIRECTION): Define.
12996         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
12997         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
12998         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
12999         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13000         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13001         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13002         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13003         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13004         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13005         * iconvdata/gbk.c (ONE_DIRECTION): Define.
13006         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13007         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13008         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13009         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13010         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13011         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13012         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13013         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13014         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13015         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13016         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13017         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13018         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13019         * iconvdata/iso646.c (ONE_DIRECTION): Define.
13020         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13021         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13022         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13023         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13024         * iconvdata/johab.c (ONE_DIRECTION): Define.
13025         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13026         * iconvdata/sjis.c (ONE_DIRECTION): Define.
13027         * iconvdata/t.61.c (ONE_DIRECTION): Define.
13028         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13029         * iconvdata/tscii.c (ONE_DIRECTION): Define.
13030         * iconvdata/uhc.c (ONE_DIRECTION): Define.
13031         * iconvdata/unicode.c (ONE_DIRECTION): Define.
13032         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13033         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13034         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13036 2014-05-01  Roland McGrath  <roland@hack.frob.com>
13038         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13039         (_IO_JUMPS_OFFSET): Define to 0.
13041         * nptl/sysdeps/pthread/bits/libc-lock.h
13042         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13043         (__libc_lock_define_initialized_recursive): Always define using
13044         initializer.  Modern compilers treat uninitialized (implicit zero) and
13045         explicit zero initializers the same (i.e. put the datum in bss).
13047 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
13049         * nscd/nscd-client.h: Include <string.h>.
13051 2014-05-01  David S. Miller  <davem@davemloft.net>
13053         [BZ #16885]
13054         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13055         multiple zero bytes exist at the end of a string.
13056         Reported by Aurelien Jarno <aurelien@aurel32.net>
13058         * string/test-strcmp.c (check): Add explicit test for situations where
13059         there are multiple zero bytes after the first.
13061 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
13063         [BZ #16890]
13064         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13065         when compiling wprintf.
13066         * stdio-common/tstdiomisc.c (t3): New function.
13067         (main): Call it.
13069 2014-05-01  Steve Ellcey  <sellcey@mips.com>
13071         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13072         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13073         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13074         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13076 2014-05-01  Steve Ellcey  <sellcey@mips.com>
13078         * stdlib/longlong.h: Updated from GCC.
13080 2014-05-01  Will Newton  <will.newton@linaro.org>
13081             Bernard Ogden  <bernie.ogden@linaro.org>
13083         * NEWS: Update fixed bug list.
13085         [BZ #15119]
13086         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13088 2014-04-30  David S. Miller  <davem@davemloft.net>
13090         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13091         (libc_feholdexcept_setround_sparc_ctx): New function.
13092         (libc_fesetenv_sparc_ctx): Likewise.
13093         (libc_feupdateenv_sparc_ctx): Likewise.
13094         (libc_feholdsetround_sparc_ctx): Likewise.
13095         (libc_feholdexcept_setround_ctx): Define.
13096         (libc_feholdexcept_setroundf_ctx): Likewise.
13097         (libc_feholdexcept_setroundl_ctx): Likewise.
13098         (libc_fesetenv_ctx): Likewise.
13099         (libc_fesetenvf_ctx): Likewise.
13100         (libc_fesetenvl_ctx): Likewise.
13101         (libc_feupdateenv_ctx): Likewise.
13102         (libc_feupdateenvf_ctx): Likewise.
13103         (libc_feupdateenvl_ctx): Likewise.
13104         (libc_feresetround_ctx): Likewise.
13105         (libc_feresetroundf_ctx): Likewise.
13106         (libc_feresetroundl_ctx): Likewise.
13107         (libc_feholdsetround_ctx): Likewise.
13108         (libc_feholdsetroundf_ctx): Likewise.
13109         (libc_feholdsetroundl_ctx): Likewise.
13111         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13112         with __USE_GNU instead of XOPEN cpp guards.
13114         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13115         0.
13117         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13118         with XOPEN cpp guards.
13120 2014-04-30  Julian Brown  <julian@codesourcery.com>
13122         [BZ #16888]
13123         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13124         handling.
13126 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
13128         [BZ #9894]
13129         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13130         Change to 2.6.32.
13131         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13132         * sysdeps/unix/sysv/linux/configure: Regenerated.
13133         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13134         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13135         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13136         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13137         * README: Update reference to required Linux kernel version.
13138         * manual/install.texi (Linux): Update reference to required Linux
13139         kernel headers version.
13140         * INSTALL: Regenerated.
13142         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13143         header inclusion.
13144         [POSIX] (limits.h): Likewise.
13145         [POSIX] (math.h): Likewise.
13146         [POSIX] (sys/wait.h): Likewise.
13147         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13148         function.
13149         [POSIX] (stddef.h): Do not allow header inclusion.
13151 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13153         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
13155 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
13157         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13158         Return immediately after lll_futex_wake.
13160 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13162         [BZ #16791]
13163         * nscd/nscd-client.h (datahead_init_common): Initialize entire
13164         structure.
13165         (datahead_init_pos): Call datahead_init_common early.
13166         (datahead_init_neg): Likewise.
13168         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13169         datahead_init_neg): New functions.
13170         * nscd/aicache.c (addhstaiX): Use them.
13171         * nscd/grpcache.c (cache_addgr): Likewise.
13172         * nscd/hstcache.c (cache_addhst): Likewise.
13173         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13174         * nscd/netgroupcache.c (do_notfound): Likewise.
13175         (addgetnetgrentX): Likewise.
13176         (addinnetgrX): Likewise.
13177         * nscd/pwdcache.c (cache_addpw): Likewise.
13178         * nscd/servicescache.c (cache_addserv): Likewise.
13180 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13181             Atsushi Onoe  <atsushi@onoe.org>
13183         [BZ #14308]
13184         [BZ #12994]
13185         [BZ #13651]
13186         * resolv/res_query.c (__libc_res_nsearch): Return if at least
13187         one response is valid.
13188         * resolv/res_send.c (send_dg): Check for validity of other
13189         response if the current response is a referral.
13191 2014-04-29  Steve Ellcey  <sellcey@mips.com>
13193         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13195 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
13197         [BZ #16823]
13198         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13199         Always divide by positive zero when computing -Inf result.
13200         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13201         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13203 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13205         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13206         FPSCR if value do not change.
13207         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13208         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13209         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13210         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13211         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13212         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13213         function.
13215 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
13217         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13218         * sysdeps/unix/sysv/linux/hppa: Move directory from
13219         ports/systeps/unix/sysv/linux/hppa.
13220         * README: Update listing for hppa-*-linux-gnu.
13222 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
13224         [BZ #16754]
13225         * manual/stdio.texi (Hook functions): Fix types of stream hook
13226         functions.
13227         [BZ #16854]
13228         * socket/sys/socket.h: Fix typo in comment.
13230 2014-04-28  Wilco  <wdijkstr@arm.com>
13232         * sysdeps/arm/fenv_private.h: New file.
13233         * sysdeps/arm/math_private.h: New file.
13234         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13236 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
13238         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13239         with __int128_t.
13240         (La_x86_64_retval): Likewise.
13242 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
13244         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13245         fpsr if value didn't change.
13246         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13247         to fpcr if value didn't change.
13248         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13249         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13250         fpsr or fpcr if value didn't change.
13251         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13252         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13253         fpcr if value didn't change.
13254         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13255         to fpsr if value didn't change.
13257 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13259         * nptl/tst-sem3.c: Use test-skeleton.c
13260         (main): Rename to do_test.  Use return instead of
13261         exit.
13262         * nptl/tst-sem4.c: Use test-skeleton.c
13263         (main): Rename to do_test.
13265 2014-04-22  David S. Miller  <davem@davemloft.net>
13267         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13268         (struct sigaction): New struct member __glibc_reserved0, change
13269         type of sa_flags to int.
13271 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
13273         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13274         (COUNT_LEADING_ZEROS_0): Define for AArch64.
13276 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13278         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13279         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13281 2014-04-22  Will Newton  <will.newton@linaro.org>
13282             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
13284         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13285         (__longjmp): Add longjmp and longjmp_target SystemTap
13286         probes.
13287         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13288         (__sigsetjmp): Add setjmp SystemTap probe.
13290 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
13292         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13293         match manual order.
13295 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13297         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13299         * sysdeps/powerpc/fpu/fenv_private.h
13300         (libc_feholdexcept_setroundl_ctx): Define to
13301         libc_feholdexcept_setround_ppc_ctx.
13302         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13303         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13304         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13305         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13307 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
13309         * sysdeps/aarch64/math-tests.h: New file.
13311 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
13313         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13314         New.
13315         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13316         Check and set bit_AVX2_Usable.
13317         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13318         macro.
13319         (bit_AVX2): Likewise.
13320         (index_AVX2_Usable): Likewise.
13321         (CPUID_AVX2): Likewise.
13322         (HAS_AVX2): Likewise.
13324 2014-04-17  Will Newton  <will.newton@linaro.org>
13326         * manual/setjmp.texi (System V contexts): Add note that
13327         calling setcontext on a context created by a call to a
13328         signal handler is undefined.  Update text to note that
13329         setcontext from a signal handler is possible but not
13330         recommended.
13332         [BZ #16629]
13333         * stdlib/tst-setcontext.c: Include signal.h.
13334         (main): Check that the signal stack before and
13335         after swapcontext is the same.
13337         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13338         Re-implement to restore registers in user code and avoid
13339         rt_sigreturn system call.
13341 2014-04-17  Wilco  <wdijkstr@arm.com>
13343         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13344         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13345         * math/test-fenv.c: Skip exception trap tests on targets which only
13346         support non-stop mode.
13348 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
13349             Wilco Dijkstra  <wilco.dijkstra@arm.com>
13351         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13352         (libc_feholdsetround_aarch64_ctx)
13353         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13354         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13355         (libc_feresetround_ctx, libc_feresetroundf_ctx)
13356         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13357         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13358         (libc_feresetround_noexl_ctx): Define.
13360 2014-04-16  Richard Henderson  <rth@redhat.com>
13362         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13364         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13365         unwind tables.
13367         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13368         const from the non-libc, non-ldso copy.
13370         * sysdeps/alpha/libm-test-ulps: Regenerate.
13372 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
13373             Wilco Dijkstra  <wilco.dijkstra@arm.com>
13375         * sysdeps/aarch64/fpu/math_private.h: New file.
13377 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13379         * sysdeps/aarch64/libm-test-ulps: Regenerate.
13381 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
13383         [BZ #16275]
13384         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13385         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13386         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13387         Intel MPX bound registers before _dl_profile_fixup.
13388         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13389         registers after _dl_profile_fixup.  Save and restore bound
13390         registers bnd0/bnd1 when calling _dl_call_pltexit.
13391         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13392         (LR_BND_OFFSET): Likewise.
13393         (LRV_BND0_OFFSET): Likewise.
13394         (LRV_BND1_OFFSET): Likewise.
13396 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13398         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13399         to...
13400         * sysdeps/mach/hurd/i386/tls.h: ... here.
13401         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13402         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13403         fields.
13405 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13407         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13409 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13411         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13413 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13415         [BZ #14770]
13416         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13417         * sysdeps/s390/configure: Regenerate.
13419         [BZ #16824]
13420         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13421         Set round-to-nearest internally to reduce error accumulation.
13423 2014-04-16  Alan Modra  <amodra@gmail.com>
13425         [BZ #16740]
13426         [BZ #16619]
13427         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13428         * math/libm-test.inc (frexp_test_data): Add tests.
13429         * NEWS: Update fixed bug list.
13431 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13433         * benchtests/Makefile: Depend on libraries in build directory.
13434         (bench-math): Separate out math tests.
13435         (bench-pthread): Separate out pthread tests.
13436         (bench): Include math and pthread tests.
13438 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
13440         [BZ #16831]
13441         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13442         _dl_debug_initialize.
13444         * configure.ac: Remove SELinux header check.
13445         * configure: Regenerate.
13446         * nscd/selinux.c (perms): Array of const char* to permission names.
13447         (nscd_request_avc_has_perm): Call security_deny_unknown to find
13448         default policy. Call string_to_security_class and string_to_av_perm to
13449         translate strings. Enforce default policy and call avs_has_perm with
13450         results of translated strings.
13452 2014-04-13  David S. Miller  <davem@davemloft.net>
13454         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13456 2014-04-12  Allan McRae  <allan@archlinux.org>
13458         [BZ #16838]
13459         * manual/string.texi (Collation Functions): Fix qsort argument
13460         order in example.
13461         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13463 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
13465         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13466         Make the test a no-op if there are no exceptions defined.
13468 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13470         * elf/Makefile (tests): make tst-dlopen-aout conditional on
13471         enable-hardcoded-path-in-tests
13473 2014-04-11  Will Newton  <will.newton@linaro.org>
13475         * benchtests/Makefile (extra-objs): Add json-lib.o.
13476         (bench-func): Tidy up JSON output.
13477         * benchtests/bench-skeleton.c: Include json-lib.h.
13478         (main): Use JSON library functions to do output of
13479         benchmark results.
13480         * benchtests/bench-timing-type.c (main): Output the
13481         timing type simply, leaving formatting to the user.
13482         * benchtests/json-lib.c: New file.
13483         * benchtests/json-lib.h: Likewise.
13485 2014-04-11  Torvald Riegel  <triegel@redhat.com>
13487         [BZ #15215]
13488         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13489         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
13490         memory barriers.  Add comments.
13491         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13492         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13493         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13494         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13495         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13496         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13498 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13500         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13501         * sysdeps/s390/s390-64/configure.ac: ... this ...
13502         * sysdeps/s390/configure.ac: ... to here.
13503         * sysdeps/s390/s390-32/configure: Delete file.
13504         * sysdeps/s390/s390-64/configure: Delete file.
13505         * sysdeps/s390/configure: Regenerate.
13507 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
13509         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13511 2014-04-11  Will Newton  <will.newton@linaro.org>
13513         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13514         to zero if it is not defined elsewhere.  (mtrim): Test
13515         the value of MALLOC_DEBUG with #if rather than #ifdef.
13517 2014-04-10 Torvald Riegel  <triegel@redhat.com>
13519         * benchtests/pthread_once-inputs: New file.
13520         * benchtests/pthread_once-source.c: New file.
13521         * benchtests/README: Update documentation.
13523 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
13524             H.J. Lu  <hongjiu.lu@intel.com>
13526         [BZ #16275]
13527         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13528         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13529         * sysdeps/x86_64/configure: Regenerated.
13530         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13531         macro.
13532         (REGISTER_SAVE_RAX): Likewise.
13533         (REGISTER_SAVE_RCX): Likewise.
13534         (REGISTER_SAVE_RDX): Likewise.
13535         (REGISTER_SAVE_RSI): Likewise.
13536         (REGISTER_SAVE_RDI): Likewise.
13537         (REGISTER_SAVE_R8): Likewise.
13538         (REGISTER_SAVE_R9): Likewise.
13539         (REGISTER_SAVE_BND0): Likewise.
13540         (REGISTER_SAVE_BND1): Likewise.
13541         (REGISTER_SAVE_BND2): Likewise.
13542         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
13543         bound registers when calling _dl_fixup.
13545 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13547         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
13548         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13549         of its definition.
13550         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13551         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13552         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13553         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13554         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13555         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13556         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13558 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
13560         [BZ #15514]
13561         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13562         pathconf(_PC_NAME_MAX).
13564 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13566         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13567         Remove macro usage.
13568         (__PTHREAD_SPINS): Move definition to ...
13569         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13570         (__PTHREAD_SPINS): ... here.
13571         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13572         (__PTHREAD_SPIN): Likewise.
13573         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13574         (__PTHREAD_SPIN): Likewise.
13575         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13576         (__PTHREAD_SPIN): Likewise.
13577         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13578         (__PTHREAD_SPIN): Likewise.
13579         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13580         (__PTHREAD_SPIN): Likewise.
13581         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13582         (__PTHREAD_SPIN): Likewise.
13583         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13584         (__PTHREAD_SPIN): Likewise.
13585         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13586         (__PTHREAD_SPIN): Likewise.
13587         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13588         (__PTHREAD_SPIN): Likewise.
13589         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13590         (__PTHREAD_SPIN): Likewise.
13591         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13592         (__PTHREAD_SPIN): Likewise.
13593         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13594         (__PTHREAD_SPIN): Likewise.
13596         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13597         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13598         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13599         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13600         imply folder.
13601         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13602         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13603         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13604         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13605         correct imply path.
13606         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13607         strlen symbol for non multi-arch builds.
13608         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13609         missing hidden_def and weak_alias.
13611 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
13613         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13615 2014-04-07  Will Newton  <will.newton@linaro.org>
13617         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13618         and contents.  [!_LIBC] Remove #ifndef and contents.
13619         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
13620         * string/memccpy.c (__memccpy): Use ANSI prototype.
13621         * string/memfrob.c (memfrob): Likewise.
13622         * string/strcoll.c (STRCOLL): Likewise.
13623         * string/strlen.c (strlen): Likewise.
13624         * string/strtok.c (STRTOK): Likewise.
13625         * string/strcat.c: Remove unused #include of memcopy.h.
13626         (strcat): Use ANSI prototype.
13627         * string/strchr.c: Remove unused #include of memcopy.h.
13628         (strchr): Use ANSI prototype.
13629         * string/strcmp.c: Remove unused #include of memcopy.h.
13630         (strcmp): Use ANSI prototype.
13631         * string/strcpy.c: Remove unused #include of memcopy.h.
13632         (strcpy): Use ANSI prototype.
13634 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13636         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13637         * config.make.in (config-extra-cppflags): Set it from
13638         libc_extra_cppflags.
13639         * configure.ac (libc_extra_cflags): Make it accumulate over
13640         configure fragments.
13641         (libc_extra_cppflags): New flag.
13642         * configure. Regenerate.
13643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13644         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13645         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
13646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13648         [BZ #16815]
13649         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13650         result for FE_DOWNWARD rounding mode.
13651         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13652         Likewise.
13653         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13655 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
13657         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13658         in function argument name.
13660 2014-04-03  David Svoboda  <svoboda@cert.org>
13662         [BZ #5666]
13663         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13664         explicitly.
13666 2014-04-03  Roland McGrath  <roland@hack.frob.com>
13668         * elf/dl-unmap-segments.h: New file.
13669         * sysdeps/generic/ldsodefs.h
13670         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13671         * elf/dl-close.c: Include <dl-unmap-segments.h>.
13672         * elf/dl-fptr.c: Likewise.
13673         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13674         * sysdeps/aarch64/tlsdesc.c: Likewise.
13675         * sysdeps/arm/tlsdesc.c: Likewise.
13676         * sysdeps/i386/tlsdesc.c: Likewise.
13677         * sysdeps/tile/dl-runtime.c: Likewise.
13678         * sysdeps/x86_64/tlsdesc.c: Likewise.
13679         * elf/dl-load.h: New file.
13680         * elf/dl-load.c: Include it.
13681         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13682         Macros moved to dl-load.h.
13683         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13684         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13685         Use _dl_unmap_segments in place of __munmap.
13686         Break out segment-mapping loop into ...
13687         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13689 2014-04-03  Will Newton  <will.newton@linaro.org>
13691         * elf/dl-lookup.c (do_lookup_x): Remove comment
13692         referring to nested function and move variable
13693         declarations down to before first use.
13695 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
13697         [BZ #16799]
13698         [BZ #16800]
13699         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13700         with 0 numerator.
13701         * math/s_catanf.c (__catanf): Likewise.
13702         * math/s_catanh.c (__catanh): Likewise.
13703         * math/s_catanhf.c (__catanhf): Likewise.
13704         * math/s_catanhl.c (__catanhl): Likewise.
13705         * math/s_catanl.c (__catanl): Likewise.
13706         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13707         by positive zero when computing -Inf result.
13708         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13709         (catanh_test): Likewise.
13710         * sysdeps/i386/fpu/libm-test-ulps: Update.
13711         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13713         [BZ #16789]
13714         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13715         instead of using underflowing value in computing result.
13716         * math/s_clog10.c (__clog10): Likewise.
13717         * math/s_clog10f.c (__clog10f): Likewise.
13718         * math/s_clog10l.c (__clog10l): Likewise.
13719         * math/s_clogf.c (__clogf): Likewise.
13720         * math/s_clogl.c (__clogl): Likewise.
13721         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13722         (clog10_test): Likewise.
13723         * sysdeps/i386/fpu/libm-test-ulps: Update.
13724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13726 2014-04-02  Alan Modra  <amodra@gmail.com>
13728         [BZ #16739]
13729         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13730         output when value is near a power of two.  Use int64_t for lx and
13731         remove casts.  Use decimal rather than hex exponent constants.
13732         Don't use long double multiplication when double will suffice.
13733         * math/libm-test.inc (nextafter_test_data): Add tests.
13734         * NEWS: Add 16739 and 16786 to bug list.
13736         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
13738         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
13740 2014-04-01  Will Newton  <will.newton@linaro.org>
13742         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
13743         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
13745 2014-04-01  Florian Weimer  <fweimer@redhat.com>
13747         [BZ #13347]
13748         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
13749         * nptl/tst-setuid2.c: New file.
13750         * nptl/Makefile (xtests): Add tst-setuid2.
13752 2014-04-01  Alan Modra  <amodra@gmail.com>
13754         [BZ #16786]
13755         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
13757 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
13759         [BZ #6803]
13760         [BZ #6804]
13761         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
13762         set errno as appropriate.
13763         * math/w_scalbf.c (__scalbf): Likewise.
13764         * math/w_scalbl.c (__scalbl): Likewise.
13765         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
13766         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
13767         * math/libm-test.inc (scalb_test_data): Add errno expectations.
13768         Add more NaN tests.
13770         [BZ #16349]
13771         * math/w_atan2.c: Include <errno.h>.
13772         (__atan2): Set errno for result underflowing to zero.
13773         * math/w_atan2f.c: Include <errno.h>.
13774         (__atan2f): Set errno for result underflowing to zero.
13775         * math/w_atan2l.c: Include <errno.h>.
13776         (__atan2l): Set errno for result underflowing to zero.
13777         * math/auto-libm-test-in: Don't allow missing errno for some atan2
13778         tests.
13779         * math/auto-libm-test-out: Regenerated.
13781 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13783         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13784         Encode instruction correctly in little endian.
13785         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13786         Likewise.
13787         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13788         Likewise.
13789         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13790         Likewise.
13791         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13792         Likewise.
13794 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
13796         [BZ #9894]
13797         * sysdeps/unix/sysv/linux/kernel-features.h
13798         [__sparc__ && !__arch64__ && !__sparc_v9__]
13799         (__ASSUME_SET_ROBUST_LIST): Do not define.
13800         [__sparc__ && !__arch64__ && !__sparc_v9__]
13801         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13802         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
13803         Likewise.
13804         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13805         (__ASSUME_FUTEX_LOCK_PI): Undefine.
13806         (__ASSUME_REQUEUE_PI): Likewise.
13807         (__ASSUME_SET_ROBUST_LIST): Likewise.
13808         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13809         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
13810         Undefine.
13811         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13812         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
13813         Likewise.
13814         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
13815         Likewise.
13816         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
13817         Likewise.
13818         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13819         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
13820         Undefine.
13821         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
13822         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
13823         Likewise.
13825         [BZ #16648]
13826         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13827         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
13828         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
13830 2014-03-31  Will Newton  <will.newton@linaro.org>
13832         * benchtests/Makefile (bench): Add ffs and ffsll to list
13833         of tests.
13834         * benchtests/ffs-inputs: New file.
13835         * benchtests/ffsll-inputs: Likewise.
13837 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
13839         [BZ #16770]
13840         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
13841         too large before casting to int.
13842         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
13843         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
13844         * math/libm-test.inc (scalb_test_data): Add more tests.
13846 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13848         * benchtests/Makefile (DETAILED_OPT): New make option.
13849         (bench-func): Run benchmark program with -d if DETAILED_OPT is
13850         set.
13851         * benchtests/bench-skeleton.c: Include stdbool.h.
13852         (main): Store and print timings per input.
13853         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
13854         member to each argument value.
13855         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
13856         (_print_arg_data): Initialize per-input timing to 0.
13858         * benchtests/Makefile (timing-type): New binary.
13859         (bench-clean): Also remove bench-timing-type.
13860         (bench): New target for timing-type.
13861         (bench-func): Print output in JSON format.
13862         * benchtests/bench-skeleton.c (main): Print output in JSON
13863         format.
13864         * benchtests/bench-timing-type.c: New file.
13865         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
13866         (TIMING_PRINT_STATS): Remove.
13867         * benchtests/scripts/bench.py (_print_arg_data): Store variant
13868         name separately.
13870         * benchtests/bench-modf.c: Remove.
13871         * benchtests/modf-inputs: New inputs file.
13873 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
13875         [BZ #16362]
13876         * math/s_clog10.c (M_PI_LOG10E): New macro.
13877         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
13878         imaginary parts are 0.
13879         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
13880         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
13881         imaginary parts are 0.
13882         * math/s_clog10l.c (M_PI_LOG10El): New macro.
13883         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
13884         imaginary parts are 0.
13885         * math/libm-test.inc (clog10_test_data): Update expected results
13886         for when real and imaginary parts are 0.
13888 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
13890         * elf/dl-load.c: Finish conversion of __builtin_expect into
13891         __glibc_{un}likely.
13893 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
13895         [BZ #16348]
13896         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
13897         1+x for argument with exponent below -67.
13898         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
13899         Likewise.
13900         * math/auto-libm-test-in: Add more tests of exp.
13901         * math/auto-libm-test-out: Regenerated.
13903 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13905         [BZ #16759]
13906         * inet/getnetgrent_r.c (get_nonempty_val): New function.
13907         (nscd_getnetgrent): Use it.
13909         [BZ #16760]
13910         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
13911         of stpcpy.
13913 2014-03-27  Andi Kleen  <ak@linux.intel.com>
13915         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
13916         (lll_robust_lock, lll_cond_lock, lll_timedlock)
13917         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13918         (lll_robust_unlock): Remove out of line section. Use cfi
13919         intrinsics.
13920         (LLL_STUB_UNWIND_INFO*): Remove.
13921         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
13922         (lll_robust_lock, lll_cond_lock, lll_timedlock)
13923         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13924         (lll_robust_unlock): Remove out of line section. Use cfi
13925         intrinsics.
13926         (LLL_STUB_UNWIND_INFO*): Remove.
13928 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13930         [BZ #16758]
13931         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
13932         blank values.
13934 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
13936         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
13938 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
13940         [BZ #16198]
13941         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
13942         fnstenv.
13943         * math/test-fenv-preserve.c: New file.
13944         * math/Makefile (tests): Add test-fenv-preserve.
13946 2014-03-26  Will Newton <will.newton@linaro.org>
13948         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
13950 2014-03-25  Roland McGrath  <roland@hack.frob.com>
13952         * scripts/versionlist.awk: Partition the version sets and emit all
13953         GLIBC_* (sorted) before all others (sorted).
13955 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
13957         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
13958         GLIBC_2.2.5 version.
13960 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13962         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
13963         calls.
13965         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
13966         previous change.
13968         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13970 2014-03-25  Andreas Schwab  <schwab@suse.de>
13972         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
13973         label to be used after in6ailist is initialized.
13975 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13977         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13978         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13980 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
13982         [BZ #16357]
13983         [BZ #16599]
13984         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
13985         min_plus_half.
13986         (fp_formats): Update initializers.
13987         (init_fp_formats): Initialize new field.
13988         (output_for_one_input_case): Allow underflow for results up to
13989         min_plus_half.
13990         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
13991         * math/auto-libm-test-in: Don't mark some underflows from asin and
13992         atanh as spurious.
13993         * math/auto-libm-test-out: Regenerated.
13994         * sysdeps/i386/fpu/libm-test-ulps: Update.
13995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13997 2014-03-25  Andreas Schwab  <schwab@suse.de>
13999         * libio/Makefile (tst-ftell-partial-wide-ENV)
14000         (tst-ftell-active-handler-ENV): Define.
14002 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
14004         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14006 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
14008         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14010 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
14012         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14013         * sysdeps/x86_64/fpu/multiarch/e_exp.c
14014         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14016 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
14018         [BZ #16634]
14019         * elf/dl-load.c (open_verify): Add mode parameter.
14020         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14021         (open_path): Change from boolean 'secure' to complete flag 'mode'
14022         (_dl_map_object): Adjust.
14023         * elf/Makefile (tests): Add tst-dlopen-aout.
14024         * elf/tst-dlopen-aout.c: New test.
14026 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
14028         [BZ #16714]
14029         * sysdeps/unix/sysv/linux/s390/bits/stat.h
14030         (struct stat): Rename member pad0 to __glibc_reserved0.
14032         [BZ #16712]
14033         * sysdeps/s390/s390-32/bits/wordsize.h
14034         (__WORDSIZE32_SIZE_ULONG): New define.
14035         * sysdeps/s390/s390-64/bits/wordsize.h
14036         (__WORDSIZE32_SIZE_ULONG): Likewise.
14037         * sysdeps/generic/stdint.h (SIZE_MAX):
14038         Define as UL if __WORDSIZE32_SIZE_ULONG.
14040         [BZ #16713]
14041         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14042         (__glibc_reserved0): New variable.
14043         (sa_flags): Change type to int.
14045         * posix/Makefile (before-compile): Use += before-compile instead
14046         of a :=.
14048         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14049         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14051 2014-03-20  Andreas Schwab  <schwab@suse.de>
14053         [BZ #16743]
14054         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14055         non-matching result from nscd.
14057 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14059         * scripts/bench.py: Moved to ...
14060         * benchtests/scripts/bench.py: ... here.
14061         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14063 2014-03-24  Andreas Schwab  <schwab@suse.de>
14065         [BZ #16002]
14066         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14067         alloca_account and account alloca use for struct in6ailist.
14069 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
14071         [BZ #16284]
14072         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14073         rounding mode to recompute results that overflow to infinity or
14074         underflow to zero.
14075         * math/auto-libm-test-in: Don't mark tests as expected to fail for
14076         bug 16284.
14077         * math/auto-libm-test-out: Regenerated.
14078         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14079         (ccosh_test): Likewise.
14080         (csin_test_data): Use plus_oflow.
14081         (csin_test): Use ALL_RM_TEST.
14082         (csinh_test_data): Use plus_oflow.
14083         (csinh_test): Use ALL_RM_TEST.
14084         * sysdeps/i386/fpu/libm-test-ulps: Update.
14085         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14087 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
14089         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14090         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14091         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14093         [BZ #16731]
14094         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14095         when x - 1 is zero.
14096         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14097         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14098         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14099         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14100         argument is 1.
14101         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14102         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14103         zero.
14104         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14105         * sysdeps/i386/fpu/libm-test-ulps: Update.
14106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14108 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14110         * scripts/bench.pl: Remove file.
14111         * scripts/bench.py: New benchmark script.
14112         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14113         * benchtests/README: Mention python dependency.
14114         * scripts/pylintrc: New file.
14115         * scripts/pylint: New file.
14117         * bits/mathdef.h: Use #ifdef instead of #if.
14118         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14119         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14120         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14121         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14122         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14123         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14125 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14126             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14128         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14129         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14130         and strpbrk-ppc64 objects.
14131         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14132         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14133         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14134         multiarch strpbrk for POWER7.
14135         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14136         multiarch strpbrk for PPC64.
14137         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14138         ifunc selector.
14139         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14140         strpbrk for POWER7.
14142 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
14144         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14145         (atan_test): Likewise.
14146         (atanh_test_data): Use NO_TEST_INLINE for two tests.
14147         (atanh_test): Use ALL_RM_TEST.
14148         (atan2_test_data): Likewise.
14149         (cabs_test): Likewise.
14150         (cacosh_test): Likewise.
14151         (carg_test): Likewise.
14152         (casin_test): Likewise.
14153         (casinh_test): Likewise.
14154         (cbrt_test): Likewise.
14155         (csqrt_test): Likewise.
14156         (erf_test): Likewise.
14157         (erfc_test): Likewise.
14158         (pow10_test): Likewise.
14159         (exp2_test): Likewise.
14160         (hypot_test): Likewise.
14161         (j0_test): Likewise.
14162         (j1_test): Likewise.
14163         (lgamma_test): Likewise.
14164         (gamma_test): Likewise.
14165         (sincos_test): Likewise.
14166         (tanh_test): Likewise.
14167         (y0_test): Likewise.
14168         (y1_test): Likewise.
14169         * sysdeps/i386/fpu/libm-test-ulps: Update.
14170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14172 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14174         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14175         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
14176         and strcspn-ppc64 objects.
14177         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14178         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14179         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14180         multiarch strcspn for POWER7.
14181         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14182         multiarch strcspn for PPC64.
14183         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14184         ifunc selector.
14185         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14186         strcspn for POWER7.
14188 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
14190         * math/gen-libm-test.pl (generate_testfile): Expect only function
14191         name as argument to AUTO_TESTS_* and pass results for all rounding
14192         modes to parse_args.
14193         (parse_auto_input): Separate inputs of automatic tests from
14194         outputs before storing in %auto_tests.
14195         * math/libm-test.inc (acos_test_data): Update call to
14196         AUTO_TESTS_f_f.
14197         (acos_test): Use ALL_RM_TEST.
14198         (acos_tonearest_test_data): Remove.
14199         (acos_test_tonearest): Likewise.
14200         (acos_towardzero_test_data): Likewise.
14201         (acos_test_towardzero): Likewise.
14202         (acos_downward_test_data): Likewise.
14203         (acos_test_downward): Likewise.
14204         (acos_upward_test_data): Likewise.
14205         (acos_test_upward): Likewise.
14206         (acosh_test_data): Update call to AUTO_TESTS_f_f.
14207         (asin_test_data): Likewise.
14208         (asin_test): Use ALL_RM_TEST.
14209         (asin_tonearest_test_data): Remove.
14210         (asin_test_tonearest): Likewise.
14211         (asin_towardzero_test_data): Likewise.
14212         (asin_test_towardzero): Likewise.
14213         (asin_downward_test_data): Likewise.
14214         (asin_test_downward): Likewise.
14215         (asin_upward_test_data): Likewise.
14216         (asin_test_upward): Likewise.
14217         (asinh_test_data): Update call to AUTO_TESTS_f_f.
14218         (atan_test_data): Likewise.
14219         (atanh_test_data): Likewise.
14220         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14221         (cabs_test_data): Update call to AUTO_TESTS_c_f.
14222         (carg_test_data): Likewise.
14223         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14224         (ccos_test_data): Update call to AUTO_TESTS_c_c.
14225         (ccosh_test_data): Likewise.
14226         (cexp_test_data): Likewise.
14227         (clog_test_data): Likewise.
14228         (clog10_test_data): Likewise.
14229         (cos_test_data): Update call to AUTO_TESTS_f_f.
14230         (cos_test): Use ALL_RM_TEST.
14231         (cos_tonearest_test_data): Remove.
14232         (cos_test_tonearest): Likewise.
14233         (cos_towardzero_test_data): Likewise.
14234         (cos_test_towardzero): Likewise.
14235         (cos_downward_test_data): Likewise.
14236         (cos_test_downward): Likewise.
14237         (cos_upward_test_data): Likewise.
14238         (cos_test_upward): Likewise.
14239         (cosh_test_data): Update call to AUTO_TESTS_f_f.
14240         (cosh_test): Use ALL_RM_TEST.
14241         (cosh_tonearest_test_data): Remove.
14242         (cosh_test_tonearest): Likewise.
14243         (cosh_towardzero_test_data): Likewise.
14244         (cosh_test_towardzero): Likewise.
14245         (cosh_downward_test_data): Likewise.
14246         (cosh_test_downward): Likewise.
14247         (cosh_upward_test_data): Likewise.
14248         (cosh_test_upward): Likewise.
14249         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14250         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14251         (ctan_test_data): Likewise.
14252         (ctan_test): Use ALL_RM_TEST.
14253         (ctan_tonearest_test_data): Remove.
14254         (ctan_test_tonearest): Likewise.
14255         (ctan_towardzero_test_data): Likewise.
14256         (ctan_test_towardzero): Likewise.
14257         (ctan_downward_test_data): Likewise.
14258         (ctan_test_downward): Likewise.
14259         (ctan_upward_test_data): Likewise.
14260         (ctan_test_upward): Likewise.
14261         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14262         (ctanh_test): Use ALL_RM_TEST.
14263         (ctanh_tonearest_test_data): Remove.
14264         (ctanh_test_tonearest): Likewise.
14265         (ctanh_towardzero_test_data): Likewise.
14266         (ctanh_test_towardzero): Likewise.
14267         (ctanh_downward_test_data): Likewise.
14268         (ctanh_test_downward): Likewise.
14269         (ctanh_upward_test_data): Likewise.
14270         (ctanh_test_upward): Likewise.
14271         (erf_test_data): Update call to AUTO_TESTS_f_f.
14272         (erfc_test_data): Likewise.
14273         (exp_test_data): Likewise.
14274         (exp_test): Use ALL_RM_TEST.
14275         (exp_tonearest_test_data): Remove.
14276         (exp_test_tonearest): Likewise.
14277         (exp_towardzero_test_data): Likewise.
14278         (exp_test_towardzero): Likewise.
14279         (exp_downward_test_data): Likewise.
14280         (exp_test_downward): Likewise.
14281         (exp_upward_test_data): Likewise.
14282         (exp_test_upward): Likewise.
14283         (exp10_test_data): Update call to AUTO_TESTS_f_f.
14284         (exp10_test): Use ALL_RM_TEST.
14285         (exp10_tonearest_test_data): Remove.
14286         (exp10_test_tonearest): Likewise.
14287         (exp10_towardzero_test_data): Likewise.
14288         (exp10_test_towardzero): Likewise.
14289         (exp10_downward_test_data): Likewise.
14290         (exp10_test_downward): Likewise.
14291         (exp10_upward_test_data): Likewise.
14292         (exp10_test_upward): Likewise.
14293         (exp2_test_data): Update call to AUTO_TESTS_f_f.
14294         (expm1_test_data): Likewise.
14295         (expm1_test): Use ALL_RM_TEST.
14296         (expm1_tonearest_test_data): Remove.
14297         (expm1_test_tonearest): Likewise.
14298         (expm1_towardzero_test_data): Likewise.
14299         (expm1_test_towardzero): Likewise.
14300         (expm1_downward_test_data): Likewise.
14301         (expm1_test_downward): Likewise.
14302         (expm1_upward_test_data): Likewise.
14303         (expm1_test_upward): Likewise.
14304         (fma_test_data): Update call to AUTO_TESTS_fff_f.
14305         (fma_test): Use ALL_RM_TEST.
14306         (fma_towardzero_test_data): Remove.
14307         (fma_test_towardzero): Likewise.
14308         (fma_downward_test_data): Likewise.
14309         (fma_test_downward): Likewise.
14310         (fma_upward_test_data): Likewise.
14311         (fma_test_upward): Likewise.
14312         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14313         (j0_test_data): Update call to AUTO_TESTS_f_f.
14314         (j1_test_data): Likewise.
14315         (jn_test_data): Update call to AUTO_TESTS_if_f.
14316         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14317         (log_test_data): Update call to AUTO_TESTS_f_f.
14318         (log10_test_data): Likewise.
14319         (log1p_test_data): Likewise.
14320         (log2_test_data): Likewise.
14321         (pow_test_data): Update call to AUTO_TESTS_ff_f.
14322         (pow_tonearest_test_data): Likewise.
14323         (sin_test_data): Update call to AUTO_TESTS_f_f.
14324         (sin_test): Use ALL_RM_TEST.
14325         (sin_tonearest_test_data): Remove.
14326         (sin_test_tonearest): Likewise.
14327         (sin_towardzero_test_data): Likewise.
14328         (sin_test_towardzero): Likewise.
14329         (sin_downward_test_data): Likewise.
14330         (sin_test_downward): Likewise.
14331         (sin_upward_test_data): Likewise.
14332         (sin_test_upward): Likewise.
14333         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14334         (sinh_test_data): Update call to AUTO_TESTS_f_f.
14335         (sinh_test): Use ALL_RM_TEST.
14336         (sinh_tonearest_test_data): Remove.
14337         (sinh_test_tonearest): Likewise.
14338         (sinh_towardzero_test_data): Likewise.
14339         (sinh_test_towardzero): Likewise.
14340         (sinh_downward_test_data): Likewise.
14341         (sinh_test_downward): Likewise.
14342         (sinh_upward_test_data): Likewise.
14343         (sinh_test_upward): Likewise.
14344         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14345         (sqrt_test): Use ALL_RM_TEST.
14346         (sqrt_tonearest_test_data): Remove.
14347         (sqrt_test_tonearest): Likewise.
14348         (sqrt_towardzero_test_data): Likewise.
14349         (sqrt_test_towardzero): Likewise.
14350         (sqrt_downward_test_data): Likewise.
14351         (sqrt_test_downward): Likewise.
14352         (sqrt_upward_test_data): Likewise.
14353         (sqrt_test_upward): Likewise.
14354         (tan_test_data): Update call to AUTO_TESTS_f_f.
14355         (tan_test): Use ALL_RM_TEST.
14356         (tan_tonearest_test_data): Remove.
14357         (tan_test_tonearest): Likewise.
14358         (tan_towardzero_test_data): Likewise.
14359         (tan_test_towardzero): Likewise.
14360         (tan_downward_test_data): Likewise.
14361         (tan_test_downward): Likewise.
14362         (tan_upward_test_data): Likewise.
14363         (tan_test_upward): Likewise.
14364         (tanh_test_data): Update call to AUTO_TESTS_f_f.
14365         (tgamma_test_data): Likewise.
14366         (y0_test_data): Likewise.
14367         (y1_test_data): Likewise.
14368         (yn_test_data): Update call to AUTO_TESTS_if_f.
14369         (main): Do not call removed functions.
14371 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
14373         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14374         (ldexp_test_data): Remove.
14375         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
14376         scalbn_test_data.
14377         (scalb_test): Use ALL_RM_TEST.
14379 2014-03-19  Andreas Schwab  <schwab@suse.de>
14381         * nscd/nscd.service: Also invalidate netgroup cache on reload.
14383 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
14385         [BZ #16649]
14386         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14387         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14388         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14389         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14390         (__ASSUME_PREADV): Undefine.
14391         (__ASSUME_PWRITEV): Likewise.
14393 2014-03-18  Roland McGrath  <roland@hack.frob.com>
14395         * bits/mman-linux.h: Add comment about non-Linux use.
14396         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14397         bits/mman-linux.h resting place.
14399         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14400         * bits/mman-linux.h: ... here.
14402 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14404         * conform/conformtest.pl: Add standard definition when calling C
14405         preprocessor on data files.
14406         (checknamespace): Remove unused variable.
14408 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
14410         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14411         minus_oflow, plus_uflow and minus_uflow in expected results.
14412         * math/libm-test.inc (scalbn_test_data): Add more tests of
14413         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
14414         minus_uflow.
14415         (scalbn_test): Use ALL_RM_TEST.
14416         (scalbln_test_data): Add more tests of negative arguments.  Use
14417         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14418         (scalbln_test): Use ALL_RM_TEST.
14420 2014-03-18  Roland McGrath  <roland@hack.frob.com>
14422         * scripts/abilist.awk: Ignore symbols marked with .hidden.
14424 2014-03-18  Will Newton  <will.newton@linaro.org>
14426         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14427         inaccurate comment.
14429 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
14431         * Makerules [!subdir] (check-abi): Exit with error status if a
14432         test failed.
14434 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
14436         * math/libm-test.inc (nearbyint_test_data): Include all tests used
14437         for rint.  Include results for all rounding modes.
14438         (nearbyint_test): Use ALL_RM_TEST.
14439         (rint_test_data): Include all tests used for nearbyint.
14441 2014-03-17  Will Newton  <will.newton@linaro.org>
14443         * nptl/sysdeps/pthread/pthread.h: Revert previous
14444         change.
14446         * sysdeps/generic/ldsodefs.h: Revert previous
14447         change.
14449         * libio/genops.c: Revert previous change.
14450         * libio/libioP.h: Likewise.
14451         * stdio-common/vfprintf.c: Likewise.
14453         * sysdeps/generic/math_private.h: Revert previous
14454         change.
14456         * sysdeps/generic/math_private.h: Check whether
14457         HAVE_RM_CTX is defined with #ifdef rather
14458         than #if.
14460         * argp/argp-fmtstream.h: Check whether
14461         __STRICT_ANSI__ is defined with #ifdef rather
14462         than #if.
14463         * argp/argp.h: Likewise.
14465         * libio/genops.c: Check whether
14466         _IO_JUMPS_OFFSET is defined with #ifdef rather
14467         than #if.
14468         * libio/libioP.h: Likewise.
14469         * stdio-common/vfprintf.c: Likewise.
14471         * sysdeps/generic/ldsodefs.h: Check whether
14472         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14473         than #if.
14475         * nptl/sysdeps/pthread/pthread.h: Check
14476         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14477         its value.
14479 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14481         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14482         setting O_APPEND.
14483         * libio/tst-ftell-active-handler.c (do_append_test): Add a
14484         test case.
14486         [BZ #16680]
14487         * libio/fileops.c (_IO_file_open): Seek to end of file but
14488         don't cache the offset.
14489         (get_file_offset): Remove function.
14490         (do_ftell): Use cached offset when available.
14491         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14492         don't cache the offset.
14493         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14494         case.
14495         (do_one_test): Call it.
14496         (do_ftell_test): Fix up expected old offset for a+ mode.
14497         * libio/wfileops.c (do_ftell_wide): Used cached offset when
14498         available.
14500         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14501         up test status with function return status.
14502         (do_write_test): Likewise.
14503         (do_append_test): Likewise.
14505         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14506         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14507         Remove.
14509 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
14511         * math/gen-libm-test.pl (parse_args): Handle results specified for
14512         each rounding mode separately.
14513         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14514         tests and results from lrint_tonearest_test_data,
14515         lrint_towardzero_test_data, lrint_downward_test_data and
14516         lrint_upward_test_data.
14517         (lrint_test): Use ALL_RM_TEST.
14518         (lrint_tonearest_test_data): Remove.
14519         (lrint_test_tonearest): Likewise.
14520         (lrint_towardzero_test_data): Likewise.
14521         (lrint_test_towardzero): Likewise.
14522         (lrint_downward_test_data): Likewise.
14523         (lrint_test_downward): Likewise.
14524         (lrint_upward_test_data): Likewise.
14525         (lrint_test_upward): Likewise.
14526         (llrint_test_data): Merge in per-rounding-mode tests and results
14527         from llrint_tonearest_test_data, llrint_towardzero_test_data,
14528         llrint_downward_test_data and llrint_upward_test_data.
14529         (llrint_test): Use ALL_RM_TEST.
14530         (llrint_tonearest_test_data): Remove.
14531         (llrint_test_tonearest): Likewise.
14532         (llrint_towardzero_test_data): Likewise.
14533         (llrint_test_towardzero): Likewise.
14534         (llrint_downward_test_data): Likewise.
14535         (llrint_test_downward): Likewise.
14536         (llrint_upward_test_data): Likewise.
14537         (llrint_test_upward): Likewise.
14538         (rint_test_data): Merge in per-rounding-mode tests and results
14539         from rint_tonearest_test_data, rint_towardzero_test_data,
14540         rint_downward_test_data and rint_upward_test_data.  Add
14541         per-rounding-mode results for tests not in those arrays.
14542         (rint_test): Use ALL_RM_TEST.
14543         (rint_tonearest_test_data): Remove.
14544         (rint_test_tonearest): Likewise.
14545         (rint_towardzero_test_data): Likewise.
14546         (rint_test_towardzero): Likewise.
14547         (rint_downward_test_data): Likewise.
14548         (rint_test_downward): Likewise.
14549         (rint_upward_test_data): Likewise.
14550         (rint_test_upward): Likewise.
14551         (main): Don't call removed functions.
14553 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14555         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14556         "Compiled on ..." crapola.  It is anti-useful.
14558 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
14560         * scripts/evaluate-test.sh: Handle fourth argument to determine
14561         whether test run should stop on failure.
14562         * Makeconfig (stop-on-test-failure): New variable.
14563         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14564         $(stop-on-test-failure).
14565         * Makefile (tests): Give a summary of results from testing and
14566         exit with failure status if they include an ERROR or FAIL.
14567         (xtests): Likewise.
14568         * manual/install.texi (Configuring and compiling): Mention
14569         stop-on-test-failure=y.
14570         * INSTALL: Regenerated.
14572 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14574         * scripts/versionlist.awk: New file.
14575         * Makerules [$(build-shared) = yes]
14576         (postclean-generated): Add Versions.def, not Versions.def.v and
14577         Versions.def.v.i.
14578         ($(common-objpfx)Versions.def.v.i): Target removed.
14579         ($(common-objpfx)Versions.def): New target.
14580         ($(common-objpfx)Versions.all): Depend on that rather that
14581         $(common-objpfx)Versions.def.v.
14582         * Versions.def: File removed.
14584         * Makeconfig (+gccwarn): Add -Wundef.
14585         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14586         a dl-sysdep.h breaking its contract.
14587         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14588         * include/stackinfo.h: New file.
14589         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14590         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14591         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14592         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14593         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14594         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14595         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14596         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14597         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14598         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14599         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14600         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14601         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14602         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14603         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14605 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14607         [BZ #16707]
14608         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14609         implementation.
14610         * math/libm-test.inc (round_test_data): Add more tests.
14612         [BZ #16706]
14613         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14614         implementation.
14615         * math/libm-test.inc (nearbyint_test_data): Add more tests.
14617         [BZ #16701]
14618         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14619         implementation.
14620         * math/libm-test.inc (ceil_test_data): Add more tests.
14622         * math/libm-test.inc (trunc_test_data): Add more tests related to
14623         BZ#16414.
14625 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14627         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14628         with #if rather than #ifdef.
14629         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14631 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
14633         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14634         first.  Disable AVX-512 GCC support if assembler doesn't support
14635         it.
14636         * sysdeps/x86_64/configure: Regenerated.
14638 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
14640         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14641         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14642         (__old_pthread_attr_setstack): Likewise.
14643         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14644         [!_STACK_GROWS_DOWN]: Likewise.
14646 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
14648         * config.make.in (have-bash2): Delete.
14649         * configure.ac (libc_cv_have_bash2): Delete.
14650         * configure: Regenerate.
14651         * elf/Makefile (common-ldd-rewrite): Rename to ...
14652         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
14653         (sh-ldd-rewrite): Delete.
14654         (bash-ldd-rewrite): Delete.
14655         (have-bash2): Delete checks.
14656         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14657         ldd-rewrite.
14659         * config.make.in (have-ksh): Delete.
14660         (KSH): Delete.
14661         * configure.ac (libc_cv_have_ksh): Delete.
14662         * configure: Regenerate.
14664         * elf/Makefile: Delete $(have-ksh) check.
14665         ($(objpfx)sotruss): Change KSH to BASH.
14666         * elf/sotruss.ksh: Rename to ...
14667         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
14668         function style to match POSIX.  Drop ksh vim mode setting.
14670         * manual/time.texi (Specifying the Time Zone with TZ): Change
14671         Tuesday to Thursday.
14673         * debug/tst-longjmp_chk2.c: Update header comment.
14674         (stackoverflow_handler): Add comment.  Call assert on pass value.
14676 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
14678         [BZ #16194]
14679         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14680         (HAVE_AVX512_ASM_SUPPORT): Likewise.
14681         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14682         (La_x86_64_vector): Add zmm.
14683         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14684         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14685         ($(objpfx)tst-audit10): New target.
14686         ($(objpfx)tst-audit10.out): Likewise.
14687         (tst-audit10-ENV): New.
14688         (AVX512-CFLAGS): Likewise.
14689         (CFLAGS-tst-audit10.c): Likewise.
14690         (CFLAGS-tst-auditmod10a.c): Likewise.
14691         (CFLAGS-tst-auditmod10b.c): Likewise.
14692         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14693         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14694         * sysdeps/x86_64/configure: Regenerated.
14695         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14696         AVX-512 zmm register support.
14697         (_dl_x86_64_save_sse): Likewise.
14698         (_dl_x86_64_restore_sse): Likewise.
14699         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14700         size vector registers.
14701         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14702         (ZMM_SIZE): Likewise.
14703         * sysdeps/x86_64/tst-audit10.c: New file.
14704         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14705         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14707 2014-03-13  Roland McGrath  <roland@hack.frob.com>
14709         * configure.ac (HAVE_EHDR_START): New check.
14710         * configure: Regenerated.
14711         * config.h.in (HAVE_EHDR_START): New #undef.
14712         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14713         assuming the lowest-addressed segment maps the start of the file.
14715 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
14717         * INSTALL: Regenerated.
14719 2014-03-13  Will Newton  <will.newton@linaro.org>
14721         * manual/setjmp.texi (System V contexts): Improve
14722         clarity and grammar of documentation.
14724 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14726         [BZ #16381]
14727         * elf/Makefile (tests): Add tst-pie2.
14728         (tests-pie): Add tst-pie2.
14729         * elf/tst-pie2.c: New file.
14730         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14731         for ET_EXEC.
14732         * elf/rtld.c (map_doit): Load executable as lt_executable.
14733         (dl_main): Likewise.
14735 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
14737         [BZ #16642]
14738         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14739         (__ASSUME_PSELECT): Undefine.
14741 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14743         [BZ #16689]
14744         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
14745         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
14746         static build.
14747         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
14748         selector for static builds.
14750 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14752         [BZ #16695]
14753         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
14754         key in the buffer.
14756 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14758         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
14759         IFUNC selector for static builds.
14761 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
14763         * sysdeps/mips/math_private.h [__mips_hard_float]
14764         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
14765         libc_feresetround_mips_ctx.
14766         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
14767         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
14768         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
14770         [BZ #16677]
14771         * math/s_nextafter.c (__nextafter): Do not return value from
14772         overflowing computation.
14773         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
14774         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
14775         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
14776         Likewise.
14777         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
14778         Likewise.
14779         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
14780         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
14782 2014-03-11  Roland McGrath  <roland@hack.frob.com>
14784         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
14785         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
14786         Move sfi_sp use from the load-multiple (that no longer sets sp) to
14787         the new mov targetting sp.
14789 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14791         [BZ #16683]
14792         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
14793         Define it for static builds as well.
14794         (NO_BZERO_IMPL): Likewise.
14796 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14798         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
14799         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
14800         multiarch strspn for PPC64.
14801         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
14802         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
14803         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14804         (__libc_ifunc_impl_list): Likewise.
14805         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
14806         multiarch optimizations
14807         * string/strspn.c (strspn): Using macro to redefine symbol name.
14809 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14810             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14812         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
14813         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
14814         multiarch strncat for PPC64.
14815         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
14816         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
14817         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14818         (__libc_ifunc_impl_list): Likewise.
14819         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
14820         multiarch optimizations
14822 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14824         [BZ #16639]
14825         * nscd/nscd.service: Make service type forking.
14827 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14829         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
14830         sign in non default rounding modes.
14831         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
14833 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
14835         * math/libm-test.inc (ALL_RM_TEST): New macro.
14836         (ceil_test): Use ALL_RM_TEST.
14837         (cimag_test): Likewise.
14838         (conj_test): Likewise.
14839         (copysign_test): Likewise.
14840         (cproj_test): Likewise.
14841         (creal_test): Likewise.
14842         (fabs_test): Likewise.
14843         (floor_test): Likewise.
14844         (fmax_test): Likewise.
14845         (fmin_test): Likewise.
14846         (fmod_test): Likewise.
14847         (fpclassify_test): Likewise.
14848         (frexp_test): Likewise.
14849         (ilogb_test): Likewise.
14850         (isfinite_test): Likewise.
14851         (finite_test): Likewise.
14852         (isgreater_test): Likewise.
14853         (isgreaterequal_test): Likewise.
14854         (isinf_test): Likewise.
14855         (isless_test): Likewise.
14856         (islessequal_test): Likewise.
14857         (islessgreater_test): Likewise.
14858         (isnan_test): Likewise.
14859         (isnormal_test): Likewise.
14860         (issignaling_test): Likewise.
14861         (isunordered_test): Likewise.
14862         (logb_test): Likewise.
14863         (logb_downward_test_data): Remove.
14864         (logb_test_downward): Likewise.
14865         (lround_test): Use ALL_RM_TEST.
14866         (llround_test): Likewise.
14867         (modf_test): Likewise.
14868         (nexttoward_test): Likewise.
14869         (remainder_test): Likewise.
14870         (drem_test): Likewise.
14871         (remainder_tonearest_test_data): Likewise.
14872         (remainder_test_tonearest): Likewise.
14873         (drem_test_tonearest): Likewise.
14874         (remainder_towardzero_test_data): Likewise.
14875         (remainder_test_towardzero): Likewise.
14876         (drem_test_towardzero): Likewise.
14877         (remainder_downward_test_data): Likewise.
14878         (remainder_test_downward): Likewise.
14879         (drem_test_downward): Likewise.
14880         (remainder_upward_test_data): Likewise.
14881         (remainder_test_upward): Likewise.
14882         (drem_test_upward): Likewise.
14883         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
14884         (round_test): Use ALL_RM_TEST.
14885         (signbit_test): Likewise.
14886         (trunc_test): Likewise.
14887         (significand_test): Likewise.
14888         (main): Don't call removed functions.
14890 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
14892         [BZ #16674]
14893         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
14894         || __USE_XOPEN2K8].
14895         (ILL_ILLOPN): Likewise.
14896         (ILL_ILLADR): Likewise.
14897         (ILL_ILLTRP): Likewise.
14898         (ILL_PRVOPC): Likewise.
14899         (ILL_PRVREG): Likewise.
14900         (ILL_COPROC): Likewise.
14901         (ILL_BADSTK): Likewise.
14902         (FPE_INTDIV): Likewise.
14903         (FPE_INTOVF): Likewise.
14904         (FPE_FLTDIV): Likewise.
14905         (FPE_FLTOVF): Likewise.
14906         (FPE_FLTUND): Likewise.
14907         (FPE_FLTRES): Likewise.
14908         (FPE_FLTINV): Likewise.
14909         (FPE_FLTSUB): Likewise.
14910         (SEGV_MAPERR): Likewise.
14911         (SEGV_ACCERR): Likewise.
14912         (BUS_ADRALN): Likewise.
14913         (BUS_ADRERR): Likewise.
14914         (BUS_OBJERR): Likewise.
14915         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14916         (TRAP_TRACE): Likewise.
14917         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14918         __USE_XOPEN2K8].
14919         (CLD_KILLED): Likewise.
14920         (CLD_DUMPED): Likewise.
14921         (CLD_TRAPPED): Likewise.
14922         (CLD_STOPPED): Likewise.
14923         (CLD_CONTINUED): Likewise.
14924         (POLL_IN): Likewise.
14925         (POLL_OUT): Likewise.
14926         (POLL_MSG): Likewise.
14927         (POLL_ERR): Likewise.
14928         (POLL_PRI): Likewise.
14929         (POLL_HUP): Likewise.
14930         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
14931         Likewise.
14932         (ILL_ILLOPN): Likewise.
14933         (ILL_ILLADR): Likewise.
14934         (ILL_ILLTRP): Likewise.
14935         (ILL_PRVOPC): Likewise.
14936         (ILL_PRVREG): Likewise.
14937         (ILL_COPROC): Likewise.
14938         (ILL_BADSTK): Likewise.
14939         (FPE_INTDIV): Likewise.
14940         (FPE_INTOVF): Likewise.
14941         (FPE_FLTDIV): Likewise.
14942         (FPE_FLTOVF): Likewise.
14943         (FPE_FLTUND): Likewise.
14944         (FPE_FLTRES): Likewise.
14945         (FPE_FLTINV): Likewise.
14946         (FPE_FLTSUB): Likewise.
14947         (SEGV_MAPERR): Likewise.
14948         (SEGV_ACCERR): Likewise.
14949         (BUS_ADRALN): Likewise.
14950         (BUS_ADRERR): Likewise.
14951         (BUS_OBJERR): Likewise.
14952         (BUS_MCEERR_AR): Likewise.
14953         (BUS_MCEERR_AO): Likewise.
14954         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14955         (TRAP_TRACE): Likewise.
14956         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14957         __USE_XOPEN2K8].
14958         (CLD_KILLED): Likewise.
14959         (CLD_DUMPED): Likewise.
14960         (CLD_TRAPPED): Likewise.
14961         (CLD_STOPPED): Likewise.
14962         (CLD_CONTINUED): Likewise.
14963         (POLL_IN): Likewise.
14964         (POLL_OUT): Likewise.
14965         (POLL_MSG): Likewise.
14966         (POLL_ERR): Likewise.
14967         (POLL_PRI): Likewise.
14968         (POLL_HUP): Likewise.
14969         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
14970         (ILL_ILLOPN): Likewise.
14971         (ILL_ILLADR): Likewise.
14972         (ILL_ILLTRP): Likewise.
14973         (ILL_PRVOPC): Likewise.
14974         (ILL_PRVREG): Likewise.
14975         (ILL_COPROC): Likewise.
14976         (ILL_BADSTK): Likewise.
14977         (FPE_INTDIV): Likewise.
14978         (FPE_INTOVF): Likewise.
14979         (FPE_FLTDIV): Likewise.
14980         (FPE_FLTOVF): Likewise.
14981         (FPE_FLTUND): Likewise.
14982         (FPE_FLTRES): Likewise.
14983         (FPE_FLTINV): Likewise.
14984         (FPE_FLTSUB): Likewise.
14985         (SEGV_MAPERR): Likewise.
14986         (SEGV_ACCERR): Likewise.
14987         (BUS_ADRALN): Likewise.
14988         (BUS_ADRERR): Likewise.
14989         (BUS_OBJERR): Likewise.
14990         (BUS_MCEERR_AR): Likewise.
14991         (BUS_MCEERR_AO): Likewise.
14992         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14993         (TRAP_TRACE): Likewise.
14994         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14995         __USE_XOPEN2K8].
14996         (CLD_KILLED): Likewise.
14997         (CLD_DUMPED): Likewise.
14998         (CLD_TRAPPED): Likewise.
14999         (CLD_STOPPED): Likewise.
15000         (CLD_CONTINUED): Likewise.
15001         (POLL_IN): Likewise.
15002         (POLL_OUT): Likewise.
15003         (POLL_MSG): Likewise.
15004         (POLL_ERR): Likewise.
15005         (POLL_PRI): Likewise.
15006         (POLL_HUP): Likewise.
15007         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15008         Likewise.
15009         (ILL_ILLOPN): Likewise.
15010         (ILL_ILLADR): Likewise.
15011         (ILL_ILLTRP): Likewise.
15012         (ILL_PRVOPC): Likewise.
15013         (ILL_PRVREG): Likewise.
15014         (ILL_COPROC): Likewise.
15015         (ILL_BADSTK): Likewise.
15016         (ILL_BADIADDR): Likewise.
15017         (ILL_BREAK): Likewise.
15018         (FPE_INTDIV): Likewise.
15019         (FPE_INTOVF): Likewise.
15020         (FPE_FLTDIV): Likewise.
15021         (FPE_FLTOVF): Likewise.
15022         (FPE_FLTUND): Likewise.
15023         (FPE_FLTRES): Likewise.
15024         (FPE_FLTINV): Likewise.
15025         (FPE_FLTSUB): Likewise.
15026         (FPE_DECOVF): Likewise.
15027         (FPE_DECDIV): Likewise.
15028         (FPE_DECERR): Likewise.
15029         (FPE_INVASC): Likewise.
15030         (FPE_INVDEC): Likewise.
15031         (SEGV_MAPERR): Likewise.
15032         (SEGV_ACCERR): Likewise.
15033         (SEGV_PSTKOVF): Likewise.
15034         (BUS_ADRALN): Likewise.
15035         (BUS_ADRERR): Likewise.
15036         (BUS_OBJERR): Likewise.
15037         (BUS_MCEERR_AR): Likewise.
15038         (BUS_MCEERR_AO): Likewise.
15039         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15040         (TRAP_TRACE): Likewise.
15041         (TRAP_BRANCH): Likewise.
15042         (TRAP_HWBKPT): Likewise.
15043         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15044         __USE_XOPEN2K8].
15045         (CLD_KILLED): Likewise.
15046         (CLD_DUMPED): Likewise.
15047         (CLD_TRAPPED): Likewise.
15048         (CLD_STOPPED): Likewise.
15049         (CLD_CONTINUED): Likewise.
15050         (POLL_IN): Likewise.
15051         (POLL_OUT): Likewise.
15052         (POLL_MSG): Likewise.
15053         (POLL_ERR): Likewise.
15054         (POLL_PRI): Likewise.
15055         (POLL_HUP): Likewise.
15056         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15057         (ILL_ILLOPN): Likewise.
15058         (ILL_ILLADR): Likewise.
15059         (ILL_ILLTRP): Likewise.
15060         (ILL_PRVOPC): Likewise.
15061         (ILL_PRVREG): Likewise.
15062         (ILL_COPROC): Likewise.
15063         (ILL_BADSTK): Likewise.
15064         (FPE_INTDIV): Likewise.
15065         (FPE_INTOVF): Likewise.
15066         (FPE_FLTDIV): Likewise.
15067         (FPE_FLTOVF): Likewise.
15068         (FPE_FLTUND): Likewise.
15069         (FPE_FLTRES): Likewise.
15070         (FPE_FLTINV): Likewise.
15071         (FPE_FLTSUB): Likewise.
15072         (SEGV_MAPERR): Likewise.
15073         (SEGV_ACCERR): Likewise.
15074         (BUS_ADRALN): Likewise.
15075         (BUS_ADRERR): Likewise.
15076         (BUS_OBJERR): Likewise.
15077         (BUS_MCEERR_AR): Likewise.
15078         (BUS_MCEERR_AO): Likewise.
15079         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15080         (TRAP_TRACE): Likewise.
15081         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15082         __USE_XOPEN2K8].
15083         (CLD_KILLED): Likewise.
15084         (CLD_DUMPED): Likewise.
15085         (CLD_TRAPPED): Likewise.
15086         (CLD_STOPPED): Likewise.
15087         (CLD_CONTINUED): Likewise.
15088         (POLL_IN): Likewise.
15089         (POLL_OUT): Likewise.
15090         (POLL_MSG): Likewise.
15091         (POLL_ERR): Likewise.
15092         (POLL_PRI): Likewise.
15093         (POLL_HUP): Likewise.
15094         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15095         (ILL_ILLOPN): Likewise.
15096         (ILL_ILLADR): Likewise.
15097         (ILL_ILLTRP): Likewise.
15098         (ILL_PRVOPC): Likewise.
15099         (ILL_PRVREG): Likewise.
15100         (ILL_COPROC): Likewise.
15101         (ILL_BADSTK): Likewise.
15102         (FPE_INTDIV): Likewise.
15103         (FPE_INTOVF): Likewise.
15104         (FPE_FLTDIV): Likewise.
15105         (FPE_FLTOVF): Likewise.
15106         (FPE_FLTUND): Likewise.
15107         (FPE_FLTRES): Likewise.
15108         (FPE_FLTINV): Likewise.
15109         (FPE_FLTSUB): Likewise.
15110         (SEGV_MAPERR): Likewise.
15111         (SEGV_ACCERR): Likewise.
15112         (BUS_ADRALN): Likewise.
15113         (BUS_ADRERR): Likewise.
15114         (BUS_OBJERR): Likewise.
15115         (BUS_MCEERR_AR): Likewise.
15116         (BUS_MCEERR_AO): Likewise.
15117         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15118         (TRAP_TRACE): Likewise.
15119         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15120         __USE_XOPEN2K8].
15121         (CLD_KILLED): Likewise.
15122         (CLD_DUMPED): Likewise.
15123         (CLD_TRAPPED): Likewise.
15124         (CLD_STOPPED): Likewise.
15125         (CLD_CONTINUED): Likewise.
15126         (POLL_IN): Likewise.
15127         (POLL_OUT): Likewise.
15128         (POLL_MSG): Likewise.
15129         (POLL_ERR): Likewise.
15130         (POLL_PRI): Likewise.
15131         (POLL_HUP): Likewise.
15132         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15133         (ILL_ILLOPN): Likewise.
15134         (ILL_ILLADR): Likewise.
15135         (ILL_ILLTRP): Likewise.
15136         (ILL_PRVOPC): Likewise.
15137         (ILL_PRVREG): Likewise.
15138         (ILL_COPROC): Likewise.
15139         (ILL_BADSTK): Likewise.
15140         (FPE_INTDIV): Likewise.
15141         (FPE_INTOVF): Likewise.
15142         (FPE_FLTDIV): Likewise.
15143         (FPE_FLTOVF): Likewise.
15144         (FPE_FLTUND): Likewise.
15145         (FPE_FLTRES): Likewise.
15146         (FPE_FLTINV): Likewise.
15147         (FPE_FLTSUB): Likewise.
15148         (SEGV_MAPERR): Likewise.
15149         (SEGV_ACCERR): Likewise.
15150         (BUS_ADRALN): Likewise.
15151         (BUS_ADRERR): Likewise.
15152         (BUS_OBJERR): Likewise.
15153         (BUS_MCEERR_AR): Likewise.
15154         (BUS_MCEERR_AO): Likewise.
15155         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15156         (TRAP_TRACE): Likewise.
15157         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15158         __USE_XOPEN2K8].
15159         (CLD_KILLED): Likewise.
15160         (CLD_DUMPED): Likewise.
15161         (CLD_TRAPPED): Likewise.
15162         (CLD_STOPPED): Likewise.
15163         (CLD_CONTINUED): Likewise.
15164         (POLL_IN): Likewise.
15165         (POLL_OUT): Likewise.
15166         (POLL_MSG): Likewise.
15167         (POLL_ERR): Likewise.
15168         (POLL_PRI): Likewise.
15169         (POLL_HUP): Likewise.
15170         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15171         (ILL_ILLOPN): Likewise.
15172         (ILL_ILLADR): Likewise.
15173         (ILL_ILLTRP): Likewise.
15174         (ILL_PRVOPC): Likewise.
15175         (ILL_PRVREG): Likewise.
15176         (ILL_COPROC): Likewise.
15177         (ILL_BADSTK): Likewise.
15178         (ILL_DBLFLT): Likewise.
15179         (ILL_HARDWALL): Likewise.
15180         (FPE_INTDIV): Likewise.
15181         (FPE_INTOVF): Likewise.
15182         (FPE_FLTDIV): Likewise.
15183         (FPE_FLTOVF): Likewise.
15184         (FPE_FLTUND): Likewise.
15185         (FPE_FLTRES): Likewise.
15186         (FPE_FLTINV): Likewise.
15187         (FPE_FLTSUB): Likewise.
15188         (SEGV_MAPERR): Likewise.
15189         (SEGV_ACCERR): Likewise.
15190         (BUS_ADRALN): Likewise.
15191         (BUS_ADRERR): Likewise.
15192         (BUS_OBJERR): Likewise.
15193         (BUS_MCEERR_AR): Likewise.
15194         (BUS_MCEERR_AO): Likewise.
15195         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15196         (TRAP_TRACE): Likewise.
15197         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15198         __USE_XOPEN2K8].
15199         (CLD_KILLED): Likewise.
15200         (CLD_DUMPED): Likewise.
15201         (CLD_TRAPPED): Likewise.
15202         (CLD_STOPPED): Likewise.
15203         (CLD_CONTINUED): Likewise.
15204         (POLL_IN): Likewise.
15205         (POLL_OUT): Likewise.
15206         (POLL_MSG): Likewise.
15207         (POLL_ERR): Likewise.
15208         (POLL_PRI): Likewise.
15209         (POLL_HUP): Likewise.
15210         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
15211         (ILL_ILLOPN): Likewise.
15212         (ILL_ILLADR): Likewise.
15213         (ILL_ILLTRP): Likewise.
15214         (ILL_PRVOPC): Likewise.
15215         (ILL_PRVREG): Likewise.
15216         (ILL_COPROC): Likewise.
15217         (ILL_BADSTK): Likewise.
15218         (FPE_INTDIV): Likewise.
15219         (FPE_INTOVF): Likewise.
15220         (FPE_FLTDIV): Likewise.
15221         (FPE_FLTOVF): Likewise.
15222         (FPE_FLTUND): Likewise.
15223         (FPE_FLTRES): Likewise.
15224         (FPE_FLTINV): Likewise.
15225         (FPE_FLTSUB): Likewise.
15226         (SEGV_MAPERR): Likewise.
15227         (SEGV_ACCERR): Likewise.
15228         (BUS_ADRALN): Likewise.
15229         (BUS_ADRERR): Likewise.
15230         (BUS_OBJERR): Likewise.
15231         (BUS_MCEERR_AR): Likewise.
15232         (BUS_MCEERR_AO): Likewise.
15233         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15234         (TRAP_TRACE): Likewise.
15235         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15236         __USE_XOPEN2K8].
15237         (CLD_KILLED): Likewise.
15238         (CLD_DUMPED): Likewise.
15239         (CLD_TRAPPED): Likewise.
15240         (CLD_STOPPED): Likewise.
15241         (CLD_CONTINUED): Likewise.
15242         (POLL_IN): Likewise.
15243         (POLL_OUT): Likewise.
15244         (POLL_MSG): Likewise.
15245         (POLL_ERR): Likewise.
15246         (POLL_PRI): Likewise.
15247         (POLL_HUP): Likewise.
15248         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15249         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15251         [BZ #16670]
15252         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15253         before #include of <time.h>.
15254         [!__USE_XOPEN2K] (__need_timespec): Likewise.
15255         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15256         (test-xfail-UNIX98/sched.h/conform): Likewise.
15258 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15260         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15261         error absence of trapping exception support.
15262         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15264 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
15266         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15267         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15268         * timezone/Makefile (testdata): Move definition above include of
15269         Rules.
15270         (test-zones): New variable.
15271         (tests-special): Add zone files.
15272         (build-testdata): Use $(evaluate-test).
15274         * elf/Makefile (tests-special): Rename tests to end with .out.
15275         ($(objpfx)noload-mem): Likewise.
15276         ($(objpfx)tst-leaks1-mem): Likewise.
15277         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15278         * iconv/Makefile (xtests-special): Change test-iconvconfig to
15279         $(objpfx)test-iconvconfig.out.
15280         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
15281         set -e inside subshell and redirect output to file.
15282         * iconvdata/Makefile (generated): Rename tests to end with .out.
15283         Correct type.
15284         (tests-special): Rename tests to end with .out.
15285         ($(objpfx)mtrace-tst-loading): Likewise.
15286         * intl/Makefile (generated): Likewise.
15287         (tests-special): Likewise.
15288         ($(objpfx)mtrace-tst-gettext): Likewise.
15289         * misc/Makefile (generated): Likewise.
15290         (tests-special): Likewise.
15291         ($(objpfx)tst-error1-mem): Likewise.
15292         * nptl/Makefile (tests-special): Likewise.
15293         ($(objpfx)tst-stack3-mem): Likewise.
15294         (generated): Likewise.
15295         * posix/Makefile (generated): Likewise.
15296         (tests-special): Likewise.
15297         (xtests-special): Likewise.
15298         ($(objpfx)tst-fnmatch-mem): Likewise.
15299         ($(objpfx)bug-regex2-mem): Likewise.
15300         ($(objpfx)bug-regex14-mem): Likewise.
15301         ($(objpfx)bug-regex21-mem): Likewise.
15302         ($(objpfx)bug-regex31-mem): Likewise.
15303         ($(objpfx)tst-vfork3-mem): Likewise.
15304         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15305         ($(objpfx)tst-pcre-mem): Likewise.
15306         ($(objpfx)tst-boost-mem): Likewise.
15307         ($(objpfx)bug-ga2-mem): Likewise.
15308         ($(objpfx)bug-glob2-mem): Likewise.
15309         * resolv/Makefile (generate): Likewise.
15310         (tests-special): Likewise.
15311         (xtests-special): Likewise.
15312         (generated): Likewise.
15313         ($(objpfx)mtrace-tst-leaks): Likewise.
15314         ($(objpfx)mtrace-tst-leaks2): Likewise.
15316         * scripts/merge-test-results.sh: New file.
15317         * Makefile (tests-special-notdir): New variable.
15318         (tests): Run merge-test-results.sh.
15319         (xtests): Likewise.
15320         * Rules (tests-special-notdir): New variable.
15321         (xtests-special-notdir): Likewise.
15322         (tests): Run merge-test-results.sh
15323         (xtests): Likewise.
15325         * Makeconfig (test-xfail-name): New variable.
15326         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15327         compute variable name for expected failures.
15328         * conform/Makefile (conformtest-headers-data): New variable.
15329         (conformtest-standards): Likewise.
15330         (conformtest-headers-ISO): Likewise.
15331         (conformtest-headers-ISO99): Likewise.
15332         (conformtest-headers-ISO11): Likewise.
15333         (conformtest-headers-POSIX): Likewise.
15334         (conformtest-headers-XPG3): Likewise.
15335         (conformtest-headers-XPG4): Likewise.
15336         (conformtest-headers-UNIX98): Likewise.
15337         (conformtest-headers-XOPEN2K): Likewise.
15338         (conformtest-headers-POSIX2008): Likewise.
15339         (conformtest-headers-XOPEN2K8): Likewise.
15340         (conformtest-header-list-base): Likewise.
15341         (conformtest-header-list-tests): Likewise.
15342         (conformtest-header-base): Likewise.
15343         (conformtest-header-tests): Likewise.
15344         (tests-special): Add $(conformtest-header-list-tests).  If
15345         [$(fast-check) && !$(cross-compiling)], add
15346         $(conformtest-header-tests) instead of
15347         $(objpfx)run-conformtest.out.
15348         (generated): Add $(conformtest-header-list-base).  If
15349         [$(fast-check) && !$(cross-compiling)], add
15350         $(conformtest-header-base).  Remove previous setting.
15351         ($(conformtest-header-list-tests)): New target.
15352         (test-xfail-run-conformtest): Remove variable.
15353         ($(objpfx)run-conformtest.out): Remove target.
15354         (test-xfail-ISO11/complex.h/conform): New variable.
15355         (test-xfail-ISO11/stdalign.h/conform): Likewise.
15356         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15357         (test-xfail-XPG3/varargs.h/conform): Likewise.
15358         (test-xfail-XPG4/varargs.h/conform): Likewise.
15359         (test-xfail-UNIX98/varargs.h/conform): Likewise.
15360         (test-xfail-XPG4/ndbm.h/conform): Likewise.
15361         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15362         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15363         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15364         (test-xfail-XPG3/fcntl.h/conform): Likewise.
15365         (test-xfail-XPG3/ftw.h/conform): Likewise.
15366         (test-xfail-XPG3/grp.h/conform): Likewise.
15367         (test-xfail-XPG3/langinfo.h/conform): Likewise.
15368         (test-xfail-XPG3/limits.h/conform): Likewise.
15369         (test-xfail-XPG3/pwd.h/conform): Likewise.
15370         (test-xfail-XPG3/search.h/conform): Likewise.
15371         (test-xfail-XPG3/signal.h/conform): Likewise.
15372         (test-xfail-XPG3/stdio.h/conform): Likewise.
15373         (test-xfail-XPG3/stdlib.h/conform): Likewise.
15374         (test-xfail-XPG3/string.h/conform): Likewise.
15375         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15376         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15377         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15378         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15379         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15380         (test-xfail-XPG3/sys/types.h/conform): Likewise.
15381         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15382         (test-xfail-XPG3/termios.h/conform): Likewise.
15383         (test-xfail-XPG3/time.h/conform): Likewise.
15384         (test-xfail-XPG3/unistd.h/conform): Likewise.
15385         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15386         (test-xfail-XPG4/fcntl.h/conform): Likewise.
15387         (test-xfail-XPG4/langinfo.h/conform): Likewise.
15388         (test-xfail-XPG4/netdb.h/conform): Likewise.
15389         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15390         (test-xfail-XPG4/signal.h/conform): Likewise.
15391         (test-xfail-XPG4/stdio.h/conform): Likewise.
15392         (test-xfail-XPG4/stdlib.h/conform): Likewise.
15393         (test-xfail-XPG4/stropts.h/conform): Likewise.
15394         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15395         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15396         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15397         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15398         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15399         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15400         (test-xfail-XPG4/sys/time.h/conform): Likewise.
15401         (test-xfail-XPG4/sys/types.h/conform): Likewise.
15402         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15403         (test-xfail-XPG4/termios.h/conform): Likewise.
15404         (test-xfail-XPG4/ucontext.h/conform): Likewise.
15405         (test-xfail-XPG4/unistd.h/conform): Likewise.
15406         (test-xfail-XPG4/utmpx.h/conform): Likewise.
15407         (test-xfail-POSIX/sched.h/conform): Likewise.
15408         (test-xfail-POSIX/signal.h/conform): Likewise.
15409         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15410         (test-xfail-POSIX/tar.h/conform): Likewise.
15411         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15412         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15413         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15414         (test-xfail-UNIX98/netdb.h/conform): Likewise.
15415         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15416         (test-xfail-UNIX98/sched.h/conform): Likewise.
15417         (test-xfail-UNIX98/signal.h/conform): Likewise.
15418         (test-xfail-UNIX98/stdio.h/conform): Likewise.
15419         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15420         (test-xfail-UNIX98/stropts.h/conform): Likewise.
15421         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15422         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15423         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15424         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15425         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15426         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15427         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15428         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15429         (test-xfail-UNIX98/unistd.h/conform): Likewise.
15430         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15431         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15432         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15433         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15434         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15435         (test-xfail-XOPEN2K/math.h/conform): Likewise.
15436         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15437         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15438         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15439         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15440         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15441         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15442         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15443         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15444         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15445         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15446         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15447         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15448         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15449         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15450         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15451         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15452         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15453         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15454         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15455         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15456         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15457         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15458         (test-xfail-POSIX2008/signal.h/conform): Likewise.
15459         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15460         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15461         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15462         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15463         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15464         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15465         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15466         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15467         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15468         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15469         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15470         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15471         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15472         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15473         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15474         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15475         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15476         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15477         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15478         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15479         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15480         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15481         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15482         (conformtest-cc-flags): Likewise.
15483         ($(conformtest-header-tests): New target.
15484         * conform/check-header-lists.sh: New file.
15485         * conform/run-conformtest.sh: Remove.
15487         * conform/conformtest.pl: Allow ' and \ in values given for
15488         constants.
15489         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15490         inclusion.
15491         [POSIX] (sys/types.h): Likewise.
15492         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15493         inclusion.
15494         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15495         inclusion.
15496         * conform/data/signal.h-data (SIGIO): Remove expectation.
15497         [XPG3] (SIGBUS): Do not expect.
15498         [POSIX || XPG3] (SIGPOLL): Likewise.
15499         [POSIX || XPG3] (SIGPROF): Likewise.
15500         [POSIX || XPG3] (SIGSYS): Likewise.
15501         [XPG3] (SIGTRAP): Likewise.
15502         [POSIX || XPG3] (SIGURG): Likewise.
15503         [POSIX || XPG3] (SIGVTALRM): Likewise.
15504         [POSIX || XPG3] (SIGXCPU): Likewise.
15505         [POSIX || XPG3] (SIGXFSZ): Likewise.
15506         [POSIX] (SA_SIGINFO): Expect.
15507         [XPG3] (siginfo_t): Do not expect type or contents.
15508         [POSIX] (si_pid): Do not expect element.
15509         [POSIX] (si_uid): Likewise.
15510         [POSIX] (si_addr): Likewise.
15511         [POSIX] (si_status): Likewise.
15512         [POSIX] (si_band): Likewise.
15513         [XPG4] (si_value): Likewise.
15514         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15515         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15516         [POSIX || XPG3] (ILL_ILLADR): Likewise.
15517         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15518         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15519         [POSIX || XPG3] (ILL_PRVREG): Likewise.
15520         [POSIX || XPG3] (ILL_COPROC): Likewise.
15521         [POSIX || XPG3] (ILL_BADSTK): Likewise.
15522         [POSIX || XPG3] (FPE_INTDIV): Likewise.
15523         [POSIX || XPG3] (FPE_INTOVF): Likewise.
15524         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15525         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15526         [POSIX || XPG3] (FPE_FLTUND): Likewise.
15527         [POSIX || XPG3] (FPE_FLTRES): Likewise.
15528         [POSIX || XPG3] (FPE_FLTINV): Likewise.
15529         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15530         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15531         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15532         [POSIX || XPG3] (BUS_ADRALN): Likewise.
15533         [POSIX || XPG3] (BUS_ADRERR): Likewise.
15534         [POSIX || XPG3] (BUS_OBJERR): Likewise.
15535         [POSIX || XPG3] (CLD_EXITED): Likewise.
15536         [POSIX || XPG3] (CLD_KILLED): Likewise.
15537         [POSIX || XPG3] (CLD_DUMPED): Likewise.
15538         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15539         [POSIX || XPG3] (CLD_STOPPED): Likewise.
15540         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15541         [POSIX || XPG3] (POLL_IN): Likewise.
15542         [POSIX || XPG3] (POLL_OUT): Likewise.
15543         [POSIX || XPG3] (POLL_MSG): Likewise.
15544         [POSIX || XPG3] (POLL_ERR): Likewise.
15545         [POSIX || XPG3] (POLL_PRI): Likewise.
15546         [POSIX || XPG3] (POLL_HUP): Likewise.
15547         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15548         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15549         (SIG*): Do not allow.
15550         [XPG3] (si_*): Likewise.
15551         [XPG3] (SI_*): Likewise.
15552         [XPG3 || XPG4] (sigev_*): Likewise.
15553         [XPG3 || XPG4] (SIGEV_*): Likewise.
15554         [XPG3 || XPG4] (sival_*): Likewise.
15555         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15556         [POSIX || XPG3] (BUS_*): Likewise.
15557         [POSIX || XPG3] (CLD_*): Likewise.
15558         [POSIX || XPG3] (FPE_*): Likewise.
15559         [POSIX || XPG3] (ILL_*): Likewise.
15560         [POSIX || XPG3] (POLL_*): Likewise.
15561         [POSIX || XPG3] (SEGV_*): Likewise.
15562         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15563         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15564         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15565         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15566         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15567         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15568         Specify type and value.
15569         (TVERSLEN): Likewise.
15570         (REGTYPE): Likewise.
15571         (AREGTYPE): Likewise.
15572         (LNKTYPE): Likewise.
15573         (SYMTYPE): Likewise.
15574         (CHRTYPE): Likewise.
15575         (BLKTYPE): Likewise.
15576         (DIRTYPE): Likewise.
15577         (FIFOTYPE): Likewise.
15578         (CONTTYPE): Likewise.
15579         (TSUID): Likewise.
15580         (TSGID): Likewise.
15581         (TSVTX): Likewise.
15582         (TUREAD): Likewise.
15583         (TUWRITE): Likewise.
15584         (TUEXEC): Likewise.
15585         (TGREAD): Likewise.
15586         (TGWRITE): Likewise.
15587         (TGEXEC): Likewise.
15588         (TOREAD): Likewise.
15589         (TOWRITE): Likewise.
15590         (TOEXEC): Likewise.
15591         [POSIX] (TSVTX): Expect constant.
15593 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
15595         * Makefile (tests): Change dependencies to ....
15596         (tests-special): ... additions to this variable.
15597         (tests): Depend on $(tests-special).
15598         * Makerules (check-abi-list): New variable.
15599         (check-abi): Depend on $(check-abi-list).
15600         [$(subdir) = elf] (tests-special): Add
15601         $(objpfx)check-abi-libc.out.
15602         [$(build-shared) = yes && subdir] (tests-special): Add
15603         $(check-abi-list).
15604         [$(build-shared) = yes && subdir] (tests): Do not depend on
15605         check-abi.
15606         * Rules (tests): Depend on $(tests-special).
15607         (xtests): Depend on $(xtests-special).
15608         * catgets/Makefile (tests): Change dependencies to ....
15609         (tests-special): ... additions to this variable.
15610         * conform/Makefile (tests): Change dependencies to ....
15611         (tests-special): ... additions to this variable.
15612         * elf/Makefile (tests): Change dependencies to ....
15613         (tests-special): ... additions to this variable.
15614         * grp/Makefile (tests): Change dependencies to ....
15615         (tests-special): ... additions to this variable.
15616         * iconv/Makefile (xtests): Change dependencies to ....
15617         (xtests-special): ... additions to this variable.
15618         * iconvdata/Makefile (tests): Change dependencies to ....
15619         (tests-special): ... additions to this variable.
15620         * intl/Makefile (tests): Change dependencies to ....
15621         (tests-special): ... additions to this variable.  Also add
15622         $(objpfx)tst-gettext.out.
15623         * io/Makefile (tests): Change dependencies to ....
15624         (tests-special): ... additions to this variable.
15625         * libio/Makefile (tests): Change dependencies to ....
15626         (tests-special): ... additions to this variable.
15627         * malloc/Makefile (tests): Change dependencies to ....
15628         (tests-special): ... additions to this variable.
15629         * misc/Makefile (tests): Change dependencies to ....
15630         (tests-special): ... additions to this variable.
15631         * nptl/Makefile (tests): Change dependencies to ....
15632         (tests-special): ... additions to this variable.
15633         * nptl_db/Makefile (tests): Change dependencies to ....
15634         (tests-special): ... additions to this variable.
15635         * posix/Makefile (tests): Change dependencies to ....
15636         (tests-special): ... additions to this variable.
15637         (xtests): Change dependencies to ....
15638         (xtests-special): ... additions to this variable.
15639         * resolv/Makefile (tests): Change dependencies to ....
15640         (tests-special): ... additions to this variable.
15641         (xtests): Change dependencies to ....
15642         (xtests-special): ... additions to this variable.
15643         * stdio-common/Makefile (tests): Change dependencies to ....
15644         (tests-special): ... additions to this variable.
15645         (do-tst-unbputc): Remove target.
15646         (do-tst-printf): Likewise.
15647         * stdlib/Makefile (tests): Change dependencies to ....
15648         (tests-special): ... additions to this variable.
15649         * string/Makefile (tests): Change dependencies to ....
15650         (tests-special): ... additions to this variable.
15651         * sysdeps/x86/Makefile (tests): Change dependencies to ....
15652         (tests-special): ... additions to this variable.
15654         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15655         whole file.
15656         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15657         whole file.
15658         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15659         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15661         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15662         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15663         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15664         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15665         * conform/data/libgen.h-data [XPG3]: Likewise.
15666         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15667         * conform/data/ndbm.h-data [XPG3]: Likewise.
15668         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15669         * conform/data/netdb.h-data [XPG3]: Likewise.
15670         * conform/data/netinet/in.h-data [XPG3]: Likewise.
15671         * conform/data/poll.h-data [XPG3]: Likewise.
15672         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15673         * conform/data/strings.h-data [XPG3]: Likewise.
15674         * conform/data/stropts.h-data [XPG3]: Likewise.
15675         * conform/data/sys/mman.h-data [XPG3]: Likewise.
15676         * conform/data/sys/resource.h-data [XPG3]: Likewise.
15677         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15678         Likewise.
15679         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15680         * conform/data/sys/time.h-data [XPG3]: Likewise.
15681         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15682         * conform/data/sys/uio.h-data [XPG3]: Likewise.
15683         * conform/data/sys/un.h-data [XPG3]: Likewise.
15684         * conform/data/syslog.h-data [XPG3]: Likewise.
15685         * conform/data/ucontext.h-data [XPG3]: Likewise.
15686         * conform/data/utmpx.h-data [XPG3]: Likewise.
15687         * conform/data/varargs.h-data [UNIX98]: Enable file.
15689         * manual/Makefile (INSTALL_INFO): Remove variable setting.
15691         * math/libm-test.inc (struct test_f_f_data): Move expected results
15692         into structure for each rounding mode.
15693         (struct test_ff_f_data): Likewise.
15694         (struct test_ff_f_data_nexttoward): Likewise.
15695         (struct test_fi_f_data): Likewise.
15696         (struct test_fl_f_data): Likewise.
15697         (struct test_if_f_data): Likewise.
15698         (struct test_fff_f_data): Likewise.
15699         (struct test_c_f_data): Likewise.
15700         (struct test_f_f1_data): Likewise.
15701         (struct test_fF_f1_data): Likewise.
15702         (struct test_ffI_f1_data): Likewise.
15703         (struct test_c_c_data): Likewise.
15704         (struct test_cc_c_data): Likewise.
15705         (struct test_f_i_data): Likewise.
15706         (struct test_ff_i_data): Likewise.
15707         (struct test_f_l_data): Likewise.
15708         (struct test_f_L_data): Likewise.
15709         (struct test_fFF_11_data): Likewise.
15710         (RM_): New macro.
15711         (RM_FE_DOWNWARD): Likewise.
15712         (RM_FE_TONEAREST): Likewise.
15713         (RM_FE_TOWARDZERO): Likewise.
15714         (RM_FE_UPWARD): Likewise.
15715         (RUN_TEST_LOOP_f_f): Update references to expected results.
15716         (RUN_TEST_LOOP_2_f): Likewise.
15717         (RUN_TEST_LOOP_fff_f): Likewise.
15718         (RUN_TEST_LOOP_c_f): Likewise.
15719         (RUN_TEST_LOOP_f_f1): Likewise.
15720         (RUN_TEST_LOOP_fF_f1): Likewise.
15721         (RUN_TEST_LOOP_fI_f1): Likewise.
15722         (RUN_TEST_LOOP_ffI_f1): Likewise.
15723         (RUN_TEST_LOOP_c_c): Likewise.
15724         (RUN_TEST_LOOP_cc_c): Likewise.
15725         (RUN_TEST_LOOP_f_i): Likewise.
15726         (RUN_TEST_LOOP_f_i_tg): Likewise.
15727         (RUN_TEST_LOOP_ff_i_tg): Likewise.
15728         (RUN_TEST_LOOP_f_b): Likewise.
15729         (RUN_TEST_LOOP_f_b_tg): Likewise.
15730         (RUN_TEST_LOOP_f_l): Likewise.
15731         (RUN_TEST_LOOP_f_L): Likewise.
15732         (RUN_TEST_LOOP_fFF_11): Likewise.
15733         * math/gen-libm-test.pl (parse_args): Output four copies of
15734         expected results for each test.
15736         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15737         (__ASSUME_UTIMES): Remove.
15738         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15739         (__ASSUME_UTIMES): Likewise.
15741         * math/gen-auto-libm-tests.c: Update comment on output format.
15742         (output_for_one_input_case): Generate before-rounding and
15743         after-rounding information as conditions on output flags not
15744         floating-point format.
15745         * math/auto-libm-test-out: Regenerated.
15746         * math/gen-libm-test.pl (cond_value): New function.
15747         (or_cond_value): Use cond_value.
15748         (generate_testfile): Handle conditional exceptions.
15750 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
15752         * math/libm-test.inc (max_valid_error): New variable.
15753         (init_max_error): Take new argument specifying whether function
15754         results are exactly determined.  Set max_valid_error and bound
15755         other variables for errors based on this argument.
15756         (set_max_error): Do not record results above max_valid_error.
15757         (check_float_internal): Only accept errors of up to 0.5ulps if
15758         also at most max_valid_error.
15759         (START): Take new argument EXACT and pass it to init_max_error.
15760         (acos_test): Update call to START.
15761         (acos_test_tonearest): Likewise.
15762         (acos_test_towardzero): Likewise.
15763         (acos_test_downward): Likewise.
15764         (acos_test_upward): Likewise.
15765         (acosh_test): Likewise.
15766         (asin_test): Likewise.
15767         (asin_test_tonearest): Likewise.
15768         (asin_test_towardzero): Likewise.
15769         (asin_test_downward): Likewise.
15770         (asin_test_upward): Likewise.
15771         (asinh_test): Likewise.
15772         (atan_test): Likewise.
15773         (atanh_test): Likewise.
15774         (atan2_test): Likewise.
15775         (cabs_test): Likewise.
15776         (cacos_test): Likewise.
15777         (cacosh_test): Likewise.
15778         (carg_test): Likewise.
15779         (casin_test): Likewise.
15780         (casinh_test): Likewise.
15781         (catan_test): Likewise.
15782         (catanh_test): Likewise.
15783         (cbrt_test): Likewise.
15784         (ccos_test): Likewise.
15785         (ccosh_test): Likewise.
15786         (ceil_test): Likewise.
15787         (cexp_test): Likewise.
15788         (cimag_test): Likewise.
15789         (clog_test): Likewise.
15790         (clog10_test): Likewise.
15791         (conj_test): Likewise.
15792         (copysign_test): Likewise.
15793         (cos_test): Likewise.
15794         (cos_test_tonearest): Likewise.
15795         (cos_test_towardzero): Likewise.
15796         (cos_test_downward): Likewise.
15797         (cos_test_upward): Likewise.
15798         (cosh_test): Likewise.
15799         (cosh_test_tonearest): Likewise.
15800         (cosh_test_towardzero): Likewise.
15801         (cosh_test_downward): Likewise.
15802         (cosh_test_upward): Likewise.
15803         (cpow_test): Likewise.
15804         (cproj_test): Likewise.
15805         (creal_test): Likewise.
15806         (csin_test): Likewise.
15807         (csinh_test): Likewise.
15808         (csqrt_test): Likewise.
15809         (ctan_test): Likewise.
15810         (ctan_test_tonearest): Likewise.
15811         (ctan_test_towardzero): Likewise.
15812         (ctan_test_downward): Likewise.
15813         (ctan_test_upward): Likewise.
15814         (ctanh_test): Likewise.
15815         (ctanh_test_tonearest): Likewise.
15816         (ctanh_test_towardzero): Likewise.
15817         (ctanh_test_downward): Likewise.
15818         (ctanh_test_upward): Likewise.
15819         (erf_test): Likewise.
15820         (erfc_test): Likewise.
15821         (exp_test): Likewise.
15822         (exp_test_tonearest): Likewise.
15823         (exp_test_towardzero): Likewise.
15824         (exp_test_downward): Likewise.
15825         (exp_test_upward): Likewise.
15826         (exp10_test): Likewise.
15827         (exp10_test_tonearest): Likewise.
15828         (exp10_test_towardzero): Likewise.
15829         (exp10_test_downward): Likewise.
15830         (exp10_test_upward): Likewise.
15831         (pow10_test): Likewise.
15832         (exp2_test): Likewise.
15833         (expm1_test): Likewise.
15834         (expm1_test_tonearest): Likewise.
15835         (expm1_test_towardzero): Likewise.
15836         (expm1_test_downward): Likewise.
15837         (expm1_test_upward): Likewise.
15838         (fabs_test): Likewise.
15839         (fdim_test): Likewise.
15840         (floor_test): Likewise.
15841         (fma_test): Likewise.
15842         (fma_test_towardzero): Likewise.
15843         (fma_test_downward): Likewise.
15844         (fma_test_upward): Likewise.
15845         (fmax_test): Likewise.
15846         (fmin_test): Likewise.
15847         (fmod_test): Likewise.
15848         (fpclassify_test): Likewise.
15849         (frexp_test): Likewise.
15850         (hypot_test): Likewise.
15851         (ilogb_test): Likewise.
15852         (isfinite_test): Likewise.
15853         (finite_test): Likewise.
15854         (isgreater_test): Likewise.
15855         (isgreaterequal_test): Likewise.
15856         (isinf_test): Likewise.
15857         (isless_test): Likewise.
15858         (islessequal_test): Likewise.
15859         (islessgreater_test): Likewise.
15860         (isnan_test): Likewise.
15861         (isnormal_test): Likewise.
15862         (issignaling_test): Likewise.
15863         (isunordered_test): Likewise.
15864         (j0_test): Likewise.
15865         (j1_test): Likewise.
15866         (jn_test): Likewise.
15867         (ldexp_test): Likewise.
15868         (lgamma_test): Likewise.
15869         (gamma_test): Likewise.
15870         (lrint_test): Likewise.
15871         (lrint_test_tonearest): Likewise.
15872         (lrint_test_towardzero): Likewise.
15873         (lrint_test_downward): Likewise.
15874         (lrint_test_upward): Likewise.
15875         (llrint_test): Likewise.
15876         (llrint_test_tonearest): Likewise.
15877         (llrint_test_towardzero): Likewise.
15878         (llrint_test_downward): Likewise.
15879         (llrint_test_upward): Likewise.
15880         (log_test): Likewise.
15881         (log10_test): Likewise.
15882         (log1p_test): Likewise.
15883         (log2_test): Likewise.
15884         (logb_test): Likewise.
15885         (logb_test_downward): Likewise.
15886         (lround_test): Likewise.
15887         (llround_test): Likewise.
15888         (modf_test): Likewise.
15889         (nearbyint_test): Likewise.
15890         (nextafter_test): Likewise.
15891         (nexttoward_test): Likewise.
15892         (pow_test): Likewise.
15893         (pow_test_tonearest): Likewise.
15894         (pow_test_towardzero): Likewise.
15895         (pow_test_downward): Likewise.
15896         (pow_test_upward): Likewise.
15897         (remainder_test): Likewise.
15898         (drem_test): Likewise.
15899         (remainder_test_tonearest): Likewise.
15900         (drem_test_tonearest): Likewise.
15901         (remainder_test_towardzero): Likewise.
15902         (drem_test_towardzero): Likewise.
15903         (remainder_test_downward): Likewise.
15904         (drem_test_downward): Likewise.
15905         (remainder_test_upward): Likewise.
15906         (drem_test_upward): Likewise.
15907         (remquo_test): Likewise.
15908         (rint_test): Likewise.
15909         (rint_test_tonearest): Likewise.
15910         (rint_test_towardzero): Likewise.
15911         (rint_test_downward): Likewise.
15912         (rint_test_upward): Likewise.
15913         (round_test): Likewise.
15914         (scalb_test): Likewise.
15915         (scalbn_test): Likewise.
15916         (scalbln_test): Likewise.
15917         (signbit_test): Likewise.
15918         (sin_test): Likewise.
15919         (sin_test_tonearest): Likewise.
15920         (sin_test_towardzero): Likewise.
15921         (sin_test_downward): Likewise.
15922         (sin_test_upward): Likewise.
15923         (sincos_test): Likewise.
15924         (sinh_test): Likewise.
15925         (sinh_test_tonearest): Likewise.
15926         (sinh_test_towardzero): Likewise.
15927         (sinh_test_downward): Likewise.
15928         (sinh_test_upward): Likewise.
15929         (sqrt_test): Likewise.
15930         (sqrt_test_tonearest): Likewise.
15931         (sqrt_test_towardzero): Likewise.
15932         (sqrt_test_downward): Likewise.
15933         (sqrt_test_upward): Likewise.
15934         (tan_test): Likewise.
15935         (tan_test_tonearest): Likewise.
15936         (tan_test_towardzero): Likewise.
15937         (tan_test_downward): Likewise.
15938         (tan_test_upward): Likewise.
15939         (tanh_test): Likewise.
15940         (tgamma_test): Likewise.
15941         (trunc_test): Likewise.
15942         (y0_test): Likewise.
15943         (y1_test): Likewise.
15944         (yn_test): Likewise.
15945         (significand_test): Likewise.
15947         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
15948         individual tests in comment.
15949         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
15950         (prev_max_error): New variable.
15951         (prev_real_max_error): Likewise.
15952         (prev_imag_max_error): Likewise.
15953         (compare_ulp_data): Don't refer to test names in comment.
15954         (find_test_ulps): Remove function.
15955         (find_function_ulps): Likewise.
15956         (find_complex_function_ulps): Likewise.
15957         (init_max_error): Take function name as argument.  Look up ulps
15958         for that function.
15959         (print_ulps): Remove function.
15960         (print_max_error): Use prev_max_error instead of calling
15961         find_function_ulps.
15962         (print_complex_max_error): Use prev_real_max_error and
15963         prev_imag_max_error instead of calling find_complex_function_ulps.
15964         (check_float_internal): Take max_ulp parameter instead of calling
15965         find_test_ulps.  Don't call print_ulps.
15966         (check_float): Update call to check_float_internal.
15967         (check_complex): Update calls to check_float_internal.
15968         (START): Pass argument to init_max_error.
15969         * math/gen-libm-test.pl (%results): Don't include "kind"
15970         information.
15971         (parse_ulps): Don't handle ulps of individual tests.
15972         (print_ulps_file): Likewise.
15973         (output_ulps): Likewise.
15974         * math/README.libm-test: Update.
15975         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
15976         individual tests.
15977         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
15978         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
15979         * sysdeps/arm/libm-test-ulps: Likewise.
15980         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15981         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
15982         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
15983         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
15984         * sysdeps/microblaze/libm-test-ulps: Likewise.
15985         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15986         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15987         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15988         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15989         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15990         * sysdeps/sh/libm-test-ulps: Likewise.
15991         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15992         * sysdeps/tile/libm-test-ulps: Likewise.
15993         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15995 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
15997         * math/libm-test.inc (print_complex_max_error): Check separately
15998         whether real and imaginary errors are within allowed range and
15999         pass 0 to print_complex_function_ulps instead of value within
16000         allowed range.
16002 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16004         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16005         formatting.
16006         (get_handles_fopen): Likewise.
16007         (do_write_test): Likewise.
16009         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16011         * libio/fileops.c (do_ftell): Use cached offset when
16012         available.
16013         * libio/iofwide.c (do_ftell_wide): Likewise.
16014         * libio/iofdopen.c (_IO_new_fdopen): Don't use
16015         _IO_file_attach.
16016         * libio/wfileops.c (_IO_fwide): Don't cache offset.
16018         [BZ #16532]
16019         * libio/libioP.h (get_file_offset): New function.
16020         * libio/fileops.c (get_file_offset): Likewise.
16021         (do_ftell): Likewise.
16022         (_IO_new_file_seekoff): Split out ftell logic.
16023         * libio/wfileops.c (do_ftell_wide): Likewise.
16024         (_IO_wfile_seekoff): Split out ftell logic.
16025         * libio/tst-ftell-active-handler.c: New test case.
16026         * libio/Makefile (tests): Add it.
16028 2014-03-03  Roland McGrath  <roland@hack.frob.com>
16030         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16031         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16033 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16035         [BZ #16639]
16036         * nscd/connections.c (nscd_init): Call do_exit.
16037         (start_threads): Call do_exit and notify_parent.
16038         (begin_drop_privileges): Call do_exit.
16039         (finish_drop_privileges): Likewise.
16040         * nscd/selinux.c (preserve_capabilities): Likewise.
16041         (install_real_capabilities): Likewise.
16042         (nscd_selinux_enabled): Likewise.
16043         (avc_create_thread): Likewise.
16044         (avc_alloc_lock): Likewise.
16045         (nscd_avc_init): Likewise.
16046         * nscd/nscd.c (parent_fd): New static variable.
16047         (main): Create a pipe between parent and child processes.
16048         Skip closing parent_fd.
16049         (monitor_child): New function.
16050         (do_exit): Likewise.
16051         (notify_parent): Likewise.
16052         * nscd/nscd.h (notify_parent): Likewise.
16053         (do_exit): Likewise.
16055 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
16057         * malloc/malloc.c (__libc_calloc): Revert last change.
16059 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16061         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16063 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16065         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16066         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16067         implementation.
16068         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16069         (__libc_ifunc_impl_list): Likewise.
16070         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16071         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16072         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16073         * string/strrchr.c: Define STRRCHR.
16075 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
16077         * benchtest/bench-strtok.c (simple_strtok): Delete.
16078         (strtok_string): Use as benchmark.
16079         * string/strtok (STRTOK): New macro.
16081 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
16083         * manual/threads.texi: Add header and standard comments to all
16084         functions.
16086         * elf/dl-lookup.c (check_match): New function.
16087         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16088         (do_lookup_x): Remove nested function check_match. Use non-nested
16089         function check_match.
16091 2014-02-28  Roland McGrath  <roland@hack.frob.com>
16093         * csu/Makefile (generated, before-compile): Use += rather than =.
16094         * catgets/Makefile (generated, generated-dirs): Likewise.
16095         * debug/Makefile (generated): Likewise.
16096         * dlfcn/Makefile (generated): Likewise.
16097         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16098         * iconvdata/Makefile (before-compile, generated): Likewise.
16099         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16100         * libio/Makefile (generated): Likewise.
16101         * malloc/Makefile (generated): Likewise.
16102         * manual/Makefile (generated, generated-dirs): Likewise.
16103         * misc/Makefile (generated): Likewise.
16104         * posix/Makefile (generated): Likewise.
16105         * resolv/Makefile (generated): Likewise.
16106         * sunrpc/Makefile (generated, generated-dirs): Likewise.
16107         * timezone/Makefile (generated, generated-dirs): Likewise.
16109         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16111 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16113         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16114         power8 implementation.
16115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16116         file: POWER8 llround ifunc implementation.
16117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16118         (__lllround): Add POWER8 implementation.
16119         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16120         POWER8 llround implementation.
16122         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16123         power8 implementation.
16124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16125         file: POWER8 llrint ifunc implementation.
16126         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16127         Add POWER8 implementation.
16128         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16129         POWER8 llrint implementation.
16131         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16132         power8 implementation.
16133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16134         file: POWER8 finite ifunc implementation.
16135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16136         Add POWER8 implementation.
16137         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16138         Likewise.
16139         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16140         POWER8 finite implementation.
16141         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16143         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16144         power8 implementation.
16145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16146         file: POWER8 isinf ifunc implementation.
16147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16148         POWER8 implementation.
16149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16150         Likewise.
16151         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16152         isinf implementation.
16153         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16155         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16156         (INIT_ARCH): Add hwcap2 initialization.
16157         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16158         power8 implementation.
16159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16160         file: POWER8 isnan ifunc implementation.
16161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16162         POWER8 implementation.
16163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16164         Likewise.
16165         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16166         isnan implementation.
16167         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16169 2014-02-27  Joey Ye  <joey.ye@arm.com>
16171         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16172         (_FP_NANFRAC_Q): Set to zero.
16174 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16176         [BZ #16623]
16177         * math/auto-libm-test-in: New test inputs.
16178         * math/auto-libm-test-out: Regenerate.
16179         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16180         and DA.
16181         (__cos): Likewise.
16182         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16184 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
16186         * scripts/evaluate-test.sh: Take new argument indicating whether
16187         failure is expected.
16188         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16189         indicating whether failure is expected.
16190         * conform/Makefile (test-xfail-run-conformtest): New variable.
16191         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16192         level.
16193         * posix/Makefile (test-xfail-annexc): New variable.
16194         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16196 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
16198         * argp/Makefile: Include Makeconfig immediately after defining
16199         subdir.
16200         * assert/Makefile: Likewise.
16201         * benchtests/Makefile: Likewise.
16202         * catgets/Makefile: Likewise.
16203         * conform/Makefile: Likewise.
16204         * crypt/Makefile: Likewise.
16205         * csu/Makefile: Likewise.
16206         (all): Remove target.
16207         * ctype/Makefile: Include Makeconfig immediately after defining
16208         subdir.
16209         * debug/Makefile: Likewise.
16210         * dirent/Makefile: Likewise.
16211         * dlfcn/Makefile: Likewise.
16212         * gmon/Makefile: Likewise.
16213         * gnulib/Makefile: Likewise.
16214         * grp/Makefile: Likewise.
16215         * gshadow/Makefile: Likewise.
16216         * hesiod/Makefile: Likewise.
16217         * hurd/Makefile: Likewise.
16218         (all): Remove target.
16219         * iconvdata/Makefile: Include Makeconfig immediately after
16220         defining subdir.
16221         * inet/Makefile: Likewise.
16222         * intl/Makefile: Likewise.
16223         * io/Makefile: Likewise.
16224         * libio/Makefile: Likewise.
16225         (all): Remove target.
16226         * locale/Makefile: Include Makeconfig immediately after defining
16227         subdir.
16228         * login/Makefile: Likewise.
16229         * mach/Makefile: Likewise.
16230         (all): Remove target.
16231         * malloc/Makefile: Include Makeconfig immediately after defining
16232         subdir.
16233         (all): Remove target.
16234         * manual/Makefile: Include Makeconfig immediately after defining
16235         subdir.
16236         * math/Makefile: Likewise.
16237         * misc/Makefile: Likewise.
16238         * nis/Makefile: Likewise.
16239         * nss/Makefile: Likewise.
16240         * po/Makefile: Likewise.
16241         (all): Remove target.
16242         * posix/Makefile: Include Makeconfig immediately after defining
16243         subdir.
16244         * pwd/Makefile: Likewise.
16245         * resolv/Makefile: Likewise.
16246         * resource/Makefile: Likewise.
16247         * rt/Makefile: Likewise.
16248         * setjmp/Makefile: Likewise.
16249         * shadow/Makefile: Likewise.
16250         * signal/Makefile: Likewise.
16251         * socket/Makefile: Likewise.
16252         * soft-fp/Makefile: Likewise.
16253         * stdio-common/Makefile: Likewise.
16254         * stdlib/Makefile: Likewise.
16255         * streams/Makefile: Likewise.
16256         * string/Makefile: Likewise.
16257         * sunrpc/Makefile: Likewise.
16258         (all): Remove target.
16259         * sysvipc/Makefile: Include Makeconfig immediately after defining
16260         subdir.
16261         * termios/Makefile: Likewise.
16262         * time/Makefile: Likewise.
16263         * timezone/Makefile: Likewise.
16264         (all): Remove target.
16265         * wcsmbs/Makefile: Include Makeconfig immediately after defining
16266         subdir.
16267         * wctype/Makefile: Likewise.
16269 2014-02-26  Steve Ellcey  <sellcey@mips.com>
16271         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16272         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16273         (libc_feholdexcept_setround_mips): Ditto.
16274         (libc_feholdsetround): New.
16275         (libc_feholdsetroundf): New.
16276         (libc_feholdsetroundl): New.
16277         (libc_feupdateenv_test_mips): New.
16278         (libc_feupdateenv_test): New.
16279         (libc_feupdateenv_testf): New.
16280         (libc_feupdateenv_testl): New.
16281         (libc_feresetround): New.
16282         (libc_feresetroundf): New.
16283         (libc_feresetroundl): New.
16284         (libc_fetestexcept_mips): New.
16285         (libc_fetestexcept): New.
16286         (libc_fetestexceptf): New.
16287         (libc_fetestexceptl): New.
16288         (HAVE_RM_CTX): New.
16289         (libc_feholdexcept_setround_mips_ctx): New.
16290         (libc_feholdexcept_setround_ctx): New.
16291         (libc_feholdexcept_setroundf_ctx): New.
16292         (libc_feholdexcept_setroundl_ctx): New.
16293         (libc_fesetenv_mips_ctx): New.
16294         (libc_fesetenv_ctx): New.
16295         (libc_fesetenv_ctxf): New.
16296         (libc_fesetenv_ctxl): New.
16297         (libc_feupdateenv_mips_ctx): New.
16298         (libc_feupdateenv_ctx): New.
16299         (libc_feupdateenvf_ctx): New.
16300         (libc_feupdateenvl_ctx): New.
16301         (libc_feholdsetround_mips_ctx): New.
16302         (libc_feholdsetround_ctx): New.
16303         (libc_feholdsetroundf_ctx): New.
16304         (libc_feholdsetroundl_ctx): New.
16305         (libc_feresetround_mips_ctx): New.
16306         (libc_feresetround_ctx): New.
16307         (libc_feresetroundf_ctx): New.
16308         (libc_feresetroundl_ctx): New.
16310 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
16312         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16314         * manual/ipc.texi: New file.
16315         * manual/Makefile (chapters): Add ipc.
16316         * manual/job.texi: Add "Inter-Process Communication" to next.
16317         * manual/process.texi: Add "Inter-Process Communication" to prev.
16319 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16321         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16323 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
16325         * malloc/malloc.c (__libc_calloc): Simplify implementation.
16327         * manual/arith.texi: Fix spaces after sentences.
16328         * manual/charset.texi: Likewise.
16329         * manual/errno.texi: Likewise.
16330         * manual/install.texi: Likewise.
16331         * manual/llio.texi: Likewise.
16332         * manual/locale.texi: Likewise.
16333         * manual/maint.texi: Likewise.
16334         * manual/math.texi: Likewise.
16335         * manual/memory.texi: Likewise.
16336         * manual/message.texi: Likewise.
16337         * manual/probes.texi: Likewise.
16338         * manual/resource.texi: Likewise.
16339         * manual/signal.texi: Likewise.
16340         * manual/socket.texi: Likewise.
16341         * manual/stdio.texi: Likewise.
16342         * manual/string.texi: Likewise.
16343         * manual/time.texi: Likewise.
16344         * manual/users.texi: Likewise.
16346 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
16348         [BZ #16632]
16349         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16350         _DEFAULT_SOURCE is defined.
16352 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
16353             Carlos O'Donell  <carlos@redhat.com>
16355         [BZ #16613]
16356         * elf/dl-tls.c (_dl_count_modids): New function.
16357         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16358         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16359         audit library and increment generation counter.
16360         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16361         * elf/tst-audit9.c: New file.
16362         * elf/tst-auditmod9a.c: New file.
16363         * elf/tst-auditmod9b.c: New file.
16364         * elf/Makefile: Add rules to build and run tst-audit9.
16366 2014-02-25  Florian Weimer  <fweimer@redhat.com>
16368         [BZ #15347]
16369         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16371 2014-02-25  Will Newton  <will.newton@linaro.org>
16373         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16374         (__longjmp): Restore sp and lr before restoring callee
16375         saved registers.  Add longjmp and longjmp_target
16376         SystemTap probe point.
16377         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16378         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16379         Define to zero to match jmpbuf layout.
16380         * sysdeps/arm/setjmp.S: Include stap-probe.h.
16381         (__sigsetjmp): Save sp and lr before saving callee
16382         saved registers.  Add setjmp SystemTap probe point.
16384 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16386         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16388 2014-02-24  Andreas Schwab  <schwab@suse.de>
16390         [BZ #15804]
16391         * elf/pldd.c (wait_for_ptrace_stop): New function.
16392         (main): Call it after attaching.
16394 2014-02-22  Roland McGrath  <roland@hack.frob.com>
16396         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16397         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16398         Versions files is now verboten.
16399         * hurd/Versions (libc: GLIBC_2.0):
16400         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16401         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16402         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16403         * mach/Versions: Likewise.
16405         * csu/Versions: Remove unused %include.
16406         * resolv/Versions: Likewise.
16408 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
16410         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16411         ($(objpfx)check-local-headers.out): Likewise.
16412         ($(objpfx)begin-end-check.out): Likewise.
16413         * Makerules (check-abi-%.out): Likewise.
16414         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16415         ($(objpfx)test2.cat): Likewise.
16416         ($(objpfx)de/libc.cat): Likewise.
16417         ($(objpfx)test-gencat.out): Likewise.
16418         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16419         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16420         ($(objpfx)noload-mem): Likewise.
16421         ($(objpfx)tst-pathopt.out): Likewise.
16422         ($(objpfx)tst-rtld-load-self.out): Likewise.
16423         ($(objpfx)tst-array1-cmp.out): Likewise.
16424         ($(objpfx)tst-array1-static-cmp.out): Likewise.
16425         ($(objpfx)tst-array2-cmp.out): Likewise.
16426         ($(objpfx)tst-array3-cmp.out): Likewise.
16427         ($(objpfx)tst-array4-cmp.out): Likewise.
16428         ($(objpfx)tst-array5-cmp.out): Likewise.
16429         ($(objpfx)tst-array5-static-cmp.out): Likewise.
16430         ($(objpfx)check-textrel.out): Likewise.
16431         ($(objpfx)check-execstack.out): Likewise.
16432         ($(objpfx)check-localplt.out): Likewise.
16433         ($(objpfx)order2-cmp.out): Likewise.
16434         ($(objpfx)tst-leaks1-mem): Likewise.
16435         ($(objpfx)tst-leaks1-static-mem): Likewise.
16436         ($(objpfx)tst-initorder-cmp.out): Likewise.
16437         ($(objpfx)tst-initorder2-cmp.out): Likewise.
16438         ($(objpfx)tst-unused-dep.out): Likewise.
16439         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16440         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16441         * iconv/Makefile (test-iconvconfig): Likewise.
16442         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16443         ($(objpfx)iconv-test.out): Likewise.
16444         ($(objpfx)tst-tables.out): Likewise.
16445         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16446         ($(objpfx)tst-gettext.out): Likewise.
16447         ($(objpfx)tst-translit.out): Likewise.
16448         ($(objpfx)tst-gettext2.out): Likewise.
16449         ($(objpfx)tst-gettext4.out): Likewise.
16450         ($(objpfx)tst-gettext6.out): Likewise.
16451         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16452         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16453         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16454         ($(objpfx)tst-fopenloc-mem.out): Likewise.
16455         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16456         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16457         * posix/Makefile ($(objpfx)globtest.out): Likewise.
16458         ($(objpfx)wordexp-tst.out): Likewise.
16459         ($(objpfx)annexc.out): Likewise.
16460         ($(objpfx)tst-fnmatch-mem): Likewise.
16461         ($(objpfx)bug-regex2-mem): Likewise.
16462         ($(objpfx)bug-regex14-mem): Likewise.
16463         ($(objpfx)bug-regex21-mem): Likewise.
16464         ($(objpfx)bug-regex31-mem): Likewise.
16465         ($(objpfx)tst-vfork3-mem): Likewise.
16466         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16467         ($(objpfx)tst-pcre-mem): Likewise.
16468         ($(objpfx)tst-boost-mem): Likewise.
16469         ($(objpfx)tst-getconf.out): Likewise.
16470         ($(objpfx)bug-ga2-mem): Likewise.
16471         ($(objpfx)bug-glob2-mem): Likewise.
16472         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16473         ($(objpfx)mtrace-tst-leaks2): Likewise.
16474         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16475         ($(objpfx)tst-printf.out): Likewise.
16476         ($(objpfx)tst-setvbuf1.out): Likewise.
16477         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16478         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16479         ($(objpfx)tst-fmtmsg.out): Likewise.
16480         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16481         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16483         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16484         * bits/sigaction.h [__USE_MISC]: Likewise.
16485         * bits/waitstatus.h: Update #endif comments.
16486         * ctype/ctype.h: Likewise.
16487         * dirent/dirent.h: Likewise.
16488         [__USE_MISC]: Remove redundant conditionals.
16489         * grp/grp.h: Update #endif comments.
16490         [__USE_GNU]: Remove redundant conditionals.
16491         [__USE_MISC]: Likewise.
16492         * inet/netinet/in.h [__USE_GNU]: Likewise.
16493         * io/sys/stat.h [__USE_MISC]: Likewise.
16494         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16495         * libio/bits/stdio.h: Update #endif comments.
16496         [__USE_MISC]: Remove redundant conditionals.
16497         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16498         * libio/stdio.h: Update #endif comments.
16499         [__USE_MISC]: Remove redundant conditionals.
16500         * math/bits/math-finite.h [__USE_MISC]: Likewise.
16501         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16502         * math/math.h: Update #else and #endif comments.
16503         [__USE_MISC]: Remove redundant conditionals.
16504         * misc/sys/uio.h: Update #endif comments.
16505         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16506         * posix/glob.h [__USE_MISC]: Likewise.
16507         * posix/sys/types.h: Update #endif comments.
16508         [__USE_MISC]: Remove redundant conditionals.
16509         * posix/sys/wait.h: Update #endif comments.
16510         [__USE_MISC]: Remove redundant conditionals.
16511         * posix/unistd.h: Update #endif comments.
16512         [__USE_MISC]: Remove redundant conditionals.
16513         * pwd/pwd.h [__USE_GNU]: Likewise.
16514         [__USE_MISC]: Likewise.
16515         * resolv/netdb.h [__USE_GNU]: Likewise.
16516         * signal/signal.h: Update #endif comments.
16517         [__USE_MISC]: Remove redundant conditionals.
16518         * stdlib/stdlib.h: Update #else and #endif comments.
16519         [__USE_MISC]: Remove redundant conditionals.
16520         [__USE_GNU]: Likewise.
16521         * string/bits/string2.h [__USE_MISC]: Likewise.
16522         * string/string.h: Update #endif comments.
16523         [__USE_MISC]: Remove redundant conditionals.
16524         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16525         Likewise.
16526         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16527         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16528         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16529         Likewise.
16530         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16531         Likewise.
16532         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16533         comments.
16534         [__USE_MISC]: Remove redundant conditionals.
16535         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16536         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16537         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16538         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16539         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16540         Likewise.
16541         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16542         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16543         Likewise.
16544         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16545         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16546         Likewise.
16547         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16548         Likewise.
16549         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16550         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16551         Likewise.
16552         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16553         Likewise.
16554         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16555         * sysdeps/x86/bits/string.h: Update #endif comments.
16556         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16557         conditionals.
16558         * time/sys/time.h: Update #endif comments.
16559         * time/time.h: Likewise.
16560         [__USE_MISC]: Remove redundant conditionals.
16562 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
16564         [BZ #16600]
16565         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16567 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
16569         * Versions.def (librt): Add GLIBC_2.17.
16571 2014-02-21  Adam Conrad  <adconrad@0c3.net>
16573         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16574         synonym for _SYS_AUXV_H to allow direct inclusion.
16575         * sysdeps/sparc/bits/hwcap.h: Likewise.
16576         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16577         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16578         * sysdeps/sparc/sysdep.h: Likewise.
16580 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16582         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16584 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16586         * benchtests/bench-strrchr.c: Print length instead of position.
16588 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
16590         [BZ #16611]
16591         * sysdeps/unix/sysv/linux/kernel-features.h
16592         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16593         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16594         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16595         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16596         Likewise.
16597         [__i386__ || __powerpc__ || __sh__ || __sparc__]
16598         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16599         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16600         (__ASSUME_SENDMMSG): Define instead of using previous
16601         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16602         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16603         (__ASSUME_SENDMMSG_SYSCALL): Define.
16604         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16605         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16606         Likewise.
16607         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16608         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16609         Likewise.
16610         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16611         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16612         Likewise.
16613         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16614         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16615         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16616         [__ASSUME_SENDMMSG]: Change conditionals to
16617         [__ASSUME_SENDMMSG_SOCKETCALL].
16618         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16619         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16620         Define.
16621         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16622         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16623         Likewise.
16624         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16625         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16626         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16627         [!__ASSUME_SENDMMSG]: Change conditional to
16628         [!__ASSUME_SENDMMSG_SOCKETCALL].
16629         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16630         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16631         Define.
16633         [BZ #16610]
16634         * sysdeps/unix/sysv/linux/kernel-features.h
16635         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16636         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16637         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16638         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16639         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16640         [__i386__ || __sparc__]
16641         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16642         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16643         (__ASSUME_RECVMMSG): Define instead of using previous
16644         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16645         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16646         (__ASSUME_RECVMMSG_SYSCALL): Define.
16647         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16648         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16649         Likewise.
16650         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16651         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16652         Likewise.
16653         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16654         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16655         Likewise.
16656         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16657         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16658         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16659         [__ASSUME_RECVMMSG]: Change condition to
16660         [__ASSUME_RECVMMSG_SOCKETCALL].
16661         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16662         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16663         Define.
16664         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16665         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16666         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16667         Likewise.
16668         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
16669         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16670         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16671         [!__ASSUME_RECVMMSG]: Change condition to
16672         [!__ASSUME_RECVMMSG_SOCKETCALL].
16673         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16674         (__ASSUME_RECVMMSG_SYSCALL): Define.
16676         [BZ #16609]
16677         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16678         __powerpc__ || __s390__ || __sh__ || __sparc__]
16679         (__ASSUME_SOCKETCALL): Define.
16680         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16681         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16682         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16683         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16684         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16685         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16686         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16687         (__ASSUME_ACCEPT4): Define instead of using previous
16688         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16689         __powerpc__ || __sparc__ || __s390__)] condition.
16690         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16691         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16692         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16693         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16694         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16695         [!__ASSUME_ACCEPT4]: Change condition to
16696         [!__ASSUME_ACCEPT4_SOCKETCALL].
16697         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16698         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
16699         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16700         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16701         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16702         __ASSUME_ACCEPT4_SYSCALL.
16703         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16704         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16705         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16706         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16707         __ASSUME_ACCEPT4_SYSCALL.
16708         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16709         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16710         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16711         [__ASSUME_ACCEPT4]: Change condition to
16712         [__ASSUME_ACCEPT4_SOCKETCALL].
16713         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16714         (__ASSUME_SOCKETCALL): Define.
16715         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16716         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16717         (__ASSUME_SOCKETCALL): Define.
16718         (__ASSUME_ACCEPT4): Remove.
16719         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16720         Define.
16721         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16722         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16723         Likewise.
16724         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16725         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16727         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16728         macro.
16729         (HWCAP_ARM_LPAE): Likewise.
16730         (HWCAP_ARM_EVTSTRM): Likewise.
16731         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
16732         Add vpfd32, lpae and evtstrm.
16733         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
16734         Increase to 22.
16736 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
16738         * math/auto-libm-test-in: Add tests of clog10.
16739         * math/auto-libm-test-out: Regenerated.
16740         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
16741         * sysdeps/i386/fpu/libm-test-ulps: Update.
16742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16744 2014-02-18  Andreas Schwab  <schwab@suse.de>
16746         [BZ #16574]
16747         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
16748         Store non-zero if the second buffer was newly allocated.
16749         (send_dg): Likewise.
16750         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
16751         to send_vc and send_dg.
16752         (res_nsend): Pass NULL for ansp2_malloced.
16753         * resolv/res_query.c (__libc_res_nquery): Add parameter
16754         answerp2_malloced and pass it down to __libc_res_nsend.
16755         (res_nquery): Pass additional NULL to __libc_res_nquery.
16756         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
16757         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
16758         second answer buffer if answerp2_malloced was set.
16759         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
16760         (__libc_res_nquerydomain): Add parameter
16761         answerp2_malloced and pass it down to __libc_res_nquery.
16762         (res_nquerydomain): Pass additional NULL to
16763         __libc_res_nquerydomain.
16764         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
16765         additional NULL to __libc_res_nsend and __libc_res_nquery.
16766         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
16767         additional NULL to __libc_res_nsearch.
16768         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
16769         parameter of __libc_res_nsearch to check for separately allocated
16770         second buffer.
16771         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
16772         __libc_res_nquery.
16773         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
16774         additional NULL to __libc_res_nquery.
16775         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
16776         __libc_res_nsearch.
16777         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
16778         * include/resolv.h: Update prototypes of __libc_res_nquery,
16779         __libc_res_nsearch, __libc_res_nsend.
16781 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
16783         * math/auto-libm-test-in: Add tests of fma.
16784         * math/auto-libm-test-out: Regenerated.
16785         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
16786         (fma_towardzero_test_data): Likewise.
16787         (fma_downward_test_data): Likewise.
16788         (fma_upward_test_data): Likewise.
16789         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
16790         mpc_mode.
16791         (rounding_modes): Add values for new field.
16792         (func_calc_method): Add value mpfr_fff_f.
16793         (func_calc_desc): Add mpfr_fff_f union field.
16794         (test_function): Add field exact_args.
16795         (FUNC): Add macro argument EXACT_ARGS.
16796         (FUNC_mpfr_f_f): Update call to FUNC.
16797         (FUNC_mpfr_f_f): Likewise.
16798         (FUNC_mpfr_ff_f): Likewise.
16799         (FUNC_mpfr_if_f): Likewise.
16800         (FUNC_mpc_c_f): Likewise.
16801         (FUNC_mpc_c_c): Likewise.
16802         (test_functions): Add fma.  Update calls to FUNC.
16803         (handle_input_arg): Add argument exact_args.
16804         (add_test): Update call to handle_input_arg.
16805         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
16806         (output_for_one_input_case): Update call to calc_generic_results.
16807         Recalculate exact zero results in each rounding mode.
16809         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
16810         non-negative before setting low bit.
16811         * math/auto-libm-test-in: Mark one asin test possibly having
16812         spurious underflow.
16813         * math/auto-libm-test-out: Regenerated.
16814         * sysdeps/i386/fpu/libm-test-ulps: Update.
16815         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16817 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
16819         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
16820         * sysdeps/unix/sysv/linux/microblaze: Move directory from
16821         ports/sysdeps/unix/sysv/linux/microblaze.
16822         * README: Add missing listing for microblaze*-*-linux-gnu.
16824 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
16826         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
16827         duplicate code
16829 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
16831         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
16832         * sysdeps/unix/sysv/linux/ia64: Move directory from
16833         ports/sysdeps/unix/sysv/linux/ia64.
16834         * README: Update listing for ia64-*-linux-gnu.
16836 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
16837             Joseph Myers  <joseph@codesourcery.com>
16839         * Makeconfig (test-name): New variable.
16840         (evaluate-test): Likewise.
16841         * Makerules (do-test-clean): Remove .test-result files.
16842         (common-mostlyclean): Likewise.
16843         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
16844         * scripts/evaluate-test.sh: New file.
16846 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
16848         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
16849         separate $(objpfx)tst-fopenloc-cmp.out and
16850         $(objpfx)tst-fopenloc-mem.out targets.
16851         (tests): Update dependencies.
16852         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
16853         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
16854         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
16855         (tst-rxspencer-no-utf8-ARGS): New variable.
16856         (tst-rxspencer-no-utf8-ENV): Likewise.
16857         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
16858         instead of $(objpfx)tst-rxspencer-mem.
16859         ($(objpfx)tst-rxspencer-mem): Change target to
16860         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
16861         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
16862         * posix/tst-rxspencer-no-utf8.c: New file.
16864         * elf/Makefile ($(objpfx)order.out): Remove rule.
16865         [$(run-built-tests) = yes] (tests): Depend on
16866         $(objpfx)order-cmp.out.
16867         ($(objpfx)order-cmp.out): New rule.
16868         [$(run-built-tests) = yes] (tests): Depend on
16869         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
16870         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
16871         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
16872         $(objpfx)tst-array5-static-cmp.out.
16873         ($(objpfx)tst-array1.out): Remove rule.
16874         ($(objpfx)tst-array1-cmp.out): New rule.
16875         ($(objpfx)tst-array1-static.out): Remove rule.
16876         ($(objpfx)tst-array1-static-cmp.out): New rule.
16877         ($(objpfx)tst-array2.out): Remove rule.
16878         ($(objpfx)tst-array2-cmp.out): New rule.
16879         ($(objpfx)tst-array3.out): Remove rule.
16880         ($(objpfx)tst-array3-cmp.out): New rule.
16881         ($(objpfx)tst-array4.out): Remove rule.
16882         ($(objpfx)tst-array4-cmp.out): New rule.
16883         ($(objpfx)tst-array5.out): Remove rule.
16884         ($(objpfx)tst-array5-cmp.out): New rule.
16885         ($(objpfx)tst-array5-static.out): Remove rule.
16886         ($(objpfx)tst-array5-static-cmp.out): New rule.
16887         [$(run-built-tests) = yes] (tests): Depend on
16888         $(objpfx)order2-cmp.out.
16889         ($(objpfx)order2.out): Remove rule.
16890         ($(objpfx)order2-cmp.out): New rule.
16891         ($(objpfx)tst-initorder.out): Remove rule.
16892         [$(run-built-tests) = yes] (tests): Depend on
16893         $(objpfx)tst-initorder-cmp.out.
16894         ($(objpfx)tst-initorder-cmp.out): New rule.
16895         ($(objpfx)tst-initorder2.out): Remove rule.
16896         [$(run-built-tests) = yes] (tests): Depend on
16897         $(objpfx)tst-initorder2-cmp.out.
16898         ($(objpfx)tst-initorder2-cmp.out): New rule.
16899         [$(run-built-tests) = yes] (tests): Depend on
16900         $(objpfx)tst-unused-dep-cmp.out.
16901         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
16902         ($(objpfx)tst-unused-dep-cmp.out): New rule.
16903         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
16904         on $(objpfx)tst-setvbuf1-cmp.out.
16905         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
16906         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
16907         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
16908         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
16909         ($(objpfx)tst-svc.out): Remove rule.
16910         ($(objpfx)tst-svc-cmp.out): New rule.
16912 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
16914         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
16915         * ctype/ctype.h [__USE_MISC]: Likewise.
16916         * dirent/dirent.h [__USE_MISC]: Likewise.
16917         * grp/grp.h [__USE_MISC]: Likewise.
16918         * io/fcntl.h [__USE_MISC]: Likewise.
16919         * io/sys/stat.h [__USE_MISC]: Likewise.
16920         * libio/stdio.h [__USE_MISC]: Likewise.
16921         * posix/unistd.h [__USE_MISC]: Likewise.
16922         * pwd/pwd.h [__USE_MISC]: Likewise.
16923         * stdlib.h [__USE_MISC]: Likewise.
16924         * string/bits/string2.h [__USE_MISC]: Likewise.
16925         * string/string.h [__USE_MISC]: Likewise.
16926         * time/time.h [__USE_MISC]: Likewise.
16928 2014-02-13  Andreas Schwab  <schwab@suse.de>
16930         [BZ #16574]
16931         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
16932         second answer buffer if it was separately allocated.
16934 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
16936         * sysdeps/mips/math-tests.h: Include <features.h>.
16937         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16938         (ROUNDING_TESTS_long_double): Do not define.
16939         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16940         (EXCEPTION_TESTS_long_double): Likewise.
16941         * sysdeps/mips/mips64/libm-test-ulps: Update.
16943         * include/features.h (__USE_BSD): Remove macro definitions.
16944         (__USE_SVID): Likewise.
16945         (_BSD_SOURCE): Likewise.
16946         (_SVID_SOURCE): Likewise.
16947         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
16948         from definition of _DEFAULT_SOURCE.
16949         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
16950         [_DEFAULT_SOURCE].
16951         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
16952         * bits/mman.h [__USE_BSD]: Likewise.
16953         * bits/termios.h [__USE_BSD]: Likewise.
16954         * bits/waitstatus.h [__USE_BSD]: Likewise.
16955         * ctype/ctype.h [__USE_SVID]: Likewise.
16956         * dirent/dirent.h [__USE_BSD]: Likewise.
16957         * grp/grp.h [__USE_SVID]: Likewise.
16958         [__USE_BSD]: Likewise.
16959         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
16960         * io/fcntl.h [__USE_BSD]: Likewise.
16961         * io/ftw.h [__USE_BSD]: Likewise.
16962         * io/sys/stat.h [__USE_BSD]: Likewise.
16963         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
16964         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
16965         * libio/stdio.h [__USE_SVID]: Likewise.
16966         [__USE_BSD]: Likewise.
16967         * math/math.h [__USE_SVID]: Likewise.
16968         [__USE_BSD]: Likewise.
16969         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
16970         * misc/bits/syslog.h [__USE_BSD]: Likewise.
16971         * misc/search.h [__USE_SVID]: Likewise.
16972         * misc/sys/mman.h [__USE_BSD]: Likewise.
16973         * misc/sys/syslog.h [__USE_BSD]: Likewise.
16974         * misc/sys/uio.h [__USE_BSD]: Likewise.
16975         * posix/bits/unistd.h [__USE_BSD]: Likewise.
16976         * posix/glob.h [__USE_BSD]: Likewise.
16977         * posix/regex.h [__USE_BSD]: Likewise.
16978         * posix/sys/types.h [__USE_BSD]: Likewise.
16979         [__USE_SVID]: Likewise.
16980         * posix/sys/utsname.h [__USE_SVID]: Likewise.
16981         * posix/sys/wait.h [__USE_BSD]: Likewise.
16982         [__USE_SVID]: Likewise.
16983         * posix/unistd.h [__USE_BSD]: Likewise.
16984         [__USE_SVID]: Likewise.
16985         * pwd/pwd.h [__USE_SVID]: Likewise.
16986         * resolv/netdb.h [__USE_BSD]: Likewise.
16987         * setjmp/setjmp.h [__USE_BSD]: Likewise.
16988         * signal/signal.h [__USE_BSD]: Likewise.
16989         [__USE_SVID]: Likewise.
16990         * socket/sys/socket.h [__USE_BSD]: Likewise.
16991         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
16992         * stdlib/stdlib.h [__USE_BSD]: Likewise.
16993         [__USE_SVID]: Likewise.
16994         * string/bits/string2.h [__USE_BSD]: Likewise.
16995         [__USE_SVID]: Likewise.
16996         * string/bits/string3.h [__USE_BSD]: Likewise.
16997         * string/endian.h [__USE_BSD]: Likewise.
16998         * string/string.h [__USE_SVID]: Likewise.
16999         [__USE_BSD]: Likewise.
17000         * string/strings.h [__USE_BSD]: Likewise.
17001         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17002         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17003         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17004         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17005         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17006         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17007         Likewise.
17008         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17009         Likewise.
17010         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17011         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17012         Likewise.
17013         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17014         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17015         Likewise.
17016         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17017         Likewise.
17018         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17019         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17020         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17021         Likewise.
17022         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17023         Likewise.
17024         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17025         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17026         * termios/termios.h [__USE_BSD]: Likewise.
17027         * time/sys/time.h [__USE_BSD]: Likewise.
17028         * time/time.h [__USE_BSD]: Likewise.
17029         [__USE_SVID]: Likewise.
17031         * Makefile (subdir_targets): Remove subdir_lint.out.
17033         * stdio-common/Makefile (do-tst-unbputc): Remove target.
17034         (do-tst-printf): Likewise.
17035         (tests): Depend directly on $(objpfx)tst-unbputc.out and
17036         $(objpfx)tst-printf.out.
17038         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17040         * Makerules (check-abi-%): Change target to
17041         $(objpfx)check-abi-%.out.
17042         (check-abi target): Update dependencies.
17043         (check-abi-pattern variable): Redirect output of diff to $@.
17044         (check-abi variable): Likewise.
17045         * elf/Makefile (check-abi): Update dependencies.
17047         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17048         unused.
17049         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17050         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17051         subnormal range.
17052         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17053         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17054         value has largest subnormal exponent.
17055         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17056         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17057         * sysdeps/aarch64/soft-fp/sfp-machine.h
17058         (_FP_TININESS_AFTER_ROUNDING): New macro.
17059         * sysdeps/alpha/soft-fp/sfp-machine.h
17060         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17061         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17062         Likewise.
17063         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17064         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17065         * sysdeps/mips/soft-fp/sfp-machine.h
17066         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17067         * sysdeps/powerpc/soft-fp/sfp-machine.h
17068         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17069         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17070         Likewise.
17071         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17072         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17073         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17074         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17075         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17076         Likewise.
17078 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
17080         [BZ #16545]
17081         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17082         model 1.
17084 2014-02-12  Richard Henderson  <rth@redhat.com>
17086         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
17087         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17088         * sysdeps/unix/sysv/linux/alpha: Move directory from
17089         ports/sysdeps/unix/sysv/linux/alpha.
17090         * README: Update listing for alpha-*-linux-gnu.
17092 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
17094         * include/features.h: Update comment documenting feature test
17095         macros.
17096         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
17097         _DEFAULT_SOURCE.
17098         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17099         (_SVID_SOURCE): Likewise.
17100         (_DEFAULT_SOURCE): Update description of default features.
17101         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17102         with _GNU_SOURCE.
17103         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17104         (S_ISVTX): Likewise.
17105         * manual/math.texi (Mathematical Constants): Likewise.
17106         * manual/signal.texi (Interrupted Primitives): Likewise.
17107         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17108         * math/test-matherr.c (_SVID_SOURCE): Do not define.
17109         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17110         Don't refer to _SVID_SOURCE in warning text.
17112         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17114         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17115         already defined.
17116         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17117         * sysdeps/mips/dl-lookup.c: Remove.
17118         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17120 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17122         [BZ #16447]
17123         * math/auto-libm-test-in: Add testcase for expl.
17124         * math/auto-libm-test-out: Regenerate.
17125         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17126         calculation of unsafe.
17127         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17129 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17131         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17132         * sysdeps/unix/sysv/linux/aarch64: Move directory from
17133         ports/sysdeps/unix/sysv/linux/aarch64.
17134         * README: Update listing for aarch64*-*-linux-gnu.
17136 2014-02-11  Will Newton  <will.newton@linaro.org>
17138         * manual/probes.texi (Mathematical Function Probes): Use
17139         "triggered" instead of "hit".
17141         * manual/probes.texi (Internal Probes): Add documentation
17142         of setjmp, longjmp and longjmp_target probes.
17144         * include/stap-probe.h: Add comment about probe argument
17145         format.
17147         * malloc/mtrace.c (attribute_hidden): Remove unused macro
17148         definition.  (tr_where, tr_freehook, tr_mallochook,
17149         tr_reallochook, tr_memalignhook): Use ANSI protoype.
17151 2014-02-11  David S. Miller  <davem@davemloft.net>
17153         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17154         processing int_tests.
17156 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
17158         * sysdeps/mips: Move directory from ports/sysdeps/mips.
17159         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17160         * sysdeps/unix/sysv/linux/mips: Move directory from
17161         ports/sysdeps/unix/sysv/linux/mips.
17162         * README: Update listing for mips-*-linux-gnu and
17163         mips64-*-linux-gnu.
17165 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
17167         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17168         * sysdeps/unix/sysv/linux/m68k: Move directory from
17169         ports/sysdeps/unix/sysv/linux/m68k.
17170         * README: Update listing for m68k-*-linux-gnu.
17172 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
17174         * sysdeps/tile: Move directory from ports/sysdeps/tile.
17175         * sysdeps/unix/sysv/linux/generic: Move directory from
17176         ports/sysdeps/unix/sysv/linux/generic.
17177         * sysdeps/unix/sysv/linux/tile: Move directory from
17178         ports/sysdeps/unix/sysv/linux/tile.
17179         * README: Update listing for tile*-*-linux-gnu.
17181 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
17183         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17184         __builtin_expect.
17185         * benchtests/bench-memmem.c (simple_memmem): Likewise.
17186         * catgets/open_catalog.c (__open_catalog): Likewise.
17187         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17188         * debug/confstr_chk.c: Likewise.
17189         * debug/fread_chk.c (__fread_chk): Likewise.
17190         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17191         * debug/getgroups_chk.c: Likewise.
17192         * debug/mbsnrtowcs_chk.c: Likewise.
17193         * debug/mbsrtowcs_chk.c: Likewise.
17194         * debug/mbstowcs_chk.c: Likewise.
17195         * debug/memcpy_chk.c: Likewise.
17196         * debug/memmove_chk.c: Likewise.
17197         * debug/mempcpy_chk.c: Likewise.
17198         * debug/memset_chk.c: Likewise.
17199         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17200         * debug/strcat_chk.c (__strcat_chk): Likewise.
17201         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17202         * debug/strncat_chk.c (__strncat_chk): Likewise.
17203         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17204         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17205         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17206         * debug/wcpncpy_chk.c: Likewise.
17207         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17208         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17209         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17210         * debug/wcsncpy_chk.c: Likewise.
17211         * debug/wcsnrtombs_chk.c: Likewise.
17212         * debug/wcsrtombs_chk.c: Likewise.
17213         * debug/wcstombs_chk.c: Likewise.
17214         * debug/wmemcpy_chk.c: Likewise.
17215         * debug/wmemmove_chk.c: Likewise.
17216         * debug/wmempcpy_chk.c: Likewise.
17217         * debug/wmemset_chk.c: Likewise.
17218         * dirent/scandirat.c (SCANDIRAT): Likewise.
17219         * dlfcn/dladdr1.c (dladdr1): Likewise.
17220         * dlfcn/dladdr.c (dladdr): Likewise.
17221         * dlfcn/dlclose.c (dlclose_doit): Likewise.
17222         * dlfcn/dlerror.c (__dlerror): Likewise.
17223         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17224         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17225         * dlfcn/dlopen.c (dlopen_doit): Likewise.
17226         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17227         * dlfcn/dlsym.c (dlsym_doit): Likewise.
17228         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17229         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17230         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17231         Likewise.
17232         * elf/dl-conflict.c: Likewise.
17233         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17234         * elf/dl-dst.h: Likewise.
17235         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17236         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17237         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17238         * elf/dl-init.c (call_init, _dl_init): Likewise.
17239         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
17240         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17241         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17242         Likewise.
17243         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17244         Likewise.
17245         * elf/dl-minimal.c (__libc_memalign): Likewise.
17246         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17247         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17248         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17249         * elf/dl-sym.c (do_sym): Likewise.
17250         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17251         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
17252         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17253         * elf/dl-writev.h (_dl_writev): Likewise.
17254         * elf/ldconfig.c (search_dir): Likewise.
17255         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17256         (dl_main): Likewise.
17257         * elf/setup-vdso.h (setup_vdso): Likewise.
17258         * grp/compat-initgroups.c (compat_call): Likewise.
17259         * grp/fgetgrent.c (fgetgrent): Likewise.
17260         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17261         * grp/putgrent.c (putgrent): Likewise.
17262         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17263         Likewise.
17264         * hurd/hurdinit.c: Likewise.
17265         * iconvdata/8bit-gap.c (struct): Likewise.
17266         * iconvdata/ansi_x3.110.c : Likewise.
17267         * iconvdata/big5.c : Likewise.
17268         * iconvdata/big5hkscs.c : Likewise.
17269         * iconvdata/cp1255.c: Likewise.
17270         * iconvdata/cp1258.c : Likewise.
17271         * iconvdata/cp932.c : Likewise.
17272         * iconvdata/euc-cn.c: Likewise.
17273         * iconvdata/euc-jisx0213.c : Likewise.
17274         * iconvdata/euc-jp.c: Likewise.
17275         * iconvdata/euc-jp-ms.c : Likewise.
17276         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17277         * iconvdata/gb18030.c : Likewise.
17278         * iconvdata/gbbig5.c (const): Likewise.
17279         * iconvdata/gbgbk.c: Likewise.
17280         * iconvdata/gbk.c : Likewise.
17281         * iconvdata/ibm1364.c : Likewise.
17282         * iconvdata/ibm930.c : Likewise.
17283         * iconvdata/ibm932.c: Likewise.
17284         * iconvdata/ibm933.c : Likewise.
17285         * iconvdata/ibm935.c : Likewise.
17286         * iconvdata/ibm937.c : Likewise.
17287         * iconvdata/ibm939.c : Likewise.
17288         * iconvdata/ibm943.c: Likewise.
17289         * iconvdata/iso_11548-1.c: Likewise.
17290         * iconvdata/iso-2022-cn.c : Likewise.
17291         * iconvdata/iso-2022-cn-ext.c : Likewise.
17292         * iconvdata/iso-2022-jp-3.c: Likewise.
17293         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17294         * iconvdata/iso-2022-kr.c : Likewise.
17295         * iconvdata/iso646.c (gconv_end): Likewise.
17296         * iconvdata/iso_6937-2.c : Likewise.
17297         * iconvdata/iso_6937.c : Likewise.
17298         * iconvdata/iso8859-1.c: Likewise.
17299         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17300         * iconvdata/shift_jisx0213.c : Likewise.
17301         * iconvdata/sjis.c : Likewise.
17302         * iconvdata/t.61.c : Likewise.
17303         * iconvdata/tcvn5712-1.c : Likewise.
17304         * iconvdata/tscii.c: Likewise.
17305         * iconvdata/uhc.c : Likewise.
17306         * iconvdata/unicode.c (gconv_end): Likewise.
17307         * iconvdata/utf-16.c (gconv_end): Likewise.
17308         * iconvdata/utf-32.c (gconv_end): Likewise.
17309         * iconvdata/utf-7.c (base64): Likewise.
17310         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17311         * iconv/gconv_close.c (__gconv_close): Likewise.
17312         * iconv/gconv_open.c (__gconv_open): Likewise.
17313         * iconv/gconv_simple.c (internal_ucs4_loop_single)
17314         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17315         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17316         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17317         (ucs4le_internal_loop_single): Likewise.
17318         * iconv/iconv.c (iconv): Likewise.
17319         * iconv/iconv_close.c: Likewise.
17320         * iconv/loop.c (SINGLE): Likewise.
17321         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17322         * include/atomic.h: Likewise.
17323         * inet/inet6_option.c (option_alloc): Likewise.
17324         * intl/bindtextdom.c (set_binding_values): Likewise.
17325         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17326         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17327         * intl/localealias.c (read_alias_file): Likewise.
17328         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17329         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17330         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
17331         * libio/fmemopen.c (fmemopen): Likewise.
17332         * libio/iofgets.c (_IO_fgets): Likewise.
17333         * libio/iofgets_u.c (fgets_unlocked): Likewise.
17334         * libio/iofgetws.c (fgetws): Likewise.
17335         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17336         * libio/iogetdelim.c (_IO_getdelim): Likewise.
17337         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17338         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
17339         * locale/findlocale.c (_nl_find_locale): Likewise.
17340         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17341         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17342         Likewise.
17343         * locale/setlocale.c (setlocale): Likewise.
17344         * login/programs/pt_chown.c (main): Likewise.
17345         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17346         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
17347         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17348         (mmap, mmap64, mremap, munmap): Likewise.
17349         * math/e_exp2l.c: Likewise.
17350         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17351         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17352         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17353         * math/s_catan.c (__catan): Likewise.
17354         * math/s_catanf.c (__catanf): Likewise.
17355         * math/s_catanh.c (__catanh): Likewise.
17356         * math/s_catanhf.c (__catanhf): Likewise.
17357         * math/s_catanhl.c (__catanhl): Likewise.
17358         * math/s_catanl.c (__catanl): Likewise.
17359         * math/s_ccosh.c (__ccosh): Likewise.
17360         * math/s_ccoshf.c (__ccoshf): Likewise.
17361         * math/s_ccoshl.c (__ccoshl): Likewise.
17362         * math/s_cexp.c (__cexp): Likewise.
17363         * math/s_cexpf.c (__cexpf): Likewise.
17364         * math/s_cexpl.c (__cexpl): Likewise.
17365         * math/s_clog10.c (__clog10): Likewise.
17366         * math/s_clog10f.c (__clog10f): Likewise.
17367         * math/s_clog10l.c (__clog10l): Likewise.
17368         * math/s_clog.c (__clog): Likewise.
17369         * math/s_clogf.c (__clogf): Likewise.
17370         * math/s_clogl.c (__clogl): Likewise.
17371         * math/s_csin.c (__csin): Likewise.
17372         * math/s_csinf.c (__csinf): Likewise.
17373         * math/s_csinh.c (__csinh): Likewise.
17374         * math/s_csinhf.c (__csinhf): Likewise.
17375         * math/s_csinhl.c (__csinhl): Likewise.
17376         * math/s_csinl.c (__csinl): Likewise.
17377         * math/s_csqrt.c (__csqrt): Likewise.
17378         * math/s_csqrtf.c (__csqrtf): Likewise.
17379         * math/s_csqrtl.c (__csqrtl): Likewise.
17380         * math/s_ctan.c (__ctan): Likewise.
17381         * math/s_ctanf.c (__ctanf): Likewise.
17382         * math/s_ctanh.c (__ctanh): Likewise.
17383         * math/s_ctanhf.c (__ctanhf): Likewise.
17384         * math/s_ctanhl.c (__ctanhl): Likewise.
17385         * math/s_ctanl.c (__ctanl): Likewise.
17386         * math/w_pow.c: Likewise.
17387         * math/w_powf.c: Likewise.
17388         * math/w_powl.c: Likewise.
17389         * math/w_scalb.c (sysv_scalb): Likewise.
17390         * math/w_scalbf.c (sysv_scalbf): Likewise.
17391         * math/w_scalbl.c (sysv_scalbl): Likewise.
17392         * misc/error.c (error_tail): Likewise.
17393         * misc/pselect.c (__pselect): Likewise.
17394         * nis/nis_callback.c (__nis_create_callback): Likewise.
17395         * nis/nis_call.c (__nisfind_server): Likewise.
17396         * nis/nis_creategroup.c (nis_creategroup): Likewise.
17397         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17398         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17399         * nis/nis_getservlist.c (nis_getservlist): Likewise.
17400         * nis/nis_lookup.c (nis_lookup): Likewise.
17401         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
17402         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17403         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
17404         * nis/nis_xdr.c (xdr_endpoint): Likewise.
17405         * nis/nss_compat/compat-grp.c (getgrent_next_file)
17406         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17407         * nis/nss_compat/compat-initgroups.c (add_group)
17408         (internal_getgrent_r): Likewise.
17409         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17410         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17411         * nis/nss_compat/compat-spwd.c (getspent_next_file)
17412         (internal_getspnam_r): Likewise.
17413         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17414         (_nss_nis_getaliasbyname_r): Likewise.
17415         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17416         (_nss_nis_getntohost_r): Likewise.
17417         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17418         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17419         (_nss_nis_getgrgid_r): Likewise.
17420         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17421         (internal_nis_gethostent_r, internal_gethostbyname2_r)
17422         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17423         (_nss_nis_gethostbyname4_r): Likewise.
17424         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17425         (initgroups_netid): Likewise.
17426         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
17427         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17428         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17429         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17430         (_nss_nis_getprotobynumber_r): Likewise.
17431         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17432         (_nss_nis_getsecretkey): Likewise.
17433         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17434         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17435         (_nss_nis_getpwuid_r): Likewise.
17436         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17437         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17438         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17439         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17440         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17441         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
17442         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17443         Likewise.
17444         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17445         (_nss_nisplus_getntohost_r): Likewise.
17446         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17447         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17448         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17449         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
17450         Likewise.
17451         * nis/nss_nisplus/nisplus-initgroups.c
17452         (_nss_nisplus_initgroups_dyn): Likewise.
17453         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17454         (_nss_nisplus_getnetbyaddr_r): Likewise.
17455         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17456         (_nss_nisplus_getprotobynumber_r): Likewise.
17457         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17458         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
17459         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17460         Likewise.
17461         * nis/nss_nisplus/nisplus-service.c
17462         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17463         (_nss_nisplus_getservbyport_r): Likewise.
17464         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17465         (_nss_nisplus_getspnam_r): Likewise.
17466         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17467         Likewise.
17468         * nscd/aicache.c (addhstaiX): Likewise.
17469         * nscd/cache.c (cache_search, prune_cache): Likewise.
17470         * nscd/connections.c (register_traced_file, send_ro_fd)
17471         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17472         (main_loop_epoll): Likewise.
17473         * nscd/grpcache.c (addgrbyX): Likewise.
17474         * nscd/hstcache.c (addhstbyX): Likewise.
17475         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17476         * nscd/mem.c (gc, mempool_alloc): Likewise.
17477         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17478         (addinnetgrX): Likewise.
17479         * nscd/nscd-client.h (__nscd_acquire_maplock)
17480         (__nscd_drop_map_ref): Likewise.
17481         * nscd/nscd_getai.c (__nscd_getai): Likewise.
17482         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17483         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17484         Likewise.
17485         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17486         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17487         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17488         (__nscd_get_map_ref): Likewise.
17489         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
17490         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17491         Likewise.
17492         * nscd/pwdcache.c (addpwbyX): Likewise.
17493         * nscd/selinux.c (preserve_capabilities): Likewise.
17494         * nscd/servicescache.c (addservbyX): Likewise.
17495         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17496         * posix/fnmatch.c (fnmatch): Likewise.
17497         * posix/getopt.c (_getopt_internal_r): Likewise.
17498         * posix/glob.c (glob, glob_in_dir): Likewise.
17499         * posix/wordexp.c (exec_comm_child): Likewise.
17500         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17501         (getanswer_r, gaih_getanswer_slice): Likewise.
17502         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17503         * resolv/res_init.c: Likewise.
17504         * resolv/res_mkquery.c (res_nmkquery): Likewise.
17505         * resolv/res_query.c (__libc_res_nquery): Likewise.
17506         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17507         Likewise.
17508         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17509         * stdio-common/perror.c (perror): Likewise.
17510         * stdio-common/printf_fp.c (___printf_fp): Likewise.
17511         * stdio-common/tmpnam.c (tmpnam): Likewise.
17512         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17513         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
17514         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17515         Likewise.
17516         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17517         * stdlib/putenv.c (putenv): Likewise.
17518         * stdlib/setenv.c (__add_to_environ): Likewise.
17519         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17520         * stdlib/strtol_l.c (INTERNAL): Likewise.
17521         * string/memmem.c (memmem): Likewise.
17522         * string/strerror.c (strerror): Likewise.
17523         * string/strnlen.c (__strnlen): Likewise.
17524         * string/test-memmem.c (simple_memmem): Likewise.
17525         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17526         * sunrpc/pm_getport.c (__get_socket): Likewise.
17527         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17528         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
17529         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17530         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
17531         Likewise.
17532         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17533         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17534         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17535         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17536         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17537         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17538         Likewise.
17539         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17540         Likewise.
17541         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17542         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17543         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17544         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17545         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17546         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17547         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17548         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17549         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17550         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17551         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17552         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17553         Likewise.
17554         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17555         Likewise.
17556         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17557         Likewise.
17558         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17559         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17560         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17561         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17562         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17563         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17564         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17565         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17566         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17567         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17568         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17569         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17570         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17571         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17572         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17573         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17574         Likewise.
17575         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17576         Likewise.
17577         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17578         Likewise.
17579         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17580         Likewise.
17581         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17582         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17583         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17584         Likewise.
17585         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17586         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17587         * sysdeps/posix/opendir.c (__opendirat): Likewise.
17588         * sysdeps/posix/sleep.c: Likewise.
17589         * sysdeps/posix/tempname.c: Likewise.
17590         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17591         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17592         Likewise.
17593         * sysdeps/powerpc/powerpc32/dl-machine.h
17594         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
17595         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17596         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17597         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17598         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17599         Likewise.
17600         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
17601         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17602         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17603         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17604         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17605         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17606         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17607         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17608         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17609         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
17610         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17611         (elf_machine_lazy_rel): Likewise.
17612         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17613         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17614         (elf_machine_lazy_rel): Likewise.
17615         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17616         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17617         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17618         * sysdeps/unix/grantpt.c (grantpt): Likewise.
17619         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17620         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17621         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17622         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17623         Likewise.
17624         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17625         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17626         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17627         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17628         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17629         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17630         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17631         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17632         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17633         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17634         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17635         Likewise.
17636         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17637         (__posix_fallocate64_l64): Likewise.
17638         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17639         (posix_fallocate): Likewise.
17640         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17641         Likewise.
17642         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17643         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17644         (getifaddrs_internal): Likewise.
17645         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17646         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17647         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17648         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17649         * sysdeps/unix/sysv/linux/posix_fallocate64.c
17650         (__posix_fallocate64_l64): Likewise.
17651         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17652         Likewise.
17653         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
17654         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17655         (__get_clockfreq): Likewise.
17656         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17657         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17658         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17659         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17660         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17661         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17662         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17663         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17664         Likewise.
17665         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17666         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17667         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17668         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17669         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17670         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17671         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17672         Likewise.
17673         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17674         (posix_fallocate): Likewise.
17675         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17676         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17677         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
17678         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17679         (elf_machine_rela, elf_machine_rela_relative)
17680         (elf_machine_lazy_rel): Likewise.
17681         * time/asctime.c (asctime_internal): Likewise.
17682         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17683         * time/tzset.c (__tzset_parse_tz): Likewise.
17684         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17685         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17686         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17687         * wcsmbs/wcsmbsload.h: Likewise.
17689         [BZ #15894]
17690         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17692         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17693         (arena_get2): Remove THREAD_STATS conditionals.
17694         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17695         (__malloc_stats, int): Likewise.
17697 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
17699         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17700         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
17702         * manual/setjmp.texi: Fix typos/grammar errors.
17704         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17705         Only return early when n is <= 0.  Delete unused return statement.
17707         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17708         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17709         * debug/tst-longjmp_chk3.c: New file.
17711         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17712         (test_main): Replace code with set_fortify_handler call.
17713         * debug/test-strcpy_chk.c: Likewise.
17714         * debug/tst-chk1.c: Likewise.
17715         * debug/tst-longjmp_chk.c: Likewise.
17716         * test-skeleton.c: Include fcntl.h & paths.h
17717         (set_fortify_handler): Define.
17719         * debug/tst-longjmp_chk.c: Add header comment and include
17720         ../test-skeleton.c.
17721         (do_test): Mark static.
17722         (TEST_FUNCTION): Define.
17724         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17725         (IP_PMTUDISC_INTERFACE): Likewise.
17726         (IP_MULTICAST_IF): Likewise.
17727         (IP_MULTICAST_TTL): Likewise.
17728         (IP_MULTICAST_LOOP): Likewise.
17729         (IP_ADD_MEMBERSHIP): Likewise.
17730         (IP_DROP_MEMBERSHIP): Likewise.
17731         (IP_UNBLOCK_SOURCE): Likewise.
17732         (IP_BLOCK_SOURCE): Likewise.
17733         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
17734         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
17735         (IP_MSFILTER): Likewise.
17736         (MCAST_JOIN_GROUP): Likewise.
17737         (MCAST_BLOCK_SOURCE): Likewise.
17738         (MCAST_UNBLOCK_SOURCE): Likewise.
17739         (MCAST_LEAVE_GROUP): Likewise.
17740         (MCAST_JOIN_SOURCE_GROUP): Likewise.
17741         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17742         (MCAST_MSFILTER): Likewise.
17743         (IP_MULTICAST_ALL): Likewise.
17744         (IP_UNICAST_IF): Likewise.
17746         * timezone/Makefile: Delete $(have-ksh) check.
17747         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
17748         * timezone/tzselect.ksh: Add +x mode bits.
17750         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
17751         (ANON_INODE_FS_MAGIC): Likewise.
17752         (BDEVFS_MAGIC): Likewise.
17753         (BINFMTFS_MAGIC): Likewise.
17754         (BTRFS_TEST_MAGIC): Likewise.
17755         (CRAMFS_MAGIC_WEND): Likewise.
17756         (DEBUGFS_MAGIC): Likewise.
17757         (ECRYPTFS_SUPER_MAGIC): Likewise.
17758         (EXT3_SUPER_MAGIC): Likewise.
17759         (EXT4_SUPER_MAGIC): Likewise.
17760         (FUTEXFS_SUPER_MAGIC): Likewise.
17761         (HOSTFS_SUPER_MAGIC): Likewise.
17762         (HUGETLBFS_MAGIC): Likewise.
17763         (MINIX3_SUPER_MAGIC): Likewise.
17764         (MTD_INODE_FS_MAGIC): Likewise.
17765         (NILFS_SUPER_MAGIC): Likewise.
17766         (OPENPROM_SUPER_MAGIC): Likewise.
17767         (PIPEFS_MAGIC): Likewise.
17768         (PSTOREFS_MAGIC): Likewise.
17769         (QNX6_SUPER_MAGIC): Likewise.
17770         (RAMFS_MAGIC): Likewise.
17771         (REISERFS_SUPER_MAGIC_STRING): Likewise.
17772         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
17773         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
17774         (SECURITYFS_MAGIC): Likewise.
17775         (SELINUX_MAGIC): Likewise.
17776         (SMACK_MAGIC): Likewise.
17777         (SOCKFS_MAGIC): Likewise.
17778         (SQUASHFS_MAGIC): Likewise.
17779         (STACK_END_MAGIC): Likewise.
17780         (TMPFS_MAGIC): Likewise.
17781         (USBDEVICE_SUPER_MAGIC): Likewise.
17782         (V9FS_MAGIC): Likewise.
17783         (XENFS_SUPER_MAGIC): Likewise.
17784         (CRAMFS_MAGIC): Fix typo in comment.
17785         (EXT2_SUPER_MAGIC): Update comment.
17786         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
17788 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
17790         * sysdeps/arm: Move directory from ports/sysdeps/arm.
17791         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
17792         * sysdeps/unix/sysv/linux/arm: Move directory from
17793         ports/sysdeps/unix/sysv/linux/arm.
17794         * README: Update listing for arm-*-linux-gnueabi.
17796         * README: Remove mention of am33.
17798 2014-02-07  Roland McGrath  <roland@hack.frob.com>
17800         * bits/sigset.h (__sigemptyset): Use a statement expression rather
17801         than the comma operator, to avoid "rhs of comma has no effect"
17802         compiler warnings.
17803         (__sigfillset, __sigandset, __sigorset): Likewise.
17804         * include/signal.h (__sigemptyset): Likewise.
17805         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
17807 2014-02-07  Allan McRae  <allan@archlinux.org>
17809         * version.h (RELEASE): Set to "development".
17810         (VERSION): Set to "2.19.90"
17811         * NEWS: Add 2.20 section.
17813 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
17815         [BZ #16529]
17816         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
17818 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
17820         * manual/contrib.texi: Update entry for Carlos O'Donell,
17821         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
17823 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
17825         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
17827         * sysdeps/unix/sysv/linux/kernel-features.h
17828         [__LINUX_KERNEL_VERSION >= 0x020621]
17829         (__ASSUME_PROC_PID_TASK_COMM): Define.
17831 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17833         [BZ #16398]
17834         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
17835         conversion when destination buffer does not have enough space.
17836         * libio/tst-ftell-partial-wide.c: New test case.
17837         * libio/Makefile (tests): Add tst-ftell-partial-wide.
17839         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
17840         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
17841         Leonard and Allan McRae.
17843 2014-02-04  David S. Miller  <davem@davemloft.net>
17845         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
17846         32-bit.
17848 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17851         New file
17852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17853         New file
17854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17855         New file.
17856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17857         New file.
17858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17859         New file.
17860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17861         New file.
17862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17863         New file.
17864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17865         New file.
17866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17867         New file.
17868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17869         New file.
17870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17871         New file.
17872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17873         New file.
17874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17875         New file.
17877 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17879         * nptl/shlib-versions: Change powerpc*le start to 2.17.
17880         * shlib-versions: Likewise.
17882 2014-02-04  Roland McGrath  <roland@hack.frob.com>
17883             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17885         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
17886         (abilist-pattern): New variable, set to %-le.abilist.
17888         * Makerules (abilist-pattern): New variable.
17889         (vpath): Use $(abilist-pattern) in place of %.abilist.
17890         (check-abi-% pattern rule): Likewise.
17891         (check-abi, update-abi): Likewise.
17893 2014-02-04  Eric Wong  <normalperson@yhbt.net>
17895         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17897 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
17899         * manual/startup.texi: Add next, previous, and top entries for
17900         the `Program Arguments' and `Environment Variables' nodes.
17902 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
17904         * manual/macros.texi: Add comments before MTASC-safety macros.
17906         * manual/users.texi: Document MTASC-safety properties.
17908         * manual/threads.texi (pthread_key_create, pthread_key_delete)
17909         (pthread_getspecific, pthread_setspecific): Format with
17910         @deftypefun, and add @safety note.
17911         * manual/signal.texi: Move comments that analyze the above
17912         functions to their home place.
17914 2014-02-03  Allan McRae  <allan@archlinux.org>
17916         * po/sl.po: Update Slovenian translation from translation project.
17918 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
17920         * manual/time.texi (timegm): Add missing blank after @c.
17921         Reported by Joseph Myers <joseph@codesourcery.com>.
17923 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
17925         * manual/check-safety.sh: New.
17926         * manual/Makefile ($(objpfx)stamp-summary): Run it.
17928         * manual/terminal.texi: Document MTASC-safety properties.
17930         * manual/filesys.texi: Document MTASC-safety properties.
17932         * manual/errno.texi: Document MTASC-safety properties.
17934         * manual/intro.texi: Document safety identifiers and
17935         conditionals.
17937         * manual/string.texi (wcstok): Fix prototype.
17938         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
17940         * manual/time.texi: Document MTASC-safety properties.
17942         * manual/string.texi: Document MTASC-safety properties.
17944         * manual/threads.texi: Document MTASC-safety properties.
17946         * manual/stdio.texi: Document MTASC-safety properties.
17948         * manual/syslog.texi: Document MTASC-safety properties.
17950         * manual/sysinfo.texi: Document MTASC-safety properties.
17952         * manual/startup.texi: Document MTASC-safety properties.
17954         * manual/socket.texi: Document MTASC-safety properties.
17956         * manual/signal.texi: Document MTASC-safety properties.
17958 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
17960         * manual/setjmp.texi: Document MTASC-safety properties.
17962         * manual/search.texi: Document MTASC-safety properties.
17964         * manual/resource.texi: Document MTASC-safety properties.
17966         * manual/process.texi: Document MTASC-safety properties.
17968         * manual/platform.texi: Document MTASC-safety properties.
17970         * manual/pipe.texi: Document MTASC-safety properties.
17972         * manual/pattern.texi: Document MTASC-safety properties.
17974         * manual/message.texi: Document MTASC-safety properties.
17976         [BZ #12751]
17977         * manual/memory.texi: Document MTASC-safety properties.
17979         * manual/math.texi: Document MTASC-safety properties.
17981         * manual/locale.texi: Document MTASC-safety properties.
17983         * manual/llio.texi: Document MTASC-safety properties.
17985         * manual/libdl.texi: New.
17987         * manual/lang.texi: Document MTASC-safety properties.
17989         * manual/job.texi: Document MTASC-safety properties.
17991         * manual/getopt.texi: Document MTASC-safety properties.
17993         * manual/ctype.texi: Document MTASC-safety properties.
17995 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
17997         [BZ #16046]
17998         * csu/libc-tls.c (static_map): Remove variable.
17999         (__libc_setup_tls): Use main executable's link map for TLS data.
18000         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18001         casing for LM_ID_BASE and GL(dl_nns).
18002         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18003         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
18004         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18005         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18006         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18007         member.
18008         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18009         l_phnum members.
18011 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
18013         * manual/debug.texi: Document MTASC-safety properties.
18015 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
18017         [BZ #16510]
18018         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18019         of __x86_64__ when disabling x87 inline functions.
18021 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
18023         * manual/charset.texi: Document MTASC-safety properties.
18025         * manual/crypt.texi: Document MTASC-safety properties.
18027         * manual/conf.texi: Document MTASC-safety properties.
18029         * manual/arith.texi: Document MTASC-safety properties.
18031         * manual/argp.texi: Document MTASC-safety properties.
18033         * manual/macros.texi: Introduce macros to document multi
18034         thread, asynchronous signal and asynchronous cancellation
18035         safety properties.
18036         * manual/intro.texi: Introduce the properties themselves.
18038 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18040         * sysdeps/sh/sh4/Makefile: New file.
18042 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
18044         * math/gen-libm-test.pl ($srcdir): New variable.
18045         ($auto_input): Use it.
18047 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18049         [BZ #16506]
18050         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18051         access beyond array bounds when parsing netgroups file.
18053         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18054         the old buffer before realloc.
18056 2014-01-27  Allan McRae  <allan@archlinux.org>
18058         * po/fr.po: Update French translation from translation project.
18060 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18062         * sysdeps/sh/libm-test-ulps: Regenerate.
18064 2014-01-24  David S. Miller  <davem@davemloft.net>
18066         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18068 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18070         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18071         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18073 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18075         [BZ #16474]
18076         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18077         string pointers after reallocation.
18079 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18081         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18082         __SH4A__ instead of __SH_FPU_ANY__.
18084 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18086         * sysdeps/sh/fpu_control.h: New file.
18087         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18088         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18089         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18090         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18091         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18092         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18093         * sysdeps/sh/sys/ucontext.h: Remove.
18094         * sysdeps/sh/sys: Remove directory.
18096 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18098         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18099         s390/sys/ucontext.h.
18100         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18101         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18103 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
18105         [BZ #15605]
18106         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18108 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18110         [BZ#16431]
18111         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18112         Adjust the vDSO correctly for internal calls.
18113         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18115 2014-01-20  Allan McRae  <allan@archlinux.org>
18117         * po/ca.po: Update Catalan translation from translation project.
18119 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
18121         * sysdeps/s390/sotruss-lib.c: New file.
18123 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18125         [BZ#16430]
18126         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
18127         (__GI___gettimeofday): Alias for a different internal symbol to avoid
18128         local calls issues by not having a PLT stub required for IFUNC calls.
18129         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18131 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
18133         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18134         * math/test-fpucw-static.c: Likewise.
18136 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18138         [BZ #16453]
18139         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18141 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18143         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18144         implementation for powerpc.
18146 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
18148         [BZ #14782]
18149         * sysdeps/posix/system.c (__libc_system): Do not enable
18150         asynchronous cancellation.
18152 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18154         [BZ #16427]
18155         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18156         handling only for numbers special also in the IEEE case.
18158 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18160         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18162 2014-01-11  Allan McRae  <allan@archlinux.org>
18164         * po/bg.po: Update Bulgarian translation from translation project.
18166         * po/de.po: Update German translation from translation project.
18168 2014-01-10  Roland McGrath  <roland@hack.frob.com>
18170         * sysdeps/generic/gcc-compat.h: New file.
18172 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18174         * benchtests/asin-inputs: Correct slow inputs.
18175         * benchtests/acos-inputs: Likewise.
18177 2014-01-10  Allan McRae  <allan@archlinux.org>
18179         * po:sv.po: Update Swedish translation from translation project.
18181         * po/vi.po: Update Vietnamese translation from translation project.
18183         * po/eo.po: Update Esperanto translation from translation project.
18185         * po/cs.po: Update Czech translation from translation project.
18187         * po/nl.po: Update Dutch translation from translation project.
18189         * po/pl.po: Update Polish translation from translation project.
18191         * po/ru.po: Update Russian translation from translation project.
18193         * po/uk.po: Update Ukrainian translation from translation project.
18195 2014-01-08  Brooks Moses  <bmoses@google.com>
18197         * elf/dl-load.c: Fix comment typo.
18199 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
18201         * po/header.pot: Rename to...
18202         * po/pot.header: ... this.
18203         * po/Makefile: Use pot.header.
18205 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
18206             Maxim Kuvyrkov  <maxim@kugelworks.com>
18208         [BZ #16394]
18209         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18210         SRC and DEST against LEN.
18212 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18214         [BZ #16414]
18215         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18216         implementation.
18217         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18219 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18221         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18223 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
18225         [BZ #16408]
18226         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18227         for large positive arguments.
18229 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
18231         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18233         * math/auto-libm-test-in: Mark various tests with
18234         xfail-rounding:ldbl-128ibm.
18235         * math/auto-libm-test-out: Regenerated.
18237         [BZ #16407]
18238         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18239         Increase overflow threshold.
18241 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
18243         [BZ #14286]
18244         * stdio-common/vfprintf.c: Check for integer overflow.
18246 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18248         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18249         the first argument and return value of __tls_get_addr_internal.
18251 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18253         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18254         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18256 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18258         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18259         * sysdeps/s390/rtld-global-offsets.sym: New file.
18260         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18261         GLIBC_2.19 symbol.
18262         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18263         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18264         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18265         ... this.
18266         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18267         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18268         ... this.
18269         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18270         Regenerate.
18271         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18272         Regenerate.
18273         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18274         halfs of GPRs for high_gprs contexts.
18275         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18276         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
18277         field.
18278         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18279         uc_flags field.
18280         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18281         64 bit versions:
18282         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18283         for high GPRs (uc_high_gprs) and for future extensions
18284         (__reserved).
18285         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18286         for future extensions (__reserved).
18287         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18288         64 bit versions:
18289         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18290         SC_HIGHGPRS offset definition.
18291         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18292         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18294         * Versions.def: Add GLIBC_2.19 for libpthread.
18295         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18296         siglongjmp for libpthread with GLIBC_2.19 symver.
18297         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18298         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18299         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18300         * sysdeps/s390/__longjmp.c: New file.
18301         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18302         * sysdeps/s390/longjmp.c: New file.
18303         * sysdeps/s390/setjmp.S: New file.
18304         * sysdeps/s390/sigjmp.S: New file.
18305         * sysdeps/s390/v1-longjmp.c: New file.
18306         * sysdeps/s390/v1-setjmp.h: New file.
18307         * sysdeps/s390/v1-sigjmp.c: New file.
18308         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18309         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18310         GLIBC_2.19 version.
18311         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18312         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18313         versioned symbols for ____longjmp_chk.
18314         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18315         Likewise.
18316         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18317         Regenerate.
18318         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18319         Regenerate.
18320         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18321         Regenerate.
18322         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18323         Regenerate.
18324         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18325         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18326         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18327         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18328         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18329         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18330         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18331         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18332         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18333         * sysdeps/s390/rtld-__longjmp.c: New file.
18334         * sysdeps/s390/rtld-setjmp.S: New file.
18336 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
18338         [BZ #16400]
18339         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18340         Return -__logl (x) for small positive arguments without evaluating
18341         a polynomial.
18343 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
18345         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18346         Rename to ...
18347         (__ptrace_peeksiginfo_args): ... this.
18348         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18349         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18350         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18352 2014-01-06  Allan McRae  <allan@archlinux.org>
18354         * inet/netinet/in.h: Fix typo in comment.
18356 2014-01-05  Andreas Jaeger  <aj@suse.de>
18358         * sysdeps/i386/fpu/libm-test-ulps: Update.
18360 2014-01-05  Allan McRae  <allan@archlinux.org>
18362         * po/libc.pot: Regenerated.
18364         * malloc/memusagestat.c: Fix gettext call formatting.
18366 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
18368         * nscd/nscd.c: Improve usage() output.
18370 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
18372         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18373         * sysdeps/unix/sysv/linux/configure: Regenerated.
18374         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18375         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18377 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
18379         [BZ #16390]
18380         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18381         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18383 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18385         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18386         extra tokens at end of #undef directive.
18387         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18388         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18389         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18391 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
18393         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18395         * math/auto-libm-test-in: Mark various tests with
18396         xfail-rounding:ldbl-128ibm.
18397         * math/auto-libm-test-out: Regenerated.
18399 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
18401         [BZ #16386]
18402         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18403         numbers with subnormal high part when calculating exponent.
18405         [BZ #16385]
18406         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18407         fabs.
18409         [BZ #16384]
18410         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18411         M_LN2l.
18412         (__ieee754_acoshl): Use __log1pl not __log1p.
18414 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
18416         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18417         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18418         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18419         (grow_heap, heap_trim, _int_new_arena, get_free_list)
18420         (reused_arena, arena_get2): Convert to GNU style.
18421         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18422         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18423         (memalign_check, __malloc_set_state): Likewise.
18424         * malloc/mallocbug.c (main): Likewise.
18425         * malloc/malloc.c (__malloc_assert, malloc_init_state)
18426         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18427         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18428         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18429         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18430         (__posix_memalign, malloc_info): Likewise.
18431         * malloc/malloc.h: Likewise.
18432         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18433         (mallochook, memalignhook, reallochook, mabort): Likewise.
18434         * malloc/mcheck.h: Likewise.
18435         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18436         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
18437         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18438         * malloc/morecore.c (__default_morecore): Likewise.
18439         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
18440         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18441         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18442         (print_and_abort): Likewise.
18443         * malloc/obstack.h: Likewise.
18444         * malloc/set-freeres.c (__libc_freeres): Likewise.
18445         * malloc/tst-mallocstate.c (main): Likewise.
18446         * malloc/tst-mtrace.c (main): Likewise.
18447         * malloc/tst-realloc.c (do_test): Likewise.
18449 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18451         [BZ #16366]
18452         * nscd/netgroupcache.c (do_notfound): New function.
18453         (addgetnetgrentX): Use it.
18455         [BZ # 16365]
18456         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18457         NSS_STATUS_NOTFOUND.
18459 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
18461         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18462         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18464 2014-01-01  Allan McRae  <allan@archlinux.org>
18466         * scripts/update-copyrights: Update configure input file suffix.
18468         * NEWS: Update copyright year.
18469         * catgets/gencat.c: Likewise.
18470         * csu/version.c: Likewise.
18471         * debug/catchsegv.sh: Likewise.
18472         * debug/pcprofiledump.c: Likewise.
18473         * debug/xtrace.sh: Likewise.
18474         * elf/ldconfig.c: Likewise.
18475         * elf/ldd.bash.in: Likewise.
18476         * elf/pldd.c: Likewise.
18477         * elf/sotruss.ksh: Likewise.
18478         * elf/sprof.c: Likewise.
18479         * iconv/iconv_prog.c: Likewise.
18480         * iconv/iconvconfig.c: Likewise.
18481         * locale/programs/locale.c: Likewise.
18482         * locale/programs/localedef.c: Likewise.
18483         * login/programs/pt_chown.c: Likewise.
18484         * malloc/memusage.sh: Likewise.
18485         * malloc/memusagestat.c: Likewise.
18486         * malloc/mtrace.pl: Likewise.
18487         * manual/libc.texinfo: Likewise.
18488         * nscd/nscd.c: Likewise.
18489         * nss/getent.c: Likewise.
18490         * nss/makedb.c: Likewise.
18491         * posix/getconf.c: Likewise.
18492         * scripts/test-installation.pl: Likewise.
18494         * All files with FSF copyright notices: Update copyright dates
18495         using scripts/update-copyrights.
18496         * intl/plural.c: Regenerated.
18497         * locale/programs/charmap-kw.h: Likewise.
18498         * locale/programs/locfile-kw.h: Likewise.
18500 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
18502         * sysdeps/unix/sysv/linux/configure: Regenerated.
18503         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18504         the linux/fanotify.h header.
18505         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18506         HAVE_LINUX_FANOTIFY_H is defined.
18508 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
18510         * benchtests/cos-inputs: New inputs.
18511         * benchtests/sin-inputs: Likewise.
18513         * benchtests/atan-inputs: New inputs. Fix name of multiple
18514         precision fallback inputs.
18516         * benchtests/atanh-inputs: New inputs.
18517         * benchtests/tanh-inputs: Likewise.
18519         * benchtests/acosh-inputs: New inputs.
18520         * benchtests/asinh-inputs: Likewise.
18522         * benchtests/cosh-inputs: New inputs.
18523         * benchtests/sinh-inputs: Likewise.
18525         * benchtests/acos-inputs: Add more inputs.
18526         * benchtests/asin-inputs: Likewise.
18528 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
18530         [BZ #16375]
18531         * manual/arith.texi: Fix spelling.
18532         * manual/charset.texi: Likewise.
18533         * manual/errno.texi: Likewise.
18534         * manual/filesys.texi: Likewise.
18535         * manual/lang.texi: Likewise.
18536         * manual/llio.texi: Likewise.
18537         * manual/locale.texi: Likewise.
18538         * manual/message.texi: Likewise.
18539         * manual/resource.texi: Likewise.
18540         * manual/search.texi: Likewise.
18541         * manual/setjmp.texi: Likewise.
18542         * manual/stdio.texi: Likewise.
18543         * manual/string.texi: Likewise.
18544         * manual/sysinfo.texi: Likewise.
18545         * manual/time.texi: Likewise.
18547 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
18549         * po/sl.po: New file.
18551 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
18553         * .gitignore: Add core/.gdbinit/.gdb_history.
18555 2013-12-27  Allan McRae  <allan@archlinux.org>
18557         [BZ #16369]
18558         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18559         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18561 2013-12-24  Brooks Moses  <bmoses@google.com>
18563         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18564         all compilers that claim C++98 compliance, not just GCC.
18565         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18566         Likewise.
18568 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
18570         * NEWS: Restore accidentally deleted bug-fix entries.
18572 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
18573             Ondřej Bílka  <neleai@seznam.cz>
18575         [BZ #15073]
18576         * malloc/malloc.c (_int_free): Perform sanity check only if we
18577         have_lock.
18579 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
18581         [BZ #12986]
18582         * manual/stdio.texi (String Input Conversions): Clarify that character
18583         classes are not supported.
18585 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18587         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18589 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
18591         [BZ #16337]
18592         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18593         Calculate results for small negative arguments directly rather
18594         than using reflection formula with special underflow handling.
18596         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18597         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18598         sysdeps/unix/bsd/bsd4.4/syscalls.list.
18599         (fchflags): Likewise.
18600         (revoke): Likewise.
18601         (setlogin): Likewise.
18602         (sigaltstack): Likewise.
18603         (wait4): Likewise.
18604         (sigblock): Remove.
18605         (sigsetmask): Likewise.
18606         (wait3): Likewise.
18607         (waitpid): Likewise.
18608         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18609         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18610         file.
18611         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18612         * sysdeps/unix/bsd/Makefile: ... here.
18613         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18614         * sysdeps/unix/bsd/Versions: ... here.
18615         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18616         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18617         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18618         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18619         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18620         * sysdeps/unix/bsd/sigblock.c: ... here.
18621         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18622         * sysdeps/unix/bsd/sigsetmask.c: ... here.
18623         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18624         * sysdeps/unix/bsd/sigvec.c: ... here.
18625         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18626         * sysdeps/unix/bsd/tcdrain.c: ... here.
18627         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18628         * sysdeps/unix/bsd/tcgetattr.c: ... here.
18629         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18630         * sysdeps/unix/bsd/tcsetattr.c: ... here.
18631         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18632         * sysdeps/unix/bsd/wait.c: ... here.
18633         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18634         * sysdeps/unix/bsd/wait3.c: ... here.
18635         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18636         * sysdeps/unix/bsd/waitpid.c: ... here.
18638 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
18640         [BZ #16356]
18641         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18642         round-to-nearest for [!USE_AS_EXPM1L].
18643         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18644         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
18645         more tests of exp and exp10.  Expect some exp10 tests to miss
18646         exceptions or fail in directed rounding modes.
18647         * math/auto-libm-test-out: Regenerated.
18648         * math/libm-test.inc (exp10_tonearest_test_data): New array.
18649         (exp10_test_tonearest): New function.
18650         (exp10_towardzero_test_data): New array.
18651         (exp10_test_towardzero): New function.
18652         (exp10_downward_test_data): New array.
18653         (exp10_test_downward): New function.
18654         (exp10_upward_test_data): New array.
18655         (exp10_test_upward): New function.
18656         (main): Call the new functions.
18657         * sysdeps/i386/fpu/libm-test-ulps: Update.
18658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18660 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
18662         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18663         asinh, atan, atan2, atanh, cbrt, cos and cosh.
18664         * math/auto-libm-test-out: Regenerated.
18665         * math/libm-test.inc (acosh_test_data): Add more tests.
18666         (atanh_test_data): Likewise.
18667         (ceil_test_data): Likewise.
18668         (copysign_test_data): Likewise.
18669         * sysdeps/i386/fpu/libm-test-ulps: Update.
18670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18672         * timezone/checktab.awk: Update from tzcode 2013i.
18673         * timezone/private.h: Likewise.
18674         * timezone/scheck.c: Likewise.
18675         * timezone/tzfile.h: Likewise.
18676         * timezone/tzselect.ksh: Likewise.
18677         * timezone/zdump.c: Likewise.
18678         * timezone/zic.c: Likewise.
18680         * math/auto-libm-test-in: Add tests of cpow.
18681         * math/auto-libm-test-out: Regenerated.
18682         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
18683         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18684         mpc_cc_c.
18685         (func_calc_desc): Add mpc_cc_c union field.
18686         (test_functions): Add cpow.
18687         (special_fill_2pi): New function.
18688         (special_real_inputs): Add 2pi.
18689         (calc_generic_results): Handle mpc_cc_c.
18690         * sysdeps/i386/fpu/libm-test-ulps: Update.
18691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18693         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18694         csqrt, ctan and ctanh.
18695         * math/auto-libm-test-out: Regenerated.
18696         * math/libm-test.inc (TEST_COND_x86_64): New macro.
18697         (TEST_COND_x86): Likewise.
18698         (ccos_test_data): Use AUTO_TESTS_c_c.
18699         (ccosh_test_data): Likewise.
18700         (cexp_test_data): Likewise.
18701         (clog_test_data): Likewise.
18702         (csqrt_test_data): Likewise.
18703         (ctan_test_data): Likewise.
18704         (ctan_tonearest_test_data): Likewise.
18705         (ctan_towardzero_test_data): Likewise.
18706         (ctan_downward_test_data): Likewise.
18707         (ctan_upward_test_data): Likewise.
18708         (ctanh_test_data): Likewise.
18709         (ctanh_tonearest_test_data): Likewise.
18710         (ctanh_towardzero_test_data): Likewise.
18711         (ctanh_downward_test_data): Likewise.
18712         (ctanh_upward_test_data): Likewise.
18713         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18714         mpc_c_c.
18715         (func_calc_desc): Add mpc_c_c union field.
18716         (FUNC_mpc_c_c): New macro.
18717         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18718         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18719         ctanh.
18720         (special_fill_min_subnorm_p120): New function.
18721         (special_real_inputs): Add min_subnorm_p120.
18722         (calc_generic_results): Handle mpc_c_c.
18723         * sysdeps/i386/fpu/libm-test-ulps: Update.
18724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18726 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18728         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18729         (do_sin_slow): New functions.
18730         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18731         (cslow2, csloww1, csloww2): Use the new functions.
18733         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
18734         Use M to change sign of result instead of X.  Assume X is
18735         positive.
18736         (csloww1): Likewise.
18737         (__sin): Adjust.
18738         (__cos): Adjust.
18740         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
18741         arguments A and DA.
18742         (__sin): Adjust.
18743         (__cos): Likewise.
18745         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
18746         (__cos): Likewise.
18747         (sloww1): Don't adjust sign of DX.
18748         (csloww1): Likewise.
18749         (sloww2): Use X directly and don't adjust sign of DX.
18750         (csloww2): Likewise.
18752 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18754         * math/auto-libm-test-in: Add tests of cabs and carg.
18755         * math/auto-libm-test-out: Regenerated.
18756         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
18757         (carg_test_data): Likewise.
18758         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18759         mpc_c_f.
18760         (func_calc_desc): Add mpc_c_f union field.
18761         (test_functions): Add cabs and carg.
18762         (calc_generic_results): Handle mpc_c_f.
18764         * sysdeps/powerpc/powerpc32/libgcc-compat.S
18765         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
18766         as a macro and a compat symbol.
18767         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18768         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18769         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18770         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18771         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
18772         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
18773         not use .hidden.
18774         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
18775         Likewise.
18776         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
18777         Likewise.
18778         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
18779         Likewise.
18780         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
18781         Likewise.
18782         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
18783         Likewise.
18784         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
18785         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
18786         from GLIBC_2.3.2.
18788 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18790         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18792 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18794         * manual/texinfo.tex: Update to version 2013-11-26.10 with
18795         trailing whitespace removed.
18796         * scripts/config.guess: Update to version 2013-11-29.
18797         * scripts/config.sub: Update to version 2013-10-01.
18799         * math/auto-libm-test-in: Add tests of sincos.
18800         * math/auto-libm-test-out: Regenerated.
18801         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
18802         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18803         mpfr_f_11.
18804         (func_calc_desc): Add mpfr_f_11 union field.
18805         (test_functions): Add sincos.
18806         (calc_generic_results): Handle mpfr_f_11.
18807         * sysdeps/i386/fpu/libm-test-ulps: Update.
18808         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18810 2013-12-19  Andreas Schwab  <schwab@suse.de>
18812         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
18813         CALL_MCOUNT.
18814         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18815         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
18816         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
18818 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18820         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
18821         * sysdeps/i386/fpu/libm-test-ulps: Update.
18822         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18824         [BZ #16293]
18825         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
18826         round-to-nearest mode when using frndint.
18827         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
18828         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18829         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18830         Likewise.
18831         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
18832         sinh test to fail.
18833         * math/auto-libm-test-out: Regenerated.
18834         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
18835         (TEST_COND_x86): Likewise.
18836         (expm1_tonearest_test_data): New array.
18837         (expm1_test_tonearest): New function.
18838         (expm1_towardzero_test_data): New array.
18839         (expm1_test_towardzero): New function.
18840         (expm1_downward_test_data): New array.
18841         (expm1_test_downward): New function.
18842         (expm1_upward_test_data): New array.
18843         (expm1_test_upward): New function.
18844         (main): Run the new test functions.
18845         * sysdeps/i386/fpu/libm-test-ulps: Update.
18846         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18848         * include/features.h: Update comment documenting feature test
18849         macros.  Mention _DEFAULT_SOURCE in comment.
18850         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
18851         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
18852         _BSD_SOURCE and _SVID_SOURCE.
18853         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
18854         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
18855         !_SVID_SOURCE]: Likewise.
18856         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18857         (__USE_POSIX_IMPLICITLY): Define.
18858         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18859         (_POSIX_SOURCE): Undefine and redefine.
18860         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18861         (_POSIX_C_SOURCE): Likewise.
18862         * manual/creature.texi (_DEFAULT_SOURCE): Document.
18863         (Feature Test Macros): Update documentation of default features.
18865 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18867         * benchtests/Makefile: Add bench-strtok.
18868         * benchtests/bench-strtok.c: New file: strtok benchtest.
18870 2013-12-19  Allan McRae  <allan@archlinux.org>
18872         * manual/install.texi: Suppress menu for plain text output.
18873         * INSTALL: Regenerated.
18875 2013-12-18  Brooks Moses  <bmoses@google.com>
18877         [BZ #15846]
18878         * misc/getauxval.c: Include errno.h.
18879         (__getauxval): Set errno to ENOENT if the requested type is not
18880         found.
18881         * misc/sys/auxv.h (getauxval): Document that it may set errno;
18882         don't declare with __attribute_const__.
18883         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
18884         * manual/startup.texi: Document that getauxval sets errno.
18886 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
18888         * math/auto-libm-test-in: Add tests of jn and yn.
18889         * math/auto-libm-test-out: Regenerated.
18890         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
18891         (yn_test_data): Likewise.
18892         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18893         mpfr_if_f.
18894         (func_calc_desc): Add mpfr_if_f union field.
18895         (FUNC_mpfr_if_f): New macro.
18896         (test_functions): Add jn and yn.
18897         (calc_generic_results): Assert type of second input for
18898         mpfr_ff_f.  Handle mpfr_if_f.
18899         (output_for_one_input_case): Disable all checking for arguments
18900         fitting floating-point types in case of an integer argument.
18901         * sysdeps/i386/fpu/libm-test-ulps: Update.
18902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18905         Don't expect fegetround reference in libm.so.
18907 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18909         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
18910         $(config-cflags-nofma).
18912 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
18914         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
18915         * math/auto-libm-test-out: Regenerated.
18917         [BZ #16338]
18918         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
18919         to determine exponent and adjust argument to have exponent of -1.
18920         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18921         log2.
18922         * math/auto-libm-test-out: Regenerated.
18923         * sysdeps/i386/fpu/libm-test-ulps: Update.
18924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18926 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
18928         * manual/probes.texi: Remove cases when per-thread arenas are
18929         disabled.
18931 2013-12-18  Andreas Schwab  <schwab@suse.de>
18933         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
18934         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
18935         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
18936         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
18937         * sysdeps/i386/i686/multiarch/Makefile: Update.
18938         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
18940 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
18942         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
18943         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
18945 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
18947         [BZ #15968]
18948         Support TZ transition times < 00:00:00.
18949         This is needed for version-3 tz-format files; it supports time
18950         stamps past 2037 for America/Godthab (the only entry in the tz
18951         database for which this change is relevant).
18952         * manual/time.texi (TZ Variable): Document transition times
18953         from -167:59:59 through -00:00:01.
18954         * time/tzset.c (tz_rule): Time of day is now signed.
18955         (__tzset_parse_tz): Parse negative time of day.
18957         Document TZ transition times >= 25:00:00.
18958         * manual/time.texi (TZ Variable): Document transition times from
18959         25:00:00 through 167:59:59.  These are already supported, and this
18960         support will help with version-3 tz-format files.
18962         * manual/time.texi (TZ Variable): Modernize North America example
18963         to reflect current (i.e., 2007-and-later) daylight saving rules.
18965         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
18967 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
18969         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
18970         * sysdeps/unix/bsd/bits/stat.h: Likewise.
18971         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
18972         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18973         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
18974         * sysdeps/unix/bsd/bsdstat.h: Likewise.
18975         * sysdeps/unix/bsd/clock.c: Likewise.
18976         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
18977         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
18978         * sysdeps/unix/bsd/init-posix.c: Likewise.
18979         * sysdeps/unix/bsd/poll.c: Likewise.
18980         * sysdeps/unix/bsd/ptsname.c: Likewise.
18981         * sysdeps/unix/bsd/seekdir.c: Likewise.
18982         * sysdeps/unix/bsd/setegid.c: Likewise.
18983         * sysdeps/unix/bsd/seteuid.c: Likewise.
18984         * sysdeps/unix/bsd/setgid.c: Likewise.
18985         * sysdeps/unix/bsd/setrgid.c: Likewise.
18986         * sysdeps/unix/bsd/setruid.c: Likewise.
18987         * sysdeps/unix/bsd/setsid.c: Likewise.
18988         * sysdeps/unix/bsd/setuid.c: Likewise.
18989         * sysdeps/unix/bsd/sigaction.c: Likewise.
18990         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
18991         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
18992         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
18993         * sysdeps/unix/bsd/telldir.c: Likewise.
18994         * sysdeps/unix/bsd/times.c: Likewise.
18995         * sysdeps/unix/bsd/usleep.c: Likewise.
18997         * misc/Makefile (install-lib): Remove libbsd-compat.a.
18998         ($(objpfx)libbsd-compat.a): Remove rule.
19000         * include/features.h (__FAVOR_BSD): Do not define.
19001         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19002         features conflicting with POSIX.
19003         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19004         (_BSD_SOURCE): Remove description of not being a subset of other
19005         feature test macros.
19006         * manual/job.texi (getpgrp): Do not document BSD version.
19007         (getpgid): Do not document by reference to BSD getpgrp.
19008         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19009         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19010         * signal/signal.h [__FAVOR_BSD]: Likewise.
19011         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19012         instead of making contents conditional on [__FAVOR_BSD].
19013         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19015 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19017         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19019 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
19021         [BZ #16314]
19022         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19023         values below 2**-450, not 2**-500.
19024         * math/auto-libm-test-in: Don't allow spurious underflow from
19025         hypot.
19026         * math/auto-libm-test-out: Regenerated.
19028         [BZ #16316]
19029         [BZ #16330]
19030         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19031         values of ha and hb and sort them after adjusting subnormal
19032         arguments.
19033         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19034         Likewise.
19035         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19036         values of ea and eb and sort them after adjusting subnormal
19037         arguments.
19038         * math/auto-libm-test-in: Do not expect some hypot tests of
19039         subnormals to fail.  Add more hypot tests.
19040         * math/auto-libm-test-out: Regenerated.
19042 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19044         [BZ #13304]
19045         * sysdeps/sh/s_fma.c: New file.
19046         * sysdeps/sh/s_fmaf.c: New file.
19047         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
19048         version.
19049         * sysdeps/sh/Implies: Add sh/soft-fp.
19051 2013-12-16  Roland McGrath  <roland@hack.frob.com>
19053         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
19054         level of indirection to members `objname', `errstring', `malloced'.
19055         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19056         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
19057         it as the __longjmp argument (just pass 1 instead).
19058         (_dl_catch_error): Initialize C with argument pointers and address of
19059         volatile local ERRCODE rather than copying values out of C at return.
19061 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
19063         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19064         * math/auto-libm-test-out: Regenerated.
19065         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19066         (hypot_test_data): Likewise.
19067         (pow_test_data): Likewise.
19068         (pow_tonearest_test_data): Likewise.
19069         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19070         mpfr_ff_f.
19071         (func_calc_desc): Add mpfr_ff_f union field.
19072         (FUNC_mpfr_ff_f): New macro.
19073         (test_functions): Add atan2, hypot and pow.
19074         (special_fill_min): New function.
19075         (special_fill_minus_min): Likewise.
19076         (special_fill_min_subnorm): Likewise.
19077         (special_fill_minus_min_subnorm): Likewise.
19078         (special_real_inputs): Add min, -min, min_subnorm and
19079         -min_subnorm.
19080         (calc_generic_results): Handle mpfr_ff_f.
19081         * sysdeps/i386/fpu/libm-test-ulps: Update.
19082         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19084 2013-12-16  Will Newton  <will.newton@linaro.org>
19086         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19087         (Aligned Memory Blocks): Add documentation for aligned_alloc
19088         and suggest it as an alternative to posix_memalign.
19089         (Hooks for Malloc): Document __memalign_hook is also called
19090         for aligned_alloc.  (Summary of Malloc): Add summary for
19091         aligned alloc.  Document __memalign_hook is also called
19092         for aligned_alloc.
19094 2013-12-16  Will Newton  <will.newton@linaro.org>
19096         * manual/memory.texi (Malloc Examples): Clarify default
19097         alignment documentation.  Suggest posix_memalign rather
19098         than memalign or valloc.
19099         (Aligned Memory Blocks): Remove suggestion to use memalign
19100         or valloc.  Remove obsolete comment about BSD.
19101         Document memalign errno values and mark the function obsolete.
19102         Document posix_memalign returned error codes.  Mark valloc
19103         as obsolete.  (Hooks for Malloc): __memalign_hook is also
19104         called for posix_memalign and valloc.
19105         (Summary of Malloc): Add posix_memalign to function summary.
19106         __memalign_hook is also called for posix_memalign and valloc.
19108 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19110         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19111         TAYLOR_SIN.
19112         (__sin): Adjust.
19113         (__cos): Likewise.
19114         (sloww): Use mynumber union.  Expand ternary operator into
19115         if-else statements.
19116         (cslow): use mynumber union.
19118 2013-12-16  Allan McRae  <allan@archlinux.org>
19120         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19121         * configure: Regenerated.
19123         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19125         [BZ #14120]
19126         * configure.ac: Added --enable-maintainer-mode. Check for
19127         autoconf when enabled.
19128         * configure: Regenerated.
19130         * nscd/nscd.service: New file.
19131         * nscd/nscd.tmpfiles: New file.
19133 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
19135         [BZ #12100]
19136         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19137         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19138         * sysdeps/x86_64/multiarch/strstr.c: ... here.
19139         (strstr): Add __strstr_sse2_unaligned ifunc.
19140         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19141         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19142         (strcasestr): Remove __strcasestr_sse42 ifunc.
19143         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19144         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19145         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19147 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19149         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19150         * sysdeps/sh/bits/fenv.h: ... here.
19151         * sysdeps/sh/sh4/fpu/bits: Remove directory.
19153 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19155         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19157         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19158         hypotf multiarch implementations.
19159         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19160         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19161         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19162         multiarch hypot for PPC64.
19163         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19164         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19165         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19166         multiarch hypotf for PPC64.
19168         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19169         modff multiarch implementations.
19170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19171         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19173         multiarch modf for PPC64.
19174         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19177         multiarch modff for PPC64.
19179         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19180         and logl multiarch implementations.
19181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19183         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19184         multiarch logb for PPC64.
19185         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19188         multiarch logb for PPC64.
19189         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19192         multiarch logb for PPC64.
19194         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19195         isinff multiarch implementation.
19196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19197         file.
19198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19199         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19200         multiarch isinf for PPC64.
19201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19202         file.
19203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19204         multiarch isinff for PPC64.
19206         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19207         finitef multiarch implementation.
19208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19209         file.
19210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19212         multiarch finite for PPC64.
19213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19214         file.
19215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19216         multiarch finitef for PPC64.
19218         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19219         lrint multiarch implementation.
19220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19221         file.
19222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19223         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19224         multiarch llrint for PPC64.
19225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19226         multiarch lrint for PPC64.
19228         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19229         copysignf multiarch implementation.
19230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19231         file.
19232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19233         file.
19234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19235         multiarch copysign for PPC64.
19236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19237         multiarch copysignf for PPC64.
19239         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19240         multiarch implementation.
19241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19242         file.
19243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19244         file.
19245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19246         file.
19247         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19248         file.
19249         multiarch llround for PPC64.
19250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19251         multiarch trunc for PPC64.
19252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19253         multiarch truncf for PPC64.
19255         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19256         multiarch implementation.
19257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19258         file.
19259         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19260         file.
19261         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19262         file.
19263         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19264         file.
19265         multiarch llround for PPC64.
19266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19267         multiarch round for PPC64.
19268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19269         multiarch roundf for PPC64.
19271         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19272         multiarch implementation.
19273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19274         file.
19275         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19276         file.
19277         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19278         file.
19279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19280         file.
19281         multiarch llround for PPC64.
19282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19283         multiarch floor for PPC64.
19284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19285         multiarch floorf for PPC64.
19287         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19288         multiarch implementation.
19289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19290         file.
19291         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19292         file.
19293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19294         file.
19295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19296         file.
19297         multiarch llround for PPC64.
19298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19299         multiarch ceil for PPC64.
19300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19301         multiarch ceilf for PPC64.
19303         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19304         multiarch implementation.
19305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19306         file.
19307         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19308         file.
19309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19310         file.
19311         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19312         multiarch llround for PPC64.
19313         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19314         multiarch lround for PPC64.
19316         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19317         multiarch implementation.
19318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19321         file.
19322         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19325         multiarch isnan for PPC64.
19326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19327         multiarch isnanf for PPC64.
19329         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19330         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19331         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19332         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19333         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19336         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19337         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19338         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19339         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19341         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19342         multiarch implementations.
19343         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19344         (__libc_ifunc_impl_list): Likewise.
19345         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19346         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19347         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19348         multiarch stpcpy for PPC64.
19350         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19351         multiarch implementations.
19352         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19353         (__libc_ifunc_impl_list): Likewise.
19354         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19355         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19356         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19357         multiarch strcpy for PPC64.
19359         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19360         redefine function name.
19361         (_wordcopy_fwd_dest_aligned): Likewise.
19362         (_wordcopy_bwd_aligned): Likewise.
19363         (_wordcopy_bwd_dest_aligned): Likewise.
19364         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19365         multiarch implementations.
19366         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19367         (__libc_ifunc_impl_list): Likewise.
19368         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19369         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19370         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19371         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19372         multiarch wcscpy for PPC64.
19374         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19375         multiarch implementations.
19376         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19377         (__libc_ifunc_impl_list): Likewise.
19378         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19379         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19380         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19381         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19382         multiarch wcscpy for PPC64.
19384         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19385         multiarch implementations.
19386         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19387         (__libc_ifunc_impl_list): Likewise.
19388         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19389         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19390         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19391         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19392         multiarch wcsrchr for PPC64.
19394         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19395         multiarch implementations.
19396         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19397         (__libc_ifunc_impl_list): Likewise.
19398         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19399         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19400         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19401         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19402         multiarch wcschr for PPC64.
19404         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19405         multiarch implementations.
19406         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19407         (__libc_ifunc_impl_list): Likewise.
19408         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19409         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19410         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19411         multiarch strchrnul for PPC64.
19413         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19414         implementations.
19415         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19416         (__libc_ifunc_impl_list): Likewise.
19417         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19418         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19419         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19420         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19421         strchr for PPC64.
19423         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19424         implementations.
19425         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19426         (__libc_ifunc_impl_list): Likewise.
19427         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19428         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19429         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19430         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19431         strncmp for PPC64.
19433         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19434         multiarch implementations.
19435         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19436         (__libc_ifunc_impl_list): Likewise.
19437         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19438         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19439         strncasecmp for PPC64.
19440         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19441         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19442         multiarch strncasecmp_l for PPC64.
19444         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19445         multiarch implementations.
19446         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19447         (__libc_ifunc_impl_list): Likewise.
19448         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19449         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19450         multiarch strcasecmp for PPC64.
19451         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19452         file.
19453         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19454         multiarch strcasecmp_l for PPC64.
19456         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19457         implementations.
19458         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19459         (__libc_ifunc_impl_list): Likewise.
19460         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19461         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19462         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19463         strnlen for PPC64.
19465         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19466         implementations.
19467         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19468         (__libc_ifunc_impl_list): Likewise.
19469         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19470         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19471         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19472         strlen for PPC64.
19474         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19475         implementations.
19476         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19477         (__libc_ifunc_impl_list): Likewise.
19478         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19479         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19480         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19481         rawmemrchr for PPC64.
19483         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19484         implementation.
19485         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19486         (__libc_ifunc_impl_list): Likewise.
19487         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19488         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19489         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19490         memrchr for PPC64.
19492         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19493         implementation.
19494         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19495         (__libc_ifunc_impl_list): Likewise.
19496         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19497         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19498         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19499         memchr for PPC64.
19501         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19502         implementation.
19503         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19504         (__libc_ifunc_impl_list): Likewise.
19505         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19506         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19507         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19508         mempcpy for PPC64.
19510         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19511         avoid cretion of __bzero symbol.
19512         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19513         Likewise.
19514         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19515         Likewise.
19516         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19517         Likewise.
19518         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19519         multiarch implementations.
19520         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19521         (__libc_ifunc_impl_list): Likewise.
19522         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19523         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19524         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19525         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19526         bzero for PPC32.
19527         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19528         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19529         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19530         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19531         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19532         memset for PPC64.
19533         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19535         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19536         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19537         implementations.
19538         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19539         (__libc_ifunc_impl_list): Likewise.
19540         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19541         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19542         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19543         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19544         memcmp for PPC64.
19546         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19547         multiarch for POWER/PPC64.
19548         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19549         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19550         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19551         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19552         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19553         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19554         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19555         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19556         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19557         memcpy for PPC64.
19559         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19560         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19561         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19562         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19563         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19564         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19565         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19566         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19567         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19568         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19569         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19570         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19571         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19572         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19573         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19582 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19584         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19586 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19588         * benchtests/Makefile (bench): Add exp2 and log2.
19589         (LDLIBS-bench-exp2): Add -lm.
19590         (LDLIBS-bench-log2): Likewise.
19591         * benchtests/exp2-inputs: New inputs file.
19592         * benchtests/log2-inputs: New inputs file.
19593         * benchtests/log-inputs: Add new inputs.
19594         * benchtests/tan-inputs: Likewise.
19596 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19598         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19599         definition...
19600         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19601         (csloww2): ... from here.
19603         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19604         instead of structures.
19605         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19606         (POLYNOMIAL): Likewise.
19607         (TAYLOR_SLOW): Likewise.
19608         (__sin): Likewise.
19609         (__cos): Likewise.
19610         (slow1): Likewise.
19611         (slow2): Likewise.
19612         (sloww): Likewise.
19613         (sloww1); Likewise.
19614         (sloww2): Likewise.
19615         (bsloww1): Likewise.
19616         (bsloww2): Likewise.
19617         (cslow2): Likewise.
19618         (csloww): Likewise.
19619         (csloww1): Likewise.
19620         (csloww2): Likewise.
19622 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
19624         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
19625         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19626         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
19627         * malloc/hooks.c (realloc_check): Likewise.
19629         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19630         * malloc/arena.c: Remove PER_THREAD conditional.
19631         [!PER_THREAD]: Remove code.
19632         (ptmalloc_unlock_all2): Likewise.
19633         (ptmalloc_init): Likewise.
19634         (_int_new_arena): Likewise.
19635         (arena_get2): Likewise.
19636         * malloc/hooks.c (__malloc_get_state): Likewise.
19637         (__malloc_set_state): Likewise.
19638         * malloc/malloc.c: Likewise.
19639         (struct malloc_state): Likewise.
19640         (struct malloc_par): Likewise.
19641         (__libc_realloc): Likewise.
19642         (__libc_mallopt): Likewise.
19644 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19646         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19648 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
19650         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19651         macro to a function.  Check for zero perturb_byte.
19652         (_int_malloc, _int_free): Remove zero perturb_byte checks.
19654         * malloc/malloc.c: (force_reg): Remove.
19655         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19656         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
19657         force_reg by atomic_forced_read.
19658         * malloc/arena.c (ptmalloc_init): Likewise.
19659         * malloc/hooks.c (top_check): Likewise.
19661 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19663         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19665 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
19667         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19669 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
19671         * math/auto-libm-test-in: Add tests of lgamma.
19672         * math/auto-libm-test-out: Regenerated.
19673         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19674         (M_LOG_2_SQRT_PIl): Likewise.
19675         (lgamma_test_data): Use AUTO_TESTS_f_f1.
19676         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19677         mpfr_f_f1.
19678         (func_calc_desc): Add mpfr_f_f1 union field.
19679         (ARGS1): New macro.
19680         (ARGS2): Likewise.
19681         (ARGS3): Likewise.
19682         (ARGS4): Likewise.
19683         (RET1): Likewise.
19684         (RET2): Likewise.
19685         (CALC): Likewise.
19686         (FUNC): Likewise.
19687         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19688         (test_functions): Add lgamma.
19689         (calc_generic_results): Handle mpfr_f_f1.
19690         * sysdeps/i386/fpu/libm-test-ulps: Update.
19691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19693 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19695         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19696         __mpn_add_n for PowerPC64/POWER7.
19697         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19698         __mpn_sub_n for PowerPC64/POWER7.
19700         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19701         __mpn_addmul_1 for PowerPC64.
19702         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19703         __mpn_submul_1 for PowerPC64.
19704         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19705         for PowerPC64.
19706         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19707         for PowerPC64.
19709 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
19711         [BZ #15089]
19712         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19714 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19716         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19718         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19719         add multiarch folders.
19720         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19721         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19722         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19723         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19724         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19725         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19726         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19727         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19728         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19729         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19730         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
19732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
19733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
19734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
19735         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
19736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
19738         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19739         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
19740         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
19741         New file.
19742         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
19743         New file.
19744         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
19745         multiarch __ieee754_hypot for PowerPC32.
19746         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
19747         New file.
19748         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
19749         New file.
19750         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
19751         multiarch __ieee754_hypotf for PowerPC32.
19753         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
19754         long_double_symbol only if __logbl is defined.
19755         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
19756         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
19757         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
19758         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
19759         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
19760         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
19761         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
19762         path for implementation.
19763         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
19764         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
19765         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
19766         logb, and logbl multiarch implementations for PowerPC32.
19767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
19768         file.
19769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
19770         file.
19771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
19772         multiarch logb for PowerPC32.
19773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
19774         file.
19775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
19776         file.
19777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
19778         multiarch logbf for PowerPC32.
19779         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
19780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
19781         file.
19782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
19783         multiarch logbl implementation for PowerPC32.
19785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
19786         and modff multiarch implementations.
19787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
19788         New file.
19789         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
19790         New file.
19791         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
19792         multiarch modf for PowerPC32.
19793         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
19794         New file.
19795         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
19796         New file.
19797         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
19798         multiarch modff for PowerPC32.
19800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
19801         and lrintf multiarch implementations.
19802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
19803         New file.
19804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
19805         New file.
19806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
19807         multiarch lrint for PowerPC32.
19808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
19809         file: multiarch lrintf for PowerPC32.
19811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
19812         and lroundf multiarch implementations.
19813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
19814         New file.
19815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
19816         New file.
19817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
19818         New file.
19819         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
19820         multiarch lround for PowerPC32.
19821         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
19822         file: multiarch lroundf for PowerPC32.
19824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19825         copysign and copysignf multiarch implementations.
19826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
19827         New file.
19828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
19829         New file.
19830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
19831         file: multiarch copysign for PowerPC32.
19832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
19833         file: multiarch copysignf for PowerPC32.
19835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
19836         and truncf multiarch implementations.
19837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
19838         New file.
19839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
19840         file.
19841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
19842         multiarch trunc for PowerPC32.
19843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
19844         New file.
19845         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
19846         New file.
19847         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
19848         multiarch truncf for PowerPC32.
19850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
19851         and roundf multiarch implementations.
19852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
19853         New file.
19854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
19855         file.
19856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
19857         multiarch round for PowerPC32.
19858         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
19859         New file.
19860         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
19861         New file.
19862         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
19863         multiarch roundf for PowerPC32.
19865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
19866         and floorf multiarch implementations.
19867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
19868         New file.
19869         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
19870         file.
19871         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
19872         multiarch floor for PowerPC32.
19873         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
19874         New file.
19875         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
19876         New file.
19877         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
19878         multiarch floorf for PowerPC32.
19880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
19881         and ceilf multiarch implementations.
19882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
19883         New file.
19884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
19885         file.
19886         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
19887         multiarch ceil for PowerPC32.
19888         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
19889         New file.
19890         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
19891         file.
19892         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
19893         multiarch ceilf for PowerPC32.
19895         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
19896         is defined.
19897         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
19898         FINITEF is defined.
19899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
19900         and finitef multiarch implementations.
19901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
19902         New file.
19903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
19904         file.
19905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
19906         multiarch finite for PowerPC32.
19907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
19908         New file.
19909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
19910         file: multiarch finitef for PowerPC32.
19912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
19913         and isinff multiarch implementations.
19914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
19915         file.
19916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
19917         file.
19918         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
19919         multiarch isinf for PowerPC32.
19920         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
19921         New file.
19922         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
19923         multiarch isinff for PowerPC32.
19925         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
19926         alias when __isnan is defined.
19927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
19928         and isnanf multiarch implementations.
19929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
19930         file.
19931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
19932         file.
19933         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
19934         file.
19935         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
19936         file.
19937         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
19938         multiarch isnan for PowerPC32.
19939         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
19940         New file.
19941         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
19942         New file.
19943         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
19944         multiarch isnanf for PowerPC32.
19946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
19947         and sqrtf multiarch implementations.
19948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
19949         file.
19950         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
19951         file.
19952         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
19953         multiarch sqrt for PowerPC32.
19954         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
19955         file.
19956         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
19957         file.
19958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
19959         multiarch sqrtf for PowerPC32.
19961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
19962         and llroundf multiarch implementations.
19963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
19964         New file.
19965         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
19966         New file.
19967         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
19968         New file.
19969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
19970         file: multiarch llround for PowerPC32.
19971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
19972         file: multiarch llroundf for PowerPC32.
19974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
19975         multiarch PowerPC32 fpu implementations.
19976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
19977         New file.
19978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
19979         New file.
19980         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
19981         multiarch llrint for PowerPC32.
19982         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
19983         New file.
19984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
19985         New file.
19986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
19987         file.
19989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
19991         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
19992         file.
19993         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
19994         file.
19995         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
19996         file.
19997         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
19998         multiarch wordcopy for PPC32.
19999         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20000         wordcopy objects.
20001         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20002         (__libc_ifunc_impl_list): Likewise.
20003         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20004         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20005         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20006         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20007         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20008         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20010         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20011         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20012         file.
20013         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20014         file.
20015         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20016         file.
20017         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20018         multiarch wcscpy for PPC32.
20019         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20020         multiarch objects.
20021         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20022         (__libc_ifunc_impl_list): Likewise.
20023         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20024         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20025         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20026         sysdeps/powerpc/power6/wcscpy.c.
20028         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20029         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20030         file.
20031         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20032         file.
20033         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20034         file.
20035         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20036         multiarch wcsrchr for PPC32.
20037         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20038         multiarch objects.
20039         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20040         (__libc_ifunc_impl_list): Likewise.
20041         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20042         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20043         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20044         sysdeps/powerpc/power6/wcsrchr.c.
20046         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20047         file.
20048         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20049         file.
20050         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20051         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20052         multiarch wcschr for PPc32.
20053         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20054         multiarch objects.
20055         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20056         (__libc_ifunc_impl_list): Likewise.
20057         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20058         * sysdeps/powerpc/power6/wcschr.c: ... to here.
20059         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20060         sysdeps/powerpc/power6/wcschr.c.
20062         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20063         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20064         file.
20065         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20066         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20067         file: multiarch strchr for PPC32.
20068         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20069         multiarch objects.
20070         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20071         (__libc_ifunc_impl_list): Likewise.
20073         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20074         name.
20075         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20076         file.
20077         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20078         file.
20079         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20080         multiarch strchrnul for PPC32.
20081         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20082         multiarch objects.
20083         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20084         (__libc_ifunc_impl_list): Likewise.
20086         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20087         file.
20088         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20089         multiarch strncasecmp for PPC32.
20090         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20091         file.
20092         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20093         multiarch strncasecmp_l for PPC32.
20094         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20095         strncasecmp multiarch objects.
20096         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20097         (__libc_ifunc_impl_list): Likewise.
20099         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20100         file.
20101         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20102         multiarch strncasecmp for PPC32.
20103         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20104         New file.
20105         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20106         multiarch strcasecmp_l for PPC32.
20107         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20108         multiarch objects.
20109         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20110         (__libc_ifunc_impl_list): Likewise.
20112         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20113         file.
20114         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20115         file.
20116         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20117         multiarch strncmp for PPC32.
20118         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20119         multiarch objects.
20120         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20121         (__libc_ifunc_impl_list): Likewise.
20123         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20124         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20125         file.
20126         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20127         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20128         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20129         multiarch objects.
20130         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20131         (__libc_ifunc_impl_list): Likewise.
20133         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20134         file.
20135         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20136         file.
20137         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20138         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20139         multiarch objects.
20140         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20141         (__libc_ifunc_impl_list): Likewise.
20143         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20144         file.
20145         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20146         file.
20147         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20148         multiarch rawmemchr for PPC32.
20149         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20150         multiarch objects.
20151         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20152         (__libc_ifunc_impl_list): Likewise.
20154         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20155         file.
20156         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20157         file.
20158         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20159         file: memrchr multiarch for PPC32.
20160         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20161         multiarch objects.
20162         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20163         (__libc_ifunc_impl_list): Likewise.
20165         * string/memchr.c (__memchr): Using macro to redefine symbol name.
20166         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20167         file.
20168         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20169         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20170         multiarch memchr for PPC32.
20171         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20172         multiarch objects.
20173         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20174         (__libc_ifunc_impl_list): Likewise.
20176         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20177         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20178         file.
20179         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20180         file.
20181         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20182         file: multiarch mempcpy for PPC32.
20183         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20184         multiarch objects.
20185         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20186         (__libc_ifunc_impl_list): Likewise.
20188         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20189         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20190         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20191         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20192         multiarch bzero for PPC32.
20193         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20194         file.
20195         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20196         file.
20197         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20198         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20199         file: multiarch memset for PPC32.
20200         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20201         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20202         memset multiarch objects.
20203         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20204         (__libc_ifunc_impl_list): Likewise.
20206         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20207         file.
20208         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20209         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20210         memcmp for PPC32.
20211         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20212         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20213         multiarch objects.
20214         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20215         (__libc_ifunc_impl_list): Likewise.
20217         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20218         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20219         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20220         file.
20221         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20222         file.
20223         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20224         file.
20225         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20226         multiarch memcpy for PPC32.
20227         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20228         multiarch objects.
20229         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20230         (__libc_ifunc_impl_list): Likewise.
20232         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
20233         support multiarch for POWER/PPC32.
20234         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20235         Likewise.
20236         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20238         Implies file to make multiarch folder appers before the fpu and
20239         default folder for power4 configuration.
20241 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
20243         * scripts/bench.pl: Append volatile keyword to type.
20245 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20247         * sysdeps/sh/sotruss-lib.c: New file.
20248         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20250 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20252         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20254 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
20256         [BZ #6810]
20257         * math/w_tgamma.c: Include <errno.h>.
20258         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
20259         * math/w_tgammaf.c: Include <errno.h>.
20260         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
20261         * math/w_tgammal.c: Include <errno.h>.
20262         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
20263         * math/auto-libm-test-in: Do not allow missing errno on tgamma
20264         underflow.  Add more tgamma tests.
20265         * math/auto-libm-test-out: Regenerated.
20266         * sysdeps/i386/fpu/libm-test-ulps: Update.
20267         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20269         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20270         sin, sinh, tan, tanh, tgamma, y0 and y1.
20271         * math/auto-libm-test-out: Regenerated.
20272         * math/libm-test.inc (TEST_COND_x86_64): New macro.
20273         (TEST_COND_x86): Likewise.
20274         (M_E2l): Remove macro.
20275         (M_E3l): Likewise.
20276         (M_2_SQRT_PIl): Likewise.
20277         (M_SQRT_PIl): Likewise.
20278         (M_1_DIV_El): Likewise.
20279         (log_test_data): Use AUTO_TESTS_f_f.
20280         (log10_test_data): Likewise.
20281         (log1p_test_data): Likewise.
20282         (log2_test_data): Likewise.
20283         (sin_test_data): Likewise.
20284         (sin_tonearest_test_data): Likewise.
20285         (sin_towardzero_test_data): Likewise.
20286         (sin_downward_test_data): Likewise.
20287         (sin_upward_test_data): Likewise.
20288         (sinh_test_data): Likewise.
20289         (sinh_tonearest_test_data): Likewise.
20290         (sinh_towardzero_test_data): Likewise.
20291         (sinh_downward_test_data): Likewise.
20292         (sinh_upward_test_data): Likewise.
20293         (tan_test_data): Likewise.
20294         (tan_tonearest_test_data): Likewise.
20295         (tan_towardzero_test_data): Likewise.
20296         (tan_downward_test_data): Likewise.
20297         (tan_upward_test_data): Likewise.
20298         (tanh_test_data): Likewise.
20299         (tgamma_test_data): Likewise.
20300         (y0_test_data): Likewise.
20301         (y1_test_data): Likewise.
20302         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20303         (special_real_inputs): Add pi/4.
20304         * sysdeps/i386/fpu/libm-test-ulps: Update.
20305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20307 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20309         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20310         "longjmp_target" static probes.
20311         (__longjmp): Rename to __longjmp_symbol.
20312         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20313         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20314         on which longjmp to generate.
20315         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20316         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20317         probe.
20318         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20319         (__sigjmp_save): Rename to __sigjmp_save_symbol.
20320         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20321         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20322         and __sigjmp_save_symbol based on which sigsetjmp to generated.
20323         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20325         __longjmp_symbol based on which __longjmp to generate.
20326         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20327         probe.
20328         (setjmp): Rename to setjmp_symbol.
20329         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20330         (_setjmp): Rename to _setjmp_symbol.
20331         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20332         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20333         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20334         which setjmp to generate.
20335         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20336         "longjmp_target" static probes.
20338 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20340         * benchtests/README: Add note about output arguments.
20341         * benchtests/bench-sincos.c: Remove file.
20342         * benchtests/sincos-inputs: New file.
20343         * scripts/bench.pl: Identify output arguments and define
20344         static variables for them.
20346         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20348         [BZ #15941]
20349         * Makefile (INSTALL): Add install-plain.texi as the primary
20350         dependency.
20351         * manual/install-plain.texi: New file.
20352         * manual/install.texi: Include node directive only for
20353         non-plaintext output.
20355 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
20357         * stdlib/longlong.h: Update from GCC.
20359         [BZ #6807]
20360         [BZ #15901]
20361         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20362         * math/w_j0f.c (y0f): Likewise.
20363         * math/w_j0l.c (__y0l): Likewise.
20364         * math/w_j1.c (y1): Likewise.
20365         * math/w_j1f.c (y1f): Likewise.
20366         * math/w_j1l.c (__y1l): Likewise
20367         * math/w_jn.c (yn): Likewise.
20368         * math/w_jnf.c (ynf): Likewise.
20369         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20370         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
20371         value for Bessel function domain errors outside _SVID_ mode.
20372         Adjust sign of return value for yn (negative integer, 0).
20373         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20374         by zero in return for negative x and set sign appropriately for
20375         negative n.
20376         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20377         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20378         * math/libm-test.inc (y0_test_data): Add more tests and adjust
20379         expectations in error cases.
20380         (y1_test_data): Likewise.
20381         (yn_test_data): Likewise.
20382         * sysdeps/i386/fpu/libm-test-ulps: Update.
20383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20385 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20387         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20388         "64" to "64-v1".  Add "64-v2".
20389         (abi-64-options): Rename to ...
20390         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
20391         (abi-64-condition): Rename to ...
20392         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
20393         (abi-64-ld-soname): Rename to ...
20394         (abi-64-v1-ld-soname): ... this.
20395         (abi-64-v2-options): Define.
20396         (abi-64-v2-condition): Likewise.
20397         (abi-64-v2-ld-soname): Likewise.
20398         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20399         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20404 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20405             Alan Modra  <amodra@gmail.com>
20407         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20408         New versions for use with the ELFv2 ABI.
20409         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20410         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20411         declaration.
20412         (struct La_ppc64v2_retval): Likewise.
20413         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20414         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20415         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20416         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20417         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20418         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20419         Do not save or restore CR.
20420         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20421         (_dl_profile_resolve): Do no save or restore CR.  Support extended
20422         return values for ELFv2 ABI.  Fix location of FPR return registers.
20423         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20424         updated values for _CALL_ELF == 2.
20425         (La_regs, La_retval, int_retval): Likewise.
20427 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20429         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20430         (FRAME_MIN_SIZE_PARM): Likewise.
20431         (FRAME_BACKCHAIN): Likewise.
20432         (FRAME_CR_SAVE): Likewise.
20433         (FRAME_LR_SAVE): Likewise.
20434         (FRAME_TOC_SAVE): Likewise.
20435         (FRAME_PARM_SAVE): Likewise.
20436         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20437         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20438         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20439         (call_mcount_parm_offset): New macro.
20440         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20441         (PROF): Use symbolic stack frame offsets.
20442         (TAIL_CALL_SYSCALL_ERROR): Likewise.
20443         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20444         Redefine in terms of FRAME_MIN_SIZE.
20445         (_dl_runtime_resolve): Use symbolic stack frame offsets.
20446         (_dl_profile_resolve): Likewise.  Update comment.
20447         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20448         symbols stack frame offsets.
20449         (__sigsetjmp): Likewise.
20450         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20451         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20452         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20453         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20456         (FRAME_BACKCHAIN): Remove.
20457         (FRAME_CR_SAVE): Likewise.
20458         (FRAME_LR_SAVE): Likewise.
20459         (FRAME_COMPILER_DW): Likewise.
20460         (FRAME_LINKER_DW): Likewise.
20461         (FRAME_TOC_SAVE): Likewise.
20462         (FRAME_PARM_SAVE): Likewise.
20463         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20464         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20465         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20467         (CHECK_SP): Use symbolic stack frame offsets.
20468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20469         zone" instead of caller's parameter save area for temp storage.
20470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20471         Likewise.  Also, use symbolic stack frame offsets.
20472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20473         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20474         our own stack frame instead of the caller's.
20475         (__socket): Use symbolic stack frame offsets.
20477 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20478             Alan Modra  <amodra@gmail.com>
20480         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20481         Define.
20482         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20483         (PPC64_LOCAL_ENTRY_OFFSET): Define.
20484         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20485         New function.
20486         (elf_machine_fixup_plt): Call it.
20487         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
20488         reloc arguments.
20489         (elf_machine_rela): Update call to elf_machine_plt_conflict.
20490         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20491         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
20492         r2 before calling target.
20494 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20495             Alan Modra  <amodra@gmail.com>
20497         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20498         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20499         versions of macros to support ELFv2 ABI.
20500         (LOCALENTRY): New macro.
20501         (ENTRY, EALIGN): Use it.
20502         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20503         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20504         fall through into ENTRY entry point.
20505         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20506         Only define if _CALL_ELF != 2.
20508         (elf_machine_matches_host): Verify ABI version matches.
20509         (RTLD_START): Use LOCALENTRY.
20510         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20511         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20512         (PLT_ENTRY_WORDS): New macro.
20513         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20514         (elf_machine_runtime_setup): Support ELFv2 ABI.
20515         (elf_machine_fixup_plt): Likewise.
20516         (elf_machine_plt_conflict): Likewise.
20517         (resolve_ifunc): Likewise.
20518         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20519         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20520         Likewise.
20521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20522         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20524         (makecontext): Support ELFv2 ABI.
20525         * elf/elf.h (EF_PPC64_ABI): Define.
20527 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20529         * sysdeps/powerpc/powerpc64/sysdep.h
20530         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20531         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20532         (ENTRY) [ASSEMBLER]: ... but instead here ...
20533         (EALIGN) [ASSEMBLER]: ... and here.
20534         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20535         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20536         (ENTRY_2) [!ASSEMBLER]: Use it.
20537         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20538         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
20539         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20540         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
20541         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20543         Use PPC64_LOAD_FUNCPTR.
20545         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20547 2013-12-04  Alan Modra  <amodra@gmail.com>
20549         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20550         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20551         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20552         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20554         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20555         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20556         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20557         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20558         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20559         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20561 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20563         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20564         (__makecontext): Fix incorrect CFI when backtracing out of
20565         context created via makecontext.
20566         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20567         (__setcontext): Fix incorrect CFI during switch to new context.
20568         (__novec_setcontext): Likewise.
20570 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
20572         [BZ #4772]
20573         * time/strptime_l.c (__strptime_internal): Allow modifiers
20574         in strptime.
20575         * time/tst-strptime.c (day_tests): Add testcase.
20577 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20579         * scripts/bench.pl: Skip over blank lines.
20581 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
20583         [BZ #926]
20584         * manual/time.texi (Calendar Time): Clarify what timezone functions
20585         use.
20587 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20589         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20591 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
20593         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20594         implementation.
20595         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20596         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20597         * debug/memset_chk.c (__memset_chk): Likewise.
20598         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20599         * debug/strncpy_chk.c: Likewise.
20601 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
20603         [BZ #15268]
20604         [BZ #15425]
20605         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20606         (__ieee754_exp): For possibly underflowing results, check size of
20607         result and force underflow exception if required.
20608         * math/auto-libm-test-in: Add more tests of exp.
20609         * math/auto-libm-test-out: Regenerated.
20610         * sysdeps/i386/fpu/libm-test-ulps: Update.
20611         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20613         [BZ #16283]
20614         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20615         * math/w_exp2f.c (__exp2f): Likewise.
20616         * math/w_exp2l.c (__exp2l): Likewise.
20617         * math/auto-libm-test-in: Do not allow missing errno on exp2
20618         underflow.
20619         * math/auto-libm-test-out: Regenerated.
20621 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
20623         [BZ #16274]
20624         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20625         handle filename validation.
20626         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20627         (do_open): Delete.
20629 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
20631         [BZ #6786]
20632         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20633         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20634         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20635         <float.h>.
20636         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20637         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20638         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20639         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20640         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20641         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20642         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20643         * math/auto-libm-test-in: Don't allow missing errno from erfc.
20644         Add more erfc tests.
20645         * math/auto-libm-test-out: Regenerated.
20646         * sysdeps/i386/fpu/libm-test-ulps: Update.
20647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20649         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20650         exp2, expm1, j0 and j1.
20651         * math/auto-libm-test-out: Regenerated.
20652         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20653         (erfc_test_data): Likewise.
20654         (exp_test_data): Likewise.
20655         (exp_tonearest_test_data): Likewise.
20656         (exp_towardzero_test_data): Likewise.
20657         (exp_downward_test_data): Likewise.
20658         (exp_upward_test_data): Likewise.
20659         (exp10_test_data): Likewise.
20660         (exp2_test_data): Likewise.
20661         (expm1_test_data): Likewise.
20662         (j0_test_data): Likewise.
20663         (j1_test_data): Likewise.
20664         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20665         (input_flag_type): Add flag_xfail_rounding.
20666         (input_flags): Add xfail-rounding.
20667         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20668         (output_for_one_input_case): Handle flag_xfail_rounding.
20669         * sysdeps/i386/fpu/libm-test-ulps: Update.
20670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20672 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
20674         [BZ #16289]
20675         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20676         division by 0.
20678 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20680         [BZ #16195]
20681         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20682         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20683         (STAP_PROBE0): New macro.
20684         (STAP_PROBE1): Likewise.
20685         (STAP_PROBE2): Likewise.
20686         (STAP_PROBE3): Likewise.
20687         (STAP_PROBE4): Likewise.
20689 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
20691         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20693 2013-12-02  Steve Ellcey  <sellcey@mips.com>
20695         * benchtests/Makefile (bench): Add sqrt.
20696         (LDLIBS-bench-sqrt): New.
20697         * benchtests/sqrt-input: New.
20699 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
20701         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20702         (GAIH_EAI): Likewise.
20703         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20704         (gaih_inet): Likewise.
20705         (getaddrinfo): Don't use GAIH_EAI.
20707         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20708         (struct gaih): Remove definition.
20710 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20712         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20713         Use HERRNOP directly.
20715 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20717         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20719 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
20721         * math/gen-auto-libm-tests.c (test_functions): Add more
20722         single-argument functions.
20723         (special_fill_pi_2): New function.
20724         (special_fill_minus_pi_2): Likewise.
20725         (special_fill_pi_6): Likewise.
20726         (special_fill_minus_pi_6): Likewise.
20727         (special_fill_pi_3): Likewise.
20728         (special_fill_2pi_3): Likewise.
20729         (special_fill_e): Likewise.
20730         (special_fill_1_e): Likewise.
20731         (special_fill_e_minus_1): Likewise.
20732         (special_real_inputs): Add more special inputs.
20733         (output_for_one_input_case): Do not require ERANGE on underflow to
20734         zero if round-to-nearest result does not underflow to zero, unless
20735         exact results required.
20736         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
20737         atan, atanh, cbrt, cos and cosh.
20738         * math/auto-libm-test-out: Regenerated.
20739         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
20740         (acos_tonearest_test_data): Likewise.
20741         (acos_towardzero_test_data): Likewise.
20742         (acos_downward_test_data): Likewise.
20743         (acos_upward_test_data): Likewise.
20744         (acosh_test_data): Likewise.
20745         (asin_test_data): Likewise.
20746         (asin_tonearest_test_data): Likewise.
20747         (asin_towardzero_test_data): Likewise.
20748         (asin_upward_test_data): Likewise.
20749         (asinh_test_data): Likewise.
20750         (atan_test_data): Likewise.
20751         (atanh_test_data): Likewise.
20752         (cbrt_test_data): Likewise.
20753         (cos_test_data): Likewise.
20754         (cos_tonearest_test_data): Likewise.
20755         (cos_towardzero_test_data): Likewise.
20756         (cos_downward_test_data): Likewise.
20757         (cos_upward_test_data): Likewise.
20758         (cosh_test_data): Likewise.
20759         (cosh_tonearest_test_data): Likewise.
20760         (cosh_towardzero_test_data): Likewise.
20761         (cosh_downward_test_data): Likewise.
20762         (cosh_upward_test_data): Likewise.
20763         * sysdeps/i386/fpu/libm-test-ulps: Update.
20764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20766 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
20768         [BZ #6787]
20769         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
20770         * math/w_exp10f.c (__exp10f): Likewise.
20771         * math/w_exp10l.c (__exp10l): Likewise.
20772         * math/libm-test.inc (exp10_test_data): Add more tests and expect
20773         errno settings in existing tests.
20775         [BZ #14032]
20776         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
20777         precision control set to double precision.
20778         * sysdeps/i386/fpu/w_sqrt.c: New file.
20779         * math/auto-libm-test-in: Add more tests.
20780         * math/auto-libm-test-out: Update.
20782         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
20783         (sqrt_test_tonearest): New function.
20784         (sqrt_towardzero_test_data): New variable.
20785         (sqrt_test_towardzero): New function.
20786         (sqrt_downward_test_data): New variable.
20787         (sqrt_test_downward): New function.
20788         (sqrt_upward_test_data): New variable.
20789         (sqrt_test_upward): New function.
20790         (main): Call the new functions.
20792         * math/gen-auto-libm-tests.c: New file.
20793         * math/auto-libm-test-in: Likewise.
20794         * math/auto-libm-test-out: New generated file.
20795         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
20796         variables.
20797         (%beautify): Add generated representations of zero.
20798         (top level): Set $auto_input and call parse_auto_input.
20799         (beautify): Remove trailing "f" from hex float constants.
20800         (parse_args): Handle XFAIL_TEST.
20801         (convert_condition): New function.
20802         (or_value): Likewise.
20803         (or_cond_value): Likewise.
20804         (generate_testfile): Handle AUTO_TESTS_* lines.
20805         (parse_auto_input): New function.
20806         * math/libm-test.inc (XFAIL_TEST): New macro.
20807         (ERRNO_UNCHANGED): Update value.
20808         (ERRNO_EDOM): Likewise.
20809         (ERRNO_ERANGE): Likewise.
20810         (IGNORE_RESULT): Likewise.
20811         (TEST_COND_flt_32): New macro.
20812         (TEST_COND_dbl_64): Likewise.
20813         (TEST_COND_ldbl_96_intel): Likewise.
20814         (TEST_COND_ldbl_96_m68k): Likewise.
20815         (TEST_COND_ldbl_128): Likewise.
20816         (TEST_COND_ldbl_128ibm): Likewise.
20817         (TEST_COND_long32): Likewise.
20818         (TEST_COND_long64): Likewise.
20819         (TEST_COND_before_rounding): Likewise.
20820         (TEST_COND_after_rounding): Likewise.
20821         (enable_test): Handle XFAIL_TEST flag.
20822         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
20823         with finite results.
20824         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
20825         auto-libm-test-out.
20827 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20828             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20830         [BZ #16214]
20831         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
20832         __tls_get_addr_internal instead of __tls_get_offset in order to
20833         avoid GOT pointer dependency.  Make rtld export
20834         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
20835         __tls_get_addr since we are a __tls_get_offset platform.
20836         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
20837         GOT pointer being set up before.
20838         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
20840 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
20842         * manual/math.texi (Errors in Math Functions): Document accuracy
20843         goals.
20845         [BZ #15004]
20846         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
20847         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
20848         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20849         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20850         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20851         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20852         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20853         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20854         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20855         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20856         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20857         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20858         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20859         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20860         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20861         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20863         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
20864         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
20865         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
20866         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
20867         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
20868         Likewise.
20869         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
20870         Likewise.
20871         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
20872         Likewise.
20873         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
20874         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
20875         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
20876         atomic-feupdateenv and flt-rounds.
20877         * sysdeps/powerpc/nofpu/Versions (libc): Add
20878         __atomic_feholdexcept, __atomic_feclearexcept,
20879         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
20880         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
20881         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
20882         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
20883         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
20884         here.
20885         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
20886         Update.
20888         * manual/arith.texi (FP Exceptions): Document that exceptions may
20889         not be raised when matherr is used.
20890         (Math Error Reporting): Document overflow in directed rounding
20891         modes.  Document that errno may not be set when finite values are
20892         returned on overflow.  Document intent to set errno on underflow
20893         only for underflow to zero.
20895         [BZ #16271]
20896         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
20897         round-to-nearest then adjust result for other rounding modes.
20898         * include/fenv.h (fegetround): Use libm_hidden_proto.
20899         * math/fegetround.c (fegetround): Use libm_hidden_def.
20900         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20901         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20902         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20903         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20904         Likewise.
20905         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
20906         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20907         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20908         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
20910 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20912         [BZ #16077]
20913         * nss/Versions (libnss_files): Add
20914         _nss_files_gethostbyname3_r.
20915         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
20916         New function.
20917         (HOST_DB_LOOKUP): Remove macro.
20918         (_nss_files_gethostbyname_r): Implement function without the
20919         HOST_DB_LOOKUP macro.
20920         (_nss_files_gethostbyname2_r): Likewise.
20922 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
20924         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
20926 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
20928         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
20929         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
20930         warning.
20932 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20934         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
20935         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
20936         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20937         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20938         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
20939         __fe_nomask_env_priv and attribute_hidden.
20940         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
20941         (libc_feupdateenv_test_ppc): Likewise.
20942         (libc_feresetround_ppc): Likewise.
20943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20944         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
20945         compat_symbol macro.
20946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20947         (__fe_nomask_env): Likewise.
20948         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
20950 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20952         * string/Makefile: Remove ifunc tests.
20953         * string/test-string.h: Define TEST_IFUNC.
20954         * string/test-bcopy-ifunc.c: Remove.
20955         * string/test-bzero-ifunc.c: Likewise.
20956         * string/test-memccpy-ifunc.c: Likewise.
20957         * string/test-memchr-ifunc.c: Likewise.
20958         * string/test-memcmp-ifunc.c: Likewise.
20959         * string/test-memcpy-ifunc.c: Likewise.
20960         * string/test-memmem-ifunc.c: Likewise.
20961         * string/test-memmove-ifunc.c: Likewise.
20962         * string/test-mempcpy-ifunc.c: Likewise.
20963         * string/test-memrchr-ifunc.c: Likewise.
20964         * string/test-memset-ifunc.c: Likewise.
20965         * string/test-rawmemchr-ifunc.c: Likewise.
20966         * string/test-stpcpy-ifunc.c: Likewise.
20967         * string/test-stpncpy-ifunc.c: Likewise.
20968         * string/test-strcasecmp-ifunc.c: Likewise.
20969         * string/test-strcasestr-ifunc.c: Likewise.
20970         * string/test-strcat-ifunc.c: Likewise.
20971         * string/test-strchr-ifunc.c: Likewise.
20972         * string/test-strchrnul-ifunc.c: Likewise.
20973         * string/test-strcmp-ifunc.c: Likewise.
20974         * string/test-strcpy-ifunc.c: Likewise.
20975         * string/test-strcspn-ifunc.c: Likewise.
20976         * string/test-strlen-ifunc.c: Likewise.
20977         * string/test-strncasecmp-ifunc.c: Likewise.
20978         * string/test-strncat-ifunc.c: Likewise.
20979         * string/test-strncmp-ifunc.c: Likewise.
20980         * string/test-strncpy-ifunc.c: Likewise.
20981         * string/test-strnlen-ifunc.c: Likewise.
20982         * string/test-strpbrk-ifunc.c: Likewise.
20983         * string/test-strrchr-ifunc.c: Likewise.
20984         * string/test-strspn-ifunc.c: Likewise.
20985         * string/test-strstr-ifunc.c: Likewise.
20987 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20989         * benchtests/Makefile: Remove ifunc tests.
20990         * benchtests/bench-string.h: Define TEST_IFUNC.
20991         * benchtests/bench-bcopy-ifunc.c: Remove.
20992         * benchtests/bench-bzero-ifunc.c: Likewise.
20993         * benchtests/bench-memccpy-ifunc.c: Likewise.
20994         * benchtests/bench-memchr-ifunc.c: Likewise.
20995         * benchtests/bench-memcmp-ifunc.c: Likewise.
20996         * benchtests/bench-memcpy-ifunc.c: Likewise.
20997         * benchtests/bench-memmem-ifunc.c: Likewise.
20998         * benchtests/bench-memmove-ifunc.c: Likewise.
20999         * benchtests/bench-mempcpy-ifunc.c: Likewise.
21000         * benchtests/bench-memrchr-ifunc.c: Likewise.
21001         * benchtests/bench-memset-ifunc.c: Likewise.
21002         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21003         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21004         * benchtests/bench-stpcpy-ifunc.c: Likewise.
21005         * benchtests/bench-stpncpy-ifunc.c: Likewise.
21006         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21007         * benchtests/bench-strcasestr-ifunc.c: Likewise.
21008         * benchtests/bench-strcat-ifunc.c: Likewise.
21009         * benchtests/bench-strchr-ifunc.c: Likewise.
21010         * benchtests/bench-strchrnul-ifunc.c: Likewise.
21011         * benchtests/bench-strcmp-ifunc.c: Likewise.
21012         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21013         * benchtests/bench-strcpy-ifunc.c: Likewise.
21014         * benchtests/bench-strcspn-ifunc.c: Likewise.
21015         * benchtests/bench-strlen-ifunc.c: Likewise.
21016         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21017         * benchtests/bench-strncat-ifunc.c: Likewise.
21018         * benchtests/bench-strncmp-ifunc.c: Likewise.
21019         * benchtests/bench-strncpy-ifunc.c: Likewise.
21020         * benchtests/bench-strnlen-ifunc.c: Likewise.
21021         * benchtests/bench-strpbrk-ifunc.c: Likewise.
21022         * benchtests/bench-strrchr-ifunc.c: Likewise.
21023         * benchtests/bench-strsep-ifunc.c: Likewise.
21024         * benchtests/bench-strspn-ifunc.c: Likewise.
21025         * benchtests/bench-strstr-ifunc.c: Likewise.
21027 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21029         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21031 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21033         * resolv/netdb.h: Use __glibc_reserved instead __unused.
21034         * rt/aio.h: Likewise.
21035         * sysdeps/gnu/bits/utmp.h: Likewise.
21036         * sysdeps/gnu/bits/utmpx.h: Likewise.
21037         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21038         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21039         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21040         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21041         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21042         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21043         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21044         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21045         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21046         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21047         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21048         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21049         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21051         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21052         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21053         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21054         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21055         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21056         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21057         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21058         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21059         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21060         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21061         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21062         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21063         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21064         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21065         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21066         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21067         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21068         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21069         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21070         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21071         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21072         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21073         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21074         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21075         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21076         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21077         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21078         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21080 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
21082         [BZ #16245]
21083         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21084         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21086 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
21088         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21089         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21090         Likewise.
21092 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21094         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21095         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21096         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21097         (__fesetround): Remove define.
21098         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21099         rounding and exceptions handling.
21100         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21101         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21102         (__fe_nomask_env): Likewise.
21103         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21104         __fegetround instead of fegetround.
21105         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21106         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21108 2013-11-21  Roland McGrath  <roland@hack.frob.com>
21110         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21111         it's there.
21113         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21115 2013-11-21  Meador Inge  <meadori@codesourcery.com>
21117         [BZ #11157]
21118         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21119         (encrypt_r): Likewise.
21120         * malloc/obstack.h (obstack_free): Likewise.
21121         * posix/unistd.h (encrypt): Likewise.
21123 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
21125         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21126         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21127         DL_CALL_DT_FINI() that call the functions directly.
21128         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21129         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21130         * elf/dl-fini.c: Likewise.
21132 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
21134         * malloc/hooks.c (memalign_check): Add alignment rounding.
21135         * malloc/malloc.c (_mid_memalign): New function.
21136         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21137         Implement by calling _mid_memalign.
21138         * manual/probes.texi (Memory Allocation Probes): Remove
21139         memory_valloc_retry and memory_pvalloc_retry.
21141 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21143         * locale/programs/locarchive.c (open_archive): Add const
21144         qualifier to ARCHIVEFNAME and copy default fname to
21145         DEFAULT_FNAME.
21147         [BZ #15601]
21148         * libio/tst-widetext.input: Rename Oriya to Odia.
21149         * locale/iso-639.def: Likewise.
21151         * manual/probes.texi (Mathematical Function Probes): Add
21152         documentation for sin, cos, asin and acos probes.
21153         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21154         (__sin32): Add slowasin probe.
21155         (__cos32): Add slowacos probe.
21156         (__mpsin): Add slowsin probe.
21157         (__mpcos): Add slowcos probe.
21159 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
21161         [BZ #15483]
21162         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21163         thread-local __sim_exceptions_thread and global
21164         __sim_exceptions_global.
21165         (__sim_disabled_exceptions): Change to thread-local
21166         __sim_disabled_exceptions_thread and global
21167         __sim_disabled_exceptions_global.
21168         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21169         and global __sim_round_mode_global.
21170         (__simulate_exceptions): Use thread-local floating-point state and
21171         set global state from it as needed.
21172         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21173         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21174         __sim_round_mode_thread.
21175         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21176         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21177         and global __sim_exceptions_global.
21178         (__sim_disabled_exceptions): Change to thread-local
21179         __sim_disabled_exceptions_thread and global
21180         __sim_disabled_exceptions_global.
21181         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21182         and global __sim_round_mode_global.
21183         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21184         (SIM_SET_GLOBAL): Likewise.
21185         * sysdeps/powerpc/soft-fp/sfp-machine.h
21186         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21187         __sim_round_mode_thread.
21188         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21189         __sim_disabled_exceptions_thread.
21190         (__sim_exceptions): Change to __sim_exceptions_thread.
21191         (__sim_disabled_exceptions): Change to
21192         __sim_disabled_exceptions_thread.
21193         (__sim_round_mode): Change to __sim_round_mode_thread.
21194         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21195         thread-local floating-point state and set global state from it as
21196         needed.
21197         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21198         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21199         (__sim_disabled_exceptions): Remove extern declaration.
21200         (feenableexcept): Use thread-local floating-point state and set
21201         global state from it as needed.
21202         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21203         extern declaration.
21204         (__sim_disabled_exceptions): Likewise.
21205         (__sim_round_mode): Likewise.
21206         (__fegetenv): Use thread-local floating-point state.
21207         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21208         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21209         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21210         floating-point state and set global state from it as needed.
21211         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21212         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21213         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21214         Likewise.
21215         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21216         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21217         Likewise.
21218         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21219         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21220         Use __sim_round_mode_thread.
21221         * math/test-fenv-tls.c: New file.
21222         * math/Makefile (tests): Add test-fenv-tls.
21223         ($(objpfx)test-fenv-tls): Depend on
21224         $(common-objpfx)nptl/libpthread.so.
21226 2013-11-19  Andreas Schwab  <schwab@suse.de>
21228         * locale/programs/locale.c (show_info): Decode wordarray elements.
21229         * locale/categories.def (LC_MONETARY): Add element for
21230         _NL_MONETARY_CRNCYSTR.
21231         * locale/C-monetary.c (conversion_rate): New variable.
21232         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21233         element.
21235 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
21237         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21238         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21240 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
21242         * elf/Makefile (tst-auxv): New test.
21243         * elf/tst-auxv.c: New
21244         * elf/rtld.c (dl_main): Adjust AT_EXECFN
21246 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
21248         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21249         (hidden_proto): Caller changed.
21250         (hidden_tls_proto): New macro.
21251         (libc_hidden_tls_proto): Likewise.
21252         (rtld_hidden_tls_proto): Likewise.
21253         (libm_hidden_tls_proto): Likewise.
21254         (libresolv_hidden_tls_proto): Likewise.
21255         (librt_hidden_tls_proto): Likewise.
21256         (libdl_hidden_tls_proto): Likewise.
21257         (libnss_files_hidden_tls_proto): Likewise.
21258         (libnsl_hidden_tls_proto): Likewise.
21259         (libnss_nisplus_hidden_tls_proto): Likewise.
21260         (libutil_hidden_tls_proto): Likewise.
21262 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
21264         [BZ #10253]
21265         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21266         (decompose_rpath): Defer expansion to fillin_rpath.
21267         (_dl_init_paths): Pass linkmap to fillin_rpath.
21269 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21271         * benchtests/Makefile: Add strsep.
21272         * benchtests/bench-strsep.c: New file: strsep benchtest.
21273         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21275 2013-11-18  Andreas Schwab  <schwab@suse.de>
21277         * locale/programs/locale.c (show_info) [case byte]: Check for
21278         '\377' instead of '\177'.
21279         * locale/C-monetary.c (not_available): Always use "\377".
21280         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21281         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
21282         detect unavailable sign_posn locale elements.
21283         * locale/localeconv.c (__localeconv): For grouping and
21284         mon_grouping handle "\177" and "\377" like no grouping.
21285         (INT_ELEM): New macro.  Use it to set all numeric members.
21286         * locale/programs/ld-monetary.c (monetary_read)
21287         <tok_mon_grouping>: Normalize single -1 to the empty string.
21288         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21289         Likewise.
21291 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
21293         [BZ #16055]
21294         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21295         when we match (nil).
21296         * stdio-common/tst-sscanf.c (struct test): Add testcase.
21298 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
21300         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21301         (NO_TEST_INLINE): Update value.
21302         (ERRNO_UNCHANGED): Likewise.
21303         (ERRNO_EDOM): Likewise.
21304         (ERRNO_ERANGE): Likewise.
21305         (IGNORE_RESULT): Likewise.
21306         (check_float_internal): Check signs of NaN results if
21307         TEST_NAN_SIGN used.
21308         (check_complex): Pass TEST_NAN_SIGN flag through to second
21309         check_float_internal call.
21310         (copysign_test_data): Add tests with quiet NaNs as second
21311         argument.  Use TEST_NAN_SIGN.
21312         (fabs_test_data): Add test of negative quiet NaN argument.  Use
21313         TEST_NAN_SIGN.
21314         (signbit_test_data): Add tests of quiet NaN argument.
21315         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21317         * math/gen-libm-test.pl (show_exceptions): Take extra argument
21318         $ignore_result.
21319         (parse_args): Handle function results specified as IGNORE.
21320         * math/libm-test.inc (IGNORE_RESULT): New macro.
21321         (check_float_internal): Do not check numerical result if flag
21322         IGNORE_RESULT set.
21323         (check_complex): Pass through IGNORE_RESULT to second
21324         check_float_internal call.
21325         (check_int): Do not check numerical result if flag IGNORE_RESULT
21326         set.
21327         (check_long): Likewise.
21328         (check_bool): Likewise.
21329         (check_longlong): Likewise.
21330         (lrint_test_data): Add tests of infinite and NaN arguments.
21331         (lrint_tonearest_test_data): Likewise.
21332         (lrint_towardzero_test_data): Likewise.
21333         (lrint_downward_test_data): Likewise.
21334         (lrint_upward_test_data): Likewise.
21335         (llrint_test_data): Likewise.
21336         (llrint_tonearest_test_data): Likewise.
21337         (llrint_towardzero_test_data): Likewise.
21338         (llrint_downward_test_data): Likewise.
21339         (llrint_upward_test_data): Likewise.
21340         (lround_test_data): Likewise.
21341         (llround_test_data): Likewise.
21343         * math/libm-test.inc (NO_TEST_INLINE): New macro.
21344         (ERRNO_UNCHANGED): Update value.
21345         (ERRNO_EDOM): Likewise.
21346         (ERRNO_ERANGE): Likewise.
21347         (NO_TEST_INLINE_FLOAT): New macro.
21348         (NO_TEST_INLINE_DOUBLE): Likewise.
21349         (enable_test): New function.
21350         (RUN_TEST_f_f): Check enable_test before running test.
21351         (RUN_TEST_2_f): Likewise.
21352         (RUN_TEST_fff_f): Likewise.
21353         (RUN_TEST_c_f): Likewise.
21354         (RUN_TEST_f_f1): Likewise.
21355         (RUN_TEST_fF_f1): Likewise.
21356         (RUN_TEST_fI_f1): Likewise.
21357         (RUN_TEST_ffI_f1): Likewise.
21358         (RUN_TEST_c_c): Likewise.
21359         (RUN_TEST_cc_c): Likewise.
21360         (RUN_TEST_f_i): Likewise.
21361         (RUN_TEST_f_i_tg): Likewise.
21362         (RUN_TEST_ff_i_tg): Likewise.
21363         (RUN_TEST_f_b): Likewise.
21364         (RUN_TEST_f_b_tg): Likewise.
21365         (RUN_TEST_f_l): Likewise.
21366         (RUN_TEST_f_L): Likewise.
21367         (RUN_TEST_fFF_11): Likewise.
21368         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21369         conditionals.
21370         (cosh_test_data): Likewise.
21371         (exp_test_data): Likewise.
21372         (expm1_test_data): Likewise.
21373         (hypot_test_data): Likewise.
21374         (pow_test_data): Likewise.
21375         (sinh_test_data): Likewise.
21376         (tanh_test_data): Likewise.
21377         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21378         flags argument.
21380         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21381         tests with quiet NaN input and output.
21382         (acosh_test_data): Likewise.
21383         (asin_test_data): Likewise.
21384         (asinh_test_data): Likewise.
21385         (atan_test_data): Likewise.
21386         (atanh_test_data): Likewise.
21387         (atan2_test_data): Likewise.
21388         (cbrt_test_data): Likewise.
21389         (cos_test_data): Likewise.
21390         (cosh_test_data): Likewise.
21391         (erf_test_data): Likewise.
21392         (erfc_test_data): Likewise.
21393         (exp_test_data): Likewise.
21394         (exp10_test_data): Likewise.
21395         (exp2_test_data): Likewise.
21396         (expm1_test_data): Likewise.
21397         (hypot_test_data): Likewise.
21398         (j0_test_data): Likewise.
21399         (j1_test_data): Likewise.
21400         (jn_test_data): Likewise.
21401         (lgamma_test_data): Likewise.
21402         (log_test_data): Likewise.
21403         (log10_test_data): Likewise.
21404         (log1p_test_data): Likewise.
21405         (log2_test_data): Likewise.
21406         (pow_test_data): Likewise.
21407         (scalb_test_data): Likewise.
21408         (sin_test_data): Likewise.
21409         (sincos_test_data): Likewise.
21410         (sinh_test_data): Likewise.
21411         (tan_test_data): Likewise.
21412         (tanh_test_data): Likewise.
21413         (tgamma_test_data): Likewise.
21414         (y0_test_data): Likewise.
21415         (y1_test_data): Likewise.
21416         (yn_test_data): Likewise.
21418         [BZ #16167]
21419         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21420         argument being NaN and avoid computations with second argument in
21421         that case.
21422         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21423         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21424         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21426 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
21428         * locale/iso-639.def: Add Chitwani Tharu (the).
21430 2013-11-14  Andreas Schwab  <schwab@suse.de>
21432         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21433         word instead of empty string.
21435 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21437         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21438         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21440         (__fe_nomask_env): Likewise.
21442 2013-11-13  Steve Ellcey  <sellcey@mips.com>
21444         * benchtests/bench-timing.h: Include time.h.
21446 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
21448         [BZ #15997]
21449         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21450         to 3.4.0 for x32.
21451         * sysdeps/unix/sysv/linux/configure: Regenerated.
21453 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
21455         [BZ #16151]
21456         * stdlib/strtod_l.c (round_and_return): Do not consider
21457         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21458         exponent one less than half the least subnormal exponent.
21459         * stdlib/test-strtod-round-data: Add more tests.
21460         * stdlib/tst-strtod-round.c (tests): Regenerated.
21462 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21464         [BZ #14143]
21465         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21466         (__fe_mask_env): Likewise.
21467         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21468         libm_hidden_proto and add function prototype.
21469         (__fe_mask_env): Add function prototype.
21470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21471         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21473         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21475         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21477 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21479         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
21480         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21482 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21484         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21485         of htab_find_slot().
21487 2013-11-11  David S. Miller  <davem@davemloft.net>
21489         [BZ #16150]
21490         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21491         symbol in the non-vis3 case in static builds.
21492         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21493         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21494         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21495         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21497 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
21499         [BZ #387]
21500         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21501         it is empty.
21503 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21505         * benchtests/Makefile: Add bench-strtod.
21506         * benchtests/bench-strtod.c: New file: strtod benchtest
21508 2013-11-11  Andreas Schwab  <schwab@suse.de>
21510         [BZ #16153]
21511         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21512         terminating NUL in key length.
21514 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21516         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21517         Add artificial ODP entry for vDSO symbol for PPC64.
21518         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21519         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21521 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
21523         [BZ #15374]
21524         * nss/getent.c (services_keys): Recognize services starting with digit.
21526 2013-11-06  David S. Miller  <davem@davemloft.net>
21528         [BZ #15985]
21529         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21530         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21532 2013-11-06  Will Newton  <will.newton@linaro.org>
21534         * manual/memory.texi (Malloc Examples): Remove register
21535         keyword from examples.
21537 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
21539         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
21541 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
21543         [BZ #6981]
21544         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21545         depending on [__GCC_IEC_559 > 0].
21546         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21547         depending on [__GCC_IEC_559_COMPLEX > 0].
21549 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
21551         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21552         to iso-639.def.
21554 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
21556         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21558 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
21560         [BZ #16112]
21561         * malloc/malloc (malloc_info): Do not handle first bin as
21562         special case.
21564 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
21566         * locale/iso-639.def: Add Central Nahuatl (nhn).
21568 2013-11-01  Bruno Haible  <bruno@clisp.org>
21570         [BZ #7003]
21571         * manual/math.texi (BSD Random): Specify range upper bound as
21572         in POSIX.
21574 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
21576         * locale/iso-639.def: Add Meadow Mari (mhr).
21578 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
21580         [BZ #14752], [BZ #15763]
21581         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21582         Validate name.
21583         * rt/tst_shm.c: Add test for escaping directory.
21585 2013-10-31  Andreas Schwab  <schwab@suse.de>
21587         [BZ #15917]
21588         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21589         followed by 'x' as part of digit sequence.
21590         * stdio-common/tst-sscanf.c (double_tests2): New tests.
21592 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21594         [BZ #16037]
21595         * configure.ac: allow GNU Make 4.0 and greater.
21596         * configure: Regenerated.
21598 2013-10-30  Will Newton  <will.newton@linaro.org>
21600         [BZ #16038]
21601         * malloc/hooks.c (memalign_check): Limit alignment to the
21602         maximum representable power of two.
21603         * malloc/malloc.c (__libc_memalign): Likewise.
21604         * malloc/tst-memalign.c (do_test): Add test for very
21605         large alignment values.
21606         * malloc/tst-posix_memalign.c (do_test): Likewise.
21608 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
21610         [BZ #11087]
21611         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21612         (munmap_chunk): Likewise.
21613         (mremap_chunk): Likewise.
21615 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
21617         [BZ #15799]
21618         * stdlib/div.c (div): Remove obsolete code.
21619         * stdlib/ldiv.c (ldiv): Likewise.
21620         * stdlib/lldiv.c (lldiv): Likewise.
21622 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21624         [BZ #16071]
21625         * nss/nss_files/files-XXX.c (get_contents_ret): New
21626         enumerator.
21627         (get_contents): New function.
21628         (internal_getent): Use it.  Expand size of LINEBUFLEN.
21630 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
21632         * configure.in: Moved to ...
21633         * configure.ac: ... here. Change reference to configure.in
21634         to configure.ac.
21635         * sysdeps/arm/preconfigure.ac: ... here.
21636         configure.in to configure.ac.
21637         * sysdeps/gnu/configure.in: Moved to ...
21638         * sysdeps/gnu/configure.ac: ... here.
21639         * sysdeps/i386/configure.in: Moved to ...
21640         * sysdeps/i386/configure.ac: ... here.
21641         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21642         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21643         * sysdeps/mach/configure.in: Moved to ...
21644         * sysdeps/mach/configure.ac: ... here.
21645         * sysdeps/mach/hurd/configure.in: Moved to ...
21646         * sysdeps/mach/hurd/configure.ac: ... here.
21647         * sysdeps/powerpc/configure.in: Moved to ...
21648         * sysdeps/powerpc/configure.ac: ... here.
21649         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21650         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21651         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21652         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21653         * sysdeps/s390/s390-32/configure.in: Moved to ...
21654         * sysdeps/s390/s390-32/configure.ac: ... here.
21655         * sysdeps/s390/s390-64/configure.in: Moved to ...
21656         * sysdeps/s390/s390-64/configure.ac: ... here.
21657         * sysdeps/sh/configure.in: Moved to ...
21658         * sysdeps/sh/configure.ac: ... here.
21659         * sysdeps/sparc/configure.in: Moved to ...
21660         * sysdeps/sparc/configure.ac: ... here.
21661         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21662         * sysdeps/unix/sysv/linux/configure.ac: ... here.
21663         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21664         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21665         * sysdeps/x86_64/configure.in: Moved to ...
21666         * sysdeps/x86_64/configure.ac: ... here.
21667         * sysdeps/x86_64/preconfigure.in: Moved to ...
21668         * sysdeps/x86_64/preconfigure.ac: ... here.
21669         * aclocal.m4: Change reference to configure.in to configure.ac.
21670         * config.h.in: Likewise.
21671         * manual/install.texi: Likewise.
21672         * manual/maint.texi: Likewise.
21673         * Makefile: Likewise.
21674         * malloc/Makefile: Likewise.
21675         * nscd/Makefile: Likewise.
21676         * Makeconfig: Change reference to configure.in and
21677         preconfigure.in to configure.ac and preconfigure.ac
21678         respectively.
21679         * INSTALL: Regenerated.
21680         * configure: Likewise.
21681         * sysdeps/gnu/configure: Likewise.
21682         * sysdeps/i386/configure: Likewise.
21683         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21684         * sysdeps/mach/configure: Likewise.
21685         * sysdeps/mach/hurd/configure: Likewise.
21686         * sysdeps/powerpc/configure: Likewise.
21687         * sysdeps/powerpc/powerpc32/configure: Likewise.
21688         * sysdeps/powerpc/powerpc64/configure: Likewise.
21689         * sysdeps/s390/s390-32/configure: Likewise.
21690         * sysdeps/s390/s390-64/configure: Likewise.
21691         * sysdeps/sh/configure: Likewise.
21692         * sysdeps/sparc/configure: Likewise.
21693         * sysdeps/unix/sysv/linux/configure: Likewise.
21694         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21695         * sysdeps/x86_64/configure: Likewise.
21696         * sysdeps/x86_64/preconfigure: Likewise.
21698 2013-10-29  Andreas Schwab  <schwab@suse.de>
21700         * stdio-common/Makefile (tst-swscanf-ENV): Define.
21702 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21704         * benchtests/pow-inputs: Add new inputs.
21706         * benchtests/exp-inputs: Add new inputs.
21708         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21709         conditional check for return value.
21710         (__cos32): Likewise.
21712 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21714         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21715         to provide a boost for large inputs with word alignment.
21716         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21717         implementation based on optimized PPC64 strcpy.
21718         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21719         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21720         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21721         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21723 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21725         [BZ #2801]
21726         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21728 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21730         [BZ #14876]
21731         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
21732         * time/tst-strptime.c (day_tests): Add testcase.
21734 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21736         [BZ #14029]
21737         * manual/pattern.texi: Acknowledge that fnmatch can fail.
21739 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
21741         [BZ #16074]
21742         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
21743         MAP_FAILED on error.
21745 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21747         [BZ #16072]
21748         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
21749         heap for large requests.
21751 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
21753         [BZ #9954]
21754         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
21755         result if the result has no associated interface.
21756         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
21757         interface for all 127.X.Y.Z addresses.
21759 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
21761         * locale/iso-639.def: Add Ligurian (lij)
21763 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
21765         [BZ #15825]
21766         * sunrpc/rpc_main.c: Document rpcgen -5.
21768 2013-10-19  Michael Stahl  <mstahl@redhat.com>
21770         * elf/rtld.c (do_preload): Print the reason why preloading failed.
21772 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
21774         [BZ #10278]
21775         * posix/glob.c: Match only directories when trailing slash is present.
21776         * posix/tst-gnuglob.c (my_opendir): Do not open files.
21777         (main): Add testcase.
21779 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
21781         [BZ #15670]
21782         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
21784 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
21786         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
21787         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
21788         AUTH_DES and cindex for FIPS 140-2.
21789         (DES Encryption): Add cindex FIPS 46-3.
21791         * locale/locarchive.h (struct locarhandle): Add fname.
21792         * locale/programs/localedef.c (main): Pass ARGV[remaining]
21793         if an optional argument was specified to --list-archive,
21794         otherwise NULL.
21795         * locale/programs/locarchive.c (show_archive_content): Take new
21796         argument fname and pass it via ah.fname to open_archive.
21797         * locale/programs/localedef.h: Update decl.
21798         (open_archive): If AH->fname is non-null, open that file
21799         rather than the default file name, and don't ignore ENOENT.
21800         (create_archive): Set AH.fname to NULL.
21801         (delete_locales_from_archive): Likewise.
21802         (add_locales_to_archive): Likewise.
21803         * locale/programs/locfile.c (write_all_categories): Likewise.
21805 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
21806             Aldy Hernandez  <aldyh@redhat.com>
21808         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
21809         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
21810         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
21811         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
21812         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
21813         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
21814         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
21815         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
21816         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
21817         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
21818         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
21819         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
21820         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
21821         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
21822         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
21823         Likewise.
21824         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
21825         Likewise.
21826         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
21827         Likewise.
21828         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
21829         Likewise.
21830         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
21831         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
21832         Likewise.
21833         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
21834         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
21835         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
21836         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
21837         Likewise.
21838         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
21839         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
21840         * sysdeps/powerpc/preconfigure: Likewise.
21841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
21842         Likewise.
21843         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
21844         Replace contents of file by #include of <fenv_libc.h>.
21845         * sysdeps/powerpc/soft-fp/sfp-machine.h
21846         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
21847         and <sys/prctl.h>.
21848         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
21849         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
21850         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
21851         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
21852         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
21853         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
21854         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
21855         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
21856         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
21857         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
21858         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
21859         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
21860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21861         Allow copysignl PLT reference to be missing.
21863 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
21864             Joseph Myers  <joseph@codesourcery.com
21866         [BZ #15948]
21867         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
21868         single character.
21869         (add_to_tablewc): Assert sequence of wide characters is nonempty.
21871 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21873         * elf/tst-tls-dlinfo.c: Don't include tls.h.
21874         * elf/tst-tls1.c: Likewise.
21875         * elf/tst-tls10.h: Likewise.
21876         * elf/tst-tls14.c: Likewise.
21877         * elf/tst-tls2.c: Likewise.
21878         * elf/tst-tls3.c: Likewise.
21879         * elf/tst-tls4.c: Likewise.
21880         * elf/tst-tls5.c: Likewise.
21881         * elf/tst-tls6.c: Likewise.
21882         * elf/tst-tls7.c: Likewise.
21883         * elf/tst-tls8.c: Likewise.
21884         * elf/tst-tls9.c: Likewise.
21885         * elf/tst-tlsmod1.c: Likewise.
21886         * elf/tst-tlsmod13.c: Likewise.
21887         * elf/tst-tlsmod13a.c: Likewise.
21888         * elf/tst-tlsmod14a.c: Likewise.
21889         * elf/tst-tlsmod16a.c: Likewise.
21890         * elf/tst-tlsmod16b.c: Likewise.
21891         * elf/tst-tlsmod2.c: Likewise.
21892         * elf/tst-tlsmod3.c: Likewise.
21893         * elf/tst-tlsmod4.c: Likewise.
21894         * elf/tst-tlsmod5.c: Likewise.
21895         * elf/tst-tlsmod6.c: Likewise.
21897 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
21899         [BZ #12486]
21900         * malloc/malloc.c: remove checks for statistics.
21902 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
21904         [BZ #15277]
21905         * inet/inet_net.c (inet_network): Detect additional invalid strings.
21906         * inet/tst-network.c: Add testcase.
21908 2013-10-17  Andreas Schwab  <schwab@suse.de>
21910         [BZ #15218]
21911         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
21912         to determine canonical name.
21914 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
21916         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
21917         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
21918         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21919         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21920         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21921         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21922         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21923         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21924         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21925         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21926         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21927         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21928         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21929         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21930         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21931         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21932         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21933         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21934         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21935         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21936         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21937         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21938         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21939         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
21940         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
21941         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21942         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21943         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
21944         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21945         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
21946         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21947         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21948         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21949         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21950         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21951         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21952         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21953         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21954         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21955         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21956         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21957         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21958         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21959         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21960         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21961         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21962         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21963         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21964         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21965         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21966         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21967         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21968         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21969         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21970         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21971         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21972         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21973         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21975 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
21977         [BZ #16041]
21978         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
21979         make result into a quiet NaN.
21981 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
21983         * soft-fp/adddf3.c: Fix horizontal whitespace.
21984         * soft-fp/addsf3.c: Likewise.
21985         * soft-fp/addtf3.c: Likewise.
21986         * soft-fp/divdf3.c: Likewise.
21987         * soft-fp/divsf3.c: Likewise.
21988         * soft-fp/divtf3.c: Likewise.
21989         * soft-fp/double.h: Likewise.
21990         * soft-fp/eqdf2.c: Likewise.
21991         * soft-fp/eqsf2.c: Likewise.
21992         * soft-fp/eqtf2.c: Likewise.
21993         * soft-fp/extenddftf2.c: Likewise.
21994         * soft-fp/extended.h: Likewise.
21995         * soft-fp/extendsfdf2.c: Likewise.
21996         * soft-fp/extendsftf2.c: Likewise.
21997         * soft-fp/extendxftf2.c: Likewise.
21998         * soft-fp/fixdfdi.c: Likewise.
21999         * soft-fp/fixdfsi.c: Likewise.
22000         * soft-fp/fixdfti.c: Likewise.
22001         * soft-fp/fixsfdi.c: Likewise.
22002         * soft-fp/fixsfsi.c: Likewise.
22003         * soft-fp/fixsfti.c: Likewise.
22004         * soft-fp/fixtfdi.c: Likewise.
22005         * soft-fp/fixtfsi.c: Likewise.
22006         * soft-fp/fixtfti.c: Likewise.
22007         * soft-fp/fixunsdfdi.c: Likewise.
22008         * soft-fp/fixunsdfsi.c: Likewise.
22009         * soft-fp/fixunsdfti.c: Likewise.
22010         * soft-fp/fixunssfdi.c: Likewise.
22011         * soft-fp/fixunssfsi.c: Likewise.
22012         * soft-fp/fixunssfti.c: Likewise.
22013         * soft-fp/fixunstfdi.c: Likewise.
22014         * soft-fp/fixunstfsi.c: Likewise.
22015         * soft-fp/fixunstfti.c: Likewise.
22016         * soft-fp/floatdidf.c: Likewise.
22017         * soft-fp/floatdisf.c: Likewise.
22018         * soft-fp/floatditf.c: Likewise.
22019         * soft-fp/floatsidf.c: Likewise.
22020         * soft-fp/floatsisf.c: Likewise.
22021         * soft-fp/floatsitf.c: Likewise.
22022         * soft-fp/floattidf.c: Likewise.
22023         * soft-fp/floattisf.c: Likewise.
22024         * soft-fp/floattitf.c: Likewise.
22025         * soft-fp/floatundidf.c: Likewise.
22026         * soft-fp/floatundisf.c: Likewise.
22027         * soft-fp/floatunditf.c: Likewise.
22028         * soft-fp/floatunsidf.c: Likewise.
22029         * soft-fp/floatunsisf.c: Likewise.
22030         * soft-fp/floatunsitf.c: Likewise.
22031         * soft-fp/floatuntidf.c: Likewise.
22032         * soft-fp/floatuntisf.c: Likewise.
22033         * soft-fp/floatuntitf.c: Likewise.
22034         * soft-fp/fmadf4.c: Likewise.
22035         * soft-fp/fmasf4.c: Likewise.
22036         * soft-fp/fmatf4.c: Likewise.
22037         * soft-fp/gedf2.c: Likewise.
22038         * soft-fp/gesf2.c: Likewise.
22039         * soft-fp/getf2.c: Likewise.
22040         * soft-fp/ledf2.c: Likewise.
22041         * soft-fp/lesf2.c: Likewise.
22042         * soft-fp/letf2.c: Likewise.
22043         * soft-fp/muldf3.c: Likewise.
22044         * soft-fp/mulsf3.c: Likewise.
22045         * soft-fp/multf3.c: Likewise.
22046         * soft-fp/negdf2.c: Likewise.
22047         * soft-fp/negsf2.c: Likewise.
22048         * soft-fp/negtf2.c: Likewise.
22049         * soft-fp/op-1.h: Likewise.
22050         * soft-fp/op-2.h: Likewise.
22051         * soft-fp/op-4.h: Likewise.
22052         * soft-fp/op-8.h: Likewise.
22053         * soft-fp/op-common.h: Likewise.
22054         * soft-fp/quad.h: Likewise.
22055         * soft-fp/single.h: Likewise.
22056         * soft-fp/soft-fp.h: Likewise.
22057         * soft-fp/sqrtdf2.c: Likewise.
22058         * soft-fp/sqrtsf2.c: Likewise.
22059         * soft-fp/sqrttf2.c: Likewise.
22060         * soft-fp/subdf3.c: Likewise.
22061         * soft-fp/subsf3.c: Likewise.
22062         * soft-fp/subtf3.c: Likewise.
22063         * soft-fp/truncdfsf2.c: Likewise.
22064         * soft-fp/trunctfdf2.c: Likewise.
22065         * soft-fp/trunctfsf2.c: Likewise.
22066         * soft-fp/trunctfxf2.c: Likewise.
22067         * soft-fp/unorddf2.c: Likewise.
22068         * soft-fp/unordsf2.c: Likewise.
22069         * soft-fp/unordtf2.c: Likewise.
22071 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
22073         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22074         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22076 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
22078         * elf/dl-libc.c: Clear initfini list after freeing.
22080 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
22082         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22083         * soft-fp/addsf3.c: Likewise.
22084         * soft-fp/addtf3.c: Likewise.
22085         * soft-fp/divdf3.c: Likewise.
22086         * soft-fp/divsf3.c: Likewise.
22087         * soft-fp/divtf3.c: Likewise.
22088         * soft-fp/double.h: Likewise.
22089         * soft-fp/eqdf2.c: Likewise.
22090         * soft-fp/eqsf2.c: Likewise.
22091         * soft-fp/eqtf2.c: Likewise.
22092         * soft-fp/extenddftf2.c: Likewise.
22093         * soft-fp/extended.h: Likewise.
22094         * soft-fp/extendsfdf2.c: Likewise.
22095         * soft-fp/extendsftf2.c: Likewise.
22096         * soft-fp/extendxftf2.c: Likewise.
22097         * soft-fp/fixdfdi.c: Likewise.
22098         * soft-fp/fixdfsi.c: Likewise.
22099         * soft-fp/fixdfti.c: Likewise.
22100         * soft-fp/fixsfdi.c: Likewise.
22101         * soft-fp/fixsfsi.c: Likewise.
22102         * soft-fp/fixsfti.c: Likewise.
22103         * soft-fp/fixtfdi.c: Likewise.
22104         * soft-fp/fixtfsi.c: Likewise.
22105         * soft-fp/fixtfti.c: Likewise.
22106         * soft-fp/fixunsdfdi.c: Likewise.
22107         * soft-fp/fixunsdfsi.c: Likewise.
22108         * soft-fp/fixunsdfti.c: Likewise.
22109         * soft-fp/fixunssfdi.c: Likewise.
22110         * soft-fp/fixunssfsi.c: Likewise.
22111         * soft-fp/fixunssfti.c: Likewise.
22112         * soft-fp/fixunstfdi.c: Likewise.
22113         * soft-fp/fixunstfsi.c: Likewise.
22114         * soft-fp/fixunstfti.c: Likewise.
22115         * soft-fp/floatdidf.c: Likewise.
22116         * soft-fp/floatdisf.c: Likewise.
22117         * soft-fp/floatditf.c: Likewise.
22118         * soft-fp/floatsidf.c: Likewise.
22119         * soft-fp/floatsisf.c: Likewise.
22120         * soft-fp/floatsitf.c: Likewise.
22121         * soft-fp/floattidf.c: Likewise.
22122         * soft-fp/floattisf.c: Likewise.
22123         * soft-fp/floattitf.c: Likewise.
22124         * soft-fp/floatundidf.c: Likewise.
22125         * soft-fp/floatundisf.c: Likewise.
22126         * soft-fp/floatunsidf.c: Likewise.
22127         * soft-fp/floatunsisf.c: Likewise.
22128         * soft-fp/floatuntidf.c: Likewise.
22129         * soft-fp/floatuntisf.c: Likewise.
22130         * soft-fp/floatuntitf.c: Likewise.
22131         * soft-fp/fmadf4.c: Likewise.
22132         * soft-fp/fmasf4.c: Likewise.
22133         * soft-fp/fmatf4.c: Likewise.
22134         * soft-fp/gedf2.c: Likewise.
22135         * soft-fp/gesf2.c: Likewise.
22136         * soft-fp/getf2.c: Likewise.
22137         * soft-fp/ledf2.c: Likewise.
22138         * soft-fp/lesf2.c: Likewise.
22139         * soft-fp/letf2.c: Likewise.
22140         * soft-fp/muldf3.c: Likewise.
22141         * soft-fp/mulsf3.c: Likewise.
22142         * soft-fp/multf3.c: Likewise.
22143         * soft-fp/negdf2.c: Likewise.
22144         * soft-fp/negsf2.c: Likewise.
22145         * soft-fp/negtf2.c: Likewise.
22146         * soft-fp/op-1.h: Likewise.
22147         * soft-fp/op-2.h: Likewise.
22148         * soft-fp/op-4.h: Likewise.
22149         * soft-fp/op-8.h: Likewise.
22150         * soft-fp/op-common.h: Likewise.
22151         * soft-fp/quad.h: Likewise.
22152         * soft-fp/single.h: Likewise.
22153         * soft-fp/soft-fp.h: Likewise.
22154         * soft-fp/sqrtdf2.c: Likewise.
22155         * soft-fp/sqrtsf2.c: Likewise.
22156         * soft-fp/sqrttf2.c: Likewise.
22157         * soft-fp/subdf3.c: Likewise.
22158         * soft-fp/subsf3.c: Likewise.
22159         * soft-fp/subtf3.c: Likewise.
22160         * soft-fp/truncdfsf2.c: Likewise.
22161         * soft-fp/trunctfdf2.c: Likewise.
22162         * soft-fp/trunctfsf2.c: Likewise.
22163         * soft-fp/trunctfxf2.c: Likewise.
22164         * soft-fp/unorddf2.c: Likewise.
22165         * soft-fp/unordsf2.c: Likewise.
22166         * soft-fp/unordtf2.c: Likewise.
22168 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
22170         [BZ #15672]
22171         * misc/error.c (error_tail): Fix possible buffer overflow.
22173 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
22175         [BZ #13028]
22176         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22177         address.
22179 2013-10-14  P. J. McDermott  <pj@pehjota.net>
22181         [BZ #832]
22182         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
22183         testing pipefail option.
22185 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
22187         * soft-fp/double.h: Indent preprocessor directives inside #if.
22188         * soft-fp/extended.h: Likewise.
22189         * soft-fp/op-2.h: Likewise.
22190         * soft-fp/op-4.h: Likewise.
22191         * soft-fp/op-common.h: Likewise.
22192         * soft-fp/quad.h: Likewise.
22193         * soft-fp/single.h: Likewise.
22194         * soft-fp/soft-fp.h: Likewise.
22196 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
22198         * iconv/iconv_prog.c: Fix typos.
22199         * stdio-common/psiginfo-data.h: Likewise.
22201 2013-10-12   Reuben Thomas <rrt@sc3d.org>
22203         [BZ #15764]
22204         * locale/setlocale.c: Fix typo.
22206 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
22208         [BZ #16036]
22209         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22210         signaling NaN arguments.
22211         * soft-fp/unordsf2.c (__unordsf2): Likewise.
22212         * soft-fp/unordtf2.c (__unordtf2): Likewise.
22214         [BZ #14910]
22215         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22216         unordered operands.
22217         * soft-fp/gesf2.c (__gesf2): Likewise.
22218         * soft-fp/getf2.c (__getf2): Likewise.
22219         * soft-fp/ledf2.c (__ledf2): Likewise.
22220         * soft-fp/lesf2.c (__lesf2): Likewise.
22221         * soft-fp/letf2.c (__letf2): Likewise.
22223         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22224         * soft-fp/eqsf2.c (__eqsf2): Likewise.
22225         * soft-fp/eqtf2.c (__eqtf2): Likewise.
22226         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22227         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22228         * soft-fp/fixdfti.c (__fixdfti): Likewise.
22229         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22230         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22231         * soft-fp/fixsfti.c (__fixsfti): Likewise.
22232         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22233         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22234         * soft-fp/fixtfti.c (__fixtfti): Likewise.
22235         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22236         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22237         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22238         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22239         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22240         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22241         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22242         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22243         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22244         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22245         * soft-fp/floatdisf.c (__floatdisf): Likewise.
22246         * soft-fp/floatsisf.c (__floatsisf): Likewise.
22247         * soft-fp/floattidf.c (__floattidf): Likewise.
22248         * soft-fp/floattisf.c (__floattisf): Likewise.
22249         * soft-fp/floattitf.c (__floattitf): Likewise.
22250         * soft-fp/floatundidf.c (__floatundidf): Likewise.
22251         * soft-fp/floatundisf.c (__floatundisf): Likewise.
22252         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22253         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22254         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22255         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22256         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22257         * soft-fp/gesf2.c (__gesf2): Likewise.
22258         * soft-fp/getf2.c (__getf2): Likewise.
22259         * soft-fp/ledf2.c (__ledf2): Likewise.
22260         * soft-fp/lesf2.c (__lesf2): Likewise.
22261         * soft-fp/letf2.c (__letf2): Likewise.
22263         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22264         Undefine and redefine.
22265         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22266         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22267         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22268         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22269         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22270         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22271         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22272         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22273         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22274         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22275         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22276         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22277         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22278         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22279         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22281         [BZ #16032]
22282         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22283         without decrementing exponent if mantissa >= that for the
22284         denominator, not >.
22285         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22286         denominator, not >.  Decrement exponent in < case instead of
22287         incrementing in >= case.
22288         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22289         without decrementing exponent if mantissa >= that for the
22290         denominator, not >.
22292         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22293         computing saturated result for unsigned overflow.
22295 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22296             Jeff Law  <law@redhat.com>
22298         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22299         (atan2Mp): Add systemtap probe marker.
22300         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22301         (__ieee754_log): Add systemtap probe marker.
22302         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22303         (atanMp): Add systemtap probe marker.
22304         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22305         (tanMp): Add systemtap probe marker.
22306         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22307         (__slowexp): Add systemtap probe marker.
22308         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22309         (__slowpow): Add systemtap probe marker.
22310         * manual/probes.texi: Document probes.
22312 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
22314         [BZ #15362]
22315         * libio/fileops.c (_IO_new_file_write): Return count of bytes
22316         written.
22317         (_IO_new_file_xsputn): Don't return EOF if nothing has been
22318         written.
22319         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22320         written to buffer but not flushed.
22321         * libio/iofwrite_u.c:  Likewise.
22322         * libio/iopadn.c:  Return bytes returned even if EOF was
22323         encountered.
22324         * libio/iowpadn.c:  Likewise.
22325         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22326         if _IO_padn does not write the whole buffer.
22327         [!COMPILE_WPRINTF] (PAD): Likewise.
22329 2013-10-10  David S. Miller  <davem@davemloft.net>
22331         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22332         directory block.
22334 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
22336         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
22337         instead of FSF address.
22338         * soft-fp/fixdfti.c: Likewise.
22339         * soft-fp/fixsfti.c: Likewise.
22340         * soft-fp/fixtfti.c: Likewise.
22341         * soft-fp/fixunsdfti.c: Likewise.
22342         * soft-fp/fixunssfti.c: Likewise.
22343         * soft-fp/fixunstfti.c: Likewise.
22344         * soft-fp/floattidf.c: Likewise.
22345         * soft-fp/floattisf.c: Likewise.
22346         * soft-fp/floattitf.c: Likewise.
22347         * soft-fp/floatuntidf.c: Likewise.
22348         * soft-fp/floatuntisf.c: Likewise.
22349         * soft-fp/floatuntitf.c: Likewise.
22350         * soft-fp/trunctfxf2.c: Likewise.
22352         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
22353         * soft-fp/fixdfti.c: Likewise.
22354         * soft-fp/fixsfti.c: Likewise.
22355         * soft-fp/fixtfti.c: Likewise.
22356         * soft-fp/fixunsdfti.c: Likewise.
22357         * soft-fp/fixunssfti.c: Likewise.
22358         * soft-fp/fixunstfti.c: Likewise.
22359         * soft-fp/floattidf.c: Likewise.
22360         * soft-fp/floattisf.c: Likewise.
22361         * soft-fp/floattitf.c: Likewise.
22362         * soft-fp/floatuntidf.c: Likewise.
22363         * soft-fp/floatuntisf.c: Likewise.
22364         * soft-fp/floatuntitf.c: Likewise.
22365         * soft-fp/trunctfxf2.c: Likewise.
22367 2013-10-10  David S. Miller  <davem@davemloft.net>
22369         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22371 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
22373         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22374         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22375         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22376         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22377         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22378         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22379         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22381         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22382         for NaNs before doing comparisons on argument.
22383         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22384         Likewise.
22386 2013-10-10  Will Newton  <will.newton@linaro.org>
22388         * malloc/hooks.c (memalign_check): Ensure the value of bytes
22389         passed to _int_memalign does not overflow.
22391 2013-10-10  Torvald Riegel  <triegel@redhat.com>
22393         * scripts/bench.pl: Add include-sources directive.
22394         * benchtests/README: Update documentation.
22396 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
22398         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22399         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22400         instead of FP_INIT_ROUNDMODE.
22401         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22402         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22404         [BZ #16034]
22405         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
22406         copy class of input value.
22407         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
22408         not handle exceptions.
22409         * soft-fp/negsf2.c (__negsf2): Likewise.
22410         * soft-fp/negtf2.c (__negtf2): Likewise.
22411         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22413 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
22415         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22416         semicolon.  From Linux kernel.
22418 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
22420         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22422 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
22424         [BZ #156]
22425         * manual/socket.texi: Added statement about buffer
22426         for gethostbyname2_r.
22428 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
22430         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22431         Use .p2align directive instead, throughout.
22432         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22433         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22434         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22435         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22436         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22437         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22438         * sysdeps/x86_64/strchr.S: Likewise.
22439         * sysdeps/x86_64/strrchr.S: Likewise.
22441 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22443         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22445         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22447         * sysdeps/generic/math_private.h (__mpsin1): Remove
22448         declaration.
22449         (__mpcos1): Likewise.
22450         (__mpsin): New argument __range_reduce.
22451         (__mpcos): Likewise.
22452         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22453         (slow): Use __mpsin and __mpcos.
22454         (slow1): Likewise.
22455         (slow2): Likewise.
22456         (sloww): Likewise.
22457         (sloww1): Likewise.
22458         (sloww2): Likewise.
22459         (bsloww): Likewise.
22460         (bsloww1): Likewise.
22461         (bsloww2): Likewise.
22462         (cslow2): Likewise.
22463         (csloww): Likewise.
22464         (csloww1): Likewise.
22465         (csloww2): Likewise.
22466         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22467         range_reduce.  Merge in __mpsin1.
22468         (__mpcos): Likewise.
22469         (__mpsin1): Remove.
22470         (__mpcos1): Likewise.
22472 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
22474         * locale/loadlocale.c (_nl_intern_locale_data): Use
22475         LOCFILE_ALIGNED_P.
22476         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22477         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22478         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22479         obstack data is appropriately aligned.
22480         (obstack_int32_grow_fast): Likewise.
22481         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22482         * locale/programs/locfile.c (add_locale_uint32): Likewise.
22483         (add_locale_uint32_array): Likewise.
22485 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22487         * benchtests/Makefile: Remove ARGLIST and RET variables.
22488         ($(objpfx)bench-%.c): Pass only function name to the script.
22489         * benchtests/README: Update documentation.
22490         * benchtests/acos-inputs: Add new directives.
22491         * benchtests/acosh-inputs: Likewise.
22492         * benchtests/asin-inputs: Likewise.
22493         * benchtests/asinh-inputs: Likewise.
22494         * benchtests/atan-inputs: Likewise.
22495         * benchtests/atanh-inputs: Likewise.
22496         * benchtests/cos-inputs: Likewise.
22497         * benchtests/cosh-inputs: Likewise.
22498         * benchtests/exp-inputs: Likewise.
22499         * benchtests/log-inputs: Likewise.
22500         * benchtests/pow-inputs: Likewise.
22501         * benchtests/rint-inputs: Likewise.
22502         * benchtests/sin-inputs: Likewise.
22503         * benchtests/sinh-inputs: Likewise.
22504         * benchtests/tan-inputs: Likewise.
22505         * benchtests/tanh-inputs: Likewise.
22506         * scripts/bench.pl: Add support for new directives.
22508 2013-10-07  Alan Modra  <amodra@gmail.com>
22510         * README: Fix careless merge.
22512 2013-10-05  Alan Modra  <amodra@gmail.com>
22514         * NEWS: Mention powerpc64le support and bugs fixed.
22515         * README: Both big-endian and little-endian powerpc64 supported.
22517 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22519         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22520         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
22521         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22522         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22524 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
22526         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22527         match prototype.
22529 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
22531         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22532         Move -mhard-float appending from
22533         ports/sysdeps/powerpc/powerpc32/Makefile.
22534         [$(with-fp) = yes] (ASFLAGS): Likewise.
22535         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22536         * sysdeps/powerpc/nofpu: Move directory from
22537         ports/sysdeps/powerpc/nofpu.
22538         * sysdeps/powerpc/soft-fp: Move directory from
22539         ports/sysdeps/powerpc/soft-fp.
22540         * sysdeps/powerpc/powerpc32/405: Move directory from
22541         ports/sysdeps/powerpc/powerpc32/405.
22542         * sysdeps/powerpc/powerpc32/440: Move directory from
22543         ports/sysdeps/powerpc/powerpc32/440.
22544         * sysdeps/powerpc/powerpc32/464: Move directory from
22545         ports/sysdeps/powerpc/powerpc32/464.
22546         * sysdeps/powerpc/powerpc32/476: Move directory from
22547         ports/sysdeps/powerpc/powerpc32/476.
22548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22549         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22551         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22552         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22553         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22555         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22556         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22557         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22558         * README: Update for powerpc-*-linux-gnu software floating point
22559         support in libc.
22561         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22562         case to powerpc/powerpc32*.
22563         * sysdeps/unix/sysv/linux/configure: Regenerated.
22565         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22566         (_FPU_MASK_OM): Define as 0x04.
22567         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22568         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22569         0x00c10080.
22570         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22571         0x0000003c.
22572         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22575         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22576         getcontext_e500.
22577         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22578         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22579         setcontext_e500.
22580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22581         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22582         and setcontext_e500.
22584 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
22586         * locale/iso-3166.def: Update iso-1366.def and related occurrences
22588 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22590         * manual/threads.texi (Default Thread Attributes): Fix typo.
22592 2013-10-04  Will Newton  <will.newton@linaro.org>
22594         * malloc/Makefile: Add tst-memalign.
22595         * malloc/tst-memalign.c: New file.
22597         * malloc/tst-posix_memalign.c: Add comments.
22598         (do_test): Add comments and call free on all potentially
22599         allocated pointers. Add space after cast.
22601         * malloc/tst-pvalloc.c: Add comments.
22602         (do_test): Add comments and call free on all potentially
22603         allocated pointers. Remove duplicate check for NULL pointer.
22604         Add space after cast.
22606         * malloc/tst-valloc.c: Add comments.
22607         (do_test): Add comments and call free on all potentially
22608         allocated pointers. Remove duplicate check for NULL pointer.
22609         Add space after cast.
22611 2013-10-04  Alan Modra  <amodra@gmail.com>
22613         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22614         Use stdint types in rather than __attribute__((mode())).
22615         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22617 2013-10-04  Alan Modra  <amodra@gmail.com>
22619         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22620         Correct handling of unaligned relocs for little-endian.
22621         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22623 2013-10-04  Alan Modra  <amodra@gmail.com>
22625         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22626         * configure: Regenerate.
22627         * nptl/shlib-versions: Powerpc*le starts at 2.18.
22628         * shlib-versions: Likewise.
22630 2013-10-04  Alan Modra  <amodra@gmail.com>
22632         * string/tester.c (test_memrchr): Increment reported test cycle.
22634 2013-10-04  Alan Modra  <amodra@gmail.com>
22636         * string/test-memcpy.c (do_one_test): When reporting errors, print
22637         string address and don't overrun end of string.
22639 2013-10-04  Alan Modra  <amodra@gmail.com>
22641         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22642         insrdi.  Make better use of reg selection to speed exit slightly.
22643         Schedule entry path a little better.  Remove useless "are we done"
22644         checks on entry to main loop.  Handle wrapping around zero address.
22645         Correct main loop count.  Handle single left-over word from main
22646         loop inline rather than by using loop_small.  Remove extra word
22647         case in loop_small caused by wrong loop count.  Add little-endian
22648         support.
22649         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22650         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
22651         cache hint.
22652         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22653         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22654         support.  Avoid rlwimi.
22655         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22657 2013-10-04  Alan Modra  <amodra@gmail.com>
22659         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
22660         insrdi.  Formatting.
22661         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22662         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22663         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22664         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22665         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22666         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22668 2013-10-04  Alan Modra  <amodra@gmail.com>
22670         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22671         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22672         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22673         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22674         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22675         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22676         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22677         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22678         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
22679         use of regs.  Use power7 mtocrf.  Tidy function tails.
22681 2013-10-04  Alan Modra  <amodra@gmail.com>
22683         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22684         Formatting.  Consistently use rXXX register defines or rN defines.
22685         Use early exit labels that avoid restoring unused non-volatile regs.
22686         Make cr field use more consistent with rWORDn compares.  Rename
22687         regs used as shift registers for unaligned loop, using rN defines
22688         for short lifetime/multiple use regs.
22689         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22690         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
22691         addi 1,1,64 to pop stack frame.  Simplify return value code.
22692         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22694 2013-10-04  Alan Modra  <amodra@gmail.com>
22696         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22697         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
22698         rather than rlwimi.
22699         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22700         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22701         little-endian support.  Correct typos.
22702         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
22703         rather than rlwimi.
22704         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
22705         in loop and entry code to keep "and." results.
22706         (strchr): Add little-endian support.  Comment.  Move cntlzd
22707         earlier in tail.
22708         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22710 2013-10-04  Alan Modra  <amodra@gmail.com>
22712         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22713         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22714         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22715         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22717 2013-10-04  Alan Modra  <amodra@gmail.com>
22719         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22720         (rTMP): Define as r11.
22721         (strcmp): Add little-endian support.  Optimise tail.
22722         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22723         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22724         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22725         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22726         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22727         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22728         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22730 2013-10-04  Alan Modra  <amodra@gmail.com>
22732         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
22733         little-endian support.  Remove unnecessary "are we done" tests.
22734         Handle "s" wrapping around zero and extremely large "size".
22735         Correct main loop count.  Handle single left-over word from main
22736         loop inline rather than by using small_loop.  Correct comments.
22737         Delete "zero" tail, use "end_max" instead.
22738         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
22740 2013-10-04  Alan Modra  <amodra@gmail.com>
22742         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
22743         support.  Don't branch over align.
22744         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
22745         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
22746         support.  Rearrange tmp reg use to suit.  Comment.
22747         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
22749 2013-10-04  Alan Modra  <amodra@gmail.com>
22751         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
22753 2013-10-04  Alan Modra  <amodra@gmail.com>
22755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
22756         conditional form of branch and link when obtaining pc.
22757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22759 2013-10-04  Alan Modra  <amodra@gmail.com>
22761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
22762         HIWORD/LOWORD.
22763         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
22764         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
22766 2013-10-04  Alan Modra  <amodra@gmail.com>
22768         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
22769         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
22770         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22771         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
22772         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22773         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22774         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
22775         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22776         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22777         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
22779 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22780             Alistair Popple <alistair@ozlabs.au.ibm.com>
22781             Alan Modra <amodra@gmail.com>
22783         [BZ #15723]
22784         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
22785         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
22786         _dl_hwcap access for little-endian.
22787         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
22788         destroy vmx regs when saving unaligned.
22789         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
22790         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
22791         destroy vmx regs when saving unaligned.
22793 2013-10-04  Alan Modra  <amodra@gmail.com>
22795         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
22796         Don't use a union to pack hi/low value.
22798 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22800         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
22801         for little-endian.
22802         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22803         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
22804         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22805         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22806         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22808 2013-10-04  Alan Modra  <amodra@gmail.com>
22810         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
22811         constants to usual value for .cst8 section, and remove redundant
22812         high address load.
22813         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
22814         constant for 0x1p52.  Load little-endian words of double from
22815         correct stack offsets.
22817 2013-10-04  Alan Modra  <amodra@gmail.com>
22819         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
22820         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
22821         words of double from correct stack offsets.
22822         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22823         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
22824         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22825         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22826         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22827         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22828         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22829         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22830         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22831         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22832         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22833         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22834         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22835         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22836         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22837         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
22838         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22840 2013-10-04  Alan Modra  <amodra@gmail.com>
22842         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
22843         64-bit int/double union.
22844         (_FPU_SETCW): Likewise.
22845         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
22846         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
22848 2013-10-04  Alan Modra  <amodra@gmail.com>
22850         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
22851         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
22853 2013-10-04  Alan Modra  <amodra@gmail.com>
22855         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
22856         use vector int constants.
22857         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
22859 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22861         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
22862         array with long long.
22863         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
22864         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
22865         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
22866         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
22867         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
22868         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
22869         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
22870         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
22871         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
22872         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
22873         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
22874         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
22875         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
22877 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22879         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
22880         (__signbit): Likewise.  Correct for little-endian.
22881         (__signbitl): Call __signbit.
22882         (lrint): Correct for little-endian.
22883         (lrintf): Call lrint.
22885 2013-10-04  Alan Modra  <amodra@gmail.com>
22887         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
22888         union 32-bit int array member with 64-bit int array.
22889         (t515, tm256): Double rather than long double.
22890         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
22892 2013-10-04  Alan Modra  <amodra@gmail.com>
22894         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
22895         Delete.
22896         (IEEE854_LONG_DOUBLE_BIAS): Delete.
22897         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
22898         version of math_ldbl.h.
22900 2013-10-04  Alan Modra  <amodra@gmail.com>
22902         [BZ #15734], [BZ #15735]
22903         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
22904         all uses of ieee875 long double macros and unions.  Simplify test
22905         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
22906         ldbl_extract_mantissa value for ix,iy exponents.  Properly
22907         normalize after ldbl_extract_mantissa, and don't add hidden bit
22908         already handled.  Don't treat low word of ieee854 mantissa like
22909         low word of IBM long double and mask off bit when testing for
22910         zero.
22911         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
22912         all uses of ieee875 long double macros and unions.  Simplify tests
22913         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
22914         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
22915         two1022, instead use their values.  Recognise that tests for large
22916         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
22917         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
22918         Rewrite all uses of ieee875 long double macros and unions.  Simplify
22919         test for 0.0L and nan.  Correct negation.
22920         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
22921         ieee875 long double macros and unions.  Correct output for large
22922         magnitude x.  Correct absolute value calculation.
22923         (__erfcl): Likewise.
22924         * math/libm-test.inc: Add tests for errors discovered in IBM long
22925         double versions of fmodl, remainderl, erfl and erfcl.
22927 2013-10-04  Alan Modra  <amodra@gmail.com>
22929         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
22930         all uses of ieee854 long double macros and unions.  Simplify tests
22931         for long doubles that are fully specified by the high double.
22932         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22933         Likewise.
22934         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
22935         Remove dead code too.
22936         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22937         (__ieee754_ynl): Likewise.
22938         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
22939         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
22940         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
22941         Remove dead code too.
22942         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22943         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
22944         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
22945         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
22946         Simplify.
22947         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
22948         Simplify.
22949         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
22950         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
22951         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
22952         Comment on variable precision.
22953         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
22954         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22955         Likewise.
22956         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22957         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22958         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22959         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22960         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
22962 2013-10-04  Alan Modra  <amodra@gmail.com>
22964         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
22965         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
22966         all uses of ieee854 long double macros and unions.
22967         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
22968         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22969         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
22970         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
22971         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
22972         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22973         Likewise.
22974         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
22975         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22976         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
22977         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22978         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22979         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22980         Simplify sign and nan test too.
22981         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
22982         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
22983         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
22984         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
22985         Likewise.
22986         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22987         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
22988         Likewise.
22989         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22990         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22991         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
22992         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
22993         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
22994         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
22996 2013-10-04  Alan Modra  <amodra@gmail.com>
22998         * stdio-common/printf_size.c (__printf_size): Don't use
22999         union ieee854_long_double in fpnum union.
23000         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
23001         signbit macro to retrieve sign from long double.
23002         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23003         retrieve sign from long double.
23004         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23005         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23006         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23007         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23008         * math/test-misc.c (main): Don't use union ieee854_long_double.
23010 2013-10-04  Alan Modra  <amodra@gmail.com>
23012         [BZ #15680]
23013         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23014         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23015         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23016         calculation.  Remove unnecessary test for denormal exponent.
23017         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23018         Correct handling of denormals.  Avoid undefined shift behaviour.
23019         Correct normalisation of low mantissa when low double is denormal.
23020         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23021         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
23022         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23023         Correct normalisation of low mantissa.  Test for overflow of high
23024         mantissa and normalise.
23025         (ldbl_nearbyint): Use more readable constant for two52.
23026         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23027         (__mpn_construct_long_double): Fix test for overflow of high
23028         mantissa and correct normalisation.  Avoid undefined shift.
23030 2013-10-04  Alan Modra  <amodra@gmail.com>
23032         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23033         (union ibm_extended_long_double): Define as an array of ieee754_double.
23034         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23035         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23036         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23037         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23038         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23039         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23040         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23041         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23042         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23043         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23044         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23046 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
23048         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23049         page size instead of calling getpagesize.
23051         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23052         (LOCFILE_ALIGN_MASK): Likewise.
23053         (LOCFILE_ALIGN_UP): Likewise.
23054         (LOCFILE_ALIGNED_P): Likewise.
23055         * locale/programs/ld-collate.c (collate_output): Use the new
23056         macros instead of __alignof__ (int32_t).
23057         * locale/weight.h (findidx): Likewise.
23059 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
23061         [BZ #431]
23062         * manual/string.texi: Fix strncat and wcsncat.
23064 2013-10-03  Brooks Moses  <bmoses@google.com>
23066         [BZ #15915]
23067         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23068         * Makerules: ...here, and adjust associated comments.
23070 2013-10-02  Will Newton  <will.newton@linaro.org>
23072         * malloc/Makefile: Add tst-pvalloc.
23073         * malloc/tst-pvalloc.c: New file.
23075 2013-10-02  Will Newton  <will.newton@linaro.org>
23077         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23078         improve test coverage.
23080 2013-10-02  Will Newton  <will.newton@linaro.org>
23082         * malloc/Makefile: Add tst-posix_memalign.
23083         * malloc/tst-posix_memalign.c: New file.
23085 2013-10-01  Eric Blake  <eblake@redhat.com>
23087         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23088         Use __THROWNL rather than __THROW on static functions.
23090 2013-09-30  Petr Machata  <pmachata@redhat.com>
23092         * elf/elf.h (R_AARCH64_ABS16): New macro.
23093         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23094         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23095         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23096         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23097         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23098         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23099         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23100         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23101         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23102         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23103         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23104         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23105         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23106         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23107         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23108         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23109         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23110         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23111         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23112         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23113         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23114         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23115         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23116         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23117         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23118         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23119         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23120         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23121         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23122         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23123         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23124         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23125         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23126         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23127         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23128         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23129         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23130         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23131         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23132         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23133         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23134         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23135         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23136         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23137         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23138         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23139         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23140         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23141         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23142         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23143         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23144         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23145         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23146         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23147         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23148         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23149         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23150         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23151         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23152         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23153         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23154         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23155         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23156         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23157         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23158         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23159         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23160         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23161         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23162         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23163         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23164         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23165         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23166         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23167         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23168         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23169         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23170         (R_AARCH64_TLSDESC_LDR): Likewise.
23171         (R_AARCH64_TLSDESC_ADD): Likewise.
23172         (R_AARCH64_TLSDESC_CALL): Likewise.
23174 2013-09-30  Andreas Schwab  <schwab@suse.de>
23176         [BZ #15048]
23177         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23178         the nss database lookup.
23179         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23180         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23182 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
23184         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23186 2013-09-28  P. J. McDermott  <pj@pehjota.net>
23188         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23189         ${Bash-specific parameter/pattern/string} parameter expansion.
23190         * sysdeps/unix/make-syscalls.sh: Likewise.
23192 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23194         * sysdeps/sh/stackguard-macros.h: New file.
23196 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
23198         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23199         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23200         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23201         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23202         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23203         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23205 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23207         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23208         Fix thread ID register.
23210 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
23212         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23213         [POSIX || UNIX98]: Require rather than permitting all symbols from
23214         <time.h>.
23215         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23216         element of struct sched_param.
23217         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23218         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23219         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23220         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23221         constant.
23223 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
23225         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23226         argument calculation.
23228 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
23230         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23231         Expect macro.
23232         [POSIX] (pthread_attr_t): Do not require type.
23233         [POSIX] (pthread_cond_t): Likewise.
23234         [POSIX] (pthread_condattr_t): Likewise.
23235         [POSIX] (pthread_key_t): Likewise.
23236         [POSIX] (pthread_mutex_t): Likewise.
23237         [POSIX] (pthread_mutexattr_t): Likewise.
23238         [POSIX] (pthread_once_t): Likewise.
23239         [POSIX] (pthread_t): Likewise.
23240         [POSIX-based standards] (pthread_atfork): Expect function.
23242 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
23243             Richard Sandiford  <richard@codesourcery.com>
23245         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23246         (swap_endianness_p): New extern variable.
23247         (set_big_endian): New inline function.
23248         (maybe_swap_uint32): Likewise.
23249         (maybe_swap_uint32_array): Likewise.
23250         (maybe_swap_uint32_obstack): Likewise.
23251         * locale/programs/locfile.c: Include <stdbool.h>.
23252         (swap_endianness_p): New variable.
23253         (add_locale_uint32): Call maybe_swap_uint32.
23254         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23255         (write_locale_data): Call maybe_swap_uint32_array.
23256         * locale/programs/ld-collate.c (obstack_int32_grow): Call
23257         maybe_swap_uint32.
23258         (obstack_int32_grow_fast): Likewise.
23259         (output_weightwc): Call maybe_swap_uint32_obstack.
23260         (collate_output): Likewise.
23261         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23262         (OPT_LITTLE_ENDIAN): Likewise.
23263         (options): Add --little-endian and --big-endian options.
23264         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23265         * locale/programs/locarchive.c: Include "locfile.h".
23266         (GET): New macro.
23267         (SET): Likewise.
23268         (INC): Likewise.
23269         (create_archive): Use the new macros to access fields of
23270         structures directly mapped from or written to locale archives.
23271         (oldlocrecentcmp): Likewise.
23272         (enlarge_archive): Likewise.
23273         (insert_name): Likewise.
23274         (add_alias): Likewise.
23275         (add_locale): Likewise.
23276         (delete_locales_from_archive): Likewise.
23277         (show_archive_content): Likewise.
23278         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
23279         locale data.
23281 2013-09-24  Roland McGrath  <roland@hack.frob.com>
23283         * manual/freemanuals.texi: Updated from (newly) canonical copy at
23284         http://www.gnu.org/doc/freemanuals.texi.
23285         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23287 2013-09-24  Will Newton  <will.newton@linaro.org>
23289         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23290         macro.
23292 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
23294         * locale/hashval.h (compute_hashval): Interpret bytes of key as
23295         unsigned char.
23297 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
23299         * manual/threads.texi (POSIX Threads): Fix a typo.
23301 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
23303         [BZ #14547]
23304         * string/tst-strcoll-overflow.c: New test case.
23305         * string/Makefile (xtests): Add tst-strcoll-overflow.
23306         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23307         cache if string sizes may cause integer overflow.
23309         [BZ #14547]
23310         * string/strcoll_l.c (coll_seq): New members rule, idx,
23311         save_idx and back_us.
23312         (get_next_seq_nocache): New function.
23313         (do_compare_nocache): New function.
23314         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23315         when malloc fails.
23317 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
23319         [BZ #15754]
23320         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23321         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23322         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23324         [BZ #15754]
23325         * elf/Makefile (tests): Add tst-ptrguard1.
23326         (tests-static): Add tst-ptrguard1-static.
23327         (tst-ptrguard1-ARGS): Define.
23328         (tst-ptrguard1-static-ARGS): Define.
23329         * elf/tst-ptrguard1.c: New file.
23330         * elf/tst-ptrguard1-static.c: New file.
23331         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23332         * sysdeps/i386/stackguard-macros.h: Likewise.
23333         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23334         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23335         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23336         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23337         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23338         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23340 2013-09-23  Hector Marco  <hecmargi@upv.es>
23341             Ismael Ripoll  <iripoll@disca.upv.es>
23342             Carlos O'Donell  <carlos@redhat.com>
23344         [BZ #15754]
23345         * sysdeps/generic/stackguard-macros.h: Define
23346         __pointer_chk_guard_local and POINTER_CHK_GUARD.
23347         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23348         Define __pointer_chk_guard_local.
23349         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23350         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23352 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
23354         [BZ #15859]
23355         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23357 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
23359         * include/string.h (__ffs): Declare as hidden.
23360         * string/ffs.c (__ffs): Define as hidden.
23361         * sysdeps/i386/ffs.c (__ffs): Likewise.
23362         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23363         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23364         * sysdeps/s390/ffs.c (__ffs): Likewise.
23365         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23367 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
23369         * NEWS: Mention malloc probes.
23371         * malloc/arena.c (new_heap): New memory_heap_new probe.
23372         (grow_heap): New memory_heap_more probe.
23373         (shrink_heap): New memory_heap_less probe.
23374         (heap_trim): New memory_heap_free probe.
23375         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23376         (systrim): New memory_sbrk_less probe.
23377         * manual/probes.texi: Document them.
23379         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23380         * manual/probes.texi: Document it.
23382         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23383         (__libc_realloc): Add memory_realloc_retry probe.
23384         (__libc_memalign): Add memory_memalign_retry probe.
23385         (__libc_valloc): Add memory_valloc_retry probe.
23386         (__libc_pvalloc): Add memory_pvalloc_retry probe.
23387         (__libc_calloc): Add memory_calloc_retry probe.
23388         * manual/probes.texi: Document them.
23390         * malloc/arena.c (get_free_list): Add probe
23391         memory_arena_reuse_free_list.
23392         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23393         and memory_arena_reuse.
23394         (arena_get2) [!PER_THREAD]: Likewise.
23395         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23396         memory_arena_reuse_realloc.
23397         * manual/probes.texi: Document them.
23399         * malloc/malloc.c (__libc_free): Add
23400         memory_mallopt_free_dyn_thresholds probe.
23401         (__libc_mallopt): Add multiple memory_mallopt probes.
23402         * manual/probes.texi: Document them.
23404         * malloc/malloc.c: Include stap-probe.h.
23405         (__libc_mallopt): Add memory_mallopt probe.
23406         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23407         * manual/probes.texi: New.
23408         * manual/Makefile (chapters): Add probes.
23409         * manual/threads.texi: Set next node.
23411 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
23413         [BZ #15963, #13985]
23414         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23415         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23416         Add `Chinese' to `nan' entry name.
23418 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23420         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23421         (POLYNOMIAL): Likewise.
23422         (TAYLOR_SINCOS): Likewise.
23423         (TAYLOR_SLOW): Likewise.
23424         (__sin): Use TAYLOR_SINCOS.
23425         (__cos): Likewise.
23426         (slow): Use TAYLOR_SLOW.
23427         (sloww): Likewise.
23428         (bsloww): Likewise.
23429         (csloww): Likewise.
23431 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23433         * stdlib/strtod_l.c: Fix buffer overrun.
23435 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23437         * benchtests/Makefile (bench): Add sincos.
23438         * benchtests/bench-sincos.c: New file.
23440         * math/libm-test.inc (cos_test_data): New test inputs.
23441         (sin_test_data): Likewise.
23443         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23444         macro.
23445         (__sin): Use it.
23446         (__cos): Likewise.
23447         (slow1): Likewise.
23448         (slow2): Likewise.
23449         (sloww1): Likewise.
23450         (sloww2): Likewise.
23451         (bsloww1): Likewise.
23452         (bsloww2): Likewise.
23453         (cslow2): Likewise.
23454         (csloww1): Likewise.
23455         (csloww2): Likewise.
23457         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23458         function.
23459         (__sin): Use it.
23460         (__cos): Likewise.
23462         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23463         gotos.
23464         (__cos): Likewise.
23466 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
23468         * config.h.in (HAVE_MIPS_NAN2008): New macro.
23469         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23470         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23471         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23472         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23473         * elf/cache.c (print_entry): Handle the new cache flags.
23475 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
23476             Aldy Hernandez  <aldyh@redhat.com>
23478         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23479         Change condition to [_SOFT_FLOAT].
23480         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23481         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23482         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23483         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23484         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23485         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23486         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23487         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23488         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23489         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23490         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23491         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23492         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23493         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23494         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23495         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23496         declaration.
23498 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
23500         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23501         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23502         (__longjmp): Use LOAD_GP to load saved GPRs.
23503         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23504         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23505         (__sigsetjmp): Use SAVE_GP to save GPRs.
23507         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23508         Do not append -msoft-float.
23509         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23511 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23513         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23515 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
23517         [BZ #15966]
23518         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23519         (_FPU_GETCW): Use initial "__" on variable and field names but not
23520         on macro parameter name.
23521         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
23522         parentheses around reference to macro parameter.
23524 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
23526         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23527         prototype.
23528         (ctype_startup): Use uint32_t in cast and sizeof for
23529         ctype->charnames.
23531 2013-09-11  Jia Liu  <proljc@gmail.com>
23533         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23534         __daddr_t_defined.
23535         [__FreeBSD__]: Likewise.
23537 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
23539         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23540         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23541         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23542         (strchr): Remove __strchr_sse42 ifunc selection.
23543         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23544         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23546 2013-09-11  Will Newton  <will.newton@linaro.org>
23548         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23549         parameter to RES. Remove hardcoded 1000 value.
23550         * benchtests/bench-skeleton.c (main): Pass RES parameter
23551         to TIMING_INIT and multiply result by 1000.
23553 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23555         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23557 2013-09-11  Andreas Schwab  <schwab@suse.de>
23559         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23560         if not defined.
23561         (O_TMPFILE) [__USE_GNU]: Define.
23562         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23563         Define.
23565 2013-09-11  Will Newton  <will.newton@linaro.org>
23567         [BZ #15857]
23568         * malloc/malloc.c (__libc_memalign): Check the value of bytes
23569         does not overflow.
23571 2013-09-11  Will Newton  <will.newton@linaro.org>
23573         [BZ #15856]
23574         * malloc/malloc.c (__libc_valloc): Check the value of bytes
23575         does not overflow.
23577 2013-09-11  Will Newton  <will.newton@linaro.org>
23579         [BZ #15855]
23580         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23581         does not overflow.
23583 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
23585         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23586         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23587         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23588         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23589         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23591 2013-09-10  Allan McRae  <allan@archlinux.org>
23593         [BZ #15748]
23594         * manual/arith.texi (Parsing of Floats): Clarify
23595         cross-reference.
23597         [BZ #15849]
23598         * manual/install.texi (Running make install): Mention
23599         --enable-pt-chown.
23600         * INSTALL: Regenerated.
23602 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
23604         * csu/init-first.c (_init): Remove the !SHARED condition around
23605         FPU control word initialization.
23606         * elf/dl-support.c (_dl_fpu_control): New variable.
23607         (_dl_aux_init) <AT_FPUCW>: Initialize it.
23608         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23609         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23610         * math/test-fpucw-static.c: New file.
23611         * math/test-fpucw-ieee.c: New file.
23612         * math/test-fpucw-ieee-static.c: New file.
23613         * math/Makefile (tests): Add `test-fpucw-ieee' and
23614         `$(tests-static)'.
23615         (tests-static): New variable.
23616         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23617         dependency to...
23618         [($(build-shared),yes)]
23619         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23620         ... this.
23621         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23622         New dependency.
23624 2013-09-09  Allan McRae  <allan@archlinux.org>
23626         [BZ #15939]
23627         * manual/string.texi (Collation Functions): Fix typo in
23628         strcoll example.
23629         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23631         [BZ #15893]
23632         * stdlib/isomac.c (get_null_defines): Fix memory leak.
23634         [BZ #15892]
23635         * libio/memstream.c (open_memstream): Fix memory leak.
23636         * libio/wmemstream.c (open_wmemstream): Likewise.
23638         [BZ #15895]
23639         * nscd/netgroupcache.c: Fix nesting of ifdefs.
23641 2013-09-09  Will Newton  <will.newton@linaro.org>
23643         * malloc/Makefile: Add tst-realloc to tests.
23644         * malloc/tst-realloc.c: New file.
23646 2013-09-09  Allan McRae  <allan@archlinux.org>
23648         [BZ #15844]
23649         * COPYING: Update from GNU website to fix FSF address.
23650         * COPYING.LIB: Likewise.
23652 2013-09-06  David S. Miller  <davem@davemloft.net>
23654         * po/zh_TW.po: Update Chinese (traditional) translation from
23655         translation project.
23657 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
23658             Joseph Myers  <joseph@codesourcery.com>
23660         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23661         "localeinfo.h".
23662         (obstack_chunk_alloc): New macro.
23663         (obstack_chunk_free): Likewise.
23664         (record_offset): New function.
23665         (init_locale_data): Likewise.
23666         (align_locale_data): Likewise.
23667         (add_locale_empty): Likewise.
23668         (add_locale_raw_data): Likewise.
23669         (add_locale_raw_obstack): Likewise.
23670         (add_locale_string): Likewise.
23671         (add_locale_wstring): Likewise.
23672         (add_locale_uint32): Likewise.
23673         (add_locale_uint32_array): Likewise.
23674         (add_locale_char): Likewise.
23675         (start_locale_structure): Likewise.
23676         (end_locale_structure): Likewise.
23677         (start_locale_prelude): Likewise.
23678         (end_locale_prelude): Likewise.
23679         (write_locale_data): Take locale_file structure rather than an
23680         iovec.
23681         * locale/programs/locfile.h: Include "obstack.h".
23682         (struct locale_file): Change to store locale file contents instead
23683         of header.
23684         (init_locale_data): New prototype.
23685         (align_locale_data): Likewise.
23686         (add_locale_empty): Likewise.
23687         (add_locale_raw_data): Likewise.
23688         (add_locale_raw_obstack): Likewise.
23689         (add_locale_string): Likewise.
23690         (add_locale_wstring): Likewise.
23691         (add_locale_uint32): Likewise.
23692         (add_locale_uint32_array): Likewise.
23693         (add_locale_char): Likewise.
23694         (start_locale_structure): Likewise.
23695         (end_locale_structure): Likewise.
23696         (start_locale_prelude): Likewise.
23697         (end_locale_prelude): Likewise.
23698         (write_locale_data): Update prototype.
23699         * locale/programs/3level.h (struct TABLE): Remove result field.
23700         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23701         Use new locale_file interface.
23702         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23703         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23704         * locale/programs/ld-address.c (address_output): Use new
23705         locale_file interface.
23706         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23707         NO_ADD_LOCALE.
23708         (collate_finish): Don't call collseq_table_finalize.
23709         (collate_output): Use new locale_file interface.
23710         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23711         in file.
23712         (NO_FINALIZE): Change to NO_ADD_LOCALE.
23713         (TABLE): Move defines earlier in file.
23714         (ELEMENT): Likewise.
23715         (DEFAULT): Likewise.
23716         (wctrans_table_add): Move macro and inline function earlier in
23717         file.
23718         (struct wctype_table): Move type earlier in file.
23719         (add_locale_wctype_table): New static prototype.
23720         (struct locale_ctype_t): Use logical types instead of struct iovec
23721         pointers for members.
23722         (ctype_output): Use new locale_file interface.
23723         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
23724         new locale_file interface.
23725         (allocate_arrays): Update for use of new locale_file interface.
23726         * locale/programs/ld-identification.c (identification_output): Use
23727         new locale_file interface.
23728         * locale/programs/ld-measurement.c (measurement_output): Likewise.
23729         * locale/programs/ld-messages.c (messages_output): Likewise.
23730         * locale/programs/ld-monetary.c (monetary_output): Likewise.
23731         * locale/programs/ld-name.c (name_output): Likewise.
23732         * locale/programs/ld-numeric.c (numeric_output): Likewise.
23733         * locale/programs/ld-paper.c (paper_output): Likewise.
23734         * locale/programs/ld-telephone.c (telephone_output): Likewise.
23735         * locale/programs/ld-time.c (time_output): Likewise.
23737 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23739         * benchtests/Makefile: Add memrchr benchmark.
23740         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
23741         benchmark as memrchr.
23742         * benchtests/bench-memrchr-ifunc.c: New file.
23743         * benchtests/bench-memrchr.c: New file.
23745 2013-09-06   Will Newton  <will.newton@linaro.org>
23747         * benchtests/Makefile (string-bench): Add memcpy.
23749 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
23750             Cong Wang  <amwang@redhat.com>
23752         [BZ #15850]
23753         * sysdeps/unix/sysv/linux/bits/in.h
23754         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
23755         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
23756         before __USE_KERNEL_IPV6_DEFS uses.
23757         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
23758         IPPROTO_BEETPH.
23759         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
23760         sockaddr_in6, or ipv6_mreq.
23762 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23764         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
23765         memory access for final bytes in some large inputs.
23766         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
23768 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23770         * string/test-memrchr.c: New file.
23771         * string/test-memrchr-ifunc.c: New file.
23772         * string/Makefile: Add new memrchr testcase.
23774 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
23776         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
23777         fanotify_init returns EPERM.
23779 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
23781         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
23782         errors.
23783         (top level): Treat second token from macro or constant entries for
23784         allowed headers as allowed.
23785         * include/complex.h: Condition internal declarations on
23786         [!_ISOMAC].
23787         * include/fenv.h: Condition include of <stdbool.h> and internal
23788         declarations on [!_ISOMAC].
23790 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
23792         [BZ #15923]
23793         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
23795 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
23797         * configure.in (--enable-versioning): Remove configure option.
23798         (libc_cv_asm_symver_directive): Remove configure test.
23799         (libc_cv_ld_version_script_option): Likewise.
23800         (VERSIONING): Remove variable and AC_SUBST.
23801         (DO_VERSIONING): Remove AC_DEFINE.
23802         * configure: Regenerated.
23803         * config.h.in (DO_VERSIONING): Remove macro.
23804         * Makerules [$(versioning) = yes]: Change conditionals to
23805         [$(build-shared) = yes].
23806         * config.make.in (versioning): Remove variable.
23807         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
23808         [$(build-shared) = yes].
23809         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
23810         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
23811         * elf/Makefile [$(versioning) = yes]: Change conditionals to
23812         [$(build-shared) = yes].
23813         * extra-lib.mk [$(versioning) = yes]: Likewise.
23814         * hurd/Makefile [$(versioning) = yes]: Likewise.
23815         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
23816         [SHARED].
23817         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
23818         [SHARED].
23819         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23820         [SHARED && !NO_HIDDEN].
23821         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
23822         [SHARED].
23823         [SHARED && DO_VERSIONING]: Likewise..
23824         * libio/Makefile [$(versioning) = yes]: Change conditionals to
23825         [$(build-shared) = yes].
23826         * manual/install.texi (--disable-versioning): Remove
23827         documentation.
23828         * INSTALL: Regenerated.
23829         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
23830         to [SHARED].
23831         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
23832         [$(build-shared) = yes].
23833         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
23834         * sysdeps/i386/i686/multiarch/strstr-c.c
23835         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23836         [SHARED && !NO_HIDDEN].
23837         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
23838         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
23839         * sysdeps/powerpc/powerpc32/dl-machine.c
23840         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
23841         * sysdeps/powerpc/powerpc32/sysdep.h
23842         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
23843         to [SHARED && PIC && !NO_HIDDEN].
23844         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
23845         conditional to [SHARED].
23847 2013-09-04   Will Newton  <will.newton@linaro.org>
23849         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
23850         * benchtests/bench-string.h: Include bench-timing.h instead
23851         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
23852         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
23853         call to HP_TIMING_DIFF_INIT.
23854         * benchtests/bench-memccpy.c: Use bench-timing.h macros
23855         instead of hp-timing.h macros.
23856         * benchtests/bench-memchr.c: Likewise.
23857         * benchtests/bench-memcmp.c: Likewise.
23858         * benchtests/bench-memcpy.c: Likewise.
23859         * benchtests/bench-memmem.c: Likewise.
23860         * benchtests/bench-memmove.c: Likewise.
23861         * benchtests/bench-memset.c: Likewise.
23862         * benchtests/bench-rawmemchr.c: Likewise.
23863         * benchtests/bench-strcasecmp.c: Likewise.
23864         * benchtests/bench-strcasestr.c: Likewise.
23865         * benchtests/bench-strcat.c: Likewise.
23866         * benchtests/bench-strchr.c: Likewise.
23867         * benchtests/bench-strcmp.c: Likewise.
23868         * benchtests/bench-strcpy.c: Likewise.
23869         * benchtests/bench-strcpy_chk.c: Likewise.
23870         * benchtests/bench-strlen.c: Likewise.
23871         * benchtests/bench-strncasecmp.c: Likewise.
23872         * benchtests/bench-strncat.c: Likewise.
23873         * benchtests/bench-strncmp.c: Likewise.
23874         * benchtests/bench-strncpy.c: Likewise.
23875         * benchtests/bench-strnlen.c: Likewise.
23876         * benchtests/bench-strpbrk.c: Likewise.
23877         * benchtests/bench-strrchr.c: Likewise.
23878         * benchtests/bench-strspn.c: Likewise.
23879         * benchtests/bench-strstr.c: Likewise.
23881 2013-09-04  Will Newton  <will.newton@linaro.org>
23883         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
23885 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
23887         [BZ #15427]
23888         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23889         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
23890         * math/libm-test.inc (lgamma_test_data): Add more tests.
23891         * sysdeps/i386/fpu/libm-test-ulps: Update.
23892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23894 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
23896         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
23897         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23898         Add ifunc.
23899         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23900         Add strcmp-sse2-unaligned
23901         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
23903 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
23905         * Versions.def (libc): Add GLIBC_2.19.
23907 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
23909         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
23910         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
23912 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
23914         [BZ #14155]
23915         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
23916         intermediate calculations in recurrence.
23917         (__ieee754_ynf): Likewise.
23918         * math/libm-test.inc (jn_test_data): Do not allow spurious
23919         underflow exception.  Add more tests.
23920         (yn_test_data): Add more tests.
23921         * sysdeps/i386/fpu/libm-test-ulps: Update.
23922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23924 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
23926         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
23928 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
23930         * csu/init-first.c: Fix then/than typos.
23931         * locale/programs/ld-collate.c: Likewise.
23932         * locale/programs/linereader.h: Likewise.
23933         * manual/charset.texi: Likewise.
23934         * manual/filesys.texi: Likewise.
23935         * manual/stdio.texi: Likewise.
23936         * manual/string.texi: Likewise.
23937         * stdlib/fmtmsg.c: Likewise.
23938         * sysdeps/i386/stpncpy.S: Likewise.
23939         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23940         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23941         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23942         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23944 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
23946         * elf/dl-open.c: Fix typos.
23947         * iconvdata/gbbig5.c: Likewise.
23948         * iconvdata/iso-2022-jp.c: Likewise.
23949         * iconv/gconv_int.h: Likewise.
23950         * iconv/loop.c: Likewise.
23951         * nis/rpcsvc/nis.h: Likewise.
23952         * resolv/ns_name.c: Likewise.
23953         * stdio-common/vfscanf.c: Likewise.
23954         * streams/stropts.h: Likewise.
23955         * sunrpc/rpc_thread.c: Likewise.
23956         * sysdeps/i386/strpbrk.S: Likewise.
23957         * sysdeps/ieee754/k_standard.c: Likewise.
23958         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23959         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23960         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
23961         * sysdeps/mach/hurd/profil.c: Likewise.
23962         * sysdeps/s390/dl-procinfo.h: Likewise.
23963         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
23964         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23965         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
23966         * sysdeps/x86_64/dl-trampoline.S: Likewise.
23967         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23969 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
23971         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
23972         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
23974 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
23976         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
23977         aix specific files.
23978         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
23979         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
23980         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
23981         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
23982         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
23983         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
23984         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
23985         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
23987 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
23988             Roland McGrath  <roland@hack.frob.com>
23990         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
23991         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
23993 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23995         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
23996         __executable_start symbol instead of _start.
23998 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
24000         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24001         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24002         Move macros to...
24003         * sysdeps/gnu/ldsodefs.h: ... this new file.
24005         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24006         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24007         instead of ELFOSABI_LINUX.
24009         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
24010         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24011         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24012         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24013         Likewise.
24014         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24015         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24016         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24017         Likewise.
24018         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24019         (ibm_extended_long_double): Add ieee_nan member.
24020         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24021         (do_test): New function.
24023         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24024         TEST_TRUNC.
24025         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24026         functions, renamed from truncdfsf_test, trunctfsf_test,
24027         trunctfdf_test.
24028         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24029         functions.
24030         (do_test): Run all these.
24032 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
24034         * argp/argp-help.c: Fix typos.
24035         * argp/argp-parse.c: Likewise.
24036         * debug/backtracesyms.c: Likewise.
24037         * elf/elf.h: Likewise.
24038         * malloc/malloc.c: Likewise.
24039         * nis/nis_print.c: Likewise.
24040         * resolv/res_comp.c: Likewise.
24041         * stdlib/stdlib.h: Likewise.
24042         * sunrpc/clnt_tcp.c: Likewise.
24043         * sunrpc/clnt_udp.c: Likewise.
24044         * sunrpc/clnt_unix.c: Likewise.
24045         * sysdeps/unix/bsd/ptsname.c: Likewise.
24046         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24047         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
24048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24049         Likewise.
24050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24051         Likewise.
24052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24053         Likewise.
24054         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24056 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24058         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24059         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24061 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
24063         [BZ #15897]
24064         * dlfcn/Makefile (tests): Add bug-dl-leaf.
24065         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24066         ($(objpfx)bug-dl-leaf): New rule.
24067         ($(objpfx)bug-dl-leaf.so): Likewise.
24068         ($(objpfx)bug-dl-leaf.out): Likewise.
24069         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24070         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24071         * dlfcn/bug-dl-leaf.c: New test.
24072         * dlfcn/bug-dl-leaf-lib.c: Likewise.
24073         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24074         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24075         (dlclose): Likewise.
24076         (dlmopen): Likewise.
24078 2013-08-27  Roland McGrath  <roland@hack.frob.com>
24080         * include/netdb.h [!_ISOMAC]:
24081         Don't include <tls.h>.
24082         (h_errno, __libc_h_errno): Move declaration and macros out of
24083         [_LIBC_REENTRANT].
24085         * include/resolv.h [_RESOLV_H_]:
24086         Don't include <tls.h>.
24087         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24088         * resolv/res_libc.c: Don't include <tls.h>.
24089         (_res): Use __attribute__ ((nocommon)) in place of
24090         __attribute__ ((section (".bss"))).
24092         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24093         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24095         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24097         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24098         only under [SIOCGIFCONF && SIOCGIFNETMASK].
24100         * resolv/res_mkquery.c: Include <sys/time.h>.
24102         * inet/ifreq.c: Moved to ...
24103         * sysdeps/unix/ifreq.c: ... here.
24104         * inet/ifreq.c: New file, true stub version.
24106         * socket/sa_len.c: New file.
24107         * socket/Makefile (aux): Add it.
24108         * sysdeps/unix/sysv/linux/Makefile
24109         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24110         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24111         and #include <socket/sa_len.c>.
24112         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24113         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24115         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24116         * bits/socket.h: ... here.
24118         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24119         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24120         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24122 2013-08-27  Andreas Schwab  <schwab@suse.de>
24124         [BZ #15736]
24125         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24126         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24127         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24128         * string/test-strcasecmp.c (test_main): Run tests in several
24129         locales.
24130         * string/test-strncasecmp.c (test_main): Likewise.
24132         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24133         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24134         to __strcasecmp_nonascii and __strncasecmp_nonascii.
24135         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24136         (__strncasecmp_ssse3) [PIC]: Likewise.
24138 2013-08-26  Roland McGrath  <roland@hack.frob.com>
24140         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24142         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24143         instead of explicitly declaring xdecrypt.
24144         * nis/nss_nis/nis-publickey.c: Likewise.
24146 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24148         [BZ #15890]
24149         * nscd/aicache.c: Include res_hconf.h.
24150         (addhstaiX): Initialize res_hconf.
24152 2013-08-26  Andreas Schwab  <schwab@suse.de>
24154         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24155         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24157 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24159         * nscd/aicache.c (addhstaiX): Fix indentation.
24161 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
24163         * configure.ac: Quote $build_pt_chown test.
24164         * configure: Regenerated.
24166 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
24168         [BZ #15532]
24169         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24170         * math/s_cexpf.c (__cexpf): Likewise.
24171         * math/s_cexpl.c (__cexpl): Likewise.
24172         * math/libm-test.inc (cexp_test_data): Correct expected return
24173         value for NaN + i0.  Add another test.
24175 2013-08-22  David S. Miller  <davem@davemloft.net>
24177         * po/ca.po: Update Catalan translation from translation project.
24178         * po/uk.po: Add Ukrainian translations from translation project.
24180 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
24182         [BZ #15797]
24183         * math/s_fdim.c (__fdim): Check for infinite arguments if result
24184         is infinite, not alongside NaN test.
24185         * math/s_fdimf.c (__fdimf): Likewise.
24186         * math/s_fdiml.c (__fdiml): Likewise.
24187         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
24188         errno is unchanged.
24190 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
24192         * argp/argp-help.c: Fix typos.
24193         * crypt/speeds.c: Likewise.
24194         * csu/check_fds.c: Likewise.
24195         * elf/dl-load.c: Likewise.
24196         * elf/dl-open.c: Likewise.
24197         * elf/reldep3.c: Likewise.
24198         * elf/reldep.c: Likewise.
24199         * elf/sprof.c: Likewise.
24200         * iconv/iconv_charmap.c: Likewise.
24201         * iconv/skeleton.c: Likewise.
24202         * iconv/strtab.c: Likewise.
24203         * io/lockf64.c: Likewise.
24204         * libio/libioP.h: Likewise.
24205         * resolv/gai_notify.c: Likewise.
24206         * resolv/ns_name.c: Likewise.
24207         * resolv/ns_samedomain.c: Likewise.
24208         * resolv/res_send.c: Likewise.
24209         * stdlib/random.c: Likewise.
24210         * sunrpc/rpc/xdr.h: Likewise.
24211         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24212         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24213         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24214         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24215         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24216         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24217         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24218         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24219         * sysdeps/mach/hurd/check_fds.c: Likewise.
24220         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24221         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24222         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24223         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24224         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24225         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24226         * sysdeps/pthread/aio_notify.c: Likewise.
24227         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24228         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24229         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24230         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24231         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24233 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24235         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24236         version if bit_Slow_SSE4_2 is set.
24237         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24238         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24240 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24242         [BZ #15867]
24243         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24244         trampoline stack frame information.
24245         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24246         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24247         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24248         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24249         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24250         * sysdeps/unix/sysv/linux/powerpc/init-first.c
24251         (_libc_vdso_platform_setup): Initialize the signal trampolines.
24252         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24253         sa_flags value.
24254         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24255         interrupting a syscall and set with option SA_SIGINFO.
24257 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
24259         [BZ #15531]
24260         * math/s_cproj.c (__cproj): Only return an infinity if one part of
24261         argument is infinite.
24262         * math/s_cprojf.c (__cprojf): Likewise.
24263         * math/s_cprojl.c (__cprojl): Likewise.
24264         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24265         * math/libm-test.inc (cproj_test_data): Add more tests.
24267         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24269         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24270         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24271         size.  Use __ffs to determine corresponding shift.
24273 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
24274             Roland McGrath  <roland@hack.frob.com>
24276         * Makefile (INSTALL): Remove trailing blank lines from output of
24277         makeinfo.
24279 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24281         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24282         Align 32 bit compat elf_greg to 8 bytes.
24284 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
24286         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24288 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24290         * string/strcoll_l.c (coll_seq): New structure.
24291         (get_next_seq_cached): New function.
24292         (get_next_seq): New function.
24293         (do_compare): New function.
24294         (STRCOLL): Use GNU style definition.  Simplify implementation
24295         by using get_next_seq, get_next_seq_cached and do_compare.
24297 2013-08-16  Florian Weimer  <fweimer@redhat.com>
24299         [BZ #14699]
24300         CVE-2013-4237
24301         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24302         member.
24303         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24304         member.
24305         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24306         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24307         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
24308         conditional.
24309         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24310         GETDENTS_64BIT_ALIGNED.
24311         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24312         * manual/filesys.texi (Reading/Closing Directory): Document
24313         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
24314         strongly.
24315         * manual/conf.texi (Limits for Files): Add portability note to
24316         NAME_MAX, PATH_MAX.
24317         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24319 2013-08-13  Andreas Schwab  <schwab@suse.de>
24321         [BZ #15749]
24322         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24323         of fabs.
24324         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24325         LDBL_MAX_EXP >= 16384]: Add tests for it.
24327 2013-08-12  David S. Miller  <davem@davemloft.net>
24329         * version.h (RELEASE): Set to "development".
24330         (VERSION): Set to "2.18.90".
24331         * NEWS: Add 2.19 section.
24333 2013-08-03  David S. Miller  <davem@davemloft.net>
24335         * po/ko.po: Update Korean translation from translation project.
24337 2013-08-01  David S. Miller  <davem@davemloft.net>
24339         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
24340         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24341         Bilka.
24343 2013-07-30  David S. Miller  <davem@davemloft.net>
24345         * po/fr.po: Update French translation from translation project.
24347 2013-07-28  David S. Miller  <davem@davemloft.net>
24349         * po/cs.po: Update Czech translation from translation project.
24351         * po/sv.po: Update Swedish translation from translation project.
24353 2013-07-27  David S. Miller  <davem@davemloft.net>
24355         * po/eo.po: Update Esperanto translation from translation project.
24357         * po/vi.po: Update Vietnamese translation from translation project.
24359         * po/de.po: Update German translation from translation project.
24361 2013-07-26  David S. Miller  <davem@davemloft.net>
24363         * po/bg.po: Update Bulgarian translation from translation project.
24365         * po/nl.po: Update Dutch translation from translation project.
24366         * po/pl.po: Update Polish translation from translation project.
24367         * po/ru.po: Update Russian translation from translation project.
24369 2013-07-24  David S. Miller  <davem@davemloft.net>
24371         * po/libc.pot: Update.
24373 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24375         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24376         variable page size.
24377         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24378         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24379         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24381 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24383         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24385 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24386             Andreas Schwab  <schwab@suse.de>
24387             Roland McGrath  <roland@hack.frob.com>
24388             Joseph Myers  <joseph@codesourcery.com>
24389             Carlos O'Donell  <carlos@redhat.com>
24391         [BZ #15755]
24392         * config.h.in: Define HAVE_PT_CHOWN.
24393         * config.make.in (build-pt-chown): New variable.
24394         * configure.in (--enable-pt_chown): New configure option.
24395         * configure: Regenerate.
24396         * login/Makefile: Include Makeconfig.  Build pt_chown only if
24397         build-pt-chown is enabled.
24398         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24399         pt_chown to fix pty ownership.
24400         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24401         CLOSE_ALL_FDS.
24402         * manual/install.texi (Configuring and compiling): Mention
24403         --enable-pt_chown. Add @findex for grantpt.
24404         * INSTALL: Regenerate.
24406 2013-07-20  David S. Miller  <davem@davemloft.net>
24408         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24409         difference between 32-bit and 64-bit.
24411 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
24413         [BZ #15711]
24414         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24415         Avoid system header dependency with -ffreestanding.
24416         ($(objpfx)bits/syscall%d): Likewise.
24418 2013-07-13  David S. Miller  <davem@davemloft.net>
24420         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24421         underflows from atanl/atan2l due to bug 15319.
24422         (casinh_test_data): Likewise.
24424 2013-07-07  David S. Miller  <davem@davemloft.net>
24426         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24428 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
24430         * sysdeps/i386/fpu/libm-test-ulps: Update.
24431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24433 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24435         * configure.in (--enable-lock-elision): Fix message text.
24436         * INSTALL: Regenerate.
24437         * configure: Regenerate.
24439 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24441         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24443 2013-07-03  Andreas Jaeger  <aj@suse.de>
24445         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24446         define.
24447         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24448         (ptrace_peeksiginfo_args): Add.
24449         (__ptrace_peeksiginfo_flags): Add.
24450         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24451         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24452         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24454 2013-07-03  Allan McRae  <allan@archlinux.org>
24456         * sysdeps/i386/fpu/libm-test-ulps: Update.
24458 2013-07-02  David S. Miller  <davem@davemloft.net>
24460         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24462 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
24464         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24466 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
24468         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24469         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24471 2013-07-02  Andi Kleen <ak@linux.intel.com>
24473         * config.h.in (ENABLE_LOCK_ELISION): Add.
24474         * configure.in (--enable-lock-elision): Add option.
24475         * manual/install.texi: Document --enable lock elision.
24476         * configure: Regenerate
24477         * INSTALL: Regenerate.
24479 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
24481         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24482         SSE4.2 strcasecmp for libc.a.
24483         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24485 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
24487         [BZ #13304]
24488         * soft-fp/op-common.h (_FP_FMA): New macro.
24489         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24490         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
24491         (_FP_MUL_MEAT_1_imm): ... here.
24492         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
24493         (_FP_MUL_MEAT_1_wide): ... here.
24494         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
24495         (_FP_MUL_MEAT_1_hard): ... here.
24496         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24497         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
24498         (_FP_MUL_MEAT_2_wide): ... here.
24499         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
24500         (_FP_MUL_MEAT_2_wide_3mul): ... here.
24501         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
24502         (_FP_MUL_MEAT_2_gmp): ... here.
24503         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24504         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
24505         (_FP_MUL_MEAT_4_wide): ... here.
24506         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
24507         (_FP_MUL_MEAT_4_gmp): ... here.
24508         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24509         (_FP_WFRACBITS_DW_S): Likewise.
24510         (_FP_WFRACXBITS_DW_S): Likewise.
24511         (_FP_HIGHBIT_DW_S): Likewise.
24512         (FP_FMA_S): Likewise.
24513         (_FP_FRAC_HIGH_DW_S): Likewise.
24514         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24515         (_FP_WFRACBITS_DW_D): Likewise.
24516         (_FP_WFRACXBITS_DW_D): Likewise.
24517         (_FP_HIGHBIT_DW_D): Likewise.
24518         (FP_FMA_D): Likewise.
24519         (_FP_FRAC_HIGH_DW_D): Likewise.
24520         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24521         (_FP_WFRACBITS_DW_E): Likewise.
24522         (_FP_WFRACXBITS_DW_E): Likewise.
24523         (_FP_HIGHBIT_DW_E): Likewise.
24524         (FP_FMA_E): Likewise.
24525         (_FP_FRAC_HIGH_DW_E): Likewise.
24526         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24527         (_FP_WFRACBITS_DW_Q): Likewise.
24528         (_FP_WFRACXBITS_DW_Q): Likewise.
24529         (_FP_HIGHBIT_DW_Q): Likewise.
24530         (FP_FMA_Q): Likewise.
24531         (_FP_FRAC_HIGH_DW_Q): Likewise.
24532         * soft-fp/fmasf4.c: New file.
24533         * soft-fp/fmadf4.c: Likewise.
24534         * soft-fp/fmatf4.c: Likewise.
24536 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24538         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24539         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24540         Silvermont.
24541         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24542         macro.
24543         (index_Slow_SSE4_2): Likewise.
24544         (index_Prefer_PMINUB_for_stringop): Likewise.
24545         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24546         bit_Slow_SSE4_2 is set.
24547         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24548         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24550 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24552         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24553         rtld_global._dl_hwcap2.
24554         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24555         POWER8.
24556         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24557         POWER8 feature descriptions defined in _dl_hwcap2.
24558         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24559         string handling for POWER8 feature bits.
24560         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24561         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24562         _dl_powerpc_cap_flags.
24563         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24564         * sysdeps/powerpc/rtld-global-offsets.sym
24565         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24566         _dl_hwcap2 in the rtld_global_ro structure.
24568 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24570         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24571         hardware capabilities in support of AT_HWCAP2.
24572         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24573         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24574         GLRO(dl_hwcap2).
24575         (_dl_show_auxv): Add support for calling _dl_procinfo to display
24576         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
24577         explicitly the unknown a_type display mechanism is used.
24578         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24579         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24580         struct member.
24581         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24582         to macro prototype for AT_HWCAP2 support.
24583         * sysdeps/i386/dl-procinfo.h: Likewise.
24584         * sysdeps/s390/dl-procinfo.h: Likewise.
24585         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24586         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
24587         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
24588         return -1 for unknown a_type display fallback.
24589         * sysdeps/sparc/dl-procinfo.h: Likewise.
24590         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24591         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24593 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
24595         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24596         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24598 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
24600         [BZ #12492]
24601         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24602         mprotect making __stack_prot writable.
24604 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
24605             Joseph Myers  <joseph@codesourcery.com>
24607         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24608         as being properly aligned.
24610 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
24612         * dlfcn/modstatic5.c: New file.
24613         * dlfcn/tststatic5.c: New file.
24614         * dlfcn/Makefile (tests): Add tststatic5.
24615         (tests-static): Likewise.
24616         (modules-names): Add modstatic5.
24617         (tststatic5-ENV): New variable.
24618         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24620         [BZ #15022]
24621         * elf/dl-support.c (_dl_main_map): New variable.
24622         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24623         (_dl_nns, _dl_load_adds): Set to 1.
24624         (_dl_initial_searchlist): Refer to _dl_main_map.
24625         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24626         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24627         call to _dl_get_origin.
24628         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24629         around call_map.
24630         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24631         * dlfcn/modstatic3.c: New file.
24632         * dlfcn/tststatic3.c: New file.
24633         * dlfcn/tststatic4.c: New file.
24634         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24635         (tests-static): Likewise.
24636         (modules-names): Add modstatic3.
24637         (tststatic3-ENV, tststatic4-ENV): New variables.
24638         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24639         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24641 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
24643         * configure.in (CC): Require GCC version 4.4 or later.
24644         * configure: Regenerated.
24645         * manual/install.texi (Tools for Compilation): Update GCC version
24646         requirement.
24647         * INSTALL: Regenerated.
24649 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24651         [BZ #15674]
24652         * string/test-memcmp.c (check2): New.
24653         (main): Call check2.
24655         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24657 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
24659         [BZ #15022]
24660         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24661         over to...
24662         (dl_open_worker) [!SHARED]: ... here.
24664 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24666         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24668 2013-06-25  Richard Henderson  <rth@redhat.com>
24670         * locale/programs/locarchive.c: Include <libc-internal.h>
24672 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
24674         * manual/texinfo.tex: Update to version 2013-06-21.17, with
24675         trailing whitespace removed.
24677 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
24679         [BZ #10283]
24680         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24681         * locale/programs/locarchive.c: Include libc-mmap.h.
24682         (prepare_address_space): Take two new outputs (the mmap base and len).
24683         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
24684         values.
24685         (create_archive): Declare new mmap base and len values for
24686         prepare_address_space, and store the result in ah.
24687         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24688         (enlarge_archive): If ah->mmap_base is not NULL, use that and
24689         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24690         Declare new mmap base and len values for
24691         prepare_address_space, and store the result in new_ah.
24692         (open_archive): Declare new mmap base and len values for
24693         prepare_address_space, and store the result in ah.
24694         (close_archive): If ah->mmap_base is not NULL, use that and
24695         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24696         * sysdeps/generic/libc-mmap.h: New file.
24698 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
24700         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24701         (ALIGN_UP): Likewise.
24702         (PTR_ALIGN_DOWN): Likewise.
24703         (PTR_ALIGN_UP): Likewise.
24705 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24707         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24708         entry mapped to PPC_PLATFORM_POWER8.
24709         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24710         POWER8.
24711         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24712         (_dl_string_platform): Add case for exporting platform position for
24713         POWER8.
24714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24715         search path to sysdeps/powerpc/powerpc32/power8 directory.
24716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24717         search path to sysdeps/powerpc/powerpc64/power8 directory.
24718         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24719         power7 directories.
24720         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24721         power7 directories.
24723 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24725         * INSTALL: Regenerate.
24727         * nscd/connections.c (nscd_init): Fix comment.
24729 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
24731         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
24733         [BZ #15667]
24734         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
24735         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
24737 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
24739         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
24740         DL_DST_REQ_STATIC.
24741         (DL_DST_REQ_STATIC): Remove macro.
24743 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
24745         [BZ #7006]
24746         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
24747         with a shift of 0 bits.
24749 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
24751         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
24752         $(tststatic-ENV).
24754 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24756         [BZ #15655]
24757         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
24759 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24761         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
24762         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
24763         accepts -fno-tree-loop-distribute-patterns.
24764         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
24765         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
24766         recursive call.
24767         * string/memset.c (memset): Likewise.
24768         * string/test-memmove.c (simple_memmove): Disable loop transformation
24769         to library calls.
24770         * string/test-memset.c (simple_memset): Likewise.
24771         * benchtests/bench-memmove.c (simple_memmove): Likewise.
24772         * benchtests/bench-memset.c (simple_memset): Likewise.
24773         * configure: Regenerated.
24775 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
24777         * math/test-misc.c (main): Ignore fesetround failure when failures
24778         of subsequent rounding tests would be ignored.
24780         [BZ #15654]
24781         * math/fedisblxcpt.c (fedisableexcept): Return 0.
24782         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
24783         * math/fegetenv.c (__fegetenv): Return 0.
24784         * math/fegetexcept.c (fegetexcept): Return 0.
24785         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
24786         FE_TONEAREST.
24787         * math/feholdexcpt.c (feholdexcept): Return 0.
24788         * math/fesetenv.c (__fesetenv): Return 0.
24789         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
24790         argument FE_TONEAREST.
24791         * math/feupdateenv.c (__feupdateenv): Return 0.
24792         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
24794 2013-06-18  Roland McGrath  <roland@hack.frob.com>
24796         * elf/rtld-Rules (rtld-compile-command.S): New variable.
24797         (rtld-compile-command.s, rtld-compile-command.c): New variables.
24798         ($(objpfx)rtld-%.os rules): Use them.
24800 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24802         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
24803         fields.
24805 2013-06-17  Roland McGrath  <roland@hack.frob.com>
24807         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
24808         length of target pattern, then descending length of dependency pattern.
24809         * configure.in (AWK): Require gawk 3.1.2 or newer.
24810         * manual/install.texi (Tools for Compilation): Say that we do.
24811         * configure: Regenerated.
24813         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
24814         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
24815         * scripts/sysd-rules.awk: ... this new script.
24816         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
24817         than a glob-style pattern.
24819 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
24821         * math/test-misc.c (main): Do not treat incorrectly rounded
24822         conversions as failure unless ROUNDING_TESTS passes.
24824 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
24826         [BZ #15631]
24827         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
24828         restore exception state around main square root computation, then
24829         check for inexactness explicitly.
24831         * math/libm-test.inc (fma_test_data): Add another test.
24833 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24835         * manual/threads.texi (Non-POSIX Extensions): New document
24836         node.  Document pthread_getattr_default_np and
24837         pthread_setattr_default_np.
24839         * Versions.def (libpthread): Add GLIBC_2.18.
24840         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
24841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24842         Likewise.
24843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24844         Likewise.
24845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24846         Likewise.
24847         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24848         Likewise.
24849         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
24850         Likewise.
24851         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24852         Likewise.
24853         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24854         Likewise.
24855         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24856         Likewise.
24857         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24858         Likewise.
24860 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24862         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24863         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
24865 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24866             H.J. Lu  <hjl.tools@gmail.com>
24868         [BZ #15627]
24869         * sysdeps/x86_64/rtld-memset.c: Remove file.
24870         * sysdeps/x86_64/rtld-memset.S: New file.
24872 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
24874         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
24875         (test_in_one_mode): Take arguments for whether the rounding mode
24876         is supported for each floating-point type.
24877         (do_test): Pass new arguments to test_in_one_mode using
24878         ROUNDING_TESTS.
24880 2013-06-13  Roland McGrath  <roland@hack.frob.com>
24882         * posix/tst-waitid.c (do_test): Distinguish different instances of
24883         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
24884         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
24885         before entering the kernel for waitpid.
24887 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24889         * NEWS: Fix note on clock function precision.  Text by Roland
24890         McGrath.
24892 2013-06-13  Roland McGrath  <roland@hack.frob.com>
24894         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
24895         it into place only when and if the sanity check passes.
24897 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
24899         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
24900         output for whether conversion result is exact.  Take argument
24901         indicating whether type is IBM long double.
24902         (round_for_all): Change need_exact field to ibm_ld.
24903         * stdlib/tst-strtod-round.c (struct exactness): New type.
24904         (struct test): Change bool ld_ok field to struct exactness exact.
24905         (TEST): Update all definitions for change to field.
24906         (tests): Regenerate array contents.
24907         (test_in_one_mode): Take pointer to new field instead of old ld_ok
24908         field value.  Check for IBM long double here.
24909         (do_test): Update calls to test_in_one_mode.
24911 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24913         [BZ #12515]
24914         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
24915         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
24917 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24919         [BZ #15605]
24920         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
24921         generated by the compiler on loop optimizations.
24922         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
24923         general definitions.
24925 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
24927         * math/bug-nextafter.c: Include <math-tests.h>.
24928         (main): Only test for exceptions if EXCEPTION_TESTS is true for
24929         the relevant type.
24930         * math/bug-nexttoward.c: Include <math-tests.h>.
24931         (main): Only test for exceptions if EXCEPTION_TESTS is true for
24932         the relevant type.
24933         * math/test-misc.c: Include <math-tests.h>.
24934         (main): Only test for exceptions if EXCEPTION_TESTS is true for
24935         the relevant type.
24937 2013-06-12  Andreas Jaeger  <aj@suse.de>
24939         * po/ia.po: Update Interlingua translation from translation
24940         project.
24942 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24944         * include/fenv.h: Include stdbool.h.
24945         (struct rm_ctx): New structure.
24946         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
24947         Define macro.
24948         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
24949         (SET_RESTORE_ROUNDF): Likewise.
24950         (SET_RESTORE_ROUNDL): Likewise.
24951         (SET_RESTORE_ROUND_NOEX): Likewise.
24952         (SET_RESTORE_ROUND_NOEXF): Likewise.
24953         (SET_RESTORE_ROUND_NOEXL): Likewise.
24954         (SET_RESTORE_ROUND_53BIT): Likewise.
24955         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
24956         (libc_feresetround_noexf_ctx): Likewise.
24957         (libc_feresetround_noexl_ctx): Likewise.
24958         (libc_feholdsetround_53bit_ctx): Likewise.
24959         (libc_feresetround_53bit_ctx): Likewise.
24960         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
24961         (libc_feholdexcept_setround_sse_ctx): New function.
24962         (libc_fesetenv_sse_ctx): Likewise.
24963         (libc_feupdateenv_sse_ctx): Likewise.
24964         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
24965         (libc_feholdexcept_setround_387_ctx): Likewise.
24966         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
24967         (libc_feholdsetround_387_prec_ctx): Likewise.
24968         (libc_feholdsetround_387_ctx): Likewise.
24969         (libc_feholdsetround_387_53bit_ctx): Likewise.
24970         (libc_feholdsetround_sse_ctx): Likewise.
24971         (libc_feresetround_sse_ctx): Likewise.
24972         (libc_feresetround_387_ctx): Likewise.
24973         (libc_feupdateenv_387_ctx): Likewise.
24974         (libc_feholdexcept_setroundf_ctx): Define macro.
24975         (libc_fesetenvf_ctx): Likewise.
24976         (libc_feupdateenvf_ctx): Likewise.
24977         (libc_feholdsetroundf_ctx): Likewise.
24978         (libc_feresetroundf_ctx): Likewise.
24979         (libc_feholdexcept_setround_ctx): Likewise.
24980         (libc_fesetenv_ctx): Likewise.
24981         (libc_feupdateenv_ctx): Likewise.
24982         (libc_feholdsetround_ctx): Likewise.
24983         (libc_feresetround_ctx): Likewise.
24984         (libc_feholdexcept_setroundl_ctx): Likewise.
24985         (libc_feupdateenvl_ctx): Likewise.
24986         (libc_feholdsetroundl_ctx): Likewise.
24987         (libc_feresetroundl_ctx): Likewise.
24988         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
24989         (libc_feresetround_53bit_ctx): Likewise.
24991 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24993         * locale/iso-639.def: Convert to UTF-8.
24995 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
24997         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
24998         (EXCEPTION_TESTS_double): Likewise.
24999         (EXCEPTION_TESTS_long_double): Likewise.
25000         (EXCEPTION_TESTS): Likewise.
25001         * math/libm-test.inc (test_exceptions): Only test exceptions if
25002         EXCEPTION_TESTS (FLOAT).
25004 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25006         * benchtests/Makefile (string-bench): Add strcpy_chk and
25007         stpcpy_chk.
25008         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25009         * benchtests/bench-stpcpy_chk.c: New file.
25010         * benchtests/bench-strcpy_chk-ifunc.c: New file.
25011         * benchtests/bench-strcpy_chk.c: New file.
25012         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25013         code.
25014         (do_test): Likewise.
25016 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25018         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25019         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25020         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25021         with tabs where appropriate.
25022         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25023         dl-procinfo.h.
25024         [PPC_PLATFORM_PPC440]: Likewise.
25025         [PPC_PLATFORM_PPC464]: Likewise.
25026         [PPC_PLATFORM_PPC476]: Likewise.
25027         (_dl_string_platform): Add support for detecting ppc405, ppc440,
25028         ppc464, and ppc476 platform strings merging from ports/
25029         dl-procinfo.h.
25031 2013-06-11  Andreas Schwab  <schwab@suse.de>
25033         [BZ #14991]
25034         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25035         (from_ucs4_idx): Regenerate.
25036         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25037         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25038         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25039         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25040         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25041         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25042         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25043         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25044         from FROM_LOOP and TO_LOOP specific macros.
25045         (BODY): Handle combining characters.
25046         * iconvdata/BIG5HKSCS.irreversible: Update.
25047         * iconvdata/BIG5HKSCS.precomposed: New file.
25048         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25049         characters.
25050         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25052 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25054         * include/sys/time.h: Fix indentation and add copyright header.
25056         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25057         (do_test): Likewise.
25058         * string/test-memchr.c (do_one_test): Likewise.
25059         (do_test): Likewise.
25060         * string/test-memcmp.c (do_one_test): Likewise.
25061         (do_test): Likewise.
25062         * string/test-memcpy.c (do_one_test): Likewise.
25063         (do_test): Likewise.
25064         * string/test-memmem.c (do_one_test): Likewise.
25065         (do_test): Likewise.
25066         (do_random_tests): Likewise.
25067         * string/test-memmove.c (do_one_test): Likewise.
25068         (do_test): Likewise.
25069         * string/test-memset.c (do_one_test): Likewise.
25070         (do_test): Likewise.
25071         * string/test-rawmemchr.c (do_one_test): Likewise.
25072         (do_test): Likewise.
25073         * string/test-strcasecmp.c (do_one_test): Likewise.
25074         (do_test): Likewise.
25075         * string/test-strcasestr.c (do_one_test): Likewise.
25076         (do_test): Likewise.
25077         * string/test-strcat.c (do_one_test): Likewise.
25078         (do_test): Likewise.
25079         * string/test-strchr.c (do_one_test): Likewise.
25080         (do_test): Likewise.
25081         * string/test-strcmp.c (do_one_test): Likewise.
25082         (do_test): Likewise.
25083         * string/test-strcpy.c (do_one_test): Likewise.
25084         (do_test): Likewise.
25085         * string/test-string.h: Likewise.
25086         (test_init): Likewise.
25087         * string/test-strlen.c (do_one_test): Likewise.
25088         (do_test): Likewise.
25089         * string/test-strncasecmp.c (do_one_test): Likewise.
25090         (do_test): Likewise.
25091         * string/test-strncat.c (do_one_test): Likewise.
25092         (do_test): Likewise.
25093         * string/test-strncmp.c (do_one_test): Likewise.
25094         (do_test_limit): Likewise.
25095         (do_test): Likewise.
25096         * string/test-strncpy.c (do_one_test): Likewise.
25097         (do_test): Likewise.
25098         * string/test-strnlen.c (do_one_test): Likewise.
25099         (do_test): Likewise.
25100         * string/test-strpbrk.c (do_one_test): Likewise.
25101         (do_test): Likewise.
25102         * string/test-strrchr.c (do_one_test): Likewise.
25103         (do_test): Likewise.
25104         * string/test-strspn.c (do_one_test): Likewise.
25105         (do_test): Likewise.
25106         * string/test-strstr.c (do_one_test): Likewise.
25107         (do_test): Likewise.
25109         * benchtests/Makefile (string-bench): Add string benchmarks.
25110         * benchtests/bench-bcopy-ifunc.c: New file.
25111         * benchtests/bench-bcopy.c: New file.
25112         * benchtests/bench-bzero-ifunc.c: New file.
25113         * benchtests/bench-bzero.c: New file.
25114         * benchtests/bench-memccpy-ifunc.c: New file.
25115         * benchtests/bench-memccpy.c: New file.
25116         * benchtests/bench-memchr-ifunc.c: New file.
25117         * benchtests/bench-memchr.c: New file.
25118         * benchtests/bench-memcmp-ifunc.c: New file.
25119         * benchtests/bench-memcmp.c: New file.
25120         * benchtests/bench-memmem-ifunc.c: New file.
25121         * benchtests/bench-memmem.c: New file.
25122         * benchtests/bench-memmove-ifunc.c: New file.
25123         * benchtests/bench-memmove.c: New file.
25124         * benchtests/bench-mempcpy-ifunc.c: New file.
25125         * benchtests/bench-mempcpy.c: New file.
25126         * benchtests/bench-memset-ifunc.c: New file.
25127         * benchtests/bench-memset.c: New file.
25128         * benchtests/bench-rawmemchr-ifunc.c: New file.
25129         * benchtests/bench-rawmemchr.c: New file.
25130         * benchtests/bench-stpcpy-ifunc.c: New file.
25131         * benchtests/bench-stpcpy.c: New file.
25132         * benchtests/bench-stpncpy-ifunc.c: New file.
25133         * benchtests/bench-stpncpy.c: New file.
25134         * benchtests/bench-strcasecmp-ifunc.c: New file.
25135         * benchtests/bench-strcasecmp.c: New file.
25136         * benchtests/bench-strcasestr-ifunc.c: New file.
25137         * benchtests/bench-strcasestr.c: New file.
25138         * benchtests/bench-strcat-ifunc.c: New file.
25139         * benchtests/bench-strcat.c: New file.
25140         * benchtests/bench-strchr-ifunc.c: New file.
25141         * benchtests/bench-strchr.c: New file.
25142         * benchtests/bench-strchrnul-ifunc.c: New file.
25143         * benchtests/bench-strchrnul.c: New file.
25144         * benchtests/bench-strcmp-ifunc.c: New file.
25145         * benchtests/bench-strcmp.c: New file.
25146         * benchtests/bench-strcpy-ifunc.c: New file.
25147         * benchtests/bench-strcpy.c: New file.
25148         * benchtests/bench-strcspn-ifunc.c: New file.
25149         * benchtests/bench-strcspn.c: New file.
25150         * benchtests/bench-strlen-ifunc.c: New file.
25151         * benchtests/bench-strlen.c: New file.
25152         * benchtests/bench-strncasecmp-ifunc.c: New file.
25153         * benchtests/bench-strncasecmp.c: New file.
25154         * benchtests/bench-strncat-ifunc.c: New file.
25155         * benchtests/bench-strncat.c: New file.
25156         * benchtests/bench-strncmp-ifunc.c: New file.
25157         * benchtests/bench-strncmp.c: New file.
25158         * benchtests/bench-strncpy-ifunc.c: New file.
25159         * benchtests/bench-strncpy.c: New file.
25160         * benchtests/bench-strnlen-ifunc.c: New file.
25161         * benchtests/bench-strnlen.c: New file.
25162         * benchtests/bench-strpbrk-ifunc.c: New file.
25163         * benchtests/bench-strpbrk.c: New file.
25164         * benchtests/bench-strrchr-ifunc.c: New file.
25165         * benchtests/bench-strrchr.c: New file.
25166         * benchtests/bench-strspn-ifunc.c: New file.
25167         * benchtests/bench-strspn.c: New file.
25168         * benchtests/bench-strstr-ifunc.c: New file.
25169         * benchtests/bench-strstr.c: New file.
25171         * benchtests/Makefile: Disable parallel execution of targets.
25172         (string-bench): Add memcpy.
25173         (benchset): New variable to store a list of benchmark sets.
25174         (bench-func): Renamed from bench.
25175         (bench-set): New target.
25176         (bench): Depend on bench-func and bench-set.
25177         * benchtests/README: Add section on benchmark sets.
25178         * benchtests/bench-memcpy-ifunc.c: New file.
25179         * benchtests/bench-memcpy.c: New file.
25180         * benchtests/bench-string.h: New file.
25182 2013-06-11  Andreas Schwab  <schwab@suse.de>
25184         [BZ #15577]
25185         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25186         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25187         values in the triple.
25188         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25189         terminator in the group key.
25191 2013-06-11  Andreas Jaeger  <aj@suse.de>
25193         * po/zh_TW.po: Update Chinese (traditional) translation from
25194         translation project.
25196 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25198         * include/time.h (__clock_gettime): Add libc_hidden_proto.
25199         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25200         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
25201         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25202         (clock_getcpuclockid): Likewise.
25203         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25204         Add weak_alias and libc_hidden_def.
25205         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25206         * rt/clock_gettime.c (clock_gettime): Rename to
25207         __clock_gettime.  Add weak_alias and libc_hidden_def.
25208         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25209         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25210         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
25211         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25212         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25213         Likewise.
25214         * rt/clock_settime.c (clock_settime): Rename to
25215         __clock_settime.  Add weak_alias and libc_hidden_def.
25216         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25218 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
25220         * mach/err_boot.sub: Remove trailing whitespace.
25221         * mach/err_ipc.sub: Likewise.
25222         * mach/err_mach.sub: Likewise.
25224         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25225         (ROUNDING_TESTS_double): Likewise.
25226         (ROUNDING_TESTS_long_double): Likewise.
25227         (ROUNDING_TESTS): Likewise.
25228         * math/libm-test.inc: Include <math-tests.h>.
25229         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25230         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25231         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25232         (IF_ROUND_INIT_FE_UPWARD): Likewise.
25234 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25236         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25237         of assigning.
25239 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
25241         * sysdeps/gnu/errlist.awk: Do not generate space at end of
25242         otherwise empty TRANS lines.
25243         * sysdeps/gnu/errlist.c: Regenerated.
25245         * catgets/gencat.c (error_print): Use (void) in function
25246         definition.
25247         * crypt/crypt_util.c (__init_des): Likewise.
25248         * crypt/speeds.c (Stop): Likewise.
25249         (main): Likewise.
25250         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25251         * inet/ruserpass.c (token): Likewise.
25252         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25253         * intl/localealias.c (extend_alias_table): Likewise.
25254         * intl/plural-exp.c (init_germanic_plural): Likewise.
25255         * libio/fcloseall.c (__fcloseall): Likewise.
25256         * libio/genops.c (_IO_flush_all): Likewise.
25257         (_IO_flush_all_linebuffered): Likewise.
25258         (_IO_cleanup): Likewise.
25259         (_IO_iter_begin): Likewise.
25260         (_IO_iter_end): Likewise.
25261         (_IO_list_lock): Likewise.
25262         (_IO_list_unlock): Likewise.
25263         (_IO_list_resetlock): Likewise.
25264         * libio/getchar.c (getchar): Likewise.
25265         * libio/getchar_u.c (getchar_unlocked): Likewise.
25266         * libio/getwchar.c (getwchar): Likewise.
25267         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25268         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25269         * login/getpt.c (__getpt): Likewise.
25270         * login/tst-utmp.c (main): Likewise.
25271         * malloc/hooks.c (__malloc_check_init): Likewise.
25272         * malloc/malloc.c (__malloc_stats): Likewise.
25273         * malloc/mtrace.c (tr_break): Likewise.
25274         (mtrace): Likewise.
25275         (muntrace): Likewise.
25276         * misc/fstab.c (endfsent): Likewise.
25277         * misc/getclktck.c (__getclktck): Likewise.
25278         * misc/getdtsz.c (__getdtablesize): Likewise.
25279         * misc/gethostid.c (gethostid): Likewise.
25280         * misc/getpagesize.c (__getpagesize): Likewise.
25281         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25282         (__get_nprocs): Likewise.
25283         (__get_phys_pages): Likewise.
25284         (__get_avphys_pages): Likewise.
25285         * misc/getttyent.c (getttyent): Likewise.
25286         (setttyent): Likewise.
25287         (endttyent): Likewise.
25288         * misc/getusershell.c (getusershell): Likewise.
25289         (endusershell): Likewise.
25290         (setusershell): Likewise.
25291         (initshells): Likewise.
25292         * misc/hsearch.c (__hdestroy): Likewise.
25293         * misc/sync.c (sync): Likewise.
25294         * misc/syslog.c (closelog_internal): Likewise.
25295         (closelog): Likewise.
25296         * misc/ttyslot.c (ttyslot): Likewise.
25297         * misc/vhangup.c (vhangup): Likewise.
25298         * posix/fork.c (__fork): Likewise.
25299         * posix/getegid.c (__getegid): Likewise.
25300         * posix/geteuid.c (__geteuid): Likewise.
25301         * posix/getgid.c (__getgid): Likewise.
25302         * posix/getpid.c (__getpid): Likewise.
25303         * posix/getppid.c (__getppid): Likewise.
25304         * posix/getuid.c (__getuid): Likewise.
25305         * posix/pause.c (pause): Likewise.
25306         * posix/setpgrp.c (setpgrp): Likewise.
25307         * posix/setsid.c (__setsid): Likewise.
25308         * posix/test-vfork.c (noop): Likewise.
25309         * resolv/gethnamaddr.c (_endhtent): Likewise.
25310         (_gethtent): Likewise.
25311         (ht_endhostent): Likewise.
25312         (gethostent): Likewise.
25313         (dns_service): Likewise.
25314         * stdlib/drand48.c (drand48): Likewise.
25315         * stdlib/lrand48.c (lrand48): Likewise.
25316         * stdlib/mrand48.c (mrand48): Likewise.
25317         * stdlib/rand.c (rand): Likewise.
25318         * stdlib/random.c (__random): Likewise.
25319         * stdlib/setenv.c (clearenv): Likewise.
25320         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25321         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25322         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25323         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25324         (__get_nprocs): Likewise.
25325         (__get_phys_pages): Likewise.
25326         (__get_avphys_pages): Likewise.
25327         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25328         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25329         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25330         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25331         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25332         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25333         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25334         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25335         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25336         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25337         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25338         * sysdeps/mach/hurd/sync.c (sync): Likewise.
25339         * sysdeps/posix/clock.c (clock): Likewise.
25340         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25341         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25342         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25343         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25344         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25345         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25346         (__get_nprocs_conf): Likewise.
25347         (__get_phys_pages): Likewise.
25348         (__get_avphys_pages): Likewise.
25349         * time/clock.c (clock): Likewise.
25350         * time/tzset.c (__tzname_max): Likewise.
25352 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
25354         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25355         (__bswap_32): Do not use "register".
25356         * crypt/crypt.c (_ufc_doit_r): Likewise.
25357         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25358         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25359         * gmon/gmon.c (__monstartup): Likewise.
25360         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25361         * hurd/hurdmalloc.c (more_memory): Likewise.
25362         (malloc): Likewise.
25363         (free): Likewise.
25364         (realloc): Likewise.
25365         (malloc_fork_prepare): Likewise.
25366         (malloc_fork_parent): Likewise.
25367         (malloc_fork_child): Likewise.
25368         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25369         (_svcauth_des): Likewise.
25370         * inet/inet_lnaof.c (inet_lnaof): Likewise.
25371         * inet/inet_net.c (inet_network): Likewise.
25372         * inet/inet_netof.c (inet_netof): Likewise.
25373         * inet/rcmd.c (__validuser2_sa): Likewise.
25374         * io/fts.c (fts_open): Likewise.
25375         (fts_load): Likewise.
25376         (fts_close): Likewise.
25377         (fts_read): Likewise.
25378         (fts_children): Likewise.
25379         (fts_build): Likewise.
25380         (fts_stat): Likewise.
25381         (fts_sort): Likewise.
25382         (fts_alloc): Likewise.
25383         (fts_lfree): Likewise.
25384         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25385         (_IO_file_xsgetn): Likewise.
25386         (_IO_file_xsgetn_mmap): Likewise.
25387         * libio/iofopncook.c (_IO_cookie_read): Likewise.
25388         (_IO_cookie_write): Likewise.
25389         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25390         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25391         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25392         * malloc/obstack.c (_obstack_begin): Likewise.
25393         (_obstack_begin_1): Likewise.
25394         (_obstack_newchunk): Likewise.
25395         (_obstack_allocated_p): Likewise.
25396         (obstack_free): Likewise.
25397         (_obstack_memory_used): Likewise.
25398         * misc/getttyent.c (getttynam): Likewise.
25399         (getttyent): Likewise.
25400         (skip): Likewise.
25401         (value): Likewise.
25402         * misc/getusershell.c (initshells): Likewise.
25403         * misc/syslog.c (__vsyslog_chk): Likewise.
25404         * misc/ttyslot.c (ttyslot): Likewise.
25405         * nis/nis_hash.c (__nis_hash): Likewise.
25406         * posix/fnmatch_loop.c (FCT): Likewise.
25407         * posix/getconf.c (print_all): Likewise.
25408         (main): Likewise.
25409         * posix/getopt.c (exchange): Likewise.
25410         * posix/glob.c (globfree): Likewise.
25411         (prefix_array): Likewise.
25412         (__glob_pattern_type): Likewise.
25413         * resolv/arpa/nameser.h (NS_GET16): Likewise.
25414         (NS_GET32): Likewise.
25415         (NS_PUT16): Likewise.
25416         (NS_PUT32): Likewise.
25417         * resolv/gethnamaddr.c (getanswer): Likewise.
25418         (gethostbyname2): Likewise.
25419         (gethostbyaddr): Likewise.
25420         (_gethtent): Likewise.
25421         (_gethtbyname2): Likewise.
25422         (_gethtbyaddr): Likewise.
25423         * resolv/ns_print.c (dst_s_get_int16): Likewise.
25424         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25425         * resolv/res_init.c (__res_vinit): Likewise.
25426         (net_mask): Likewise.
25427         * resolv/res_mkquery.c (outchar): Likewise.
25428         (PRINT): Likewise.
25429         * stdio-common/printf_fp.c (outchar): Likewise.
25430         (PRINT): Likewise.
25431         * stdio-common/printf_fphex.c (outchar): Likewise.
25432         (PRINT): Likewise.
25433         * stdio-common/printf_size.c (outchar): Likewise.
25434         (PRINT): Likewise.
25435         * stdio-common/test_rdwr.c (main): Likewise.
25436         * stdio-common/tfformat.c (matches): Likewise.
25437         * stdio-common/vfprintf.c (outchar): Likewise.
25438         (printf_unknown): Likewise.
25439         (buffered_vfprintf): Likewise.
25440         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25441         * stdio-common/xbug.c (AppendToBuffer): Likewise.
25442         (ReadFile): Likewise.
25443         * stdlib/qsort.c (SWAP): Likewise.
25444         (_quicksort): Likewise.
25445         * stdlib/setenv.c (__add_to_environ): Likewise.
25446         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25447         * stdlib/strtol_l.c (__strtol_l): Likewise.
25448         * stdlib/tst-strtod.c (main): Likewise.
25449         * stdlib/tst-strtol.c (main): Likewise.
25450         * stdlib/tst-strtoll.c (main): Likewise.
25451         * string/bits/string2.h (__strcmp_cc): Likewise.
25452         (__strcmp_cg): Likewise.
25453         (__strcspn_c1): Likewise.
25454         (__strcspn_c2): Likewise.
25455         (__strcspn_c3): Likewise.
25456         (__strspn_c1): Likewise.
25457         (__strspn_c2): Likewise.
25458         (__strspn_c3): Likewise.
25459         (__strsep_1c): Likewise.
25460         (__strsep_2c): Likewise.
25461         (__strsep_3c): Likewise.
25462         * string/memccpy.c (__memccpy): Likewise.
25463         * string/stpcpy.c (__stpcpy): Likewise.
25464         * string/strcmp.c (strcmp): Likewise.
25465         * string/strrchr.c (strrchr): Likewise.
25466         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25467         Likewise.
25468         * sysdeps/mach/hurd/getcwd.c
25469         (_hurd_canonicalize_directory_name_internal): Likewise.
25470         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25471         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25472         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25473         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25474         Likewise, in both definitions.
25475         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25476         definitions.
25477         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25478         64] (__bswap_64): Likewise.
25479         * time/test_time.c (main): Likewise.
25480         * time/tzfile.c (__tzfile_read): Likewise.
25481         (__tzfile_compute): Likewise.
25482         * time/tzset.c (__tzset_parse_tz): Likewise.
25483         (tzset_internal): Likewise.
25484         (compute_change): Likewise.
25485         * wcsmbs/wcscat.c (__wcscat): Likewise.
25486         * wcsmbs/wcschr.c (wcschr): Likewise.
25487         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25488         * wcsmbs/wcscspn.c (wcscspn): Likewise.
25489         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25490         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25491         * wcsmbs/wcsspn.c (wcsspn): Likewise.
25492         * wcsmbs/wcsstr.c (wcsstr): Likewise.
25493         * wcsmbs/wmemchr.c (wmemchr): Likewise.
25494         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25495         * wcsmbs/wmemset.c (wmemset): Likewise.
25497 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
25499         * scripts/config.guess: Update to version 2013-05-16.
25500         * scripts/config.sub: Update to version 2013-04-24.
25501         * scripts/install-sh: Update to version 2011-11-20.07.
25502         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25503         * scripts/move-if-change: Update to version 2012-01-06 07:23.
25505 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
25507         * debug/fgetws_u_chk.c: Fix leading whitespaces.
25508         * elf/sln.c: Likewise.
25509         * hurd/hurd/ioctl.h: Likewise.
25510         * hurd/hurdmalloc.c: Likewise.
25511         * hurd/xattr.c: Likewise.
25512         * include/shlib-compat.h: Likewise.
25513         * inet/ruserpass.c: Likewise.
25514         * libio/iofgets_u.c: Likewise.
25515         * libio/iofgetws_u.c: Likewise.
25516         * locale/programs/ld-identification.c: Likewise.
25517         * locale/programs/ld-time.c: Likewise.
25518         * mach/msg-destroy.c: Likewise.
25519         * nss/nss_files/files-netgrp.c: Likewise.
25520         * resolv/res_data.c: Likewise.
25521         * soft-fp/op-1.h: Likewise.
25522         * soft-fp/op-2.h: Likewise.
25523         * soft-fp/op-4.h: Likewise.
25524         * soft-fp/op-common.h: Likewise.
25525         * stdio-common/printf_fphex.c: Likewise.
25526         * stdlib/strtod_l.c: Likewise.
25527         * sunrpc/rpc/clnt.h: Likewise.
25528         * sysdeps/generic/framestate.c: Likewise.
25529         * sysdeps/i386/bsd-_setjmp.S: Likewise.
25530         * sysdeps/i386/bsd-setjmp.S: Likewise.
25531         * sysdeps/i386/__longjmp.S: Likewise.
25532         * sysdeps/i386/setjmp.S: Likewise.
25533         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25534         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25535         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25536         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25537         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25538         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25539         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25540         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25541         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25542         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25543         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25544         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25545         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25546         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25547         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25548         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25549         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25550         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25551         * sysdeps/ieee754/support.c: Likewise.
25552         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25553         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25554         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25555         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25556         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25557         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25558         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25559         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25560         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25561         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25562         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25563         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25564         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25565         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25566         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25567         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25568         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25571 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
25573         * posix/transbug.c: Remove executable mode.
25575 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
25577         * crypt/speeds.c: Remove trailing whitespace.
25578         * dlfcn/default.c: Likewise.
25579         * elf/ifuncdep2.c: Likewise.
25580         * elf/ifuncmain1.c: Likewise.
25581         * elf/ifuncmain1vis.c: Likewise.
25582         * elf/testobj.h: Likewise.
25583         * elf/tst-stackguard1.c: Likewise.
25584         * gmon/sys/gmon.h: Likewise.
25585         * hurd/hurdmsg.c: Likewise.
25586         * hurd/new-fd.c: Likewise.
25587         * hurd/ports-get.c: Likewise.
25588         * iconvdata/ibm1008_420.c: Likewise.
25589         * inet/tst-getni1.c: Likewise.
25590         * inet/tst-getni2.c: Likewise.
25591         * libio/ioungetc.c: Likewise.
25592         * libio/wfiledoalloc.c: Likewise.
25593         * manual/libm-err-tab.pl: Likewise.
25594         * math/w_dremf.c: Likewise.
25595         * misc/ftruncate.c: Likewise.
25596         * posix/bug-glob2.c: Likewise.
25597         * posix/tst-pcre.c: Likewise.
25598         * posix/wait4.c: Likewise.
25599         * resolv/README: Likewise.
25600         * resolv/res_debug.h: Likewise.
25601         * resolv/tst-inet_ntop.c: Likewise.
25602         * setjmp/bug269-setjmp.c: Likewise.
25603         * soft-fp/extended.h: Likewise.
25604         * soft-fp/op-1.h: Likewise.
25605         * soft-fp/op-2.h: Likewise.
25606         * soft-fp/op-4.h: Likewise.
25607         * soft-fp/op-8.h: Likewise.
25608         * soft-fp/testit.c: Likewise.
25609         * stdio-common/bug16.c: Likewise.
25610         * stdlib/random.c: Likewise.
25611         * sunrpc/rpcsvc/rquota.x: Likewise.
25612         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25613         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25614         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25615         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25616         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25617         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25618         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25619         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25620         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25621         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25622         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25623         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25624         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25625         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25626         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25627         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25628         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25629         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25630         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25631         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25632         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25633         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25634         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25635         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25636         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25637         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25638         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25639         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25640         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25641         * sysdeps/ieee754/s_lib_version.c: Likewise.
25642         * sysdeps/mach/hurd/check_fds.c: Likewise.
25643         * sysdeps/mach/hurd/getsockname.c: Likewise.
25644         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25645         * sysdeps/mach/hurd/recvfrom.c: Likewise.
25646         * sysdeps/powerpc/bits/link.h: Likewise.
25647         * sysdeps/powerpc/dl-procinfo.c: Likewise.
25648         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25649         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25650         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25651         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25652         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25653         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25654         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25655         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25656         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25657         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25658         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25659         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25660         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25661         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25662         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25663         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25664         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25665         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25666         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25667         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25668         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25669         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25670         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25671         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25672         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25673         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25674         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25675         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25676         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25677         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25678         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25679         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25680         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25681         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25682         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25683         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25684         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25685         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25686         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25687         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25688         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25689         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25690         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25691         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25692         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25693         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25694         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25695         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25696         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25697         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25698         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25699         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25700         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25701         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25702         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25703         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25704         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25705         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25706         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25707         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25708         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25709         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25710         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25711         * sysdeps/powerpc/sysdep.h: Likewise.
25712         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25713         * sysdeps/s390/s390-64/sub_n.S: Likewise.
25714         * sysdeps/sh/dl-trampoline.S: Likewise.
25715         * sysdeps/sh/memset.S: Likewise.
25716         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25717         * sysdeps/sh/strlen.S: Likewise.
25718         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25719         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25720         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25721         * sysdeps/sparc/sparc32/rem.S: Likewise.
25722         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25723         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25724         * sysdeps/sparc/sparc32/strchr.S: Likewise.
25725         * sysdeps/sparc/sparc32/udiv.S: Likewise.
25726         * sysdeps/sparc/sparc32/urem.S: Likewise.
25727         * sysdeps/sparc/sparc64/add_n.S: Likewise.
25728         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25729         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25730         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25731         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
25732         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
25733         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25734         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
25735         * sysdeps/unix/bsd/times.c: Likewise.
25736         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
25737         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
25738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25741         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
25742         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25743         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
25744         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
25745         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
25746         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
25747         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25748         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
25749         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25750         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25751         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25752         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25753         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
25754         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
25755         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
25756         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
25757         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
25758         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25759         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
25760         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
25761         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25762         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
25763         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25764         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
25765         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
25766         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
25767         * sysdeps/x86_64/strcspn.S: Likewise.
25769 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25771         * locale/C-translit.h: Revert #include <stdint.h> because this is a
25772         generated file.  Regenerate properly from gen-translit.pl.
25773         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
25774         locale/C-translit.h.
25776 2013-06-05  Andreas Schwab  <schwab@suse.de>
25778         [BZ #15100]
25779         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
25780         week as 6 instead of -1.
25781         * time/tst-strptime.c (day_tests): Add test case.
25783 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25785         * sysdeps/generic/math_private.h
25786         (libc_feholdexcept_setround_53bit): Replace with
25787         libc_feholdsetround_53bit.
25788         (libc_feupdateenv_53bit): Replace with
25789         libc_feresetround_53bit.
25790         (SET_RESTORE_ROUND_53BIT): Adjust.
25792 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
25794         * string/test-strchrnul.c: Add copyright header.
25796         * posix/tst-getaddrinfo4.c: Increase test timeout.
25798 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
25800         [BZ #15536]
25801         * math/libm-test.inc (MAX_EXP): Remove
25802         (MIN_EXP): Define.
25803         (ulp): Use MIN_EXP - MANT_DIG.
25804         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
25806 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
25808         * po/be.po: Revert last change.
25809         * po/zh_CN.po: Likewise.
25810         * po/header.pot: Likewise.
25812 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
25814         * Makefile ($(common-objpfx)linkobj/libc.so): Define
25815         link-libc-deps to empty as target-specific variable.
25816         * Makerules (link-libc-args): New variable.
25817         (libc-for-link): Likewise.
25818         (link-libc-deps): Likewise.
25819         (lib%.so): Depend on $(link-libc-deps).  Link with
25820         $(link-libc-args).
25821         (build-module): Link with $(link-libc-args).
25822         (build-module-asneeded): Likewise.
25823         (build-module-helper-objlist): Filter out $(link-libc-deps) from
25824         list of objects.
25825         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
25826         target-specific variable.
25827         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
25828         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
25829         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
25830         libc.
25831         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
25832         libc and ld.so.
25833         ($(objpfx)libpcprofile.so): Likewise.
25834         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
25835         libc_nonshared.a.
25836         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
25837         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
25838         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
25839         $(link-libc-deps).
25840         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
25841         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
25842         * login/Makefile ($(objpfx)libutil.so): Likewise.
25843         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
25844         * math/Makefile ($(objpfx)libm.so): Likewise.
25845         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
25846         $(objpfx)libnsl.so): Define libc-for-link as target-specific
25847         variable instead of depending directly on libc.
25848         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
25849         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
25850         $(link-libc-deps).
25851         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
25852         libc.
25853         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
25854         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
25855         ($(objpfx)libanl.so): Likewise.
25856         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
25857         ld.so.
25858         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
25859         $(link-libc-deps).
25860         * sysdeps/i386/fpu/Makefile: Remove file.
25861         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
25862         ($(objpfx)libm.so): Remove dependency on ld.so.
25864 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
25866         [BZ # 15553]
25867         * nis/yp_xdr.c (XDRMAXNAME): Define.
25868         (XDRMAXRECORD): Define.
25869         (xdr_domainname): Use XDRMAXNAME.
25870         (xdr_mapname): Likewise.
25871         (xdr_peername): Likewise.
25872         (xdr_keydat): Use XDRMAXRECORD.
25873         (xdr_valdat): Likewise.
25875 2013-05-30  Jeff Law  <law@redhat.com>
25877         [BZ #14256]
25878         * manual/errno.texi (ESTALE): Update to account for more than
25879         just NFS file systems.
25880         * sysdeps/gnu/errlist.c: Regenerated.
25882 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25884         [BZ #15465]
25885         * elf/Makefile (tests): Add tst-null-argv.
25886         (modules-names):  Add tst-null-argv-lib.
25887         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
25888         (tst-null-argv-ENV): Set environment for tst-null-argv.
25889         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
25890         (RTLD_PROGNAME): New macro.
25891         * elf/tst-null-argv.c: New test case.
25892         * elf/tst-null-argv-lib.c: Library for test case.
25893         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
25894         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
25895         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
25896         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
25897         * elf/dl-init.c (call_init): Likewise.
25898         (_dl_init): Likewise.
25899         * elf/dl-load.c (print_search_path): Likewise.
25900         (_dl_map_object): Likewise.
25901         * elf/dl-lookup.c (do_lookup_x): Likewise.
25902         (add_dependency): Likewise.
25903         (_dl_lookup_symbol_x): Likewise.
25904         (_dl_debug_bindings): Likewise.
25905         * elf/dl-open.c (_dl_show_scope): Likewise.
25906         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25907         * elf/dl-version.c (match_symbol): Likewise.
25908         (_dl_check_map_versions): Likewise.
25909         * elf/rtld.c (dl_main): Likewise.
25910         (print_unresolved): Use RTLD_PROGNAME.
25911         (print_missing_version): Likewise.
25912         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
25913         (elf_machine_rela): Likewise.
25914         * sysdeps/powerpc/powerpc32/dl-machine.c
25915         (__process_machine_rela): Likewise.
25916         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25917         Likewise.
25918         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25919         Likewise.
25920         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25921         Likewise.
25922         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25923         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
25924         Likewise.
25925         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
25926         Likewise.
25927         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25929 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
25931         * po/be.po: Add descriptive title.
25932         * po/zh_CN.po: Likewise.
25933         * po/header.pot: Likewise.
25935 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
25937         * locale/programs/locarchive.c (create_archive): Inlucde fname in
25938         error message.
25939         (enlarge_archive): Likewise.
25941 2013-05-28  Ben North  <ben@redfrontdoor.org>
25943         * manual/arith.texi (frexp): It is the magnitude of the return
25944         value which lies in [0.5, 1), not the return value itself.
25946 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25948         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25950 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
25952         * stdio-common/bug26.c (main): Correct fscanf template.
25954         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
25955         declare _dl_skip_args.
25957         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
25958         Don't declare.
25960         * manual/platform.texi: Add missing @end deftypefun.
25962 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
25964         [BZ #15529]
25965         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
25966         bit of mantissa of 2^16382.
25967         * math/libm-test.inc (hypot_test_data): Add more tests.
25969         * math/libm-test.inc: Add drem and pow10 to list of tested
25970         functions.
25971         (pow10_test): New function.
25972         (drem_test): Likewise.
25973         (drem_test_tonearest): Likewise.
25974         (drem_test_towardzero): Likewise.
25975         (drem_test_downward): Likewise.
25976         (drem_test_upward): Likewise.
25977         (main): Call the new functions.
25979         * math/libm-test.inc (finite_test_data): Remove.
25980         (finite_test): Run tests from isfinite_test_data.
25981         (gamma_test_data): Remove.
25982         (gamma_test): Run tests from lgamma_test_data.
25983         * sysdeps/i386/fpu/libm-test-ulps: Update.
25984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25986 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25988         * manual/platform.texi: Add PowerPC PPR function set documentation.
25989         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
25990         implementation.
25992 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
25994         * math/libm-test.inc (MAX_EXP): Define.
25995         (ULPDIFF): Define.
25996         (ulp): New function.
25997         (check_float_internal): Use ULPDIFF.
25998         (cpow_test): Disable failing test.
25999         (check_ulp): Test ulp() implemetnation.
26000         (main): Call check_ulp before starting tests.
26002 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
26004         * math/gen-libm-test.pl (generate_testfile): Do not handle
26005         START_DATA and END_DATA.
26006         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26007         END_DATA.
26008         (acos_tonearest_test_data): Likewise.
26009         (acos_towardzero_test_data): Likewise.
26010         (acos_downward_test_data): Likewise.
26011         (acos_upward_test_data): Likewise.
26012         (acosh_test_data): Likewise.
26013         (asin_test_data): Likewise.
26014         (asin_tonearest_test_data): Likewise.
26015         (asin_towardzero_test_data): Likewise.
26016         (asin_downward_test_data): Likewise.
26017         (asin_upward_test_data): Likewise.
26018         (asinh_test_data): Likewise.
26019         (atan_test_data): Likewise.
26020         (atanh_test_data): Likewise.
26021         (atan2_test_data): Likewise.
26022         (cabs_test_data): Likewise.
26023         (cacos_test_data): Likewise.
26024         (cacosh_test_data): Likewise.
26025         (carg_test_data): Likewise.
26026         (casin_test_data): Likewise.
26027         (casinh_test_data): Likewise.
26028         (catan_test_data): Likewise.
26029         (catanh_test_data): Likewise.
26030         (cbrt_test_data): Likewise.
26031         (ccos_test_data): Likewise.
26032         (ccosh_test_data): Likewise.
26033         (ceil_test_data): Likewise.
26034         (cexp_test_data): Likewise.
26035         (cimag_test_data): Likewise.
26036         (clog_test_data): Likewise.
26037         (clog10_test_data): Likewise.
26038         (conj_test_data): Likewise.
26039         (copysign_test_data): Likewise.
26040         (cos_test_data): Likewise.
26041         (cos_tonearest_test_data): Likewise.
26042         (cos_towardzero_test_data): Likewise.
26043         (cos_downward_test_data): Likewise.
26044         (cos_upward_test_data): Likewise.
26045         (cosh_test_data): Likewise.
26046         (cosh_tonearest_test_data): Likewise.
26047         (cosh_towardzero_test_data): Likewise.
26048         (cosh_downward_test_data): Likewise.
26049         (cosh_upward_test_data): Likewise.
26050         (cpow_test_data): Likewise.
26051         (cproj_test_data): Likewise.
26052         (creal_test_data): Likewise.
26053         (csin_test_data): Likewise.
26054         (csinh_test_data): Likewise.
26055         (csqrt_test_data): Likewise.
26056         (ctan_test_data): Likewise.
26057         (ctan_tonearest_test_data): Likewise.
26058         (ctan_towardzero_test_data): Likewise.
26059         (ctan_downward_test_data): Likewise.
26060         (ctan_upward_test_data): Likewise.
26061         (ctanh_test_data): Likewise.
26062         (ctanh_tonearest_test_data): Likewise.
26063         (ctanh_towardzero_test_data): Likewise.
26064         (ctanh_downward_test_data): Likewise.
26065         (ctanh_upward_test_data): Likewise.
26066         (erf_test_data): Likewise.
26067         (erfc_test_data): Likewise.
26068         (exp_test_data): Likewise.
26069         (exp_tonearest_test_data): Likewise.
26070         (exp_towardzero_test_data): Likewise.
26071         (exp_downward_test_data): Likewise.
26072         (exp_upward_test_data): Likewise.
26073         (exp10_test_data): Likewise.
26074         (exp2_test_data): Likewise.
26075         (expm1_test_data): Likewise.
26076         (fabs_test_data): Likewise.
26077         (fdim_test_data): Likewise.
26078         (finite_test_data): Likewise.
26079         (floor_test_data): Likewise.
26080         (fma_test_data): Likewise.
26081         (fma_towardzero_test_data): Likewise.
26082         (fma_downward_test_data): Likewise.
26083         (fma_upward_test_data): Likewise.
26084         (fmax_test_data): Likewise.
26085         (fmin_test_data): Likewise.
26086         (fmod_test_data): Likewise.
26087         (fpclassify_test_data): Likewise.
26088         (frexp_test_data): Likewise.
26089         (gamma_test_data): Likewise.
26090         (hypot_test_data): Likewise.
26091         (ilogb_test_data): Likewise.
26092         (isfinite_test_data): Likewise.
26093         (isgreater_test_data): Likewise.
26094         (isgreaterequal_test_data): Likewise.
26095         (isinf_test_data): Likewise.
26096         (isless_test_data): Likewise.
26097         (islessequal_test_data): Likewise.
26098         (islessgreater_test_data): Likewise.
26099         (isnan_test_data): Likewise.
26100         (isnormal_test_data): Likewise.
26101         (issignaling_test_data): Likewise.
26102         (isunordered_test_data): Likewise.
26103         (j0_test_data): Likewise.
26104         (j1_test_data): Likewise.
26105         (jn_test_data): Likewise.
26106         (ldexp_test_data): Likewise.
26107         (lgamma_test_data): Likewise.
26108         (lrint_test_data): Likewise.
26109         (lrint_tonearest_test_data): Likewise.
26110         (lrint_towardzero_test_data): Likewise.
26111         (lrint_downward_test_data): Likewise.
26112         (lrint_upward_test_data): Likewise.
26113         (llrint_test_data): Likewise.
26114         (llrint_tonearest_test_data): Likewise.
26115         (llrint_towardzero_test_data): Likewise.
26116         (llrint_downward_test_data): Likewise.
26117         (llrint_upward_test_data): Likewise.
26118         (log_test_data): Likewise.
26119         (log10_test_data): Likewise.
26120         (log1p_test_data): Likewise.
26121         (log2_test_data): Likewise.
26122         (logb_test_data): Likewise.
26123         (logb_downward_test_data): Likewise.
26124         (lround_test_data): Likewise.
26125         (llround_test_data): Likewise.
26126         (modf_test_data): Likewise.
26127         (nearbyint_test_data): Likewise.
26128         (nextafter_test_data): Likewise.
26129         (nexttoward_test_data): Likewise.
26130         (pow_test_data): Likewise.
26131         (pow_tonearest_test_data): Likewise.
26132         (pow_towardzero_test_data): Likewise.
26133         (pow_downward_test_data): Likewise.
26134         (pow_upward_test_data): Likewise.
26135         (remainder_test_data): Likewise.
26136         (remainder_tonearest_test_data): Likewise.
26137         (remainder_towardzero_test_data): Likewise.
26138         (remainder_downward_test_data): Likewise.
26139         (remainder_upward_test_data): Likewise.
26140         (remquo_test_data): Likewise.
26141         (rint_test_data): Likewise.
26142         (rint_tonearest_test_data): Likewise.
26143         (rint_towardzero_test_data): Likewise.
26144         (rint_downward_test_data): Likewise.
26145         (rint_upward_test_data): Likewise.
26146         (round_test_data): Likewise.
26147         (scalb_test_data): Likewise.
26148         (scalbn_test_data): Likewise.
26149         (scalbln_test_data): Likewise.
26150         (signbit_test_data): Likewise.
26151         (sin_test_data): Likewise.
26152         (sin_tonearest_test_data): Likewise.
26153         (sin_towardzero_test_data): Likewise.
26154         (sin_downward_test_data): Likewise.
26155         (sin_upward_test_data): Likewise.
26156         (sincos_test_data): Likewise.
26157         (sinh_test_data): Likewise.
26158         (sinh_tonearest_test_data): Likewise.
26159         (sinh_towardzero_test_data): Likewise.
26160         (sinh_downward_test_data): Likewise.
26161         (sinh_upward_test_data): Likewise.
26162         (sqrt_test_data): Likewise.
26163         (tan_test_data): Likewise.
26164         (tan_tonearest_test_data): Likewise.
26165         (tan_towardzero_test_data): Likewise.
26166         (tan_downward_test_data): Likewise.
26167         (tan_upward_test_data): Likewise.
26168         (tanh_test_data): Likewise.
26169         (tgamma_test_data): Likewise.
26170         (trunc_test_data): Likewise.
26171         (y0_test_data): Likewise.
26172         (y1_test_data): Likewise.
26173         (yn_test_data): Likewise.
26174         (significand_test_data): Likewise.
26176         * math/gen-libm-test.pl (@functions): Remove variable.
26177         (generate_testfile): Don't handle START and END lines.
26178         * math/libm-test.inc (START): New macro.
26179         (END): Likewise.
26180         (END_COMPLEX): Likewise.
26181         (acos_test): Use END macro without arguments.
26182         (acos_test_tonearest): Likewise.
26183         (acos_test_towardzero): Likewise.
26184         (acos_test_downward): Likewise.
26185         (acos_test_upward): Likewise.
26186         (acosh_test): Likewise.
26187         (asin_test): Likewise.
26188         (asin_test_tonearest): Likewise.
26189         (asin_test_towardzero): Likewise.
26190         (asin_test_downward): Likewise.
26191         (asin_test_upward): Likewise.
26192         (asinh_test): Likewise.
26193         (atan_test): Likewise.
26194         (atanh_test): Likewise.
26195         (atan2_test): Likewise.
26196         (cabs_test): Likewise.
26197         (cacos_test): Use END_COMPLEX macro without arguments.
26198         (cacosh_test): Likewise.
26199         (carg_test): Use END macro without arguments.
26200         (casin_test): Use END_COMPLEX macro without arguments.
26201         (casinh_test): Likewise.
26202         (catan_test): Likewise.
26203         (catanh_test): Likewise.
26204         (cbrt_test): Use END macro without arguments.
26205         (ccos_test): Use END_COMPLEX macro without arguments.
26206         (ccosh_test): Likewise.
26207         (ceil_test): Use END macro without arguments.
26208         (cexp_test): Use END_COMPLEX macro without arguments.
26209         (cimag_test): Use END macro without arguments.
26210         (clog_test): Use END_COMPLEX macro without arguments.
26211         (clog10_test): Likewise.
26212         (conj_test): Likewise.
26213         (copysign_test): Use END macro without arguments.
26214         (cos_test): Likewise.
26215         (cos_test_tonearest): Likewise.
26216         (cos_test_towardzero): Likewise.
26217         (cos_test_downward): Likewise.
26218         (cos_test_upward): Likewise.
26219         (cosh_test): Likewise.
26220         (cosh_test_tonearest): Likewise.
26221         (cosh_test_towardzero): Likewise.
26222         (cosh_test_downward): Likewise.
26223         (cosh_test_upward): Likewise.
26224         (cpow_test): Use END_COMPLEX macro without arguments.
26225         (cproj_test): Likewise.
26226         (creal_test): Use END macro without arguments.
26227         (csin_test): Use END_COMPLEX macro without arguments.
26228         (csinh_test): Likewise.
26229         (csqrt_test): Likewise.
26230         (ctan_test): Likewise.
26231         (ctan_test_tonearest): Likewise.
26232         (ctan_test_towardzero): Likewise.
26233         (ctan_test_downward): Likewise.
26234         (ctan_test_upward): Likewise.
26235         (ctanh_test): Likewise.
26236         (ctanh_test_tonearest): Likewise.
26237         (ctanh_test_towardzero): Likewise.
26238         (ctanh_test_downward): Likewise.
26239         (ctanh_test_upward): Likewise.
26240         (erf_test): Use END macro without arguments.
26241         (erfc_test): Likewise.
26242         (exp_test): Likewise.
26243         (exp_test_tonearest): Likewise.
26244         (exp_test_towardzero): Likewise.
26245         (exp_test_downward): Likewise.
26246         (exp_test_upward): Likewise.
26247         (exp10_test): Likewise.
26248         (exp2_test): Likewise.
26249         (expm1_test): Likewise.
26250         (fabs_test): Likewise.
26251         (fdim_test): Likewise.
26252         (finite_test): Likewise.
26253         (floor_test): Likewise.
26254         (fma_test): Likewise.
26255         (fma_test_towardzero): Likewise.
26256         (fma_test_downward): Likewise.
26257         (fma_test_upward): Likewise.
26258         (fmax_test): Likewise.
26259         (fmin_test): Likewise.
26260         (fmod_test): Likewise.
26261         (fpclassify_test): Likewise.
26262         (frexp_test): Likewise.
26263         (gamma_test): Likewise.
26264         (hypot_test): Likewise.
26265         (ilogb_test): Likewise.
26266         (isfinite_test): Likewise.
26267         (isgreater_test): Likewise.
26268         (isgreaterequal_test): Likewise.
26269         (isinf_test): Likewise.
26270         (isless_test): Likewise.
26271         (islessequal_test): Likewise.
26272         (islessgreater_test): Likewise.
26273         (isnan_test): Likewise.
26274         (isnormal_test): Likewise.
26275         (issignaling_test): Likewise.
26276         (isunordered_test): Likewise.
26277         (j0_test): Likewise.
26278         (j1_test): Likewise.
26279         (jn_test): Likewise.
26280         (ldexp_test): Likewise.
26281         (lgamma_test): Likewise.
26282         (lrint_test): Likewise.
26283         (lrint_test_tonearest): Likewise.
26284         (lrint_test_towardzero): Likewise.
26285         (lrint_test_downward): Likewise.
26286         (lrint_test_upward): Likewise.
26287         (llrint_test): Likewise.
26288         (llrint_test_tonearest): Likewise.
26289         (llrint_test_towardzero): Likewise.
26290         (llrint_test_downward): Likewise.
26291         (llrint_test_upward): Likewise.
26292         (log_test): Likewise.
26293         (log10_test): Likewise.
26294         (log1p_test): Likewise.
26295         (log2_test): Likewise.
26296         (logb_test): Likewise.
26297         (logb_test_downward): Likewise.
26298         (lround_test): Likewise.
26299         (llround_test): Likewise.
26300         (modf_test): Likewise.
26301         (nearbyint_test): Likewise.
26302         (nextafter_test): Likewise.
26303         (nexttoward_test): Likewise.
26304         (pow_test): Likewise.
26305         (pow_test_tonearest): Likewise.
26306         (pow_test_towardzero): Likewise.
26307         (pow_test_downward): Likewise.
26308         (pow_test_upward): Likewise.
26309         (remainder_test): Likewise.
26310         (remainder_test_tonearest): Likewise.
26311         (remainder_test_towardzero): Likewise.
26312         (remainder_test_downward): Likewise.
26313         (remainder_test_upward): Likewise.
26314         (remquo_test): Likewise.
26315         (rint_test): Likewise.
26316         (rint_test_tonearest): Likewise.
26317         (rint_test_towardzero): Likewise.
26318         (rint_test_downward): Likewise.
26319         (rint_test_upward): Likewise.
26320         (round_test): Likewise.
26321         (scalb_test): Likewise.
26322         (scalbn_test): Likewise.
26323         (scalbln_test): Likewise.
26324         (signbit_test): Likewise.
26325         (sin_test): Likewise.
26326         (sin_test_tonearest): Likewise.
26327         (sin_test_towardzero): Likewise.
26328         (sin_test_downward): Likewise.
26329         (sin_test_upward): Likewise.
26330         (sincos_test): Likewise.
26331         (sinh_test): Likewise.
26332         (sinh_test_tonearest): Likewise.
26333         (sinh_test_towardzero): Likewise.
26334         (sinh_test_downward): Likewise.
26335         (sinh_test_upward): Likewise.
26336         (sqrt_test): Likewise.
26337         (tan_test): Likewise.
26338         (tan_test_tonearest): Likewise.
26339         (tan_test_towardzero): Likewise.
26340         (tan_test_downward): Likewise.
26341         (tan_test_upward): Likewise.
26342         (tanh_test): Likewise.
26343         (tgamma_test): Likewise.
26344         (trunc_test): Likewise.
26345         (y0_test): Likewise.
26346         (y1_test): Likewise.
26347         (yn_test): Likewise.
26348         (significand_test): Likewise.
26350 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
26352         [BZ #15381]
26353         * libio/genops.c (_IO_no_init): Initialize wide struct info.
26355 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
26357         [BZ #14894]
26358         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26359         __ppc_mdoio and __ppc_mdoom.
26360         * manual/platform.texi: Document new functions __ppc_yield,
26361         __ppc_mdoio and __ppc_mdoom.
26363 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
26365         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26366         (main): Mention "tls" pseudo-hwcap is legacy.
26367         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26369 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
26371         * math/gen-libm-test.pl (parse_args): Output only string of
26372         arguments as text for test name, not full call or descriptions of
26373         tests for extra outputs.
26374         (generate_testfile): Do not pass function name to parse_args.
26375         Generate this_func variable from START.
26376         * math/libm-test.inc (struct test_f_f_data): Rename test_name
26377         field to arg_str.
26378         (struct test_ff_f_data): Likewise.
26379         (test_ff_f_data_nexttoward): Likewise.
26380         (struct test_fi_f_data): Likewise.
26381         (struct test_fl_f_data): Likewise.
26382         (struct test_if_f_data): Likewise.
26383         (struct test_fff_f_data): Likewise.
26384         (struct test_c_f_data): Likewise.
26385         (struct test_f_f1_data): Likewise.  Remove field extra_name.
26386         (struct test_fF_f1_data): Likewise.
26387         (struct test_ffI_f1_data): Likewise.
26388         (struct test_c_c_data): Rename test_name field to arg_str.
26389         (struct test_cc_c_data): Likewise.
26390         (struct test_f_i_data): Likewise.
26391         (struct test_ff_i_data): Likewise.
26392         (struct test_f_l_data): Likewise.
26393         (struct test_f_L_data): Likewise.
26394         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
26395         and extra2_name.
26396         (COMMON_TEST_SETUP): New macro.
26397         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26398         (COMMON_TEST_CLEANUP): Likewise.
26399         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26400         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
26401         macros.
26402         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26403         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
26404         macros.
26405         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26406         (RUN_TEST_fff_f): Take argument string.  Call new setup and
26407         cleanup macros.
26408         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26409         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
26410         macros.
26411         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26412         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
26413         macros.
26414         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26415         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
26416         cleanup macros.
26417         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26418         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
26419         cleanup macros.
26420         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26421         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
26422         cleanup macros.
26423         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26424         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
26425         macros.
26426         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26427         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
26428         macros.
26429         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26430         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
26431         macros.
26432         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26433         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
26434         cleanup macros.
26435         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26436         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
26437         cleanup macros.
26438         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26439         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
26440         macros.
26441         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26442         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
26443         cleanup macros.
26444         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26445         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
26446         macros.
26447         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26448         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
26449         macros.
26450         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26451         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
26452         cleanup macros.
26453         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26455 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
26457         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26458         to _sifields.sigfault.
26459         (si_addr_lsb): Define new macro.
26460         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26461         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26462         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26464 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
26466         [BZ #15441]
26467         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26468         returns -1.
26469         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26470         null return -1.
26471         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26472         loading the domain.
26474 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
26476         * math/gen-libm-test.pl (parse_args): Do not include expected
26477         result in test name.
26478         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26479         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26480         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26481         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26482         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26483         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26485 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26487         * benchtests/Makefile: Sort function entries.
26489         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26490         tanh, asinh, acosh, atanh.
26491         * benchtests/acos-inputs: New file.
26492         * benchtests/acosh-inputs: New file.
26493         * benchtests/asin-inputs: New file.
26494         * benchtests/asinh-inputs: New file.
26495         * benchtests/atanh-inputs: New file.
26496         * benchtests/cosh-inputs: New file.
26497         * benchtests/log-inputs: New file.
26498         * benchtests/sinh-inputs: New file.
26499         * benchtests/tanh-inputs: New file.
26501 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
26503         [BZ #15339]
26504         * posix/tst-getaddrinfo4.c: New test.
26505         * posix/Makefile (tests): Add it.
26507 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26509         [BZ #15339]
26510         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26511         when no services were used.
26512         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26513         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26515 2013-05-21  Andreas Schwab  <schwab@suse.de>
26517         [BZ #15014]
26518         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26519         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26520         successful.
26521         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26522         redundant variable declarations and reallocation of buffer when
26523         parsing as IPv6 address.  Always set NSS status when called from
26524         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
26525         buffer too small.  Correct computation of needed size.
26526         * nss/Makefile (tests): Add test-digits-dots.
26527         * nss/test-digits-dots.c: New test.
26529 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26531         * benchtests/Makefile: Remove instructions for adding
26532         benchmark tests.
26533         * benchtests/README: New file to explain how to execute and
26534         enhance the benchmark tests.
26536 2013-05-21  Andreas Schwab  <schwab@suse.de>
26538         [BZ #15493]
26539         * setjmp/Makefile (tests): Add tst-sigsetjmp.
26540         * setjmp/tst-sigsetjmp.c: New test.
26542 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
26544         * sysdeps/x86_64/memset.S (memset): New implementation.
26545         (__bzero): Likewise.
26546         (__memset_tail): New function.
26548 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
26550         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26551         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26552         __memcpy_sse2_unaligned ifunc selection.
26553         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26554         Add memcpy-sse2-unaligned.S.
26555         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26556         Add: __memcpy_sse2_unaligned.
26558 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
26560         [BZ #15490]
26561         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26562         math_force_eval before restoring floating-point envrionment.
26563         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26564         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26565         Likewise.
26566         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26567         <math_private.h>.
26568         (__nearbyintl): Use math_force_eval before restoring
26569         floating-point environment.
26570         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26572         * math/gen-libm-test.pl (special_functions): Remove.
26573         (parse_args): Don't handle TEST_extra.  Handle functions with no
26574         return value.
26575         * math/libm-test.inc (struct test_sincos_data): Replace with
26576         struct test_fFF_11_data.
26577         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26578         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26579         (sincos_test_data): Change element type to struct
26580         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
26581         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26582         RUN_TEST_LOOP_sincos.
26583         * math/README.libm-test: Don't mention special handling of
26584         individual functions.
26585         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26586         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26587         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26588         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26589         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26592         * math/gen-libm-test.pl (get_variable): Remove function.
26593         (parse_args): Don't show pointer parameters to call in test
26594         names.  Use "extra output N" in test names for extra outputs
26595         rather than naming variables.
26597 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
26599         [BZ #15488]
26600         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26601         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26602         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26603         double tests.
26604         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26605         disable.
26606         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26607         check_long_double.
26609         * math/gen-libm-test.pl (@tests): Remove variable.
26610         ($count): Likewise.
26611         (new_test): Remove function.
26612         (show_exceptions): New function.
26613         (special_functions): Use show_exceptions instead of new_test.
26614         (parse_args): Likewise.
26615         (generate_testfile): Pass only function name in generated call to
26616         print_max_error or print_complex_max_error.
26617         (get_ulps): Do not handle complex tests specially.
26618         (output_test): Rename to ...
26619         (get_all_ulps_for_test): ... this.  Return a string rather than
26620         printing to a file.  Require ulps to be present.
26621         (output_ulps): Generate arrays rather than #defines.
26622         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26623         (struct ulp_data): New type.
26624         (BUILD_COMPLEX_ULP): Remove macro.
26625         (compare_ulp_data): New function.
26626         (find_ulps): Likewise.
26627         (find_test_ulps): Likewise.
26628         (find_function_ulps): Likewise.
26629         (find_complex_function_ulps): Likewise.
26630         (print_max_error): Determine allowed ulps using
26631         find_function_ulps.
26632         (print_complex_max_error): Determine allowed ulps using
26633         find_complex_function_ulps.
26634         (check_float_internal): Determine max ulps using find_test_ulps.
26635         (check_float): Do not take max_ulp parameter.  Update call to
26636         check_float_internal.
26637         (check_complex): Likewise.
26638         (check_int): Do not take max_ulp parameter.
26639         (check_long): Likewise.
26640         (check_bool): Likewise.
26641         (check_longlong): Likewise.
26642         (struct test_f_f_data): Remove max_ulp field.
26643         (struct test_ff_f_data): Likewise.
26644         (struct test_ff_f_data_nexttoward): Likewise.
26645         (struct test_fi_f_data): Likewise.
26646         (struct test_fl_f_data): Likewise.
26647         (struct test_if_f_data): Likewise.
26648         (struct test_fff_f_data): Likewise.
26649         (struct test_c_f_data): Likewise.
26650         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26651         (struct test_fF_f1_data): Likewise.
26652         (struct test_ffI_f1_data): Likewise.
26653         (struct test_c_c_data): Remove max_ulp field.
26654         (struct test_cc_c_data): Likewise.
26655         (struct test_f_i_data): Likewise.
26656         (struct test_ff_i_data): Likewise.
26657         (struct test_f_l_data): Likewise.
26658         (struct test_f_L_data): Likewise.
26659         (struct test_sincos_data): Likewise.
26660         (RUN_TEST_f_f): Do not handle ulps.
26661         (RUN_TEST_LOOP_f_f): Likewise.
26662         (RUN_TEST_2_f): Likewise.
26663         (RUN_TEST_LOOP_2_f): Likewise.
26664         (RUN_TEST_fff_f): Likewise.
26665         (RUN_TEST_LOOP_fff_f): Likewise.
26666         (RUN_TEST_c_f): Likewise.
26667         (RUN_TEST_LOOP_c_f): Likewise.
26668         (RUN_TEST_f_f1): Likewise.
26669         (RUN_TEST_LOOP_f_f1): Likewise.
26670         (RUN_TEST_fF_f1): Likewise.
26671         (RUN_TEST_LOOP_fF_f1): Likewise.
26672         (RUN_TEST_fI_f1): Likewise.
26673         (RUN_TEST_LOOP_fI_f1): Likewise.
26674         (RUN_TEST_ffI_f1): Likewise.
26675         (RUN_TEST_LOOP_ffI_f1): Likewise.
26676         (RUN_TEST_c_c): Likewise.
26677         (RUN_TEST_LOOP_c_c): Likewise.
26678         (RUN_TEST_cc_c): Likewise.
26679         (RUN_TEST_LOOP_cc_c): Likewise.
26680         (RUN_TEST_f_i): Likewise.
26681         (RUN_TEST_LOOP_f_i): Likewise.
26682         (RUN_TEST_f_i_tg): Likewise.
26683         (RUN_TEST_LOOP_f_i_tg): Likewise.
26684         (RUN_TEST_ff_i_tg): Likewise.
26685         (RUN_TEST_LOOP_ff_i_tg): Likewise.
26686         (RUN_TEST_f_b): Likewise.
26687         (RUN_TEST_LOOP_f_b): Likewise.
26688         (RUN_TEST_f_b_tg): Likewise.
26689         (RUN_TEST_LOOP_f_b_tg): Likewise.
26690         (RUN_TEST_f_l): Likewise.
26691         (RUN_TEST_LOOP_f_l): Likewise.
26692         (RUN_TEST_f_L): Likewise.
26693         (RUN_TEST_LOOP_f_L): Likewise.
26694         (RUN_TEST_sincos): Likewise.
26695         (RUN_TEST_LOOP_sincos): Likewise.
26697 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
26699         [BZ #15480]
26700         [BZ #15485]
26701         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26702         main case of finite arguments, set rounding mode to FE_TONEAREST
26703         and discard exceptions.
26704         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26705         exceptions.
26706         (remainder_tonearest_test_data): New variable.
26707         (remainder_test_tonearest): New function.
26708         (remainder_towardzero_test_data): New variable.
26709         (remainder_test_towardzero): New function.
26710         (remainder_downward_test_data): New variable.
26711         (remainder_test_downward): New function.
26712         (remainder_upward_test_data): New variable.
26713         (remainder_test_upward): New function.
26714         (main): Call the new test functions.
26716         * math/libm-test.inc (struct test_f_f1_data): Remove field
26717         extra_init.
26718         (struct test_fF_f1_data): Likewise.
26719         (struct test_ffI_f1_data): Likewise.
26720         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
26721         based on value of EXTRA_EXPECTED.
26722         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26723         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
26724         EXTRA_VAR based on value of EXTRA_EXPECTED.
26725         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26726         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
26727         EXTRA_VAR based on value of EXTRA_EXPECTED.
26728         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26729         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
26730         EXTRA_VAR based on value of EXTRA_EXPECTED.
26731         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26732         * math/gen-libm-test.pl (parse_args): Don't output initializers
26733         for extra output values.
26735         * math/libm-test.inc (check_int): Expect result to be exactly
26736         equal to expected value and do not handle ulps.
26737         (check_long): Likewise.
26738         (check_longlong): Likewise.
26740         * math/libm-test.inc (ceil_test_data): Test for "inexact"
26741         exceptions.
26742         (cimag_test_data): Likewise.
26743         (conj_test_data): Likewise.
26744         (copysign_test_data): Likewise.
26745         (cproj_test_data): Likewise.
26746         (creal_test_data): Likewise.
26747         (fabs_test_data): Likewise.
26748         (fdim_test_data): Likewise.
26749         (finite_test_data): Likewise.
26750         (floor_test_data): Likewise.
26751         (fmax_test_data): Likewise.
26752         (fmin_test_data): Likewise.
26753         (fmod_test_data): Likewise.
26754         (fpclassify_test_data): Likewise.
26755         (frexp_test_data): Likewise.
26756         (ilogb_test_data): Likewise.
26757         (isfinite_test_data): Likewise.
26758         (isgreater_test_data): Likewise.
26759         (isgreaterequal_test_data): Likewise.
26760         (isinf_test_data): Likewise.
26761         (isless_test_data): Likewise.
26762         (islessequal_test_data): Likewise.
26763         (islessgreater_test_data): Likewise.
26764         (isnan_test_data): Likewise.
26765         (isnormal_test_data): Likewise.
26766         (issignaling_test_data): Likewise.
26767         (isunordered_test_data): Likewise.
26768         (ldexp_test_data): Likewise.
26769         (lrint_test_data): Likewise.
26770         (lrint_test_data) [TEST_FLOAT]: Disable one test.
26771         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
26772         (lrint_tonearest_test_data): Test for "inexact" exceptions.
26773         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26774         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
26775         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26776         test input.
26777         (lrint_towardzero_test_data): Test for "inexact" exceptions.
26778         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26779         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
26780         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
26781         that test input.
26782         (lrint_downward_test_data): Test for "inexact" exceptions.
26783         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26784         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
26785         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26786         test input.
26787         (lrint_upward_test_data): Test for "inexact" exceptions.
26788         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
26789         test input.
26790         (llrint_test_data): Test for "inexact" exceptions.
26791         (llrint_test_data) [TEST_FLOAT]: Disable one test.
26792         (llrint_tonearest_test_data): Test for "inexact" exceptions.
26793         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26794         (llrint_towardzero_test_data): Test for "inexact" exceptions.
26795         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26796         (llrint_downward_test_data): Test for "inexact" exceptions.
26797         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26798         (llrint_upward_test_data): Test for "inexact" exceptions.
26799         (logb_test_data): Likewise.
26800         (logb_downward_test_data): Likewise.
26801         (nextafter_test_data): Likewise.
26802         (nexttoward_test_data): Likewise.
26803         (remainder_test_data): Likewise.
26804         (remquo_test_data): Likewise.
26805         (scalbn_test_data): Likewise.
26806         (scalbln_test_data): Likewise.
26807         (signbit_test_data): Likewise.
26808         (sqrt_test_data): Likewise.
26809         (significand_test_data): Likewise.
26811 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26813         [BZ #15424]
26814         * benchtests/bench-modf.c (struct args): Mark arg0 as
26815         volatile.
26816         * scripts/bench.pl: Mark members of struct args as volatile.
26818 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26820         [BZ # 15497]
26821         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
26822         negative infinity on POWER6 or lower.
26823         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
26825 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
26827         [BZ #15442]
26828         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
26829         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
26830         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
26831         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
26832         (_FP_SETQNAN): New macro.
26833         (_FP_SETQNAN_SEMIRAW): Likewise.
26834         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
26835         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
26836         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
26837         (FP_EXTEND): Use _FP_FRAC_SNANP.
26838         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
26839         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
26840         into account.
26841         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26842         New macro.
26843         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26844         Likewise.
26846 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
26848         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
26849         with DIVIDE_BY_ZERO_EXCEPTION.
26850         (gamma_test_data): Likewise.
26851         (lgamma_test_data): Likewise.
26852         (log_test_data): Likewise.
26853         (log10_test_data): Likewise.
26854         (log2_test_data): Likewise.
26855         (tgamma_test_data): Likewise.
26857         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
26858         (acos_test_tonearest): Likewise.
26859         (acos_test_towardzero): Likewise.
26860         (acos_test_downward): Likewise.
26861         (acos_test_upward): Likewise.
26862         (acosh_test): Likewise.
26863         (asin_test): Likewise.
26864         (asin_test_tonearest): Likewise.
26865         (asin_test_towardzero): Likewise.
26866         (asin_test_downward): Likewise.
26867         (asin_test_upward): Likewise.
26868         (asinh_test): Likewise.
26869         (atan_test): Likewise.
26870         (atanh_test): Likewise.
26871         (atan2_test): Likewise.
26872         (cabs_test): Likewise.
26873         (cacos_test): Likewise.
26874         (cacosh_test): Likewise.
26875         (casin_test): Likewise.
26876         (casinh_test): Likewise.
26877         (catan_test): Likewise.
26878         (catanh_test): Likewise.
26879         (cbrt_test): Likewise.
26880         (ccos_test): Likewise.
26881         (ccosh_test): Likewise.
26882         (cexp_test): Likewise.
26883         (clog_test): Likewise.
26884         (clog10_test): Likewise.
26885         (cos_test): Likewise.
26886         (cos_test_tonearest): Likewise.
26887         (cos_test_towardzero): Likewise.
26888         (cos_test_downward): Likewise.
26889         (cos_test_upward): Likewise.
26890         (cosh_test): Likewise.
26891         (cosh_test_tonearest): Likewise.
26892         (cosh_test_towardzero): Likewise.
26893         (cosh_test_downward): Likewise.
26894         (cosh_test_upward): Likewise.
26895         (cpow_test): Likewise.
26896         (csin_test): Likewise.
26897         (csinh_test): Likewise.
26898         (csqrt_test): Likewise.
26899         (ctan_test): Likewise.
26900         (ctan_test_tonearest): Likewise.
26901         (ctan_test_towardzero): Likewise.
26902         (ctan_test_downward): Likewise.
26903         (ctan_test_upward): Likewise.
26904         (ctanh_test): Likewise.
26905         (ctanh_test_tonearest): Likewise.
26906         (ctanh_test_towardzero): Likewise.
26907         (ctanh_test_downward): Likewise.
26908         (ctanh_test_upward): Likewise.
26909         (erf_test): Likewise.
26910         (erfc_test): Likewise.
26911         (exp_test): Likewise.
26912         (exp_test_tonearest): Likewise.
26913         (exp_test_towardzero): Likewise.
26914         (exp_test_downward): Likewise.
26915         (exp_test_upward): Likewise.
26916         (exp10_test): Likewise.
26917         (exp2_test): Likewise.
26918         (expm1_test): Likewise.
26919         (fmod_test): Likewise.
26920         (gamma_test): Likewise.
26921         (hypot_test): Likewise.
26922         (j0_test): Likewise.
26923         (j1_test): Likewise.
26924         (jn_test): Likewise.
26925         (lgamma_test): Likewise.
26926         (log_test): Likewise.
26927         (log10_test): Likewise.
26928         (log1p_test): Likewise.
26929         (log2_test): Likewise.
26930         (logb_test_downward): Likewise.
26931         (pow_test): Likewise.
26932         (pow_test_tonearest): Likewise.
26933         (pow_test_towardzero): Likewise.
26934         (pow_test_downward): Likewise.
26935         (pow_test_upward): Likewise.
26936         (remainder_test): Likewise.
26937         (remquo_test): Likewise.
26938         (sin_test): Likewise.
26939         (sin_test_tonearest): Likewise.
26940         (sin_test_towardzero): Likewise.
26941         (sin_test_downward): Likewise.
26942         (sin_test_upward): Likewise.
26943         (sincos_test): Likewise.
26944         (sinh_test): Likewise.
26945         (sinh_test_tonearest): Likewise.
26946         (sinh_test_towardzero): Likewise.
26947         (sinh_test_downward): Likewise.
26948         (sinh_test_upward): Likewise.
26949         (sqrt_test): Likewise.
26950         (tan_test): Likewise.
26951         (tan_test_tonearest): Likewise.
26952         (tan_test_towardzero): Likewise.
26953         (tan_test_downward): Likewise.
26954         (tan_test_upward): Likewise.
26955         (tanh_test): Likewise.
26956         (tgamma_test): Likewise.
26957         (y0_test): Likewise.
26958         (y1_test): Likewise.
26959         (yn_test): Likewise.
26961         * math/gen-libm-test.pl (adjust_arg): Remove function.
26962         (special_function): Remove argument $in_func.  Only handle
26963         generating output for tables of tests, not inside functions.
26964         (parse_args): Likewise.
26965         (generate_testfile): Remove variable $in_func.  Update call to
26966         parse_args.
26967         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
26968         (MINUS_ZERO_INIT): Rename macro to minus_zero.
26969         (PLUS_INFTY_INIT): Rename macro to plus_infty.
26970         (MINUS_INFTY_INIT): Rename macro to minus_infty.
26971         (QNAN_VALUE_INIT): Rename macro to qnan_value.
26972         (MAX_VALUE_INIT): Rename macro to max_value.
26973         (MIN_VALUE_INIT): Rename macro to min_value.
26974         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
26975         (plus_zero): Remove variable.
26976         (minus_zero): Likewise.
26977         (plus_infty): Likewise.
26978         (minus_infty): Likewise.
26979         (qnan_value): Likewise.
26980         (max_value): Likewise.
26981         (min_value): Likewise.
26982         (min_subnorm_value): Likewise.
26984 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26986         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
26987         uint64_t or uint32_t usage.
26988         * crypt/sha256-block.c: Likewise.
26989         * crypt/sha256-crypt.c: Likewise.
26990         * crypt/sha256.c: Likewise.
26991         * crypt/sha512-block.c: Likewise.
26992         * crypt/sha512-crypt.c: Likewise.
26993         * crypt/sha512.c: Likewise.
26994         * debug/backtrace-tst.c: Likewise.
26995         * debug/pcprofiledump.c: Likewise.
26996         * elf/cache.c: Likewise.
26997         * elf/dl-cache.c: Likewise.
26998         * elf/dl-misc.c: Likewise.
26999         * elf/dl-profile.c: Likewise.
27000         * elf/dl-support.c: Likewise.
27001         * elf/ldconfig.c: Likewise.
27002         * elf/sprof.c: Likewise.
27003         * iconv/dummy-repertoire.c: Likewise.
27004         * iconv/iconv_charmap.c: Likewise.
27005         * iconv/skeleton.c: Likewise.
27006         * iconvdata/8bit-generic.c: Likewise.
27007         * iconvdata/cp737.h: Likewise.
27008         * iconvdata/cp775.h: Likewise.
27009         * iconvdata/ibm1008.h: Likewise.
27010         * iconvdata/ibm1025.h: Likewise.
27011         * iconvdata/ibm1046.h: Likewise.
27012         * iconvdata/ibm1097.h: Likewise.
27013         * iconvdata/ibm1112.h: Likewise.
27014         * iconvdata/ibm1122.h: Likewise.
27015         * iconvdata/ibm1123.h: Likewise.
27016         * iconvdata/ibm1124.h: Likewise.
27017         * iconvdata/ibm1129.h: Likewise.
27018         * iconvdata/ibm1130.h: Likewise.
27019         * iconvdata/ibm1132.h: Likewise.
27020         * iconvdata/ibm1133.h: Likewise.
27021         * iconvdata/ibm1137.h: Likewise.
27022         * iconvdata/ibm1140.h: Likewise.
27023         * iconvdata/ibm1141.h: Likewise.
27024         * iconvdata/ibm1142.h: Likewise.
27025         * iconvdata/ibm1143.h: Likewise.
27026         * iconvdata/ibm1144.h: Likewise.
27027         * iconvdata/ibm1145.h: Likewise.
27028         * iconvdata/ibm1146.h: Likewise.
27029         * iconvdata/ibm1147.h: Likewise.
27030         * iconvdata/ibm1148.h: Likewise.
27031         * iconvdata/ibm1149.h: Likewise.
27032         * iconvdata/ibm1153.h: Likewise.
27033         * iconvdata/ibm1154.h: Likewise.
27034         * iconvdata/ibm1155.h: Likewise.
27035         * iconvdata/ibm1156.h: Likewise.
27036         * iconvdata/ibm1157.h: Likewise.
27037         * iconvdata/ibm1158.h: Likewise.
27038         * iconvdata/ibm1160.h: Likewise.
27039         * iconvdata/ibm1161.h: Likewise.
27040         * iconvdata/ibm1162.h: Likewise.
27041         * iconvdata/ibm1163.h: Likewise.
27042         * iconvdata/ibm1164.h: Likewise.
27043         * iconvdata/ibm1166.h: Likewise.
27044         * iconvdata/ibm1167.h: Likewise.
27045         * iconvdata/ibm12712.h: Likewise.
27046         * iconvdata/ibm1390.h: Likewise.
27047         * iconvdata/ibm1399.h: Likewise.
27048         * iconvdata/ibm16804.h: Likewise.
27049         * iconvdata/ibm4517.h: Likewise.
27050         * iconvdata/ibm4899.h: Likewise.
27051         * iconvdata/ibm4909.h: Likewise.
27052         * iconvdata/ibm4971.h: Likewise.
27053         * iconvdata/ibm5347.h: Likewise.
27054         * iconvdata/ibm803.h: Likewise.
27055         * iconvdata/ibm856.h: Likewise.
27056         * iconvdata/ibm901.h: Likewise.
27057         * iconvdata/ibm902.h: Likewise.
27058         * iconvdata/ibm9030.h: Likewise.
27059         * iconvdata/ibm9066.h: Likewise.
27060         * iconvdata/ibm921.h: Likewise.
27061         * iconvdata/ibm922.h: Likewise.
27062         * iconvdata/ibm9448.h: Likewise.
27063         * iconvdata/isiri-3342.h: Likewise.
27064         * iconvdata/jis0201.h: Likewise.
27065         * include/link.h: Likewise.
27066         * include/netdb.h: Likewise.
27067         * inet/check_native.c: Likewise.
27068         * inet/check_pf.c: Likewise.
27069         * inet/getipv4sourcefilter.c: Likewise.
27070         * inet/getnameinfo.c: Likewise.
27071         * inet/getsourcefilter.c: Likewise.
27072         * inet/htonl.c: Likewise.
27073         * inet/setipv4sourcefilter.c: Likewise.
27074         * inet/setsourcefilter.c: Likewise.
27075         * inet/test-inet6_opt.c: Likewise.
27076         * inet/tst-network.c: Likewise.
27077         * locale/C-collate.c: Likewise.
27078         * locale/C-ctype.c: Likewise.
27079         * locale/C-time.c: Likewise.
27080         * locale/C-translit.h: Likewise.
27081         * locale/loadarchive.c: Likewise.
27082         * locale/programs/3level.h: Likewise.
27083         * locale/programs/charmap.c: Likewise.
27084         * locale/programs/charmap.h: Likewise.
27085         * locale/programs/ld-address.c: Likewise.
27086         * locale/programs/ld-collate.c: Likewise.
27087         * locale/programs/ld-ctype.c: Likewise.
27088         * locale/programs/ld-identification.c: Likewise.
27089         * locale/programs/ld-measurement.c: Likewise.
27090         * locale/programs/ld-messages.c: Likewise.
27091         * locale/programs/ld-monetary.c: Likewise.
27092         * locale/programs/ld-name.c: Likewise.
27093         * locale/programs/ld-numeric.c: Likewise.
27094         * locale/programs/ld-paper.c: Likewise.
27095         * locale/programs/ld-telephone.c: Likewise.
27096         * locale/programs/ld-time.c: Likewise.
27097         * locale/programs/linereader.c: Likewise.
27098         * locale/programs/locale.c: Likewise.
27099         * locale/programs/locarchive.c: Likewise.
27100         * locale/programs/locfile.h: Likewise.
27101         * locale/programs/repertoire.c: Likewise.
27102         * locale/programs/simple-hash.c: Likewise.
27103         * locale/programs/simple-hash.h: Likewise.
27104         * malloc/memusage.c: Likewise.
27105         * malloc/memusagestat.c: Likewise.
27106         * nis/nis_defaults.c: Likewise.
27107         * nis/nis_hash.c: Likewise.
27108         * nis/nis_print.c: Likewise.
27109         * nis/nis_xdr.c: Likewise.
27110         * nscd/connections.c: Likewise.
27111         * nscd/hstcache.c: Likewise.
27112         * nscd/nscd_gethst_r.c: Likewise.
27113         * nscd/nscd_getserv_r.c: Likewise.
27114         * nscd/nscd_helper.c: Likewise.
27115         * nscd/servicescache.c: Likewise.
27116         * nss/makedb.c: Likewise.
27117         * nss/nss_db/db-XXX.c: Likewise.
27118         * nss/nss_db/db-initgroups.c: Likewise.
27119         * nss/nss_db/db-netgrp.c: Likewise.
27120         * nss/nss_files/files-network.c: Likewise.
27121         * nss/nss_files/files-parse.c: Likewise.
27122         * posix/bug-regex5.c: Likewise.
27123         * posix/fnmatch_loop.c: Likewise.
27124         * posix/regcomp.c: Likewise.
27125         * posix/regexec.c: Likewise.
27126         * posix/tst-rfc3484-2.c: Likewise.
27127         * posix/tst-rfc3484-3.c: Likewise.
27128         * posix/tst-rfc3484.c: Likewise.
27129         * resolv/nss_dns/dns-canon.c: Likewise.
27130         * resolv/nss_dns/dns-network.c: Likewise.
27131         * resolv/res_init.c: Likewise.
27132         * resolv/res_mkquery.c: Likewise.
27133         * resolv/tst-aton.c: Likewise.
27134         * stdlib/cxa_atexit.c: Likewise.
27135         * stdlib/cxa_finalize.c: Likewise.
27136         * stdlib/gen-fpioconst.c: Likewise.
27137         * stdlib/strtol_l.c: Likewise.
27138         * string/tst-endian.c: Likewise.
27139         * sunrpc/auth_des.c: Likewise.
27140         * sunrpc/clnt_udp.c: Likewise.
27141         * sunrpc/rtime.c: Likewise.
27142         * sunrpc/svcauth_des.c: Likewise.
27143         * sunrpc/xdr.c: Likewise.
27144         * sunrpc/xdr_intXX_t.c: Likewise.
27145         * sunrpc/xdr_rec.c: Likewise.
27146         * sysdeps/generic/ldconfig.h: Likewise.
27147         * sysdeps/generic/ldsodefs.h: Likewise.
27148         * sysdeps/generic/memusage.h: Likewise.
27149         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27150         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27151         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27152         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27153         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27154         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27155         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27156         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27157         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27158         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27159         * sysdeps/posix/getaddrinfo.c: Likewise.
27160         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27161         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27162         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27163         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27164         * sysdeps/powerpc/test-gettimebase.c: Likewise.
27165         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27166         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27167         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27168         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27169         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27170         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27171         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27172         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27173         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27174         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27175         * sysdeps/x86_64/dl-tls.h: Likewise.
27176         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27177         * time/alt_digit.c: Likewise.
27178         * time/era.c: Likewise.
27179         * wcsmbs/tst-c16c32-1.c: Likewise.
27181 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
27183         * math/libm-test.inc (struct test_sincos_data): New type.
27184         (RUN_TEST_LOOP_sincos): New macro.
27185         (sincos_test_data): New variable.
27186         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27188 2013-05-16  Richard Henderson  <rth@redhat.com>
27190         * math/atest-exp2.c (LIMB64): New macro.
27191         (CONSTSZ): New macro.
27192         (mp_exp1, mp_exp_m1, mp_log2): New variables.
27193         (hexdig): Move ...
27194         (print_mpn_fp): ... to function scope.
27195         (read_mpn_hex): Remove.
27196         (get_log2): Remove.
27197         (exp2_mpn): Use mp_log2.
27198         (main): Use mp_exp1.
27200 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
27202         * math/libm-test.inc: Remove comment about not testing "inexact"
27203         exceptions.
27204         (INEXACT_EXCEPTION): New macro.
27205         (NO_INEXACT_EXCEPTION): Likewise.
27206         (INVALID_EXCEPTION_OK): Update value.
27207         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27208         (OVERFLOW_EXCEPTION_OK): Likewise.
27209         (UNDERFLOW_EXCEPTION_OK): Likewise.
27210         (IGNORE_ZERO_INF_SIGN): Likewise.
27211         (ERRNO_UNCHANGED): Likewise.
27212         (ERRNO_EDOM): Likewise.
27213         (ERRNO_ERANGE): Likewise.
27214         (test_exceptions): Handle testing "inexact" exceptions.
27215         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27216         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27217         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27218         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27219         INEXACT_EXCEPTION.
27220         (rint_towardzero_test_data): Likewise.
27221         (rint_downward_test_data): Likewise.
27222         (rint_upward_test_data): Likewise.
27224         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27225         with OVERFLOW_EXCEPTION.
27226         (exp10_test_data): Likewise.
27227         (exp2_test_data): Likewise.
27228         (expm1_test_data): Likewise.
27229         (lgamma_test_data): Likewise.
27230         (pow_test_data): Likewise.
27231         (tgamma_test_data): Likewise.
27232         (yn_test_data): Remove duplicate test of overflow.
27234         * math/libm-test.inc (struct test_cc_c_data): New type.
27235         (RUN_TEST_LOOP_cc_c): New macro.
27236         (cpow_test_data): New variable.
27237         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27239         * math/libm-test.inc (struct test_f_L_data): New type.
27240         (RUN_TEST_LOOP_f_L): New macro.
27241         (llrint_test_data): New variable.
27242         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27243         (llrint_tonearest_test_data): New variable.
27244         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27245         (llrint_towardzero_test_data): New variable.
27246         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27247         (llrint_downward_test_data): New variable.
27248         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27249         (llrint_upward_test_data): New variable.
27250         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27251         (llround_test_data): New variable.
27252         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27254 2013-05-13  Peter Collingbourne  <pcc@google.com>
27256         * math/atest-exp2.c (get_log2): Remove const attribute.
27258 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
27260         * math/libm-test.inc (struct test_f_l_data): New type.
27261         (RUN_TEST_LOOP_f_l): New macro.
27262         (lrint_test_data): New variable.
27263         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27264         (lrint_tonearest_test_data): New variable.
27265         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27266         (lrint_towardzero_test_data): New variable.
27267         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27268         (lrint_downward_test_data): New variable.
27269         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27270         (lrint_upward_test_data): New variable.
27271         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27272         (lround_test_data): New variable.
27273         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27275 2013-05-15  Peter Collingbourne  <pcc@google.com>
27277         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27278         (EXTRACT_WORDS64) Use where appropriate.
27279         (INSERT_WORDS64) Likewise.
27281         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27282         constraints with x constraints.
27283         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27285         * malloc/obstack.c (_obstack_compat): Add initializer.
27287 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
27289         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27290         si_trapno and add si_addr_lsb to _sifields.sigfault.
27291         (si_trapno): Remove macro.
27292         (si_addr_lsb): Define new macro.
27293         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27295 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
27297         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27298         instead of TEST_f_l.
27299         (llrint_test_tonearest): Likewise.
27300         (llrint_test_towardzero): Likewise.
27301         (llrint_test_downward): Likewise.
27302         (llrint_test_upward): Likewise.
27303         (llround_test): Likewise.
27305         * math/libm-test.inc (struct test_f_i_data): Add comment.
27306         (RUN_TEST_LOOP_f_b): New macro.
27307         (RUN_TEST_LOOP_f_b_tg): Likewise.
27308         (finite_test_data): New variable.
27309         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27310         (isfinite_test_data): New variable.
27311         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27312         (isinf_test_data): New variable.
27313         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27314         (isnan_test_data): New variable.
27315         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27316         (isnormal_test_data): New variable.
27317         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27318         (issignaling_test_data): New variable.
27319         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27320         (signbit_test_data): New variable.
27321         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27323         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27324         with INVALID_EXCEPTION.
27325         (acosh_test_data): Likewise.
27326         (asin_test_data): Likewise.
27327         (atanh_test_data): Likewise.
27328         (fmod_test_data): Likewise.
27329         (log_test_data): Likewise.
27330         (log10_test_data): Likewise.
27331         (log2_test_data): Likewise.
27332         (pow_test_data): Likewise.
27333         (sqrt_test_data): Likewise.
27334         (y0_test_data): Likewise.
27335         (y1_test_data): Likewise.
27336         (yn_test_data): Likewise.
27338         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27339         function contents.
27341         * math/libm-test.inc (struct test_ff_i_data): New type.
27342         (RUN_TEST_LOOP_ff_i_tg): New macro.
27343         (isgreater_test_data): New variable.
27344         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27345         (isgreaterequal_test_data): New variable.
27346         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27347         (isless_test_data): New variable.
27348         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27349         (islessequal_test_data): New variable.
27350         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27351         (islessgreater_test_data): New variable.
27352         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27353         (isunordered_test_data): New variable.
27354         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27356 2013-05-14  David S. Miller  <davem@davemloft.net>
27358         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27360 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
27362         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27364         * math/libm-test.inc (struct test_fF_f1_data): Change type of
27365         extra_test to int.
27366         (struct test_f_i_data): Change type of max_ulp to int.
27368         * math/libm-test.inc (test_ffI_f1_data): New type.
27369         (RUN_TEST_LOOP_ffI_f1): New macro.
27370         (remquo_test_data): New variable.
27371         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27373         * setjmp/tst-setjmp-fp.c: New file.
27374         * setjmp/Makefile (tests): Add tst-setjmp-fp.
27375         (link-libm): New variable.
27376         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27378         * math/libm-test.inc (struct test_f_i_data): New type.
27379         (RUN_TEST_LOOP_f_i): New macro.
27380         (RUN_TEST_LOOP_f_i_tg): Likewise.
27381         (fpclassify_test_data): New variable.
27382         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27383         (ilogb_test_data): New variable.
27384         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27386         * math/libm-test.inc (scalbln_test): Correct function name in END
27387         call.
27389         * math/libm-test.inc (struct test_f_f1_data): Add comment.
27390         (RUN_TEST_LOOP_fI_f1): New macro.
27391         (frexp_test_data): New variable.
27392         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27394         * math/libm-test.inc (struct test_fF_f1_data): New type.
27395         (RUN_TEST_LOOP_fF_f1): New macro.
27396         (modf_test_data): New variable.
27397         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27399         * math/libm-test.inc (struct test_f_f1_data): New type.
27400         (RUN_TEST_LOOP_f_f1): New macro.
27401         (gamma_test_data): New variable.
27402         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27403         (lgamma_test_data): New variable.
27404         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27406 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
27408         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27409         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27410         (main): Comment "tls" pseudo-hwcap.
27412 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
27414         * math/libm-test.inc (struct test_fl_f_data): New type.
27415         (RUN_TEST_LOOP_fl_f): New variable.
27416         (scalbln_test_data): New variable.
27417         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27419         * math/libm-test.inc (struct test_fi_f_data): New type.
27420         (RUN_TEST_LOOP_fi_f): New macro.
27421         (ldexp_test_data): New variable.
27422         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27423         (scalbn_test_data): New variable.
27424         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27426         * math/libm-test.inc (struct test_c_f_data): New type.
27427         (RUN_TEST_LOOP_c_f): New macro.
27428         (cabs_test_data): New variable.
27429         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27430         (carg_test_data): New variable.
27431         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27432         (cimag_test_data): New variable.
27433         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27434         (creal_test_data): New variable.
27435         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27437         * math/libm-test.inc (struct test_if_f_data): New type.
27438         (RUN_TEST_LOOP_if_f): New macro.
27439         (jn_test_data): New variable.
27440         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27441         (yn_test_data): New variable.
27442         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27444         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27446 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27448         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27449         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27451 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27453         * benchtests/Makefile (CPPFLAGS-nonlib): Add
27454         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27455         (bench-deps): Add bench-timing.h.
27456         * benchtests-bench-skeleton.c: Include bench-timing.h.
27457         (main): Use TIMING_* macros instead of clock_gettime.
27458         * benchtests/bench-timing.h: New file.
27460         [BZ #14582]
27461         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27462         Renamed from _LIB_VERSION.
27463         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27465 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
27467         * math/libm-test.inc (struct test_fff_f_data): New type.
27468         (RUN_TEST_LOOP_fff_f): New macro.
27469         (fma_test_data): New variable.
27470         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27471         (fma_towardzero_test_data): New variable.
27472         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27473         (fma_downward_test_data): New variable.
27474         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27475         (fma_upward_test_data): New variable.
27476         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27478         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27479         (struct test_c_c_data): New type.
27480         (RUN_TEST_LOOP_c_c): New macro.
27481         (cacos_test_data): New variable.
27482         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27483         (cacosh_test_data): New variable.
27484         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27485         (casin_test_data): New variable.
27486         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27487         (casinh_test_data): New variable.
27488         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27489         (catan_test_data): New variable.
27490         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27491         (catanh_test_data): New variable.
27492         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27493         (ccos_test_data): New variable.
27494         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27495         (ccosh_test_data): New variable.
27496         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27497         (cexp_test_data): New variable.
27498         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27499         (clog_test_data): New variable.
27500         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27501         (clog10_test_data): New variable.
27502         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27503         (conj_test_data): New variable.
27504         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27505         (cproj_test_data): New variable.
27506         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27507         (csin_test_data): New variable.
27508         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27509         (csinh_test_data): New variable.
27510         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27511         (csqrt_test_data): New variable.
27512         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27513         (ctan_test_data): New variable.
27514         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27515         (ctan_tonearest_test_data): New variable.
27516         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27517         (ctan_towardzero_test_data): New variable.
27518         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27519         (ctan_downward_test_data): New variable.
27520         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27521         (ctan_upward_test_data): New variable.
27522         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27523         (ctanh_test_data): New variable.
27524         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27525         (ctanh_tonearest_test_data): New variable.
27526         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27527         (ctanh_towardzero_test_data): New variable.
27528         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27529         (ctanh_downward_test_data): New variable.
27530         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27531         (ctanh_upward_test_data): New variable.
27532         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27533         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27534         of BUILD_COMPLEX.
27536         * math/libm-test.inc (struct test_ff_f_data): New type.
27537         (struct test_ff_f_data_nexttoward): Likewise.
27538         (RUN_TEST_LOOP_2_f): New macro.
27539         (RUN_TEST_LOOP_ff_f): Likewise.
27540         (atan2_test_data): New variable.
27541         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27542         (copysign_test_data): New variable.
27543         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27544         (fdim_test_data): New variable.
27545         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27546         (fmax_test_data): New variable.
27547         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27548         (fmin_test_data): New variable.
27549         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27550         (fmod_test_data): New variable.
27551         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27552         (hypot_test_data): New variable.
27553         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27554         (nextafter_test_data): New variable.
27555         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27556         (nexttoward_test_data): New variable.
27557         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27558         (pow_test_data): New variable.
27559         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27560         (pow_tonearest_test_data): New variable.
27561         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27562         (pow_towardzero_test_data): New variable.
27563         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27564         (pow_downward_test_data): New variable.
27565         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27566         (pow_upward_test_data): New variable.
27567         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27568         (remainder_test_data): New variable.
27569         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27570         (scalb_test_data): New variable.
27571         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27572         * sysdeps/i386/fpu/libm-test-ulps: Update.
27574 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
27576         * math/libm-test.inc (fma_test): Use max_value instead of local
27577         variable fltmax.
27578         (nextafter_test): Likewise.
27580         * math/libm-test.inc (acos_towardzero_test_data): New variable.
27581         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27582         (acos_downward_test_data): New variable.
27583         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27584         (acos_upward_test_data): New variable.
27585         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27586         (acosh_test_data): New variable.
27587         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27588         (asin_test_data): New variable.
27589         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27590         (asin_tonearest_test_data): New variable.
27591         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27592         (asin_towardzero_test_data): New variable.
27593         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27594         (asin_downward_test_data): New variable.
27595         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27596         (asin_upward_test_data): New variable.
27597         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27598         (asinh_test_data): New variable.
27599         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27600         (atan_test_data): New variable.
27601         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27602         (atanh_test_data): New variable.
27603         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27604         (cbrt_test_data): New variable.
27605         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27606         (ceil_test_data): New variable.
27607         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27608         (cos_test_data): New variable.
27609         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27610         (cos_tonearest_test_data): New variable.
27611         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27612         (cos_towardzero_test_data): New variable.
27613         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27614         (cos_downward_test_data): New variable.
27615         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27616         (cos_upward_test_data): New variable.
27617         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27618         (cosh_test_data): New variable.
27619         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27620         (cosh_tonearest_test_data): New variable.
27621         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27622         (cosh_towardzero_test_data): New variable.
27623         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27624         (cosh_downward_test_data): New variable.
27625         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27626         (cosh_upward_test_data): New variable.
27627         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27628         (erf_test_data): New variable.
27629         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27630         (erfc_test_data): New variable.
27631         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27632         (exp_test_data): New variable.
27633         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27634         (exp_tonearest_test_data): New variable.
27635         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27636         (exp_towardzero_test_data): New variable.
27637         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27638         (exp_downward_test_data): New variable.
27639         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27640         (exp_upward_test_data): New variable.
27641         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27642         (exp10_test_data): New variable.
27643         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27644         (exp2_test_data): New variable.
27645         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27646         (expm1_test_data): New variable.
27647         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27648         (fabs_test_data): New variable.
27649         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27650         (floor_test_data): New variable.
27651         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27652         (j0_test_data): New variable.
27653         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27654         (j1_test_data): New variable.
27655         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27656         (log_test_data): New variable.
27657         (log_test): Run tests with RUN_TEST_LOOP_f_f.
27658         (log10_test_data): New variable.
27659         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27660         (log1p_test_data): New variable.
27661         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27662         (log2_test_data): New variable.
27663         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27664         (logb_test_data): New variable.
27665         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27666         (logb_downward_test_data): New variable.
27667         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27668         (nearbyint_test_data): New variable.
27669         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27670         (rint_test_data): New variable.
27671         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27672         (rint_tonearest_test_data): New variable.
27673         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27674         (rint_towardzero_test_data): New variable.
27675         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27676         (rint_downward_test_data): New variable.
27677         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27678         (rint_upward_test_data): New variable.
27679         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27680         (round_test_data): New variable.
27681         (round_test): Run tests with RUN_TEST_LOOP_f_f.
27682         (sin_test_data): New variable.
27683         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27684         (sin_tonearest_test_data): New variable.
27685         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27686         (sin_towardzero_test_data): New variable.
27687         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27688         (sin_downward_test_data): New variable.
27689         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27690         (sin_upward_test_data): New variable.
27691         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27692         (sinh_test_data): New variable.
27693         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27694         (sinh_tonearest_test_data): New variable.
27695         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27696         (sinh_towardzero_test_data): New variable.
27697         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27698         (sinh_downward_test_data): New variable.
27699         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27700         (sinh_upward_test_data): New variable.
27701         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27702         (sqrt_test_data): New variable.
27703         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27704         (tan_test_data): New variable.
27705         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27706         (tan_tonearest_test_data): New variable.
27707         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27708         (tan_towardzero_test_data): New variable.
27709         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27710         (tan_downward_test_data): New variable.
27711         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27712         (tan_upward_test_data): New variable.
27713         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27714         (tanh_test_data): New variable.
27715         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27716         (tgamma_test_data): New variable.
27717         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27718         (trunc_test_data): New variable.
27719         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27720         (y0_test_data): New variable.
27721         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27722         (y1_test_data): New variable.
27723         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27724         (significand_test_data): New variable.
27725         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27727 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
27729         [BZ #12387]
27730         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27732 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
27734         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
27736 2013-05-10  Andreas Jaeger  <aj@suse.de>
27738         [BZ #15448]
27739         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
27740         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
27742 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
27744         * math/gen-libm-test.pl (adjust_arg): New function.
27745         (special_functions): Handle generating output in both functions
27746         and arrays.
27747         (parse_args): Likewise.
27748         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
27749         $in_func argument to parse_args.
27750         * math/libm-test.inc (struct test_f_f_data): New type.
27751         (IF_ROUND_INIT_): New macro.
27752         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
27753         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27754         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27755         (IF_ROUND_INIT_FE_UPWARD): Likewise.
27756         (ROUND_RESTORE_): Likewise.
27757         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
27758         (ROUND_RESTORE_FE_TONEAREST): Likewise.
27759         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
27760         (ROUND_RESTORE_FE_UPWARD): Likewise.
27761         (RUN_TEST_LOOP_f_f): New macro.
27762         (acos_test_data): New variable.
27763         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
27764         (acos_tonearest_test_data): New variable.
27765         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27767 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27769         * benchtests/bench-skeleton.c (startup): Fix coding style.
27771 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
27773         [BZ #6809]
27774         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
27775         negative infinity argument.
27776         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
27777         negative infinity argument.
27778         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
27779         negative infinity argument.
27780         * math/libm-test.inc (tgamma_test): Expect errno to be set for
27781         domain errors.
27783 2013-05-10  Florian Weimer  <fweimer@redhat.com>
27785         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
27786         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
27787         * iconv/iconv_prog.c (main): Likewise.
27788         * locale/programs/charmap-dir.c (charmap_readdir)
27789         (fopen_uncompressed): Likewise.
27790         * locale/programs/locfile.c (siblings_uncached)
27791         (write_locale_data): Use lstat64 instead of lstat.
27792         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
27793         stat.
27795 2013-05-10  Andreas Jaeger  <aj@suse.de>
27797         [BZ #15395]
27798         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
27799         localization.
27800         Include <locale.h>.
27802 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
27804         * elf/dl-close.c (_dl_close_worker): Add comments.
27806 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
27808         [BZ #15359]
27809         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
27810         high part of pi/2.
27811         (__ieee754_rem_pio2l): Update comments.
27813         [BZ #15429]
27814         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
27815         high part of pi/2.
27816         (__ieee754_rem_pio2l): Update comments.
27818         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
27819         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
27821         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
27822         M_PI_4l.
27824         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
27825         (M_PI_34_LOG10El): Likewise.
27826         (M_PI2_LOG10El): Likewise.
27827         (M_PI4_LOG10El): Likewise.
27828         (M_PI_LOG10El): Likewise.
27830 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27832         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27834 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
27836         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
27837         (MINUS_ZERO_INIT): Likewise.
27838         (PLUS_INFTY_INIT): Likewise.
27839         (MINUS_INFTY_INIT): Likewise.
27840         (QNAN_VALUE_INIT): Likewise.
27841         (MAX_VALUE_INIT): Likewise.
27842         (MIN_VALUE_INIT): Likewise.
27843         (MIN_SUBNORM_VALUE_INIT): Likewise.
27844         (plus_zero): Initialize with PLUS_ZERO_INIT.
27845         (minus_zero): Initialize with MINUS_ZERO_INIT.
27846         (plus_infty): Initialize with PLUS_INFTY_INIT.
27847         (minus_infty): Initialize with MINUS_INFTY_INIT.
27848         (qnan_value): Initialize with QNAN_VALUE_INIT.
27849         (max_value): Initialize with MAX_VALUE_INIT.
27850         (min_value): Initialize with MIN_VALUE_INIT.
27851         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
27853         * math/libm-test.inc (RUN_TEST_if_f): New macro.
27854         (jn_test): Use TEST_if_f instead of TEST_ff_f.
27855         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
27856         (yn_test): Use TEST_if_f instead of TEST_ff_f.
27858         * math/libm-test.inc (RUN_TEST_f_f): New macro.
27859         (RUN_TEST_2_f): Likewise.
27860         (RUN_TEST_ff_f): Likewise.
27861         (RUN_TEST_fi_f): Likewise.
27862         (RUN_TEST_fl_f): Likewise.
27863         (RUN_TEST_fff_f): Likewise.
27864         (RUN_TEST_c_f): Likewise.
27865         (RUN_TEST_f_f1): Likewise.
27866         (RUN_TEST_fF_f1): Likewise.
27867         (RUN_TEST_fI_f1): Likewise.
27868         (RUN_TEST_ffI_f1): Likewise.
27869         (RUN_TEST_c_c): Likewise.
27870         (RUN_TEST_cc_c): Likewise.
27871         (RUN_TEST_f_i): Likewise.
27872         (RUN_TEST_f_i_tg): Likewise.
27873         (RUN_TEST_ff_i_tg): Likewise.
27874         (RUN_TEST_f_b): Likewise.
27875         (RUN_TEST_f_b_tg): Likewise.
27876         (RUN_TEST_f_l): Likewise.
27877         (RUN_TEST_f_L): Likewise.
27878         (RUN_TEST_sincos): Likewise.
27879         * math/gen-libm-test.pl (new_test): Take new argument to indicate
27880         whether to show exceptions.  Do not include ");\n" in return
27881         value.
27882         (special_functions): Output call to RUN_TEST_sincos instead of
27883         check_float calls.  Update calls to new_test.
27884         (parse_args): Output call to single RUN_TEST_* macro instead of
27885         check_* calls and other assignments.  Update calls to new_test.
27887         [BZ #2546]
27888         [BZ #2560]
27889         [BZ #5159]
27890         [BZ #15426]
27891         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
27892         input to result for tgamma overflow.
27893         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
27894         (gamma_coeff): New variable.
27895         (NCOEFF): New macro.
27896         (gamma_positive): New function.
27897         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
27898         underflow here.  Use gamma_positive instead of exp (lgamma) for
27899         other arguments.
27900         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
27901         (gamma_coeff): New variable.
27902         (NCOEFF): New macro.
27903         (gammaf_positive): New function.
27904         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
27905         underflow here.  Use gamma_positive instead of exp (lgamma) for
27906         other arguments.
27907         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
27908         (gamma_coeff): New variable.
27909         (NCOEFF): New macro.
27910         (gammal_positive): New function.
27911         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
27912         underflow here.  Use gamma_positive instead of exp (lgamma) for
27913         other arguments.
27914         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
27915         (gamma_coeff): New variable.
27916         (NCOEFF): New macro.
27917         (gammal_positive): New function.
27918         (__ieee754_gammal_r): Handle positive infinity, overflow and
27919         underflow here.  Handle NaN the same as positive infinity.  Remove
27920         check x < 0xffffffff for negative integers.  Use gamma_positive
27921         instead of exp (lgamma) for other arguments.
27922         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
27923         (gamma_coeff): New variable.
27924         (NCOEFF): New macro.
27925         (gammal_positive): New function.
27926         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
27927         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
27928         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
27929         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
27930         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
27931         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
27932         * sysdeps/generic/math_private.h (__gamma_productf): New
27933         prototype.
27934         (__gamma_product): Likewise.
27935         (__gamma_productl): Likewise.
27936         * math/Makefile (libm-calls): Add gamma_product.
27937         * math/libm-test.inc (tgamma_test): Add more tests.
27938         * sysdeps/i386/fpu/libm-test-ulps: Update.
27939         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27941 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
27943         * benchtests/bench-skeleton.c (main): Preheat CPU.
27945 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
27947         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
27949 2013-05-07  Roland McGrath  <roland@hack.frob.com>
27951         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
27952         and _dl_skip_args_internal.
27954 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
27956         * manual/message.texi (Message Translation): Talk about users.
27957         Message to key mapping impacts design.
27959 2013-05-06  Roland McGrath  <roland@hack.frob.com>
27961         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
27963         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
27965         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
27966         * sysdeps/wordsize-64/glob64.c: ... here.
27968         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
27969         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
27970         New macros.
27972         * debug/getlogin_r_chk.c: Moved to ...
27973         * login/getlogin_r_chk.c: ... here.
27974         * debug/Makefile (routines): Move getlogin_r_chk to ...
27975         * login/Makefile (routines): ... here.
27976         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
27977         * login/Versions (libc: GLIBC_2.4): ... here.
27979         * io/poll.c (__poll): Renamed from poll.
27980         Add libc_hidden_def.
27981         (poll): Define as weak alias.
27983         * debug/ptsname_r_chk.c: Moved to ...
27984         * login/ptsname_r_chk.c: ... here.
27985         * debug/Makefile (routines): Move ptsname_r_chk to ...
27986         * login/Makefile (routines): ... here.
27987         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
27988         * login/Versions (libc: GLIBC_2.4): ... here.
27990         * posix/getlogin.c: Moved to ...
27991         * login/getlogin.c: ... here.
27992         * posix/getlogin_r.c: Moved to ...
27993         * login/getlogin_r.c: ... here.
27994         * posix/getlogin_r.c: Moved to ...
27995         * login/getlogin_r.c: ... here.
27996         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
27997         * login/Makefile (routines): ... here.
27998         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
27999         * login/Versions (libc: GLIBC_2.0): ... here.
28001         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28002         (setrlimit): Define as weak alias.
28004         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28005         Call __ names for open, ftruncate, and close.
28006         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28007         (truncate): Define as weak alias.
28009 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
28011         * math/gen-libm-test.pl (parse_args): Initialize x before each
28012         test of frexp, modf and remquo.
28014         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28015         test signgam value.
28017 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28019         [BZ #15418]
28020         [BZ #15419]
28021         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28022         internal tests.
28023         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28025 2013-05-06  Roland McGrath  <roland@hack.frob.com>
28027         * elf/dl-writev.h: New file.
28028         * elf/dl-misc.c: Include it.
28029         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28030         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28032 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
28034         * math/libm-test.inc (noXFails): Remove variable.
28035         (noXPasses): Likewise.
28036         (BUILD_COMPLEX_INT): Remove macro.
28037         (print_screen): Remove xfail argument.
28038         (print_screen_max_error): Likewise.
28039         (update_stats): Likewise.
28040         (print_max_error): Likewise.  Update calls to other affected
28041         functions.
28042         (print_complex_max_error): Likewise.
28043         (test_single_exception): Update calls to print_screen.
28044         (test_single_errno): Likewise.
28045         (check_float_internal): Remove xfail argument.  Update calls to
28046         other affected functions.
28047         (check_float): Likewise.
28048         (check_complex): Likewise.
28049         (check_int): Likewise.
28050         (check_long): Likewise.
28051         (check_bool): Likewise.
28052         (check_longlong): Likewise.
28053         (main): Don't print noXFails and noXPasses.
28054         * math/gen-libm-test.pl (top level): Don't mention expected
28055         failure handling in comment.
28056         (new_test): Don't handle expected failures.
28057         (parse_args): Don't mention expected failure handling in comment.
28058         (generate_testfile): Don't handle expected failures.
28059         (parse_ulps): Likewise.
28060         (print_ulps_file): Likewise.
28061         (get_failure): Remove function.
28062         (output_test): Don't handle expected failures.
28063         * make/README.libm-test: Don't mention expected failure handling.
28065         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
28066         (minus_zero): Likewise.
28067         (plus_infty): Likewise.
28068         (minus_infty): Likewise.
28069         (qnan_value): Likewise.
28070         (max_value): Likewise.
28071         (min_value): Likewise.
28072         (min_subnorm_value): Likewise.
28073         (initialize): Do not initialize those variables dynamically.
28075 2013-05-03  Roland McGrath  <roland@hack.frob.com>
28077         * io/open.c (__open_2): Moved to ...
28078         * io/open_2.c: ... this new file.
28079         * io/open64.c (__open64_2): Moved to ...
28080         * io/open64_2.c: ... this new file.
28081         * io/openat.c (__openat_2): Moved to ...
28082         * io/openat_2.c: ... this new file.
28083         * io/openat64.c (__openat64_2): Moved to ...
28084         * io/openat64_2.c: ... this new file.
28085         * io/Makefile (routines): Add them.
28086         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28087         * sysdeps/unix/sysv/linux/open_2.c: File removed.
28088         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28089         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28090         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28091         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28092         (__openat64): Add hidden_ver.
28093         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28094         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28096         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28097         Separately conditionalize setting of GLRO(dl_sysinfo) so
28098         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28099         as well, but the actual setting is only under [NEED_DL_SYSINFO].
28101 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28103         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28104         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28105         definition.
28106         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28107         * sysdeps/unix/sysv/linux/powerpc/init-first.c
28108         (_libc_vdso_platform_setup): Add __vdso_time initialization.
28109         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28110         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28112 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
28114         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28115         test signgam value.
28117         * math/libm-test.inc (hypot_test): Do not use
28118         IGNORE_ZERO_INF_SIGN.
28120 2013-05-03  Andreas Jaeger  <aj@suse.de>
28122         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28123         Linux 3.9.
28124         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28125         (PF_MAX): Adjust for VSOCK change.
28127 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28129         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28131 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
28133         [BZ #15264]
28134         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28135         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28136         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28138 2013-05-02  David S. Miller  <davem@davemloft.net>
28140         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28142 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
28144         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28146 2013-05-01  Roland McGrath  <roland@hack.frob.com>
28148         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28150 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
28152         [BZ #14952]
28153         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28154         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28155         Use __attribute__ ((__gnu_inline__)).
28156         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28157         Don't use __attribute__ ((__gnu_inline__)).
28159 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
28161         [BZ #15423]
28162         * math/s_catan.c (__catan): Handle small real or imaginary part of
28163         input specially to avoid spurious underflow.
28164         * math/s_catanf.c (__catanf): Likewise.
28165         * math/s_catanh.c (__catanh): Likewise.
28166         * math/s_catanhf.c (__catanhf): Likewise.
28167         * math/s_catanhl.c (__catanhl): Likewise.
28168         * math/s_catanl.c (__catanl): Likewise.
28169         * math/libm-test.inc (catan_test): Add more tests.
28170         (catanh_test): Likewise.
28171         * sysdeps/i386/fpu/libm-test-ulps: Update.
28172         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28174 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28176         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28178 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
28180         [BZ #15416]
28181         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28182         accurately for denominator in atan2.
28183         * math/s_catanf.c (__catanf): Likewise.
28184         * math/s_catanh.c (__catanh): Likewise.
28185         * math/s_catanhf.c (__catanhf): Likewise.
28186         * math/s_catanhl.c (__catanhl): Likewise.
28187         * math/s_catanl.c (__catanl): Likewise.
28188         * math/libm-test.inc (catan_test): Add more tests.
28189         (catanh_test): Likewise.
28190         * sysdeps/i386/fpu/libm-test-ulps: Update.
28191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28193 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28195         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28197         * benchtests/Makefile (bench): Remove slow benchmarks.
28198         * benchtests/atan-inputs: Add slow benchmark inputs.
28199         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28200         (BENCH_FUNC): Accept variant offset.
28201         (VARIANT): Define.
28202         * benchtests/bench-skeleton.c (main): Run benchmark for each
28203         variant.
28204         * benchtests/cos-inputs: Add slow benchmark inputs.
28205         * benchtests/exp-inputs: Likewise.
28206         * benchtests/pow-inputs: Likewise.
28207         * benchtests/sin-inputs: Likewise.
28208         * benchtests/slowatan-inputs: Remove.
28209         * benchtests/slowatan.c: Remove.
28210         * benchtests/slowcos-inputs: Remove.
28211         * benchtests/slowcos.c: Remove.
28212         * benchtests/slowexp-inputs: Remove.
28213         * benchtests/slowexp.c: Remove.
28214         * benchtests/slowpow-inputs: Remove.
28215         * benchtests/slowpow.c: Remove.
28216         * benchtests/slowsin-inputs: Remove.
28217         * benchtests/slowsin.c: Remove.
28218         * benchtests/slowtan-inputs: Remove.
28219         * benchtests/slowtan.c: Remove.
28220         * benchtests/tan-inputs: Add slow benchmark inputs.
28221         * scripts/bench.pl: Parse comments and directives.
28223         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
28224         in CPPFLAGS.
28225         ($(objpfx)bench-%.c): Remove *-ITER.
28226         * benchtests/bench-modf.c: Remove definition of ITER.
28227         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28228         (main): Loop for DURATION seconds instead of fixed number of
28229         iterations.
28230         * scripts/bench.pl: Don't expect iterations in parameters.
28232 2013-04-29  Roland McGrath  <roland@hack.frob.com>
28234         * io/fchdir.c (__fchdir): Renamed from fchdir.
28235         (fchdir): Define as weak alias.
28237 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
28239         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28240         (ERRNO_EDOM): Likewise.
28241         (ERRNO_ERANGE): Likewise.
28242         (noErrnoTests): New variable.
28243         (init_max_error): Set errno to 0.
28244         (test_single_errno): New function.
28245         (test_errno): Likewise.
28246         (check_float_internal): Call test_errno.  Set errno to 0.
28247         (check_complex): Refer to errno tests in comment.
28248         (check_int): Call test_errno.  Set errno to 0.
28249         (check_long): Likewise.
28250         (check_bool): Likewise.
28251         (check_longlong): Likewise.
28252         (cos_test): Use ERRNO_* flags for errno tests instead of
28253         check_int.
28254         (expm1_test): Likewise.
28255         (fmod_test): Likewise.
28256         (ilogb_test): Likewise.
28257         (lgamma_test): Likewise.
28258         (pow_test): Likewise.
28259         (remainder_test): Likewise.
28260         (sin_test): Likewise.
28261         (tan_test): Likewise.
28262         (yn_test): Likewise.
28263         (initialize): Set errno to 0.
28264         (main): Print number of errno tests.
28265         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28267 2013-04-29  Andreas Jaeger  <aj@suse.de>
28269         [BZ #15084]
28270         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28271         and RES_USEVC.
28273         [BZ #15085]
28274         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28275         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28276         unimplemented.
28278         [BZ #15380]
28279         * stdlib/random.c (__initstate): Return NULL if
28280         __initstate fails.
28282         [BZ #15086]
28283         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28284         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28285         RES_SNGLKUPREOP.
28287 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28289         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28291 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
28293         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28294         of individual tests.
28295         (casin_test): Likewise.
28296         (casinh_test): Likewise.
28298 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
28300         [BZ #15409]
28301         * math/s_catan.c (__catan): Handle arguments with large real or
28302         imaginary part separately without squaring.
28303         * math/s_catanf.c (__catanf): Likewise.
28304         * math/s_catanh.c (__catanh): Likewise.
28305         * math/s_catanhf.c (__catanhf): Likewise.
28306         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28307         and redefine.
28308         (__catanhl): Handle arguments with large real or imaginary part
28309         separately without squaring.
28310         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28311         and redefine.
28312         (__catanl): Handle arguments with large real or imaginary part
28313         separately without squaring.
28314         * math/libm-test.inc (catan_test): Add more tests.
28315         (catanh_test): Likewise.
28316         * sysdeps/i386/fpu/libm-test-ulps: Update.
28317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28319 2013-04-27  Andreas Jaeger  <aj@suse.de>
28321         [BZ #15007]
28322         * stdlib/stdlib.h: Update guards for qecvt.
28323         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28324         <stdlib.h>.
28326 2013-04-27  Allan McRae  <allan@archlinux.org>
28328         * sysdeps/i386/fpu/libm-test-ulps: Update.
28330 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
28332         [BZ #15406]
28333         * math/s_catan.c: Include <float.h>.
28334         (__catan): Ensure underflow exception occurs for underflowed
28335         result.
28336         * math/s_catanf.c: Include <float.h>.
28337         (__catanf): Ensure underflow exception occurs for underflowed
28338         result.
28339         * math/s_catanh.c: Include <float.h>.
28340         (__catanh): Ensure underflow exception occurs for underflowed
28341         result.
28342         * math/s_catanhf.c: Include <float.h>.
28343         (__catanhf): Ensure underflow exception occurs for underflowed
28344         result.
28345         * math/s_catanhl.c: Include <float.h>.
28346         (__catanhl): Ensure underflow exception occurs for underflowed
28347         result.
28348         * math/s_catanl.c: Include <float.h>.
28349         (__catanl): Ensure underflow exception occurs for underflowed
28350         result.
28351         * math/libm-test.inc (catan_test): Add more tests.
28352         (catanh_test): Likewise.
28354         [BZ #15405]
28355         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28356         underflowed result.
28357         * math/s_ccoshf.c (__ccoshf): Likewise.
28358         * math/s_ccoshl.c (__ccoshl): Likewise.
28359         * math/s_csin.c (__csin): Likewise.
28360         * math/s_csinf.c (__csinf): Likewise.
28361         * math/s_csinh.c (__csinh): Likewise.
28362         * math/s_csinhf.c (__csinhf): Likewise.
28363         * math/s_csinhl.c (__csinhl): Likewise.
28364         * math/s_csinl.c (__csinl): Likewise.
28365         * math/libm-test.inc (ccos_test): Add more tests.
28366         (ccosh_test): Likewise.
28367         (csin_test): Likewise.
28368         (csinh_test): Likewise.
28370 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28372         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28373         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28374         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28375         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28376         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28377         powerpc/power5+/fpu folders.
28378         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28381 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
28383         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28385 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
28387         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28388         additions to variable.
28389         [$(config-machine) = x86_64] (modules-names): Likewise.
28390         ($(objpfx)tst-audit3): Remove dependency.
28391         ($(objpfx)tst-audit3.out): Likewise.
28392         ($(objpfx)tst-audit4): Likewise.
28393         ($(objpfx)tst-audit4.out): Likewise.
28394         ($(objpfx)tst-audit5): Likewise.
28395         ($(objpfx)tst-audit5.out): Likewise.
28396         ($(objpfx)tst-audit6): Likewise.
28397         ($(objpfx)tst-audit6.out): Likewise.
28398         ($(objpfx)tst-audit7): Likewise.
28399         ($(objpfx)tst-audit7.out): Likewise.
28400         (tst-audit3-ENV): Remove variable.
28401         (tst-audit4-ENV): Likewise.
28402         (tst-audit5-ENV): Likewise.
28403         (tst-audit6-ENV): Likewise.
28404         (tst-audit7-ENV): Likewise.
28405         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28406         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28407         addition to variable.
28408         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28409         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28410         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28411         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28412         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28413         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28414         tst-audit3, tst-audit4 and tst-audit5.
28415         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28416         tst-audit6 and tst-audit7.
28417         [$(subdir) = elf] (modules-names): Add audit modules for those
28418         tests.
28419         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28420         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28421         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28422         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28423         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28424         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28425         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28426         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28427         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28428         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28429         [$(subdir) = elf] (tst-audit3-ENV): New variable.
28430         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28431         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28432         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28433         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28434         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28435         Likewise.
28436         [$(subdir) = elf && $(config-cflags-avx) = yes]
28437         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28438         [$(subdir) = elf && $(config-cflags-avx) = yes]
28439         (CFLAGS-tst-auditmod4a.c): Likewise.
28440         [$(subdir) = elf && $(config-cflags-avx) = yes]
28441         (CFLAGS-tst-auditmod4b.c): Likewise.
28442         [$(subdir) = elf && $(config-cflags-avx) = yes]
28443         (CFLAGS-tst-auditmod6b.c): Likewise.
28444         [$(subdir) = elf && $(config-cflags-avx) = yes]
28445         (CFLAGS-tst-auditmod6c.c): Likewise.
28446         [$(subdir) = elf && $(config-cflags-avx) = yes]
28447         (CFLAGS-tst-auditmod7b.c): Likewise.
28448         * elf/tst-audit3.c: Move to ...
28449         * sysdeps/x86_64/tst-audit3.c: ... here.
28450         * elf/tst-audit4.c: Move to ...
28451         * sysdeps/x86_64/tst-audit4.c: ... here.
28452         * elf/tst-audit5.c: Move to ...
28453         * sysdeps/x86_64/tst-audit5.c: ... here.
28454         * elf/tst-audit6.c: Move to ...
28455         * sysdeps/x86_64/tst-audit6.c: ... here.
28456         * elf/tst-audit7.c: Move to ...
28457         * sysdeps/x86_64/tst-audit7.c: ... here.
28458         * elf/tst-auditmod3a.c: Move to ...
28459         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28460         * elf/tst-auditmod3b.c: Move to ...
28461         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28462         * elf/tst-auditmod4a.c: Move to ...
28463         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28464         * elf/tst-auditmod4b.c: Move to ...
28465         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28466         * elf/tst-auditmod5a.c: Move to ...
28467         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28468         * elf/tst-auditmod5b.c: Move to ...
28469         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28470         * elf/tst-auditmod6a.c: Move to ...
28471         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28472         * elf/tst-auditmod6b.c: Move to ...
28473         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28474         * elf/tst-auditmod6c.c: Move to ...
28475         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28476         * elf/tst-auditmod7a.c: Move to ...
28477         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28478         * elf/tst-auditmod7b.c: Move to ...
28479         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28481 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
28483         [BZ #15366]
28484         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28485         define unconditionally.
28486         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28487         define unconditionally.
28488         (INT8_C, INT16_C, etc.): Likewise.
28490 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
28492         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28493         __ehdr_start with hidden visibility.
28495         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28497 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
28499         * math/libm-test.inc (cos_test): Use accurate hex constants.
28500         (sincost_test): Likewise.
28502 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
28504         * math/libm-test.inc (catan_test): Add more tests.
28505         (catanh_test): Likewise.
28507         * math/s_catanf.c (__catanf): Use suffixed floating-point
28508         constants.
28509         * math/s_catanhf.c (__catanhf): Likewise.
28510         * math/s_catanhl.c (__catanhl): Likewise.
28511         * math/s_catanl.c (__catanl): Likewise.
28513         [BZ #15394]
28514         * math/s_catan.c (__catan): Calculate imaginary part of result
28515         with log1p not log unless computing log of number close to 0.
28516         * math/s_catanf.c (__catanf): Likewise.
28517         * math/s_catanl.c (__catanl): Likewise.
28518         * math/s_catanh.c (__catanh): Calculate real part of result with
28519         log1p not log unless computing log of number close to 0.
28520         * math/s_catanhf.c (__catanhf): Likewise.
28521         * math/s_catanhl.c (__catanhl): Likewise.
28522         * math/libm-test.inc (catan_test): Add more tests.
28523         (catanh_test): Likewise.
28524         * sysdeps/i386/fpu/libm-test-ulps: Update.
28525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28527 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28529         * benchtests/Makefile: Mention files in which fast and slow
28530         paths of math functions are implemented.
28532 2013-04-23  Roland McGrath  <roland@hack.frob.com>
28534         * sysdeps/posix/timespec_get.c: New file.
28536 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28538         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28539         POWER.
28540         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28541         for POWER.
28542         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28543         powerpc/power5/fpu folders.
28544         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28545         * benchtests/Makefile: Add modf testcase.
28546         * benchtests/bench-modf.c: New file: Benchmark test for mo
28548 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28550         [BZ #14888]
28551         * time/Makefile (tests): Add tst-strptime-whitespace.
28552         * time/strptime_l.c (get_number): Use ISSPACE.
28553         (__strptime_internal): Likewise.
28554         * time/tst-strptime-whitespace.c: New test case.
28556 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
28558         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28559         member.
28560         (_nss_files_init): Set it here.
28562 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
28564         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28565         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28566         unsigned.
28568 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
28570         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28572 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28574         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28575         size just once.
28577 2013-04-21  David S. Miller  <davem@davemloft.net>
28579         * po/ru.po: Update Russion translation from translation project.
28581 2013-04-17  Adam Conrad  <adconrad@0c3.net>
28583         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28584         and setfsgid.
28586 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
28588         * configure.in: Remove i386 configure warning. Remove i386 case.
28589         * configure: Regenerate.
28590         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
28591         Add example to error message.
28592         * sysdeps/i386/configure: Regenerate.
28594 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28596         * benchtests/Makefile (bench): Add cos, tan, slowcos and
28597         slowtan.
28598         * benchtests/cos-inputs: New file.
28599         * benchtests/slowcos-inputs: New file.
28600         * benchtests/slowcos.c: New file.
28601         * benchtests/slowtan-inputs: New file.
28602         * benchtests/slowtan.c: New file.
28603         * benchtests/tan-inputs: New file.
28605 2013-04-16  Roland McGrath  <roland@hack.frob.com>
28607         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28608         considered kosher.
28610 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28612         * benchtests/Makefile: Include cppflags-iterator.mk to add
28613         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28615         * Makefile.in (bench-clean): New target.
28616         * benchtests/Makefile (bench-clean): Likewise.
28618 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
28620         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28622 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
28624         * stdio-common/tstdiomisc.c: Fix coding-style violation.
28626 2013-04-15  Andreas Schwab  <schwab@suse.de>
28628         * nscd/grpcache.c (cache_addgr): Properly check for short write.
28629         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28630         * nscd/pwdcache.c (cache_addpw): Likewise.
28631         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
28632         more than recsize.
28634 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28636         * benchtests/Makefile (bench): Write all output to
28637         bench-out.tmp together.
28639 2013-04-15  Andreas Schwab  <schwab@suse.de>
28641         * nscd/nscd.c (main): Don't fork again after closing files.
28643 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28645         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28647         * benchtests/Rules (bench-deps): Collect dependencies into a
28648         single variable.  Add Makefile to dependencies.
28649         ($(objpfx)bench-%.c): Depend on bench-deps.
28651 2013-04-12  Roland McGrath  <roland@hack.frob.com>
28652             Xavier Roche  <roche+kml2@exalead.com>
28654         [BZ #15361]
28655         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28656         just that it's a file descriptor.
28657         * manual/llio.texi (Synchronizing AIO Operations): Update description
28658         for EBADF error from aio_fsync.
28660 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28662         * Rules (bench): Move target definition...
28663         * benchtests/Makefile: ... here.
28665 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
28667         * math/libm-test.inc (cos_test): Fix PI/2 test.
28668         (sincos_test): Likewise.
28669         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28670         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28672 2013-04-11  Andreas Schwab  <schwab@suse.de>
28674         [BZ #13988]
28675         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28676         accept exponent character only when digits were seen.
28677         * stdio-common/Makefile (tests): Add bug26.
28678         * stdio-common/bug26.c: New file.
28680         [BZ #14293]
28681         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28682         non-freeable.
28684 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28686         * Makeconfig (rtld-prefix): Define built linker prefix.
28687         * Rules (run-bench): Use it.
28688         * math/Makefile (run-regen-ulps): Likewise.
28690         * Rules (bench): Remove eval.
28692 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28693             Roland McGrath  <roland@hack.frob.com>
28694             Ondrej Bilka  <neleai@seznam.cz>
28696         [BZ #15346]
28697         * time/getdate.c: Include ctype.h and alloca.h.
28698         (__getdate_r): Trim leading and trailing spaces of input.
28699         * time/tst-getdate.c (tests): Add tests with leading and
28700         trailing spaces.
28702 2013-04-08  Roland McGrath  <roland@hack.frob.com>
28704         [BZ #14280]
28705         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28706         when computing value.
28708 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28710         * math/README.libm-test (How can I generate "libm-test-ulps"?):
28711         Use testrun.sh to run libm tests.
28713         [BZ #15309]
28714         * elf/dl-open.c (dl_open_worker): memset all of seen array.
28716 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
28718         [BZ #15264]
28719         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28721 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28723         * Makefile.in (regen-ulps): New target.
28724         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28725         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28726         [ifneq (no,$(PERL)] (regen-ulps): New target.
28727         [ifeq (no,$(PERL)] (regen-ulps): New target.
28728         * math/libm-test.inc (ulps_file_name): Define.
28729         (output_dir): New variable.
28730         (options): Add "output-dir" option.
28731         (parse_opt): Handle 'o' case.
28732         (main): If output_dir is non-NULL use it as a prefix
28733         otherwise use "".
28734         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
28736 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28738         [BZ #10060, #10062]
28739         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
28740         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
28741         fail configure if __sync_val_compare_and_swap is not inlined.
28742         * sysdeps/i386/configure: Regenerate.
28743         * configure.in: Build for i686 when configured for i386.
28744         * configure: Regenerate.
28745         * README: Remove i386 reference.
28747 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28749         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
28750         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28752 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
28754         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
28755         (lmsnanval): New variables.
28756         (F): Add conversion tests.
28757         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
28758         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
28760         * stdio-common/tstdiomisc.c (F): Properly collect individual
28761         tests' results.
28763         [BZ #14686, #15336]
28764         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
28765         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
28766         Instead, use input NaN values or generate a qNaN by arithmetic
28767         operation.  Also fix bugs to comply with the standard.
28768         * math/libm-test.inc (remainder_test): Add more tests.
28770         [BZ #15335, #15342]
28771         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
28772         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
28773         input NaN values or generate a qNaN by arithmetic operation.
28775         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
28776         unreachable code.
28778         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
28779         definitions.
28781 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
28783         [BZ #14478]
28784         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
28785         underflowed result.
28786         * math/s_cexpf.c (__cexpf): Likewise.
28787         * math/s_cexpl.c (__cexpl): Likewise.
28788         * math/libm-test.inc (cexp_test): Add more tests.
28790 2013-04-03  Andreas Schwab  <schwab@suse.de>
28792         [BZ #15330]
28793         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
28794         order arrays from heap if bigger than alloca cutoff.
28796 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
28798         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
28799         (SNAN_TESTS_double): Refer to GCC PR56831.
28800         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
28801         GCC PR56828.
28803 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28805         * Rules (bench): Move bench.out after the run is complete.
28807         * Rules (bench): Echo currently running benchmark.
28809         * benchtests/Makefile (bench): Add atan and slowatan.
28810         * benchtests/atan-inputs: New file.
28811         * benchtests/slowatan-inputs: New file.
28812         * benchtests/slowatan.c: New file.
28814         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
28815         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
28816         its value.
28818         [BZ #15305]
28819         * sysdeps/unix/sysv/linux/kernel-features.h
28820         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
28821         __ASSUME_XFS_RESTRICTED_CHOWN.
28822         * sysdeps/unix/sysv/linux/pathconf.c
28823         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28824         Save and restore errno.
28826 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
28828         [BZ #15327]
28829         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
28830         arguments using __kernel_casinh.
28831         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
28832         arguments using __kernel_casinhf.
28833         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
28834         arguments using __kernel_casinhl.
28835         * math/libm-test.inc (cacosh_test): Add more tests.
28836         * sysdeps/i386/fpu/libm-test-ulps: Update.
28837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28839 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28841         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
28842         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
28844         * bench/Makefile (bench): Add sin and slowsin.
28845         * benchtests/sin-inputs: New file.
28846         * benchtests/slowsin-inputs: New file.
28847         * benchtests/slowsin.c: New file.
28849         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
28850         (bench): Add slowexp and slowpow.
28851         (exp-ITER): Increase iterations.
28852         (pow-ITER): Likewise.
28853         * benchtests/exp-inputs: Change input.
28854         * benchtests/pow-inputs: Likewise.
28855         * benchtests/slowexp-inputs: New file.
28856         * benchtests/slowexp.c: New file.
28857         * benchtests/slowpow-inputs: New file.
28858         * benchtests/slowpow.c: New file.
28860 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28862         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
28863         instructions.
28864         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28865         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
28866         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28867         * benchtests/Makefile: Add rint benchtest.
28868         * benchtests/rint-inputs: Input for rint benchtest.
28870 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
28872         * Versions.def (libm): Add GLIBC_2.18.
28873         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
28874         hidden libm prototypes.
28875         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
28876         * math/Makefile (libm-calls): Add s_issignaling.
28877         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
28878         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
28879         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
28880         declaration.
28881         * math/math.h [__USE_GNU] (issignaling): New macro.
28882         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
28883         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
28884         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
28885         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
28886         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
28887         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
28888         * manual/arith.texi (issignaling): New section.
28889         * manual/libm-err-tab.pl (@all_functions): Update comment.
28890         * math/gen-libm-test.pl (parse_args): Apply special handling for
28891         issignaling.
28892         * math/libm-test.inc (print_float, issignaling_test): New
28893         functions.
28894         (check_float_internal): Add issignaling checks.
28895         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
28896         default definition.
28897         * sysdeps/powerpc/math-tests.h: New file.
28898         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
28899         tests.
28900         * math/test-snan.c (TEST_FUNC): Likewise.
28902 2013-03-30  David S. Miller  <davem@davemloft.net>
28904         * po/de.po: Update from translation team.
28906 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
28908         [BZ #10357]
28909         * math/k_casinh.c (__kernel_casinh): Handle arguments with
28910         imaginary part less than 1.0 and real part less than 0.5
28911         specially.
28912         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28913         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28914         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
28915         (cacos_test): Add more tests.
28916         (casin_test): Likewise.
28917         (casinh_test): Likewise.
28918         * sysdeps/i386/fpu/libm-test-ulps: Update.
28919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28921 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28923         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
28924         ONE with its value.
28926         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
28927         (__pow_mp): Replace ONE and MONE with their values.
28928         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28929         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
28930         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28931         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
28932         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28933         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28935         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
28937         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
28938         (__pow_mp): Replace ZERO and MZERO with their values.
28939         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28940         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28941         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28942         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28943         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28944         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
28945         (__sqr): Likewise.
28947         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
28949         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
28951 2013-03-28  Roland McGrath  <roland@hack.frob.com>
28953         * include/stdlib.h [!SHARED] (__call_tls_dtors):
28954         Declare with __attribute__ ((weak)).
28955         * stdlib/exit.c (__libc_atexit) [!SHARED]:
28956         Call __call_tls_dtors only if it's not NULL.
28958 2013-03-28  Roland McGrath  <roland@hack.frob.com>
28960         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
28961         didn't do it already, then set _dl_phdr and _dl_phnum based on the
28962         magic __ehdr_start linker symbol if it's defined.
28963         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
28964         them up here if it was already done.
28966         * elf/dl-support.c (_dl_phdr): Make pointer to const.
28967         (_dl_aux_init): Use const in cast when setting it.
28968         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
28969         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
28970         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
28972         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
28973         Declare them here.
28974         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
28975         * csu/libc-tls.c: Nor here.
28976         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
28978         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
28979         (__libc_message): Never call vsyslog.
28981 2013-03-28  Alan Modra  <amodra@gmail.com>
28983         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
28984         Define as empty.
28985         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
28986         Likewise.
28988 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28990         [BZ #15214]
28991         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
28992         underflow.
28993         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28995 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28997         [BZ #15304]
28998         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
28999         Don't add gid passed as argument.
29001         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29003 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
29005         [BZ #15307]
29006         * math/k_casinh.c (__kernel_casinh): Handle arguments with
29007         imaginary part between 1.0 and 1.5 and real part less than 0.5
29008         specially.
29009         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29010         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29011         * math/libm-test.inc (cacos_test): Add more tests.
29012         (casin_test): Likewise.
29013         (casinh_test): Likewise.
29014         * sysdeps/i386/fpu/libm-test-ulps: Update.
29015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29017 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29019         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29020         constants.
29021         (norm): Likewise.
29022         (denorm): Likewise.
29023         (__dbl_mp): Likewise.
29024         (add_magnitudes): Likewise.
29025         (sub_magnitudes): Likewise.
29026         (__add): Likewise.
29027         (__sub): Likewise.
29028         (__mul): Likewise.
29029         (__sqr): Likewise.
29030         (__inv): Likewise.
29031         (__dvd): Likewise.
29033         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29034         commented code.
29035         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29036         (__dubcos): Likewise.
29037         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29038         (__ieee754_acos): Likewise.
29039         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29040         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29041         (__exp1): Likewise.
29042         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29043         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29044         (log1): Likewise.
29045         (my_log2): Likewise.
29046         (checkint): Likewise.
29047         * sysdeps/ieee754/dbl-64/e_remainder.c
29048         (__ieee754_remainder): Likewise.
29049         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29050         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29051         (bsloww): Likewise.
29052         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29054         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29055         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29056         MANTISSA_STORE_T to store computations on mantissa.  Use
29057         macros for rounding and division.
29058         (denorm): Likewise.
29059         (__dbl_mp): Likewise.
29060         (add_magnitudes): Likewise.
29061         (sub_magnitudes): Likewise.
29062         (__mul): Likewise.
29063         (__sqr): Likewise.
29064         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
29065         powers of two in terms of TWOPOW macro.
29066         (mp_no): Make type of mantissa as MANTISSA_T.
29067         [!RADIXI]: Define RADIXI.
29068         [!TWO52]: Define TWO52.
29069         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29071 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29073         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29074         llroundl symbol when building for PPC32.
29076 2013-03-24  Mark H Weaver  <mhw@netris.org>
29078         * manual/arith.texi (Normalization Functions): Fix prototypes for
29079         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29081 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29083         [BZ #13889]
29084         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29085         high value to check if expl overflow.
29086         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29087         to check for underflow and overflow.
29088         * math/libm-test.inc: Add exp test.
29090 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
29092         [BZ #11120]
29093         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29094         with NOT_IN_libc.
29096 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29098         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29099         symbol.
29101 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
29103         * math/gen-libm-test.pl (parse_args, special_functions): Properly
29104         wrap blocks consisting of several statements.
29106         * sysdeps/generic/math-tests.h: New file.
29107         * sysdeps/i386/fpu/math-tests.h: Likewise.
29108         * math/test-snan.c: Include it.
29109         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29111 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
29113         [BZ #15285]
29114         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29115         (__ieee754_j0l): Do not improve calculations using cos of twice
29116         input for inputs above LDBL_MAX / 2.0L.
29117         (__ieee754_y0l): Likewise.
29118         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29119         (__ieee754_j1l): Do not improve calculations using cos of twice
29120         input for inputs above LDBL_MAX / 2.0L.
29121         (__ieee754_y1l): Likewise.
29122         * math/libm-test.inc (j0_test): Add another test.
29123         (j1_test): Likewise.
29124         (y0_test): Likewise.
29125         (y1_test): Likewise.
29126         * sysdeps/i386/fpu/libm-test-ulps: Update.
29128 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29130         * Rules ($(objpfx)bench-%.c): Include code from a C source
29131         file.
29133 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
29135         [BZ #15287]
29136         * math/k_casinh.c (__kernel_casinh): Handle arguments with
29137         imaginary part 1.0 and real part less than 0.5 specially.
29138         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29139         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29140         * math/libm-test.inc (cacos_test): Add more tests.
29141         (casin_test): Likewise.
29142         (casinh_test): Likewise.
29143         * sysdeps/i386/fpu/libm-test-ulps: Update.
29144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29146 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29148         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29149         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29151 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
29153         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29154         * config.make.in (config-cflags-sse4): Remove variable.
29155         (config-cflags-avx): Likewise.
29156         (config-cflags-sse2avx): Likewise.
29157         (config-cflags-novzeroupper): Likewise.
29158         (config-asflags-i686): Likewise.
29159         (have-mfma4): Likewise.
29160         (have-as-vis3): Likewise.
29161         (MIG): Likewise.
29162         * configure.in (MIG): Do not AC_SUBST.
29163         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29164         (libc_cv_cc_sse4): Do not AC_SUBST.
29165         (libc_cv_cc_avx): Likewise.
29166         (libc_cv_cc_sse2avx): Likewise.
29167         (libc_cv_cc_novzeroupper): Likewise.
29168         (libc_cv_cc_fma4): Likewise.
29169         (libc_cv_as_i686): Likewise.
29170         (libc_cv_sparc_as_vis3): Likewise.
29171         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29172         LIBC_CONFIG_VAR.
29173         (config-asflags-i686): Likewise.
29174         (config-cflags-avx): Likewise.
29175         (config-cflags-sse2avx): Likewise.
29176         (have-mfma4): Likewise.
29177         (config-cflags-novzeroupper): Likewise.
29178         * sysdeps/mach/configure.in (MIG): Likewise.
29179         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29180         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29181         LIBC_CONFIG_VAR.
29182         (config-cflags-avx): Likewise.
29183         (config-cflags-sse2avx): Likewise.
29184         (have-mfma4): Likewise.
29185         (config-cflags-novzeroupper): Likewise.
29186         * configure: Regenerated.
29187         * sysdeps/i386/configure: Likewise.
29188         * sysdeps/mach/configure: Likewise.
29189         * sysdeps/sparc/configure: Likewise.
29190         * sysdeps/x86_64/configure: Likewise.
29192 2013-03-20  Roland McGrath  <roland@hack.frob.com>
29194         [BZ #14812]
29195         * locale/programs/localedef.c (options): Put N_ translation marker
29196         on argument names, not just descriptions.
29198 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29200         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29202 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
29204         [BZ #14176]
29205         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29207 2013-03-19  Roland McGrath  <roland@hack.frob.com>
29209         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29210         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29211         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29212         [!BEFORE_ABORT] (before_abort): New function.
29213         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29214         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29215         (writev_for_fatal): New function.
29216         (WRITEV_FOR_FATAL): New macro; call that.
29217         (backtrace_and_maps): New function.
29218         (BEFORE_ABORT): New macro; call that.
29219         (struct str_list): Type removed.
29220         (__libc_message, __libc_fatal): Functions removed.
29221         Include <sysdeps/posix/libc_fatal.c> instead.
29223 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
29225         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29226         constants.
29227         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29228         double constants.
29230 2013-03-19  Andreas Schwab  <schwab@suse.de>
29232         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29233         * sysdeps/gnu/configure: Regenerate.
29235         * configure.in: Substitute libc_cv_rtlddir.
29236         * configure: Regenerate.
29237         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29238         * Makeconfig (rtlddir, inst_rtlddir): New variables.
29239         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29240         * elf/Makefile (install-others, CFLAGS-interp.c)
29241         (ldso_install, common-ldd-rewrite): Likewise.
29242         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29243         $(inst_slibdir)/$(rtld-installed-name).
29244         * scripts/rellns-sh: Add -p option.
29245         * Makerules (make-shlib-link): Use rellns-sh to get relative name
29246         for source.
29248 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29250         * manual/nptl.texi: Renamed to ...
29251         * manual/threads.texi: ... this.
29252         * manual/Makefile (chapters): Update.
29254 2013-03-18  Roland McGrath  <roland@hack.frob.com>
29256         [BZ #14812]
29257         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29258         on argument names, not just descriptions.
29259         * malloc/memusagestat.c (options): Likewise.
29260         * nss/getent.c (options): Likewise.
29262 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
29264         [BZ #14812]
29265         * iconv/iconv_prog.c (options): Put N_ translation marker
29266         on argument names, not just descriptions.
29267         * iconv/iconvconfig.c (options): Likewise.
29269 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
29271         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29272         implementation which is faster on all x86_64 architectures.
29273         Tested on AMD, Intel Nehalem, SNB, IVB.
29274         * sysdeps/x86_64/strnlen.S: Likewise.
29276         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29277         Remove all multiarch strlen and strnlen versions.
29278         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29279         Remove strlen and strnlen related parts.
29281         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29282         Inline strlen part.
29283         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29285         * sysdeps/x86_64/multiarch/strlen.S: Remove.
29286         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29287         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29288         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29289         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29290         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29292 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
29294         * manual/memory.texi (Malloc Tunable Parameters):
29295         Sort parameters alphabetically. Add comments for missing entries.
29297 2013-03-17  David S. Miller  <davem@davemloft.net>
29299         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29301 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
29303         [BZ #15283]
29304         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29305         for arguments at most half maximum finite value.
29306         * math/libm-test.inc (j0_test): Add more tests.
29307         (j1_test): Likewise.
29308         (y0_test): Likewise.
29309         (y1_test): Likewise.
29310         * sysdeps/i386/fpu/libm-test-ulps: Update.
29311         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29313         [BZ #14155]
29314         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29315         1 / x and functions P and Q for arguments above 0x1p256L.
29316         (__ieee754_y0l): Likewise.
29317         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29318         (__ieee754_y1l): Likewise.
29319         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29320         (j1_test): Likewise.
29321         (y0_test): Likewise.
29322         (y1_test): Likewise.
29324 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
29326         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29327         variable.
29329 2013-03-15  Roland McGrath  <roland@hack.frob.com>
29331         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29332         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29333         zero since it's initialized to EXEC_PAGESIZE.
29335         * sysdeps/unix/sysv/linux/ldsodefs.h
29336         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29337         * sysdeps/generic/ldsodefs.h: ... here.
29339 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
29341         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29343         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29344         math/test-snan.c.
29345         * math/test-snan.c: Renamed from
29346         sysdeps/powerpc/fpu/test-powerpc-snan.c.
29347         * math/Makefile (tests): Add test-snan.
29348         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29349         test-powerpc-snan.
29351         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29352         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
29353         functions.
29354         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
29355         __builtin_nan family of functions.
29356         * math/libm-test.inc (initialize): Initialize qnan_value with
29357         __builtin_nan family of functions.
29358         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29359         Remove variables.
29360         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29361         Remove functions.
29362         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
29363         storage class.  Initialize qNaN_var and sNaN_var with
29364         __builtin_nan and __builtin_nans families of functions,
29365         respectively.
29367         * math/libm-test.inc (acosh_test): Also test with qNaN input.
29368         (sqrt_test): Remove duplicate test with qNaN input.
29369         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29370         (round_test, signbit_test, significand_test): Note missing +/-Inf
29371         as well as qNaN tests.
29373         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29374         qNaN_var.  Fix a few strings, too.
29375         * math/libm-test.inc (nan_value): Rename to qnan_value.
29376         * math/gen-libm-test.pl (%beautify): Adjust to that.
29377         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29378         * math/test-misc.c (main): Likewise.
29379         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29380         to __qnan_bytes, and __qnan_union, respectively.
29381         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29382         Likewise.
29383         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29384         and lqnanval, respectively.
29385         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29386         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29387         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29388         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29390         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29391         * math/test-misc.c (main) [__x86_64__]: Enable test for long
29392         doubles.
29394         * math/test-misc.c (main): Fix copy'n'pastos.
29395         * misc/tst-efgcvt.c (special): Likewise.
29397         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29398         Remove declarations.
29400 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29402         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29403         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29404         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29405         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29407 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29409         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29410         macro to return vdso values correctly in IFUNC implementations.
29411         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29412         Optimization by using IFUNC.
29414 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29415             Richard Henderson  <rth@redhat.com>
29416             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29418         * Makefile.in (bench): New target.
29419         * NEWS: Mention the benchmark framework.
29420         * Rules (bench): Likewise.
29421         (binaries-bench): Generate binaries for functions to
29422         benchmark.
29423         * benchtests/Makefile: New makefile for benchmark tests.
29424         * benchtests/bench-skeleton.c: New skeleton file for benchmark
29425         programs.
29426         * benchtests/exp-inputs: New input file for EXP function.
29427         * benchtests/pow-inputs: New input file for POW function.
29428         * scripts/bench.pl: New script to generate source files for
29429         benchmark programs.
29431 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29433         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29434         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29435         computations on mantissa.  Use macros for rounding and
29436         division.
29437         (denorm): Likewise.
29438         (__dbl_mp): Likewise.
29439         (add_magnitudes): Likewise.
29440         (sub_magnitudes): Likewise.
29441         (__mul): Likewise.
29442         (__sqr): Likewise.
29443         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
29444         powers of two in terms of TWOPOW macro.
29445         (mp_no): Make type of mantissa as MANTISSA_T.
29446         [!RADIXI]: Define RADIXI.
29447         [!TWO52]: Define TWO52.
29448         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29450         * manual/nptl.texi (cindex): Modify threads to pthreads.
29452 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
29454         * sysdeps/x86_64/preconfigure: Regenerated.
29456 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
29458         [BZ #14155]
29459         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29460         0x1p28 and above.
29461         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29462         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29463         0x1p28 and above.
29464         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29465         * math/libm-test.inc (j0_test): Do not allow one spurious
29466         underflow exception.
29467         (y1_test): Likewise.
29469 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29471         * manual/Makefile (chapters): Add nptl.
29472         * manual/debug.texi (Debugging Support): Add link to Threads
29473         chapter.
29474         * manual/nptl.texi: New file.
29476         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29478 2013-03-14  Petr Baudis  <pasky@ucw.cz>
29480         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29481         for non-NULL pointer before the memory validity test. Pointed
29482         out by Holger Brunck <holger.brunck@keymile.com>.
29484 2013-03-13  Andreas Schwab  <schwab@suse.de>
29486         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29487         instead of .os.
29489 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
29491         * timezone/zic.c: Update from tzcode 2013b.
29493 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
29495         * manual/install.texi (Configuring and compiling):
29496         Mention i686 and i586.
29497         * INSTALL: Regenerate.
29499 2013-03-12  Roland McGrath  <roland@hack.frob.com>
29501         * sysdeps/init_array/elf-init.c: New file.
29502         * csu/elf-init.c
29503         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29504         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29506         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29507         __gmon_start__ as global, but as static with a .preinit_array pointer.
29508         * sysdeps/init_array/gmon-start.c: New file.  Use that.
29509         * sysdeps/init_array/crti.S: New file, empty except for comments.
29510         * sysdeps/init_array/crtn.S: Likewise.
29512 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
29514         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29515         definining bcopy.
29516         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29517         Remove Prefer_SSE_for_memop.
29518         * sysdeps/x86_64/multiarch/init-arch.h: Remove
29519         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29520         HAS_PREFER_SSE_FOR_MEMOP.
29521         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29522         memset-x86-64.
29523         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29524         Remove bzero, memset ifunc support.
29525         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29526         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29527         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29528         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29530 2013-03-11  Andreas Schwab  <schwab@suse.de>
29532         [BZ #15234]
29533         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29534         by SHLIB_COMPAT.
29535         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29536         (GLIBC_2.16): Remove pthread_atfork.
29538 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
29540         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29541         (ptestcases.h): Likewise.
29543 2013-03-08  Roland McGrath  <roland@hack.frob.com>
29545         * Makeconfig ($(common-objpfx)config.status): Depend on
29546         sysdeps/*/preconfigure{,.in} too.
29548 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
29550         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29551         (__free_hook): Use void * instead of __malloc_ptr_t.
29552         (__malloc_hook): Likewise.
29553         (__realloc_hook): Likewise.
29554         (__memalign_hook): Likewise.
29555         (__after_morecore_hook): Likewise.
29556         * malloc/arena.c (save_malloc_hook): Likewise.
29557         (save_free_hook): Likewise.
29558         * malloc/hooks.c (malloc_hook_ini): Likewise.
29559         (realloc_hook_ini): Likewise.
29560         (memalign_hook_ini): Likewise.
29561         * malloc/malloc.c (malloc_hook_ini): Likewise.
29562         (realloc_hook_ini): Likewise.
29563         (memalign_hook_ini): Likewise.
29564         (__free_hook): Likewise.
29565         (__malloc_hook): Likewise.
29566         (__realloc_hook): Likewise.
29567         (__memalign_hook): Likewise.
29568         (__libc_malloc): Likewise.
29569         (__libc_free): Likewise.
29570         (__libc_realloc): Likewise.
29571         (__libc_memalign): Likewise.
29572         (__libc_valloc): Likewise.
29573         (__libc_pvalloc): Likewise.
29574         (__libc_calloc): Likewise.
29575         (__posix_memalign): Likewise.
29576         * malloc/morecore.c (__sbrk): Likewise.
29577         (__default_morecore): Likewise.
29579         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29581         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29582         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29583         __malloc_ptrdiff_t.
29585         * malloc/malloc.h (__malloc_size_t): Remove macro.
29586         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29587         __malloc_size_t.
29588         (old_memalign_hook): Likewise.
29589         (old_realloc_hook): Likewise.
29590         (struct hdr): Likewise.
29591         (flood): Likewise.
29592         (mallochook): Likewise.
29593         (memalignhook): Likewise.
29594         (reallochook): Likewise.
29595         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29596         (tr_old_realloc_hook): Likewise.
29597         (tr_old_memalign_hook): Likewise.
29598         (tr_mallochook): Likewise.
29599         (tr_reallochook): Likewise.
29600         (tr_memalignhook): Likewise.
29602 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29604         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29605         default_ldbl_pack and using as default implementation.
29606         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29607         implementation.
29608         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29609         redundant definition.
29610         (ldbl_insert_mantissa): Likewise.
29611         (ldbl_canonicalize): Likewise.
29612         (ldbl_nearbyint): Likewise.
29613         (ldbl_pack): Rename to ldbl_pack_ppc.
29614         (ldbl_unpack): Rename to ldbl_unpack_ppc.
29615         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29616         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29618 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29620         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29621         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29622         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29623         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29624         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29625         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29626         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29627         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29629 2013-03-07  Andreas Jaeger  <aj@suse.de>
29631         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29632         bits/mman-linux.h.
29634 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29636         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29637         Include mpa.h and declare __MPEXP.
29638         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29639         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29640         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29641         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29642         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29643         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29644         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29646         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29647         (__slowpow): Use long double EXPL and LOGL functions to
29648         compute POW.
29649         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29650         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29651         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29652         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29653         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29654         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29656         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29657         intermediate variable to calculate exponent.
29658         (__sqr): Likewise.
29659         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29660         Likewise.
29661         (__sqr): Likewise.
29663         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29664         [!NO__SQR]: Define __sqr.
29665         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29666         and NO__SQR.  Remove all code except __mul and __sqr.  Include
29667         sysdeps/ieee754/dbl-64/mpa.c.
29668         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29670         [BZ #12723]
29671         * posix/Makefile (tests): Add tst-pathconf.
29672         * posix/tst-pathconf.c: New test case.
29673         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29674         _PC_PIPE_BUF.
29675         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29677 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
29679         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29681 2013-03-06  Andreas Jaeger  <aj@suse.de>
29683         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29684         definition via __MAP_ANONYMOUS.
29686         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29687         it's not part of Linux headers.
29689         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29690         (MAP_HUGE_MASK): Define.
29692         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29693         Define.
29694         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29695         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29696         Define.
29697         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29698         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29699         Define.
29700         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29701         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29702         Define.
29703         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29705         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29706         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29707         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29708         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29709         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29710         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29712         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29713         Handle f2fs.
29715         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29716         Handle f2fs and efivarfs.
29718         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29719         f2fs.
29721         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29722         (EFIVARFS_MAGIC): Add.
29723         (F2FS_LINK_MAX): Add.
29725 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29727         * stdio-common/vfprintf.c: Replace __builtin_expect with
29728         __glibc_unlikely.
29730 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
29732         [BZ #13550]
29733         * sysdeps/generic/bp-sym.h: Remove file.
29734         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
29735         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
29736         <bp-sym.h> and <bp-asm.h>.
29737         (__longjmp): Don't use BP_SYM.
29738         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
29739         and <bp-asm.h>.
29740         (memcpy): Don't use BP_SYM.
29741         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
29742         <bp-sym.h> and <bp-asm.h>.
29743         (memcpy): Don't use BP_SYM.
29744         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
29745         <bp-asm.h>.
29746         (memcpy): Don't use BP_SYM.
29747         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
29748         <bp-asm.h>.
29749         (memset): Don't use BP_SYM.
29750         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29751         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29752         (__bzero): Don't use BP_SYM.
29753         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29754         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29755         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
29756         <bp-sym.h> and <bp-asm.h>.
29757         (memcmp): Don't use BP_SYM.  Remove comment about bounded
29758         pointers.
29759         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
29760         <bp-sym.h> and <bp-asm.h>.
29761         (memcpy): Don't use BP_SYM.
29762         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
29763         <bp-sym.h> and <bp-asm.h>.
29764         (memset): Don't use BP_SYM.
29765         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29766         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29767         (__bzero): Don't use BP_SYM.
29768         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29769         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29770         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
29771         <bp-sym.h> and <bp-asm.h>.
29772         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29773         pointers.
29774         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
29775         <bp-sym.h> and <bp-asm.h>.
29776         (memcpy): Don't use BP_SYM.
29777         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
29778         <bp-sym.h> and <bp-asm.h>.
29779         (memset): Don't use BP_SYM.
29780         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29781         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29782         (__bzero): Don't use BP_SYM.
29783         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29784         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29785         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
29786         <bp-sym.h> and <bp-asm.h>.
29787         (__memchr): Don't use BP_SYM.
29788         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
29789         <bp-sym.h> and <bp-asm.h>.
29790         (memcmp): Don't use BP_SYM.  Remove comment about bounded
29791         pointers.
29792         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
29793         <bp-sym.h> and <bp-asm.h>.
29794         (memcpy): Don't use BP_SYM.
29795         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
29796         <bp-sym.h> and <bp-asm.h>.
29797         (__mempcpy): Don't use BP_SYM.
29798         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
29799         <bp-sym.h> and <bp-asm.h>.
29800         (__memrchr): Don't use BP_SYM.
29801         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
29802         <bp-sym.h> and <bp-asm.h>.
29803         (memset): Don't use BP_SYM.
29804         (__bzero): Likewise.
29805         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
29806         <bp-sym.h> and <bp-asm.h>.
29807         (__rawmemchr): Don't use BP_SYM.
29808         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
29809         <bp-sym.h> and <bp-asm.h>.
29810         (__STRCMP): Don't use BP_SYM.
29811         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
29812         <bp-sym.h> and <bp-asm.h>.
29813         (strchr): Don't use BP_SYM.
29814         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
29815         <bp-sym.h> and <bp-asm.h>.
29816         (__strchrnul): Don't use BP_SYM.
29817         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
29818         <bp-sym.h> and <bp-asm.h>.
29819         (strlen): Don't use BP_SYM.
29820         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
29821         <bp-sym.h> and <bp-asm.h>.
29822         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29823         pointers.
29824         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
29825         <bp-sym.h> and <bp-asm.h>.
29826         (__strnlen): Don't use BP_SYM.
29827         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
29828         <bp-sym.h> and <bp-asm.h>.
29829         (__GI__setjmp): Don't use BP_SYM.
29830         (_setjmp): Likewise.
29831         (__sigsetjmp): Likewise.
29832         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
29833         (L(start_addresses)): Don't use BP_SYM.
29834         (_start): Likewise.
29835         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
29836         <bp-asm.h>.
29837         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
29838         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
29839         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29840         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29841         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
29842         <bp-asm.h>.
29843         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
29844         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
29845         about bounded pointers.
29846         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29847         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29848         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
29849         <bp-asm.h>.
29850         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
29851         about bounded pointers.  Remove GKM FIXME comments.
29852         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29853         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
29854         <bp-asm.h>.
29855         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
29856         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
29857         Remove GKM FIXME comments.
29858         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29859         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29860         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
29861         <bp-asm.h>.
29862         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
29863         about bounded pointers.  Remove GKM FIXME comment.
29864         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
29865         and <bp-asm.h>.
29866         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29867         pointers.
29868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
29869         <bp-sym.h> and <bp-asm.h>.
29870         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
29872         <bp-sym.h> and <bp-asm.h>.
29873         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
29874         comment.
29876 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29878         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
29879         call free(NULL).
29881 2013-03-05  David S. Miller  <davem@davemloft.net>
29883         * po/es.po: Update from translation team.
29885 2013-03-05  Andreas Jaeger  <aj@suse.de>
29887         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
29888         <bits/mman-linux.h>.
29889         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29890         is fine.
29891         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
29892         <bits/mman-linux.h> to end of file.
29893         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29894         is fine.
29895         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
29896         <bits/mman-linux.h> to end of file.
29897         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29898         is fine.
29899         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
29900         <bits/mman-linux.h> to end of file.
29902         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
29903         (MCL_CURRENT, MCL_FUTURE): Define here.
29905 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29907         [BZ #15232]
29908         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
29909         attribute_hidden.
29910         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29912 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29914         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
29915         fourth parameter needed for rt_sigprocmask syscall.
29916         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29917         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29918         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
29919         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29920         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29921         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
29923 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
29925         [BZ #13550]
29926         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
29927         comment about bounded pointers.
29928         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
29929         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
29931 2013-03-04  Andreas Jaeger  <aj@suse.de>
29933         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
29934         common definitions.
29936         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
29937         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
29938         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
29939         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29940         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29941         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29943 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29945         [BZ #15055]
29946         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
29947         __ieee754_sqrl instead of __sqrl.
29949 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
29951         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
29952         * sysdeps/powerpc/fpu_control.h: ... here.
29953         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
29954         * sysdeps/powerpc/bits/fenvinline.h: ... here.
29955         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
29956         * sysdeps/powerpc/bits/mathinline.h: ... here.
29958 2013-03-01  Roland McGrath  <roland@hack.frob.com>
29960         * elf/dl-hwcaps.c (_dl_important_hwcaps):
29961         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
29962         to just [NEED_DL_SYSINFO_DSO].
29963         * elf/dl-support.c: Likewise.
29964         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29965         * elf/rtld.c (dl_main): Likewise.
29966         * elf/setup-vdso.h (setup_vdso): Likewise.
29967         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
29968         * sysdeps/unix/sysv/linux/dl-sysdep.c
29969         (_dl_discover_osversion): Likewise.
29971 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
29973         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
29974         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29976 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29978         * NEWS: Mention libm performance improvements and non-x86 PI
29979         futex support.
29981         * csu/libc-start.c (__pthread_initialize_minimal): Change
29982         function arguments.
29983         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29985 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
29987         [BZ #13550]
29988         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
29989         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
29990         <bp-sym.h> and <bp-asm.h>.
29991         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29992         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
29993         and <bp-asm.h>.
29994         (memcpy): Don't use BP_SYM.
29995         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
29996         <bp-asm.h>.
29997         (__mpn_add_n): Don't use BP_SYM.
29998         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
29999         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30000         and <bp-asm.h>.
30001         (__mpn_addmul_1): Don't use BP_SYM.
30002         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30003         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30004         <bp-sym.h>.
30005         (_setjmp): Don't use BP_SYM.
30006         (__novmx_setjmp): Likewise.
30007         (__GI__setjmp): Likewise.
30008         (__vmx_setjmp): Likewise.
30009         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30010         <bp-sym.h>.
30011         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30012         (__bzero): Don't use BP_SYM.
30013         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30014         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30015         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30016         <bp-sym.h> and <bp-asm.h>.
30017         (memcpy): Don't use BP_SYM.
30018         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30019         <bp-sym.h> and <bp-asm.h>.
30020         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30021         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30022         <bp-sym.h> and <bp-asm.h>.
30023         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30024         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30025         <bp-asm.h>.
30026         (__mpn_lshift): Don't use BP_SYM.
30027         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30028         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30029         <bp-asm.h>.
30030         (memset): Don't use BP_SYM.
30031         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30032         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30033         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30034         <bp-asm.h>.
30035         (__mpn_mul_1): Don't use BP_SYM.
30036         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30037         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30038         <bp-sym.h> and <bp-asm.h>.
30039         (memcmp): Don't use BP_SYM.
30040         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30041         <bp-sym.h> and <bp-asm.h>.
30042         (memcpy): Don't use BP_SYM.
30043         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30044         <bp-sym.h> and <bp-asm.h>.
30045         (memset): Don't use BP_SYM.
30046         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30047         <bp-sym.h> and <bp-asm.h>.
30048         (strncmp): Don't use BP_SYM.
30049         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30050         <bp-sym.h> and <bp-asm.h>.
30051         (memcpy): Don't use BP_SYM.
30052         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30053         <bp-sym.h> and <bp-asm.h>.
30054         (memset): Don't use BP_SYM.
30055         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30056         <bp-sym.h> and <bp-asm.h>.
30057         (__memchr): Don't use BP_SYM.
30058         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30059         <bp-sym.h> and <bp-asm.h>.
30060         (memcmp): Don't use BP_SYM.
30061         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30062         <bp-sym.h> and <bp-asm.h>.
30063         (memcpy): Don't use BP_SYM.
30064         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30065         <bp-sym.h> and <bp-asm.h>.
30066         (__mempcpy): Don't use BP_SYM.
30067         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30068         <bp-sym.h> and <bp-asm.h>.
30069         (__memrchr): Don't use BP_SYM.
30070         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30071         <bp-sym.h> and <bp-asm.h>.
30072         (memset): Don't use BP_SYM.
30073         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30074         <bp-sym.h> and <bp-asm.h>.
30075         (__rawmemchr): Don't use BP_SYM.
30076         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30077         <bp-sym.h> and <bp-asm.h>.
30078         (__STRCMP): Don't use BP_SYM.
30079         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30080         <bp-sym.h> and <bp-asm.h>.
30081         (strchr): Don't use BP_SYM.
30082         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30083         <bp-sym.h> and <bp-asm.h>.
30084         (__strchrnul): Don't use BP_SYM.
30085         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30086         <bp-sym.h> and <bp-asm.h>.
30087         (strlen): Don't use BP_SYM.
30088         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30089         <bp-sym.h> and <bp-asm.h>.
30090         (strncmp): Don't use BP_SYM.
30091         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30092         <bp-sym.h> and <bp-asm.h>.
30093         (__strnlen): Don't use BP_SYM.
30094         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30095         <bp-asm.h>.
30096         (__mpn_rshift): Don't use BP_SYM.
30097         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30098         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30099         <bp-sym.h> and <bp-asm.h>.
30100         (__sigsetjmp): Don't use BP_SYM.
30101         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30102         (L(start_addresses)): Don't use BP_SYM.
30103         (_start): Likewise.
30104         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30105         <bp-asm.h>.
30106         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30107         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30108         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30109         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30110         <bp-asm.h>.
30111         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30112         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30113         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30114         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30115         <bp-asm.h>.
30116         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
30117         comments.
30118         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30119         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30120         <bp-asm.h>.
30121         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
30122         FIXME comments.
30123         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30124         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30125         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30126         <bp-asm.h>.
30127         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
30128         comment.
30129         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30130         and <bp-asm.h>.
30131         (strncmp): Don't use BP_SYM,
30132         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30133         <bp-asm.h>.
30134         (__mpn_sub_n): Don't use BP_SYM.
30135         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30136         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30137         and <bp-asm.h>.
30138         (__mpn_submul_1): Don't use BP_SYM.
30139         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30141         <bp-sym.h> and <bp-asm.h>.
30142         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30144         <bp-sym.h> and <bp-asm.h>.
30145         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
30146         comment.
30148 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30150         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30151         Use ZK to minimize writes to Z.
30152         (sub_magnitudes): Simplify code a bit.
30153         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30154         Use ZK to minimize writes to Z.
30155         (sub_magnitudes): Simplify code a bit.
30157 2013-02-27  Roland McGrath  <roland@hack.frob.com>
30159         * csu/gmon-start.c: Add special exception to license text.
30161 2013-02-27  Richard Henderson  <rth@redhat.com>
30163         * scripts/config.guess: Update from config.git.
30164         * scripts/config.sub: Likewise.
30166 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30168         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30170         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30172         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30174         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30176         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30178 2013-02-26  Roland McGrath  <roland@hack.frob.com>
30180         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30181         [$(build-shared = yes].
30183 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30185         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30186         (__mul): Reduce iterations for calculating mantissa.
30188         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30189         MPTWO.
30190         (__mpranred): Likewise.
30192         [BZ #15160]
30193         * malloc/memusagestat.c (main): Draw graphs for heap and stack
30194         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30196 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
30198         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30199         Define __attribute__.
30201 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30203         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30204         unused.
30205         * posix/regex_internal.h (__attribute): Remove.
30206         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30207         (re_string_context_at): Likewise.
30208         (bitset_not): Use __attribute__ and mark function as possibly
30209         unused.
30210         (bitset_merge): Likewise.
30211         (bitset_mask): Likewise.
30212         (re_string_char_size_at): Likewise.
30213         (re_string_wchar_at): Likewise.
30214         (re_string_elem_size_at): Likewise.
30216 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30218         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30219         code.
30220         (cc32): Likewise.
30222         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30223         (__acr): Likewise.
30224         (__cpy): Likewise.
30225         (norm): Likewise.
30226         (denorm): Likewise.
30227         (__dbl_mp): Likewise.
30228         (add_magnitudes): Likewise.
30229         (sub_magnitudes): Likewise.
30230         (__mul): Likewise.
30231         (__inv): Likewise.
30233         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30234         style.
30236         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30237         style.
30239         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30240         code.
30242         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30243         up changes with default code.
30244         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30245         Likewise.
30247 2013-02-24  Allan McRae  <allan@archlinux.org>
30249         * manual/socket.texi (The Internet Namespace): Order menu items
30250         to match that in the file.
30252         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30253         node listing of the info page menu.
30255 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
30257         [BZ #13550]
30258         * sysdeps/i386/bp-asm.h: Remove file.
30259         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30260         (PARMS): Do not use macros from bp-asm.h.
30261         (S1): Likewise.
30262         (S2): Likewise.
30263         (SIZE): Likewise.
30264         (__mpn_add_n): Do not use BP_SYM
30265         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30266         "bp-asm.h".
30267         (PARMS): Do not use macros from bp-asm.h.
30268         (S1): Likewise.
30269         (SIZE): Likewise.
30270         (__mpn_addmul_1): Do not use BP_SYM
30271         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30272         "bp-asm.h".
30273         (PARMS): Do not use macros from bp-asm.h.
30274         (SIGMSK): Likewise.
30275         (_setjmp): Likewise.  Do not use BP_SYM.
30276         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30277         "bp-asm.h".
30278         (PARMS): Do not use macros from bp-asm.h.
30279         (SIGMSK): Likewise.
30280         (setjmp): Likewise.  Do not use BP_SYM.
30281         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30282         "bp-asm.h".
30283         (PARMS): Do not use macros from bp-asm.h.
30284         (__frexp): Do not use BP_SYM.
30285         (frexp): Likewise.
30286         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30287         "bp-asm.h".
30288         (PARMS): Do not use macros from bp-asm.h.
30289         (__frexpf): Do not use BP_SYM.
30290         (frexpf): Likewise.
30291         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30292         "bp-asm.h".
30293         (PARMS): Do not use macros from bp-asm.h.
30294         (__frexpl): Do not use BP_SYM.
30295         (frexpl): Likewise.
30296         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30297         "bp-asm.h".
30298         (PARMS): Do not use macros from bp-asm.h.
30299         (__remquo): Do not use BP_SYM.
30300         (remquo): Likewise.
30301         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30302         "bp-asm.h".
30303         (PARMS): Do not use macros from bp-asm.h.
30304         (__remquof): Do not use BP_SYM.
30305         (remquof): Likewise.
30306         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30307         "bp-asm.h".
30308         (PARMS): Do not use macros from bp-asm.h.
30309         (__remquol): Do not use BP_SYM.
30310         (remquol): Likewise.
30311         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30312         "bp-asm.h".
30313         (PARMS): Do not use macros from bp-asm.h.
30314         (DEST): Likewise.
30315         (SRC): Likewise.
30316         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
30317         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30318         "bp-asm.h".
30319         (PARMS): Do not use macros from bp-asm.h.
30320         (strlen): Do not use BP_SYM.
30321         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30322         "bp-asm.h".
30323         (PARMS): Do not use macros from bp-asm.h.
30324         (S1): Likewise.
30325         (S2): Likewise.
30326         (SIZE): Likewise.
30327         (__mpn_add_n): Do not use BP_SYM.
30328         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30329         "bp-asm.h".
30330         (PARMS): Do not use macros from bp-asm.h.
30331         (S1): Likewise.
30332         (SIZE): Likewise.
30333         (__mpn_addmul_1): Do not use BP_SYM.
30334         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30335         weak_alias.
30336         (bzero): Likewise.
30337         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30338         "bp-asm.h".
30339         (PARMS): Do not use macros from bp-asm.h.
30340         (S): Likewise.
30341         (SIZE): Likewise.
30342         (__mpn_lshift): Do not use BP_SYM.
30343         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30344         "bp-asm.h".
30345         (PARMS): Do not use macros from bp-asm.h.
30346         (DEST): Likewise.
30347         (SRC): Likewise.
30348         (LEN): Likewise.
30349         (memcpy): Likewise.  Do not use BP_SYM.
30350         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30351         libc_hidden_def and weak_alias.
30352         (mempcpy): Do not use BP_SYM in weak_alias.
30353         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30354         "bp-asm.h".
30355         (PARMS): Do not use macros from bp-asm.h.
30356         (DEST): Likewise.
30357         (LEN): Likewise.
30358         [!BZERO_P] (CHR): Likewise.
30359         (memset): Likewise.  Do not use BP_SYM.
30360         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30361         "bp-asm.h".
30362         (PARMS): Do not use macros from bp-asm.h.
30363         (S1): Likewise.
30364         (SIZE): Likewise.
30365         (__mpn_mul_1): Do not use BP_SYM.
30366         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30367         "bp-asm.h".
30368         (PARMS): Do not use macros from bp-asm.h.
30369         (S): Likewise.
30370         (SIZE): Likewise.
30371         (__mpn_rshift): Do not use BP_SYM.
30372         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30373         "bp-asm.h".
30374         (PARMS): Do not use macros from bp-asm.h.
30375         (STR): Likewise.
30376         (CHR): Likewise.
30377         (strchr): Likewise.  Do not use BP_SYM.
30378         (index): Do not use BP_SYM in weak_alias.
30379         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30380         "bp-asm.h".
30381         (PARMS): Do not use macros from bp-asm.h.
30382         (DEST): Likewise.
30383         (SRC): Likewise.
30384         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
30385         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30386         "bp-asm.h".
30387         (PARMS): Do not use macros from bp-asm.h.
30388         (strlen): Do not use BP_SYM.
30389         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30390         "bp-asm.h".
30391         (PARMS): Do not use macros from bp-asm.h.
30392         (S1): Likewise.
30393         (S2): Likewise.
30394         (SIZE): Likewise.
30395         (__mpn_sub_n): Do not use BP_SYM.
30396         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30397         "bp-asm.h".
30398         (PARMS): Do not use macros from bp-asm.h.
30399         (S1): Likewise.
30400         (SIZE): Likewise.
30401         (__mpn_submul_1): Do not use BP_SYM.
30402         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30403         "bp-asm.h".
30404         (PARMS): Do not use macros from bp-asm.h.
30405         (S1): Likewise.
30406         (S2): Likewise.
30407         (SIZE): Likewise.
30408         (__mpn_add_n): Do not use BP_SYM.
30409         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30410         weak_alias.
30411         (bzero): Likewise.
30412         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30413         "bp-asm.h".
30414         (PARMS): Do not use macros from bp-asm.h.
30415         (BLK2): Likewise.
30416         (LEN): Likewise.
30417         (memcmp): Do not use BP_SYM.
30418         (bcmp): Do not use BP_SYM in weak_alias.
30419         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30420         "bp-asm.h".
30421         (PARMS): Do not use macros from bp-asm.h.
30422         (DEST): Likewise.
30423         (SRC): Likewise.
30424         (LEN): Likewise.
30425         (memcpy): Likewise.  Do not use BP_SYM.
30426         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30427         "bp-asm.h".
30428         (PARMS): Do not use macros from bp-asm.h.
30429         (DEST): Likewise.
30430         (SRC): Likewise.
30431         (LEN): Likewise.
30432         (memmove): Likewise.  Do not use BP_SYM.
30433         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30434         "bp-asm.h".
30435         (PARMS): Do not use macros from bp-asm.h.
30436         (DEST): Likewise.
30437         (SRC): Likewise.
30438         (LEN): Likewise.
30439         (__mempcpy): Likewise.  Do not use BP_SYM.
30440         (mempcpy): Do not use BP_SYM in weak_alias.
30441         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30442         "bp-asm.h".
30443         (PARMS): Do not use macros from bp-asm.h.
30444         (DEST): Likewise.
30445         (LEN): Likewise.
30446         [!BZERO_P] (CHR): Likewise.
30447         (memset): Likewise.  Do not use BP_SYM.
30448         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30449         "bp-asm.h".
30450         (PARMS): Do not use macros from bp-asm.h.
30451         (STR2): Likewise.
30452         (strcmp): Do not use BP_SYM.
30453         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30454         "bp-asm.h".
30455         (PARMS): Do not use macros from bp-asm.h.
30456         (STR): Likewise.
30457         (DELIM): Likewise.
30458         [USE_AS_STRTOK_R] (SAVE): Likewise.
30459         (FUNCTION): Likewise.  Do not use BP_SYM.
30460         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30461         aliases.
30462         (strtok_r): Likewise.
30463         (__GI___strtok_r): Likewise.
30464         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30465         (PARMS): Do not use macros from bp-asm.h.
30466         (S): Likewise.
30467         (SIZE): Likewise.
30468         (__mpn_lshift): Do not use BP_SYM.
30469         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30470         (PARMS): Do not use macros from bp-asm.h.
30471         (STR): Likewise.
30472         (CHR): Likewise.
30473         (__memchr): Do not use BP_SYM.
30474         (memchr): Do not use BP_SYM in weak_alias.
30475         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30476         (PARMS): Do not use macros from bp-asm.h.
30477         (BLK2): Likewise.
30478         (LEN): Likewise.
30479         (memcmp): Do not use BP_SYM.
30480         (bcmp): Do not use BP_SYM in weak_alias.
30481         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30482         (PARMS): Do not use macros from bp-asm.h.
30483         (S1): Likewise.
30484         (SIZE): Likewise.
30485         (__mpn_mul_1): Do not use BP_SYM.
30486         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30487         "bp-asm.h".
30488         (PARMS): Do not use macros from bp-asm.h.
30489         (STR): Likewise.
30490         (CHR): Likewise.
30491         (__rawmemchr): Do not use BP_SYM.
30492         (rawmemchr): Do not use BP_SYM in weak_alias.
30493         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30494         (PARMS): Do not use macros from bp-asm.h.
30495         (S): Likewise.
30496         (SIZE): Likewise.
30497         (__mpn_rshift): Do not use BP_SYM.
30498         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30499         (PARMS): Do not use macros from bp-asm.h.
30500         (SIGMSK): Likewise.
30501         (__sigsetjmp): Likewise.  Do not use BP_SYM.
30502         * sysdeps/i386/start.S: Do not include "bp-sym.h".
30503         (_start): Do not use BP_SYM.
30504         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30505         (PARMS): Do not use macros from bp-asm.h.
30506         (DEST): Likewise.
30507         (SRC): Likewise.
30508         (__stpcpy): Likewise.  Do not use BP_SYM.
30509         (stpcpy): Do not use BP_SYM in weak_alias.
30510         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30511         "bp-asm.h".
30512         (PARMS): Do not use macros from bp-asm.h.
30513         (DEST): Likewise.
30514         (SRC): Likewise.
30515         (LEN): Likewise.
30516         (__stpncpy): Likewise.  Do not use BP_SYM.
30517         (stpncpy): Do not use BP_SYM in weak_alias.
30518         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30519         (PARMS): Do not use macros from bp-asm.h.
30520         (STR): Likewise.
30521         (CHR): Likewise.
30522         (strchr): Likewise.  Do not use BP_SYM.
30523         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30524         "bp-asm.h".
30525         (PARMS): Do not use macros from bp-asm.h.
30526         (STR): Likewise.
30527         (CHR): Likewise.
30528         (__strchrnul): Likewise.  Do not use BP_SYM.
30529         (strchrnul): Do not use BP_SYM in weak_alias.
30530         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30531         "bp-asm.h".
30532         (PARMS): Do not use macros from bp-asm.h.
30533         (STOP): Likewise.
30534         (strcspn): Do not use BP_SYM.
30535         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30536         "bp-asm.h".
30537         (PARMS): Do not use macros from bp-asm.h.
30538         (STR): Likewise.
30539         (STOP): Likewise.
30540         (strpbrk): Likewise.  Do not use BP_SYM.
30541         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30542         "bp-asm.h".
30543         (PARMS): Do not use macros from bp-asm.h.
30544         (STR): Likewise.
30545         (CHR): Likewise.
30546         (strrchr): Likewise.  Do not use BP_SYM.
30547         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30548         (PARMS): Do not use macros from bp-asm.h.
30549         (SKIP): Likewise.
30550         (strspn): Do not use BP_SYM.
30551         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30552         (PARMS): Do not use macros from bp-asm.h.
30553         (STR): Likewise.
30554         (DELIM): Likewise.
30555         (SAVE): Likewise.
30556         (FUNCTION): Likewise.  Do not use BP_SYM.
30557         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30558         aliases.
30559         (strtok_r): Likewise.
30560         (__GI___strtok_r): Likewise.
30561         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30562         (PARMS): Do not use macros from bp-asm.h.
30563         (S1): Likewise.
30564         (S2): Likewise.
30565         (SIZE): Likewise.
30566         (__mpn_sub_n): Do not use BP_SYM.
30567         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30568         "bp-asm.h".
30569         (PARMS): Do not use macros from bp-asm.h.
30570         (S1): Likewise.
30571         (SIZE): Likewise.
30572         (__mpn_submul_1): Do not use BP_SYM.
30573         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30574         <bp-sym.h>.
30575         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30576         and <bp-asm.h>.
30577         (PARMS): Do not use macros from bp-asm.h.
30578         (FLAGS): Likewise.
30579         (PTID): Likewise.
30580         (TLS): Likewise.
30581         (CTID): Likewise.
30582         (__clone): Do not use BP_SYM.
30583         (clone): Do not use BP_SYM in weak_alias.
30584         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30585         and <bp-asm.h>.
30586         (PARMS): Do not use macros from bp-asm.h.
30587         (LEN): Likewise.
30588         (__mmap64): Do not use BP_SYM.
30589         (mmap64): Do not use BP_SYM in weak_alias.
30590         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30591         <bp-sym.h> and <bp-asm.h>.
30592         (PARMS): Do not use macros from bp-asm.h.
30593         (__posix_fadvise64_l64): Do not use BP_SYM.
30594         * sysdeps/unix/sysv/linux/i386/semtimedop.S
30595         (PARMS): Do not use macros from bp-asm.h.
30596         (NSOPS): Likewise.
30597         (semtimedop): Do not use BP_SYM.
30598         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30599         and <bp-asm.h>.
30601 2013-02-21  Allan McRae  <allan@archlinux.org>
30603         * manual/message.texi (Charset conversion in gettext):
30604         Move @end statement to beginning of line.
30606 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30608         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30609         static.
30610         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30611         Likewise.
30613         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30614         (denorm): Likewise.
30615         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30616         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30618 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30620         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30621         tail-call to the resolved function if pltexit isn't needed.
30623 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30625         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30626         or Y being zero as being unlikely.
30627         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30628         Likewise.
30630 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
30632         * manual/nss.texi (System Databases and Name Service Switch):
30633         Remove frobnicate @pxref.
30635 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
30637         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30638         __attribute__ ((unused)) to __attribute__ ((__unused__)).
30640 2013-02-20  Petr Machata  <pmachata@redhat.com>
30642         * elf/elf.h (R_ARM_TARGET1): New macro.
30643         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30644         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30645         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30646         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30647         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30648         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30649         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30650         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30651         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30652         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30653         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30654         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30655         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30656         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30657         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30658         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30659         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30660         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30661         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30662         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30663         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30664         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30665         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30666         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30667         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30668         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30669         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30670         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30671         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30672         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30673         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30674         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30675         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30676         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30677         (R_ARM_THM_GOT_BREL12): Likewise.
30678         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30679         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30680         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30681         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30682         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30683         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30684         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30685         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30686         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30688 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
30690         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30691         __attribute_used__ to __attribute__ ((unused)).
30693 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30695         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30696         powerpc mpa.c.
30697         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30698         comment formatting.
30699         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30701 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
30703         [BZ #13550]
30704         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30705         Remove macro.
30706         (ENTER): Remove both macro definitions.
30707         (LEAVE): Likewise.
30708         (CHECK_BOUNDS_LOW): Likewise.
30709         (CHECK_BOUNDS_HIGH): Likewise.
30710         (CHECK_BOUNDS_BOTH): Likewise.
30711         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30712         (RETURN_BOUNDED_POINTER): Likewise.
30713         (RETURN_NULL_BOUNDED_POINTER): Likewise.
30714         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30715         (POP_ERRNO_LOCATION_RETURN): Likewise.
30716         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30717         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30718         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30719         macros.
30720         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30721         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30722         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30723         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30724         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30725         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30726         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30727         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30728         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30729         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30730         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30731         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
30732         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30733         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
30734         removed macros.
30735         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30736         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
30737         macros.
30738         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30739         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
30740         * sysdeps/i386/i586/memset.S (memset): Likewise.
30741         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
30742         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30743         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
30744         macros.
30745         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30746         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
30747         Change uses of L(2) to L(out).
30748         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
30749         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
30750         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
30751         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30752         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
30753         removed macros.
30754         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30755         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
30756         macros.
30757         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30758         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
30759         (RETURN): Do not use macro LEAVE.
30760         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
30761         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
30762         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
30763         * sysdeps/i386/i686/memset.S (memset): Likewise.
30764         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
30765         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
30766         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30767         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
30768         Likewise.
30769         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30770         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
30771         L(1_2) and L(1_3) into L(1).
30772         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30773         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
30774         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30775         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
30776         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30777         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
30778         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
30779         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30780         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
30781         macros.
30782         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
30783         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30784         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
30785         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
30786         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
30787         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30788         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
30789         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
30790         * sysdeps/i386/strcspn.S (strcspn): Likewise.
30791         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
30792         * sysdeps/i386/strrchr.S (strrchr): Likewise.
30793         * sysdeps/i386/strspn.S (strspn): Likewise.
30794         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
30795         conditional code.
30796         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30797         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
30798         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30799         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
30800         L(1_3) into L(1_1).
30801         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
30802         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30803         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
30804         macros.
30805         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30807 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
30809         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
30810         macro.
30812 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30814         * math/atest-exp.c (exp_mpn): Remove ROUND.
30815         * math/atest-exp2.c (exp_mpn): Likewise.
30816         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
30818         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
30819         * stdlib/tst-tls-atexit-lib.c: Likewise.
30820         * stdlib/tst-tls-atexit.c: Likewise.
30822 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30824         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
30825         and __attribute_alloc_size__.
30827 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30829         * include/programs/xmalloc.h: Change __attribute_alloc_size to
30830         __attribute_alloc_size__.
30831         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
30832         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
30834 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30836         * include/programs/xmalloc.h: New file.
30837         * catgets/gencat.c: Include it.
30838         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
30839         * elf/pldd.c: Likewise.
30840         * iconv/iconv_charmap.c: Likewise.
30841         * iconv/iconvconfig.c: Likewise.
30842         * iconv/strtab.c: Likewise.
30843         * locale/programs/locale.c: Likewise.
30844         * locale/programs/localedef.h: Likewise.
30845         * locale/programs/simple-hash.c: Likewise.
30846         * nscd/nscd.h: Likewise.
30847         * nss/makedb.c: Likewise.
30848         * sysdeps/generic/ldconfig.h: Likewise.
30850 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30852         * Versions.def: Add GLIBC_2.18.
30853         * include/link.h (struct link_map): New member l_tls_dtor_count.
30854         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
30855         (__call_tls_dtors): Likewise.
30856         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
30857         __cxa_thread_atexit_impl.
30858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30859         Likewise.
30860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30861         Likewise.
30862         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30863         Likewise.
30864         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30865         Likewise.
30866         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30867         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
30868         Likewise.
30869         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
30870         Likewise.
30871         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30872         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30873         Likewise.
30874         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
30875         (tests): Add test case tst-tls-atexit.
30876         (modules-names): Add shared library for tst-tls-atexit.
30877         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
30878         (GLIBC_PRIVATE): Add __call_tls_dtors.
30879         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
30880         for libstdc++.
30881         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
30882         * stdlib/tst-tls-atexit.c: New test case.
30883         * stdlib/tst-tls-atexit-lib.c: New test case.
30885         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
30887         * elf/Versions (ld): Add _dl_find_dso_for_object.
30888         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
30889         * elf/dl-open.c (_dl_find_dso_for_object): New function.
30890         (dl_open_worker): Use _dl_find_dso_for_object.
30891         * elf/dl-sym.c (do_sym): Likewise.
30892         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
30894 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30896         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
30897         Syntactic changes only.
30898         (_dl_runtime_profile): Do a tail-call to the resolved function.
30900 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
30902         [BZ #13550]
30903         * sysdeps/x86_64/bp-asm.h: Remove file.
30904         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
30905         <bp-sym.h> and <bp-asm.h>.
30906         (__clone): Do not use BP_SYM.
30907         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
30908         <bp-sym.h> and <bp-asm.h>.
30909         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30910         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
30911         "bp-asm.h".
30912         (_setjmp): Do not use BP_SYM.
30913         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
30914         "bp-asm.h".
30915         (setjmp): Do not use BP_SYM.
30916         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
30917         libc_hidden_def.
30918         (mempcpy): Do not use BP_SYM in weak_alias.
30919         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
30920         "bp-asm.h".
30921         (strchr): Do not use BP_SYM.
30922         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
30923         "bp-asm.h".
30924         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
30925         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
30926         (_start): Do not use BP_SYM.
30927         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
30928         "bp-asm.h".
30929         (strcat): Do not use BP_SYM.
30930         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
30931         "bp-asm.h".
30932         (STRCMP): Do not use BP_SYM.
30933         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
30934         "bp-asm.h".
30935         (STRCPY): Do not use BP_SYM.
30936         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
30937         "bp-asm.h".
30938         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
30939         "bp-asm.h".
30940         (FUNCTION): Do not use BP_SYM.
30941         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
30942         weak_alias.
30943         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
30945 2013-02-17  Andreas Jaeger  <aj@suse.de>
30947         * time/Versions: Sort entries.
30948         * string/Versions: Likewise.
30949         * resolv/Versions: Likewise.
30950         * posix/Versions: Likewise.
30951         * iconv/Versions: Likewise.
30952         * elf/Versions: Likewise.
30953         * wcsmbs/Versions: Likewise.
30955 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30957         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
30958         loop termination condition.
30960         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
30961         variable to calculate EZ.
30962         (__sqr): Likewise.
30964         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
30965         the lower precision input.
30967 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
30969         [BZ #13550]
30970         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
30971         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
30972         (run-via-rtld-prefix): Do not handle %-bp tests.
30973         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
30974         (all-object-suffixes): Remove .ob.
30975         (bppfx): Remove variable.
30976         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
30977         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
30978         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
30979         [$(build-bounded) = yes] (libtype.ob): Likewise.
30980         * Makerules (elide-routines.ob): Remove variable.
30981         (do-tests-clean): Do not handle *-bp.out.
30982         (common-mostlyclean): Do not handle *-bp and *-bp.out.
30983         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
30984         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
30985         (tests): Do not include $(tests-bp.out).
30986         (xtests): Do not include $(xtests-bp.out).
30987         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
30988         [$(build-bounded) = yes] ($(addprefix
30989         $(objpfx),$(binaries-bounded))): Remove rule.
30990         ($(objpfx)%-bp.out): Remove rule.
30991         * config.make.in (build-bounded): Remove variable.
30992         * crypt/Makefile [$(build-bounded) = yes]
30993         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
30994         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
30995         append to variable.
30996         [$(build-bounded) = yes] (install-lib): Likewise.
30997         [$(build-bounded) = yes] (generated): Likewise.
30998         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
30999         Remove rule.
31000         * intl/Makefile [$(build-bounded) = yes]
31001         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31002         * math/Makefile [$(build-bounded) = yes]
31003         ($(tests:%=$(objpfx)%-bp): Likewise.
31004         * misc/Makefile [$(build-bounded) = yes]
31005         ($(objpfx)tst-tsearch-bp): Likewise.
31006         * nptl/Makeconfig (bounded-thread-library): Remove variable.
31007         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31008         Remove dependency.
31009         * string/Makefile (o-objects.ob): Remove variable.
31010         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31011         (CFLAGS-.ob): Remove variable.
31012         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31013         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31014         both definitions of variable.
31015         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31016         (ASFLAGS-.ob): Remove variable.
31018 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
31020         [BZ #13550]
31021         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31022         Remove __BOUNDED_POINTERS__ from condition.
31023         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31024         * string/bits/string2.h [!__NO_STRING_INLINES &&
31025         !__BOUNDED_POINTERS__]: Likewise.
31026         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31027         Likewise.
31028         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31029         Remove conditional code.
31030         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31031         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31032         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31033         condition.
31035         [BZ #13550]
31036         * csu/libc-start.c: Do not include <bp-sym.h>.
31037         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31038         * elf/dl-open.c: Do not include <bp-sym.h>.
31039         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31040         * math/fegetenv.c: Do not include <bp-sym.h>.
31041         (fegetenv): Do not use BP_SYM in versioned symbols.
31042         * nptl/sysdeps/pthread/bits/libc-lockP.h
31043         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31044         <bp-sym.h>.
31045         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31046         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31047         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31048         (__pthread_mutex_destroy): Likewise.
31049         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31050         (__pthread_mutex_lock): Likewise.
31051         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31052         (__pthread_mutex_trylock): Likewise.
31053         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31054         (__pthread_mutex_unlock): Likewise.
31055         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31056         (__pthread_mutexattr_init): Likewise.
31057         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31058         (__pthread_mutexattr_destroy): Likewise.
31059         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31060         (__pthread_mutexattr_settype): Likewise.
31061         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31062         (__pthread_rwlock_init): Likewise.
31063         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31064         (__pthread_rwlock_destroy): Likewise.
31065         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31066         (__pthread_rwlock_rdlock): Likewise.
31067         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31068         (__pthread_rwlock_tryrdlock): Likewise.
31069         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31070         (__pthread_rwlock_wrlock): Likewise.
31071         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31072         (__pthread_rwlock_trywrlock): Likewise.
31073         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31074         (__pthread_rwlock_unlock): Likewise.
31075         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31076         (__pthread_key_create): Likewise.
31077         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31078         (__pthread_setspecific): Likewise.
31079         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31080         (__pthread_getspecific): Likewise.
31081         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31082         Likewise.
31083         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31084         (_pthread_cleanup_push_defer): Likewise.
31085         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31086         (_pthread_cleanup_pop_restore): Likewise.
31087         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31088         (pthread_setcancelstate): Likewise.
31089         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31090         <bp-sym.h>.
31091         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31092         (memchr): Do not use BP_SYM in weak_alias.
31093         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31094         (fegetenv): Do not use BP_SYM in versioned symbols.
31095         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31096         (fesetenv): Do not use BP_SYM in versioned symbols.
31097         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31098         (feupdateenv): Do not use BP_SYM in versioned symbols.
31099         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31100         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31101         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31102         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31103         (open64): Do not use BP_SYM in weak_alias.
31104         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31105         (fegetenv): Do not use BP_SYM in versioned symbols.
31106         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31107         (fesetenv): Do not use BP_SYM in versioned symbols.
31108         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31109         (feupdateenv): Do not use BP_SYM in versioned symbols.
31110         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31111         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31112         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31113         (feraiseexcept): Do not use BP_SYM in versioned symbols.
31114         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31115         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31116         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31117         <bp-sym.h>.
31118         (__libc_start_main): Do not use BP_SYM.
31120 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31122         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31123         redundant return line.
31124         (norm): Likewise.
31125         (denorm): Likewise.
31126         (dbl_mp): Likewise.
31127         (sub_magnitudes): Likewise.
31128         (__add): Likewise.
31129         (__sub): Likewise.
31130         (__mul): Likewise.
31131         (__inv): Likewise.
31132         (__dvd): Likewise.
31133         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31134         (norm): Likewise.
31135         (denorm): Likewise.
31136         (dbl_mp): Likewise.
31137         (sub_magnitudes): Likewise.
31138         (__add): Likewise.
31139         (__sub): Likewise.
31140         (__mul): Likewise.
31141         (__inv): Likewise.
31142         (__dvd): Likewise.
31144         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31145         instead of __mul.
31146         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31147         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31148         (cc32): Likewise.
31150         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31151         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31152         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31153         of __mul for squares.
31154         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31155         function
31156         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31157         Likewise.
31158         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31159         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31161 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
31163         [BZ #13550]
31164         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31165         code.
31166         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31167         prototype or function definition.  Rename ubp_* variables and
31168         parameters.  Remove argv definitions conditional on
31169         [__BOUNDED_POINTERS__].
31170         * debug/backtrace.c (__backtrace): Do not use __unbounded.
31171         * elf/dl-runtime.c (_dl_fixup): Likewise.
31172         * include/set-hooks.h (RUN_HOOK): Likewise.
31173         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31174         definition.
31175         * string/strcpy.c (strcpy): Do not use __unbounded.
31176         * sysdeps/generic/frame.h (struct layout): Likewise.
31177         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31178         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31179         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31180         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31181         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31182         (__backtrace): Likewise.
31183         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31184         use __ptrvalue.
31185         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31186         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31187         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31188         Likewise.
31189         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31190         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31191         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31192         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31193         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31194         Do not use __unbounded.
31195         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31196         Rename __unboundedrlimits parameter to rlimits in prototype.
31197         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31198         Do not use __unbounded.
31199         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31200         not use __ptrvalue.
31201         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31202         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31203         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31204         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31205         __ptrvalue or __unbounded.
31206         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31207         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31208         use __unbounded.
31209         (__new_msgctl): Do not use __ptrvalue.
31210         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31211         __unbounded.
31212         (__libc_msgrcv): Do not use __ptrvalue.
31213         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31214         startup_info): Do not use __unbounded.
31215         (__libc_start_main): Likewise.  Rename ubp_* variables and
31216         parameters.  Remove argv definitions conditional on
31217         [__BOUNDED_POINTERS__].
31218         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31219         __ptrvalue.
31220         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31221         use __unbounded.
31222         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31223         or __ptrvalue.
31224         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31225         use __unbounded.
31226         (__new_shmctl): Do not use __ptrvalue.
31227         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31228         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31229         Likewise.
31230         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31231         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31232         (__libc_sigaction): Likewise.
31233         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31234         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31235         Likewise.
31236         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31238 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
31240         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
31242         * string/mempcpy.c: Implement by calling memcpy.
31244 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31246         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31248         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31249         evaluation.
31251         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31252         values in the mantissa.
31254         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31255         minimize writes to Z.
31256         (sub_magnitudes): Simplify code a bit.
31258 2013-02-12  Roland McGrath  <roland@hack.frob.com>
31260         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31261         from the message.  The linker prefixes all warnings with that already.
31263 2013-02-12  Andreas Schwab  <schwab@suse.de>
31265         [BZ #15078]
31266         * posix/regexec.c (extend_buffers): Add parameter min_len.
31267         (check_matching): Pass minimum needed length.
31268         (clean_state_log_if_needed): Likewise.
31269         (get_subexp): Likewise.
31270         * posix/Makefile (tests): Add bug-regex34.
31271         (bug-regex34-ENV): Define.
31272         * posix/bug-regex34.c: New file.
31274         [BZ #11561]
31275         * posix/regcomp.c (parse_bracket_exp): When looking up collating
31276         elements compare against the byte sequence of it, not its name.
31277         * posix/Makefile (tests): Add bug-regex35.
31278         (bug-regex35-ENV): Define.
31279         * posix/bug-regex35.c: New file.
31281 2013-02-11  Tom de Vries  <tom@codesourcery.com>
31283         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
31284         comment.
31285         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31286         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31287         (CHECK_EOL): Add undef.
31289 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
31291         * bits/stdlib-bsearch.h: New file.
31292         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
31293         * stdlib/stdlib.h: Likewise.
31295 2013-02-11  Roland McGrath  <roland@hack.frob.com>
31297         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31298         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31299         declaration.
31300         * manual/search.texi (Array Search Function): Add missing const in
31301         lfind prototype.
31302         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31303         declaration to use rlim_t.
31304         (Basic Scheduling Functions): Remove erroneous const from
31305         sched_getparam prototype.  Remove erroneous * from
31306         sched_get_priority_max and sched_get_priority_min prototypes.
31307         (Resource Usage): Fix summary @comment on vtimes to refer to
31308         sys/vtimes.h rather than vtimes.h.
31309         Add missing *s in vtimes prototype.
31310         (Limits on Resources): Fix ulimit prototype to return long int.
31311         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31312         prototypes to use long int rather than double.
31313         (BSD Random): Fix initstate and setstate to use char *, not void *.
31314         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31315         prototype to make second argument 'struct aiocb64 *const[]'.
31316         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31317         (Status of AIO Operations): Remove erroneous const in aio_return and
31318         aio_return64 prototypes.
31319         (Synchronizing I/O): Fix sync prototype to return void.
31320         * manual/startup.texi (Suboptions): Remove an erroneous const in
31321         getsubopt prototype.
31322         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31323         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31324         use size_t rather than int.
31325         (Scanning All Users): Likewise for getpwent_r.
31326         (Setting Groups): Add missing const to setgroups prototype.
31327         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31328         * manual/socket.texi (Host Names): Fix gethostbyaddr and
31329         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31330         'const void *' rather than 'const char *'.
31331         (Host Address Functions): Likewise for inet_ntop.
31332         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31333         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31334         ssize_t for return value.
31335         (Sending Data): Likewise for send, sendto, sendmsg.
31336         (Socket Option Functions): Add a missing const in setsockopt prototype.
31337         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31338         use wchar_t for the argument.
31339         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31340         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31341         take no arguments.
31342         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31343         double/float/long double for second argument.
31344         Fix return types of significand, significandf, significandl.
31345         * manual/filesys.texi (Setting Permissions): Use mode_t for second
31346         argument in fchmod prototype.
31347         (File Owner): Use uid_t and gid_t in fchown prototype.
31348         (File Times): Add const to utimes, futimes, and lutimes prototypes.
31349         (Making Special Files): Use mode_t and dev_t in mknod prototype.
31350         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31351         use 'const struct dirent **' as argument types to CMP function pointer
31352         argument.
31353         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31354         (File Times): Fix summary magic @comment for struct utimbuf and utime
31355         to refer to utime.h, not time.h.
31356         * manual/string.texi (Argz Functions): Add missing const in
31357         argz_extract and argz_next prototypes.
31358         (Finding Tokens in a String): Likewise for basename.
31359         (String/Array Comparison): Fix typo in wcscasecmp prototype.
31360         (Copying and Concatenation): Fix typo in wmemmove prototype.
31361         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31362         (Signal Stack): Remove erroneous const in sigstack prototype.
31363         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31364         prototype.
31365         (Simple Calendar Time): Likewise for stime.
31366         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31367         prototype.
31368         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31369         say sys/sysctl.h instead.
31370         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31371         and vsyslog prototypes.
31373 2013-02-11  Tom de Vries  <tom@codesourcery.com>
31375         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31376         Remove.
31378 2013-02-11  Roland McGrath  <roland@hack.frob.com>
31380         * misc/sys/mman.h: Fix typo in mremap comment.
31382 2013-02-08  Roland McGrath  <roland@hack.frob.com>
31384         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31385         the '\0' terminator.
31387 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
31389         [BZ #13550]
31390         * debug/segfault.c: Don't include <bp-checks.h>.
31391         * sysdeps/generic/bp-checks.h: Remove file.
31392         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31393         (__GETDENTS): Don't use CHECK_N.
31394         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31395         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31396         (__getgroups): Don't use CHECK_N.
31397         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31398         (setgroups): Don't use CHECK_N.
31399         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31400         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31401         (__libc_msgrcv): Don't use CHECK_N.
31402         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31403         (__libc_msgsnd): Don't use CHECK_N.
31404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31405         <bp-checks.h>.
31406         (__libc_pread): Don't use CHECK_N.
31407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31408         include <bp-checks.h>.
31409         (__libc_pread64): Don't use CHECK_N.
31410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31411         include <bp-checks.h>.
31412         (__libc_pwrite): Don't use CHECK_N.
31413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31414         include <bp-checks.h>.
31415         (__libc_pwrite64): Don't use CHECK_N.
31416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31417         <bp-checks.h>.
31418         (__libc_pread): Don't use CHECK_N.
31419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31420         include <bp-checks.h>.
31421         (__libc_pread64): Don't use CHECK_N.
31422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31423         include <bp-checks.h>.
31424         (__libc_pwrite): Don't use CHECK_N.
31425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31426         include <bp-checks.h>.
31427         (__libc_pwrite64): Don't use CHECK_N.
31428         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31429         (do_pread): Don't use CHECK_N.
31430         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31431         (do_pread64): Don't use CHECK_N.
31432         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31433         (do_pwrite): Don't use CHECK_N.
31434         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31435         (do_pwrite64): Don't use CHECK_N.
31436         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31437         (__libc_readv): Don't use CHECK_N.
31438         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31439         (semop): Don't use CHECK_N.
31440         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31441         <bp-checks.h>.
31442         (semtimedop): Don't use CHECK_N.
31443         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31444         (__libc_pread): Don't use CHECK_N.
31445         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31446         <bp-checks.h>.
31447         (__libc_pread64): Don't use CHECK_N.
31448         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31449         <bp-checks.h>.
31450         (__libc_pwrite): Don't use CHECK_N.
31451         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31452         <bp-checks.h>.
31453         (__libc_pwrite64): Don't use CHECK_N.
31454         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31455         <bp-checks.h>.
31456         (__libc_msgrcv): Don't use CHECK_N.
31457         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31458         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
31459         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31460         (__libc_writev): Don't use CHECK_N.
31462 2013-02-08  Roland McGrath  <roland@hack.frob.com>
31464         * string/strcpy.c: Removed unused variable.
31466         * Makeconfig (+sysdep-includes): Define with := rather than =.
31467         Use an existing include/ subdir of each sysdeps dir before it.
31469 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31471         * nscd/connection.c (register_traced_file): Comment function.
31472         [HAVE_INOTIFY] (union __inev): Define.
31473         [HAVE_INOTIFY] (inotify_check_files): New function.
31474         [HAVE_INOTIFY] (clear_db_cache): Likewise.
31475         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31476         clear_db_cache.
31477         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31479 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31481         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31482         loaded if not already and that a failure is permanent.
31484 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31486         [BZ #15006]
31487         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31488         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31490 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
31492         [BZ #13550]
31493         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31494         (CHECK_1_NULL_OK): Likewise.
31495         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31496         (__fxstat): Do not use CHECK_1.
31497         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31498         <bp-checks.h>.
31499         (___fxstat64): Do not use CHECK_1.
31500         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31501         <bp-checks.h>.
31502         (__fxstatat): Do not use CHECK_1.
31503         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31504         <bp-checks.h>.
31505         (__fxstatat64): Do not use CHECK_1.
31506         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31507         <bp-checks.h>.
31508         (__fxstat): Do not use CHECK_1.
31509         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31510         <bp-checks.h>.
31511         (__fxstatat): Do not use CHECK_1.
31512         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31513         <bp-checks.h>.
31514         (__getresgid): Do not use CHECK_1.
31515         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31516         <bp-checks.h>.
31517         (__getresuid): Do not use CHECK_1.
31518         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31519         <bp-checks.h>.
31520         (__lxstat): Do not use CHECK_1.
31521         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31522         <bp-checks.h>.
31523         (__old_msgctl): Do not use CHECK_1.
31524         (__new_msgctl): Likewise.
31525         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31526         <bp-checks.h>.
31527         (__new_setrlimit): Do not use CHECK_1.
31528         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31529         <bp-checks.h>.
31530         (__old_shmctl): Do not use CHECK_1.
31531         (__new_shmctl): Likewise.
31532         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31533         <bp-checks.h>.
31534         (__xstat): Do not use CHECK_1.
31535         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31536         (__lxstat): Do not use CHECK_1.
31537         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31538         <bp-checks.h>.
31539         (___lxstat64): Do not use CHECK_1.
31540         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31541         (__old_msgctl): Do not use CHECK_1.
31542         (__new_msgctl): Likewise.
31543         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31544         <bp-checks.h>.
31545         (__gettimeofday): Do not use CHECK_1.
31546         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31547         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31548         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31549         <bp-checks.h>.
31550         (__gettimeofday): Do not use CHECK_1.
31551         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31552         (__old_shmctl): Do not use CHECK_1_NULL_OK.
31553         (__new_shmctl): Do not use CHECK_1.
31554         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31555         <bp-checks.h>.
31556         (do_sigtimedwait): Do not use CHECK_1.
31557         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31558         <bp-checks.h>.
31559         (do_sigwaitinfo): Do not use CHECK_1.
31560         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31561         <bp-checks.h>.
31562         (msgctl): Do not use CHECK_1.
31563         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31564         <bp-checks.h>.
31565         (shmctl): Do not use CHECK_1.
31566         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31567         (ustat): Do not use CHECK_1.
31568         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31569         <bp-checks.h>.
31570         (__fxstat): Do not use CHECK_1.
31571         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31572         <bp-checks.h>.
31573         (__fxstatat): Do not use CHECK_1.
31574         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31575         <bp-checks.h>.
31576         (__lxstat): Do not use CHECK_1.
31577         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31578         <bp-checks.h>.
31579         (__xstat): Do not use CHECK_1.
31580         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31581         (__xstat): Do not use CHECK_1.
31582         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31583         (___xstat64): Do not use CHECK_1.
31585         [BZ #13550]
31586         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31587         definitions.
31588         (CHECK_BOUNDS_HIGH): Likewise.
31589         * string/strcpy.c: Do not include <bp-checks.h>.
31590         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31592 2013-02-07  Roland McGrath  <roland@hack.frob.com>
31594         * nscd/nscd-client.h (__nscd_drop_map_ref):
31595         Add __attribute__ ((unused)).
31596         * nis/nss-nisplus.h (niserr2nss): Likewise.
31598         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31599         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31601         * csu/libc-tls.c (init_static_tls, init_slotinfo):
31602         Remove inline keyword.
31603         * include/rounding-mode.h (round_away): Likewise.
31604         * libio/wfileops.c (adjust_wide_data): Likewise.
31605         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31606         (__m128i_strloadu_tolower): Likewise.
31607         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31608         (__m128i_strloadu_tolower): Likewise.
31609         * time/mktime.c (ydhms_diff): Likewise.
31610         * locale/elem-hash.h (elem_hash): Likewise.
31611         * locale/setlocale.c (setdata): Likewise.
31612         * posix/regex_internal.h (re_string_char_size_at): Likewise.
31613         (re_string_wchar_at): Likewise.
31614         (bitset_not, bitset_merge, bitset_mask): Likewise.
31615         [!(__GNUC__ > 3)] (inline): Remove macro.
31616         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31617         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31618         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31619         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31620         * string/memcmp.c (memcmp_bytes): Likewise.
31621         * locale/programs/locarchive.c (compute_hashval): Likewise.
31622         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31623         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31624         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31625         * nss/getent.c (print_rpc, print_protocols): Likewise.
31626         (print_passwd, print_group, print_aliases): Likewise.
31627         * nis/nss-nisplus.h (niserr2nss): Likewise.
31628         * nscd/connections.c (restart_p): Likewise.
31629         Change return type to bool.
31631 2013-02-05  Roland McGrath  <roland@hack.frob.com>
31633         * Makeconfig (all-Depend-files): Add existing
31634         $(sorted-subdirs:=/Depend) files.
31635         (all-subdirs): Remove nss.
31636         * sysdeps/unix/inet/Subdirs: Add it here instead.
31637         * hesiod/Depend: New file.
31639         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31640         instead of calling alloca.
31642         * io/lseek.c (__lseek): Rename to __libc_lseek.
31643         Define __lseek as an alias.
31645         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31647 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
31649         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31650         else clause and remove check for non-standard endianness.
31652 2013-02-04  David S. Miller  <davem@davemloft.net>
31654         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31656 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
31658         [BZ #13550]
31659         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31660         (__ubp_memchr): Remove prototype.
31661         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31662         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31663         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31664         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31665         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31666         Remove alias.
31667         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31668         (__ubp_memchr): Likewise.
31669         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31670         (__ubp_memchr): Likewise.
31671         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31672         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31673         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31674         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31675         CHECK_STRING.
31676         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31677         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31678         (__getcwd): Do not use CHECK_STRING.
31679         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31680         <bp-checks.h>.
31681         (__real_chown): Do not use CHECK_STRING.
31682         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31683         <bp-checks.h>.
31684         (fchownat): Do not use CHECK_STRING.
31685         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31686         CHECK_STRING.
31687         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31688         <bp-checks.h>.
31689         (__lchown): Do not use CHECK_STRING.
31690         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31691         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31692         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31693         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31694         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31695         include <bp-checks.h>.
31696         (truncate64): Do not use CHECK_STRING.
31697         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31698         <bp-checks.h>.
31699         (__real_chown): Do not use CHECK_STRING.
31700         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31701         <bp-checks.h>.
31702         (__lchown): Do not use CHECK_STRING.
31703         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31704         <bp-checks.h>.
31705         (__chown): Do not use CHECK_STRING.
31706         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31707         <bp-checks.h>.
31708         (truncate64): Do not use CHECK_STRING.
31709         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31710         Likewise.
31711         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31712         (__xmknod): Do not use CHECK_STRING.
31713         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31714         <bp-checks.h>.
31715         (__xmknodat): Do not use CHECK_STRING.
31716         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31717         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31719 2013-02-04  Andreas Schwab  <schwab@suse.de>
31721         [BZ #14142]
31722         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31723         * include/netdb.h: Likewise for h_errno.
31724         * elf/tst-stackguard1.c: Include <tls.h>.
31726 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
31728         * elf/link.h (struct link_map): Extend the l_addr comment.
31729         * include/link.h (struct link_map): Likewise.
31731 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
31733         [BZ #13550]
31734         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
31735         (BOUNDED_1): Remove macro.
31736         * debug/backtrace.c: Don't include <bp-checks.h>.
31737         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
31738         (__backtrace): Likewise.
31739         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
31740         <bp-checks.h>.
31741         (__backtrace): Don't use BOUNDED_1.
31742         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
31743         <bp-checks.h>.
31744         (__backtrace): Don't use BOUNDED_1.
31745         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
31746         (__backtrace): Don't use BOUNDED_1.
31747         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
31748         (shmat): Don't use BOUNDED_N.
31750 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
31752         [BZ #13550]
31753         * sysdeps/generic/bp-start.h: Remove file.
31754         * csu/libc-start.c: Don't include <bp-start.h>.
31755         (LIBC_START_MAIN): Set up __environ directly instead of using
31756         INIT_ARGV_and_ENVIRON.
31757         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
31758         <bp-start.h>.
31760         [BZ #13550]
31761         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
31762         definitions.
31763         (CHECK_FCNTL): Likewise.
31764         (CHECK_N_PAGES): Likewise.
31766         [BZ #13550]
31767         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
31768         definitions.
31769         (CHECK_SIGSET_NULL_OK): Likewise.
31770         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
31771         <bp-checks.h>.
31772         (sigpending): Don't use CHECK_SIGSET.
31773         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
31774         <bp-checks.h>.
31775         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31776         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
31777         <bp-checks.h>.
31778         (do_sigsuspend): Don't use CHECK_SIGSET.
31779         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
31780         use CHECK_SIGSET.
31781         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
31782         (do_sigwait): Don't use CHECK_SIGSET.
31783         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
31784         use CHECK_SIGSET.
31785         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
31786         include <bp-checks.h>.
31787         (sigpending): Don't use CHECK_SIGSET.
31788         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
31789         include <bp-checks.h>.
31790         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31791         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
31792         <bp-checks.h>.
31793         (sigpending): Don't use CHECK_SIGSET.
31794         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
31795         <bp-checks.h>.
31796         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31798         [BZ #13550]
31799         * sysdeps/generic/bp-semctl.h: Remove file.
31800         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
31801         <bp-checks.h> and <bp-semctl.h>.
31802         (__old_semctl): Don't use CHECK_SEMCTL.
31803         (__new_semctl): Likewise.
31804         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
31805         and <bp-semctl.h>.
31806         (__old_semctl): Don't use CHECK_SEMCTL.
31807         (__new_semctl): Likewise.
31808         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
31809         <bp-checks.h> and <bp-semctl.h>.
31810         (__old_semctl): Don't use CHECK_SEMCTL.
31811         (__new_semctl): Likewise.
31812         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
31813         <bp-checks.h> and <bp-semctl.h>.
31814         (semctl): Don't use CHECK_SEMCTL.
31816         [BZ #13550]
31817         * Makerules (elide-bp-thunks): Remove variable.
31818         (elide-routines.oS): Don't use $(elide-bp-thunks).
31819         (elide-routines.os): Likewise.
31820         (elide-routines.o): Likewise.
31821         (elide-routines.op): Likewise.
31822         (elide-routines.og): Likewise.
31823         (objects): Don't use $(bp-thunks).
31824         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
31825         include.
31826         (common-generated): Do not add s-proto-bp.d.
31827         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
31828         (int): Likewise.
31829         (typ): Likewise.
31830         Do not generate makefile rules for bounded-pointer thunks.
31831         * sysdeps/generic/bp-thunks.h: Remove file.
31832         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
31833         * sysdeps/unix/s-proto-bp.S: Likewise.
31835         [BZ #15062]
31836         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
31837         parts of result separately when argument is not close to line from
31838         -i to i and one part of argument is small.
31839         * math/k_casinhf.c (__kernel_casinhf): Likewise.
31840         * math/k_casinhl.c (__kernel_casinhl): Likewise.
31841         * math/libm-test.inc (cacos_test): Add more tests.
31842         (casin_test): Likewise.
31843         (casinh_test): Likewise.
31844         * sysdeps/i386/fpu/libm-test-ulps: Update.
31845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31847 2013-01-31  David S. Miller  <davem@davemloft.net>
31849         * po/de.po: Update from translation team.
31851 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
31853         * time/tzfile.c: Include stdint.h for SIZE_MAX.
31855 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
31857         * configure.in (_AC_PROG_CC_C89): New definition.
31858         * configure: Regenerate.
31860         * configure.in (AC_PROG_CPP): New definition.
31861         * configure: Regenerate.
31863 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
31865         * debug/tst-backtrace.h: New file.
31866         * debug/tst-backtrace2.c: Include tst-backtrace.h.
31867         (ret): Remove variable.
31868         (x): Likewise.
31869         (FAIL): Remove macro.
31870         (NO_INLINE): Likewise.
31871         (fn1): Use match function instead of strstr.
31872         * debug/tst-backtrace3.c: Include tst-backtrace.h.
31873         (ret): Remove variable.
31874         (x): Likewise.
31875         (FAIL): Remove macro.
31876         (NO_INLINE): Likewise.
31877         (fn): Use match function instead of strstr.
31878         * debug/tst-backtrace4.c: Include tst-backtrace.h.
31879         (ret): Remove variable.
31880         (x): Likewise.
31881         (FAIL): Remove macro.
31882         (NO_INLINE): Likewise.
31883         (handle_signal): Use match function instead of strstr.
31884         * debug/tst-backtrace5.c: Include tst-backtrace.h.
31885         (ret): Remove variable.
31886         (x): Likewise.
31887         (FAIL): Remove macro.
31888         (NO_INLINE): Likewise.
31889         (handle_signal): Use match function instead of strstr.
31891 2013-01-23  Roland McGrath  <roland@hack.frob.com>
31893         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
31895 2013-01-23  David S. Miller  <davem@davemloft.net>
31897         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
31898         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
31899         argument of CAS if possible.
31900         * sysdeps/sparc/sparc64/bits/atomic.h
31901         (__arch_compare_and_exchange_val_32_acq): Likewise.
31902         (__arch_compare_and_exchange_val_64_acq): Likewise.
31904 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
31906         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
31907         * sysdeps/posix/ulimit.c: ... this.
31908         Include <limits.h>.
31909         * sysdeps/unix/bsd/ulimit.c: Remove file.
31911 2013-01-23  Adam Conrad  <adconrad@0c3.net>
31913         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
31914         (LDFLAGS-tst-array5): Likewise.
31916 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
31918         [BZ #15036]
31919         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
31920         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
31921         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
31922         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
31924 2013-01-21  David S. Miller  <davem@davemloft.net>
31926         * sysdeps/sparc/backtrace.c: New file.
31927         * sysdeps/sparc/sparc32/backtrace.h: New file.
31928         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
31929         * sysdeps/sparc/sparc64/backtrace.h: New file.
31930         * sysdeps/sparc/sparc64/backtrace.c: Delete.
31931         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
31932         -funwind-tables.
31934 2013-01-21  Andreas Schwab  <schwab@suse.de>
31936         [BZ #15020]
31937         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
31938         closed its stdout.
31940 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
31942         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
31943         "mpa2.h".
31944         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31946 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
31947             Mark Mitchell  <mark@codesourcery.com>
31948             Tom de Vries  <tom@codesourcery.com>
31949             Paul Pluzhnikov  <ppluzhnikov@google.com>
31951         * debug/tst-backtrace2.c: New file.
31952         * debug/tst-backtrace3.c: Likewise.
31953         * debug/tst-backtrace4.c: Likewise.
31954         * debug/tst-backtrace5.c: Likewise.
31955         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
31956         (CFLAGS-tst-backtrace3.c): Likewise.
31957         (CFLAGS-tst-backtrace4.c): Likewise.
31958         (CFLAGS-tst-backtrace5.c): Likewise.
31959         (LDFLAGS-tst-backtrace2): Likewise.
31960         (LDFLAGS-tst-backtrace3): Likewise.
31961         (LDFLAGS-tst-backtrace4): Likewise.
31962         (LDFLAGS-tst-backtrace5): Likewise.
31963         (tests): Add new tests tst-backtrace2, tst-backtrace3,
31964         tst-backtrace4 and tst-backtrace5.
31966 2013-01-18  Anton Blanchard  <anton@samba.org>
31967             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31969         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
31970         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
31971         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
31972         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
31973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31974         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
31975         "+r" and remove output regs list as redundant.  Add explicit inline
31976         asm to specify register of return val to work around compiler codegen
31977         bug.  Remove (int) cast on return value.  Add return type parameter to
31978         use in macro so that this macro does not truncate return value for
31979         64-bit values.
31980         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
31981         pass to INTERNAL_VSYSCALL_NCS.
31982         (INLINE_VSYSCALL): Add 'long int' as return type to
31983         INTERNAL_VSYSCALL_NCS macro invocation.
31984         (INTERNAL_VSYSCALL): Add 'long int' as return type to
31985         INTERNAL_VSYSCALL_NCS macro invocation.
31986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31988 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31990         [BZ #14496]
31991         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
31992         Fix application of SIMD FP exception mask.
31994         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
31995         mp_no from a power of two.
31996         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
31997         __mpexp_twomm1.  Use __pow_mp.
31999         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32000         multiplication.
32002 2013-01-17  David S. Miller  <davem@davemloft.net>
32004         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32006 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
32008         [BZ #15023]
32009         * include/complex.h: Condition contents on [!_COMPLEX_H].
32010         (__kernel_casinhf): New prototype.
32011         (__kernel_casinh): Likewise.
32012         (__kernel_casinhl): Likewise.
32013         * math/Makefile (libm_calls): Add k_casinh.
32014         * math/k_casinh.c: New file.
32015         * math/k_casinhf.c: Likewise.
32016         * math/k_casinhl.c: Likewise.
32017         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32018         finite nonzero arguments.
32019         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32020         finite nonzero arguments.
32021         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32022         finite nonzero arguments.
32023         * math/s_casinh.c: Do not include <float.h>.
32024         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32025         * math/s_casinhf.c: Do not include <float.h>.
32026         (__casinhf): Move code for finite nonzero arguments to
32027         k_casinhf.c.
32028         * math/s_casinhl.c: Do not include <float.h>.
32029         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32030         redefine.
32031         (__casinhl): Move code for finite nonzero arguments to
32032         k_casinhl.c.
32033         * math/libm-test.inc (cacos_test): Add more tests.
32034         * sysdeps/i386/fpu/libm-test-ulps: Update.
32035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32037 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
32039         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32040         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32041         [!HAVE_MREMAP]: Remove [defined linux] case.
32042         * malloc/arena.c: Do not include <malloc-sysdep.h>.
32044 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32046         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32048 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
32050         * elf/elf.h (R_386_SIZE32): New relocation.
32051         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32052         R_386_SIZE32.
32053         (elf_machine_rela): Likewise.
32054         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32055         R_X86_64_SIZE64 and R_X86_64_SIZE32.
32057 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
32059         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32060         (FP_FAST_FMA): Do not define.
32061         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32062         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32063         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32064         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32065         !_SOFT_FLOAT]: Likewise.
32066         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32067         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32068         value.
32069         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32070         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32071         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32072         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32073         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32074         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32075         file.
32077 2013-01-16  Andreas Schwab  <schwab@suse.de>
32079         [BZ #14327]
32080         * include/stdlib.h (__mktemp): Add declaration.
32081         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32082         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32084 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32086         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32087         definitions.
32088         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32089         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32090         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32091         definitions here.
32092         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32093         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32094         definitions.
32095         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32096         and ONE.
32097         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32098         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32099         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32100         definitions.
32101         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32102         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32103         definitions.
32104         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32106         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32108 2013-01-15  David S. Miller  <davem@davemloft.net>
32110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32111         trunc{,f} to libm-sysdep_routes.
32112         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32114         file.
32115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32117         file.
32118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32119         file.
32120         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32121         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32122         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32123         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32124         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32125         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32126         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32127         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32129         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32130         nearbyint{,f} to libm-sysdep_routes.
32131         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32132         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32133         New file.
32134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32135         file.
32136         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32137         New file.
32138         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32139         file.
32140         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32141         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32142         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32143         file.
32144         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32145         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32146         file.
32147         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32148         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32149         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32151         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32152         libc_feholdexcept and libc_fesetenv.
32154 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
32156         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32158 2013-01-14  David S. Miller  <davem@davemloft.net>
32160         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32161         (SPARC_ASM_VIS2_IFUNC): Likewise.
32162         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32163         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32164         use of 'siam' instruction.
32165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32166         Likewise.
32167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32168         Likewise.
32169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32170         Likewise.
32171         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32172         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32173         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32174         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32176         file.
32177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32178         file.
32179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32180         file.
32181         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32182         file.
32183         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32184         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32185         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32186         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32187         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32188         new VIS2 routines.
32189         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32190         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32191         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32192         Likewise.
32193         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32194         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32195         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32196         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32198         routines to libm-sysdep_routines.
32199         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32201         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32202         fdim/fdimf to libm-sysdep_routines.
32203         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32204         file.
32205         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32207         file.
32208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32209         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32210         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32211         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32212         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32213         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32214         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32216 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32218         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32219         to optimize copies.
32221         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32222         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32223         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32225         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32226         local variable MPTWO.
32227         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32228         Likewise.
32230 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
32232         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32233         GLOB_NOESCAPE.
32235 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
32237         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32239 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
32241         * manual/pattern.texi (glob_t): Document gl_flags.
32242         (glob64_t): Likewise.
32244 2013-01-11  David S. Miller  <davem@davemloft.net>
32246         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32247         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32248         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
32249         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32250         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32251         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32252         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32253         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32254         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32255         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32256         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32257         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32258         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32260         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32261         sparc V9 rather than using V8 code.
32262         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32263         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32265         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32266         Move to...
32267         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32268         Here.
32270 2013-01-11  Roland McGrath  <roland@hack.frob.com>
32272         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32273         not in the main loop.
32274         * configure: Regenerated.
32276 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
32278         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32279         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32280         to just #else.
32281         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
32282         [!__GLIBC_HAVE_LONG_LONG] case.
32283         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32284         condition to just #else.
32285         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32286         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32287         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32288         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32289         unconditional.
32290         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32291         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32292         #elif condition to just #else.
32293         * sysdeps/unix/sysv/linux/sys/sysmacros.h
32294         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32295         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32296         #elif condition to just #else.
32298 2013-01-11  Steve Ellcey  <sellcey@mips.com>
32300         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32301         (EF_MIPS_ARCH_64): Fix value.
32302         (EF_MIPS_ARCH_32R2): New.
32303         (EF_MIPS_ARCH_64R2): New.
32305 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
32307         * Makeconfig (+link-pie-before-libc): New.
32308         (+link-pie-after-libc): Likewise.
32309         (+link-pie-tests): Likewise.
32310         (+link-pie): Rewritten.
32311         (link-before-libc): Remove $(config-LDFLAGS).
32312         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32313         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32314         (config-LDFLAGS): Renamed to ...
32315         (rtld-LDFLAGS): This.
32316         (rtld-tests-LDFLAGS): New macro.
32317         (link-libc-rpath-link): Likewise.
32318         (link-libc-tests-rpath-link): Likewise.
32319         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32320         (link-libc): Prepand $(link-libc-rpath-link).
32321         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32322         (test-program-prefix): New macro.
32323         (test-via-rtld-prefix): Likewise.
32324         (test-program-cmd): Likewise.
32325         (host-test-program-cmd): Likewise.
32326         * Makefile ($(common-objpfx)testrun.sh): Replace
32327         $(run-program-prefix) with $(test-program-prefix).
32328         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32329         $(rtld-LDFLAGS).
32330         ($(common-objpfx)shlib.lds): Likewise.
32331         (build-module-helper): Likewise.
32332         ($(common-objpfx)format.lds): Likewise.
32333         * Rules (binaries-pie-tests): New.
32334         (binaries-pie-notests): Likewise.
32335         (binaries-pie): Rewritten.
32336         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32337         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32338         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32339         (make-test-out): Replace $(host-built-program-cmd) with
32340         $(host-test-program-cmd).
32341         * config.make.in (build-hardcoded-path-in-tests): New variable.
32342         * configure.in (--enable-hardcoded-path-in-tests): New configure
32343         option.
32344         (hardcoded_path_in_tests): New AC_SUBST.
32345         * configure: Regenerated.
32346         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32347         $(built-program-cmd) with $(test-program-cmd).
32348         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32349         (test_program_cmd): This.
32350         * elf/Makefile ($(objpfx)order.out): Run test with
32351         $(test-program-prefix).
32352         ($(objpfx)order2.out): Likewise.
32353         ($(objpfx)tst-initorder.out): Likewise.
32354         ($(objpfx)tst-initorder2.out): Likewise.
32355         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32356         $(test-program-cmd).
32357         ($(objpfx)tst-array1-static.out): Likewise.
32358         ($(objpfx)tst-array2.out): Likewise.
32359         ($(objpfx)tst-array3.out): Likewise.
32360         ($(objpfx)tst-array4.out): Likewise.
32361         ($(objpfx)tst-array5.out): Likewise.
32362         ($(objpfx)tst-array5-static.out): Likewise.
32363         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32364         $(test-program-cmd).
32365         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32366         $(run-program-prefix) with $(test-program-prefix).
32367         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32368         (test_program_prefix): This.
32369         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32370         $(run-program-prefix) with $(test-program-prefix).
32371         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32372         (test_program_prefix): This.
32373         * iconvdata/tst-tables.sh: Likewise.
32374         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32375         $(run-program-prefix) with $(test-program-prefix).
32376         ($(objpfx)tst-translit.out): Likewise.
32377         ($(objpfx)tst-gettext2.out): Likewise.
32378         ($(objpfx)tst-gettext4.out): Likewise.
32379         ($(objpfx)tst-gettext6.out): Likewise.
32380         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32381         (test_program_prefix): This.
32382         * intl/tst-gettext2.sh: Likewise.
32383         * intl/tst-gettext4.sh  Likewise.
32384         * intl/tst-gettext6.sh: Likewise.
32385         * intl/tst-translit.sh: Likewise.
32386         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32387         with $(test-program-cmd).
32388         * libio/Makefile ($(objpfx)test-freopen.out): Replace
32389         $(run-program-prefix) with $(test-program-prefix).
32390         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32391         (test_program_prefix): This.
32392         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32393         $(run-program-prefix) with $(test-program-prefix).
32394         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32395         (test_program_prefix): This.
32396         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32397         * posix/Makefile ($(objpfx)globtest.out): Replace
32398         $(run-via-rtld-prefix) and $(test-wrapper) with
32399         $(test-program-prefix) and $(test-via-rtld-prefix).
32400         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32401         $(test-program-prefix).
32402         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32403         $(host-test-program-cmd).
32404         (tst-spawn-ARGS): Likewise.
32405         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32406         $(test-program-prefix).
32407         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32408         (test_via_rtld_prefix): This.
32409         (test_wrapper): Renamed to ...
32410         (test_program_prefix): This.
32411         (run_program_prefix): Replaced by test_program_prefix.
32412         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32413         (test_program_prefix): This.
32414         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32415         with $(host-test-program-cmd).
32416         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32417         $(run-program-prefix) with $(test-program-prefix).
32418         ($(objpfx)tst-printf.out): Likewise.
32419         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32420         $(test-program-cmd).
32421         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32422         (test_program_prefix): This.
32423         * stdio-common/tst-unbputc.sh: Likewise.
32424         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32425         $(run-program-prefix) with $(test-program-prefix).
32426         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32427         (test_program_prefix): This.
32428         * string/Makefile ($(objpfx)tst-svc.out):  Replace
32429         $(built-program-cmd) with $(test-program-cmd).
32431 2013-01-11  Andreas Jaeger  <aj@suse.de>
32433         [BZ #15003]
32434         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32435         value. Sync with Linux 3.7.
32437 2013-01-10  David S. Miller  <davem@davemloft.net>
32439         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32440         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32441         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32443 2013-01-10  Roland McGrath  <roland@hack.frob.com>
32445         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32446         never set.
32447         * configure: Regenerated.
32449 2013-01-10  David S. Miller  <davem@davemloft.net>
32451         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32452         sparc V9 rather than using V8 code.
32453         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32454         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32456 2013-01-10  Roland McGrath  <roland@hack.frob.com>
32458         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32459         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32460         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32461         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32462         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32463         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32464         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32465         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32466         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32467         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32468         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32469         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32470         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32471         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32472         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32473         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32474         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32475         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32476         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32477         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32478         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32479         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32480         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32481         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32482         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32483         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32484         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32486 2013-01-10  David S. Miller  <davem@davemloft.net>
32488         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32490 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
32492         * posix/Makefile (tests-static): New variable.
32493         (tests): Add $(tests-static).
32494         (tst-exec-static-ARGS): New variable.
32495         (tst-spawn-static-ARGS): Likewise.
32496         * posix/tst-exec-static.c: New file.
32497         * posix/tst-spawn-static.c: Likewise.
32498         * posix/tst-exec.c: Support run directly.
32499         * posix/tst-spawn.c: Likewise.
32501 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
32503         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32504         long.
32505         * math/bits/mathcalls.h (llrint): Likewise.
32506         (llround): Likewise.
32507         * stdlib/stdlib.h (struct drand48_data): Likewise.
32508         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32509         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32510         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32511         Likewise.
32512         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32513         Likewise.
32514         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32515         (elf_greg_t): Likewise.
32516         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32517         (__jmp_buf): Likewise.
32518         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32519         definitions.
32520         (llrint): Likewise, for all definitions.
32521         (llrintl): Likewise.
32523         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32524         Remove [__GNUC__] condition.
32525         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32526         condition to just [__USE_ISOC99].
32527         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32529 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
32531         [BZ #14200]
32532         * sysdeps/unix/sysv/linux/x86/bits/environments.h
32533         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32534         defined.
32535         (_POSIX_V6_ILP32_OFF32): Likewise.
32536         (_XBS5_ILP32_OFF32): Likewise.
32537         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32538         (__ILP32_OFFBIG_LDFLAGS): Likewise.
32540 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32542         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32544         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32545         doubles __mpexp_twomm1.  Adjust usage.
32546         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32547         Remove.
32549 2013-01-10  Andreas Schwab  <schwab@suse.de>
32551         [BZ #14964]
32552         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32553         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32555 2013-01-09  David S. Miller  <davem@davemloft.net>
32557         [BZ #15003]
32558         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32559         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32560         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32561         (TCP_FASTOPEN): Define.
32562         (tcp_repair_opt): New structure.
32563         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32564         enum values.
32565         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32566         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32567         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
32568         (tcp_cookie_transactions): New structure.
32570 2013-01-09  Anton Blanchard  <anton@samba.org>
32572         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32573         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32574         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32575         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32577 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
32579         * include/features.h (__USE_ANSI): Remove.
32581 2013-01-09  Roland McGrath  <roland@hack.frob.com>
32583         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32585         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32587 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
32589         * sysdeps/s390/fpu/libm-test-ulps: Update.
32591         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32593         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32594         (__acr): Likewise.
32595         (__cpy): Likewise.
32596         (norm): Likewise.
32597         (denorm): Likewise.
32598         (__mp_dbl): Likewise.
32599         (__dbl_mp): Likewise.
32600         (add_magnitudes): Likewise.
32601         (sub_magnitudes): Likewise.
32602         (__add): Likewise.
32603         (__sub): Likewise.
32604         (__mul): Likewise.
32605         (__inv): Likewise.
32606         (__dvd): Likewise.
32607         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32608         (__acr): Likewise.
32609         (__cpy): Likewise.
32610         (norm): Likewise.
32611         (denorm): Likewise.
32612         (__mp_dbl): Likewise.
32613         (__dbl_mp): Likewise.
32614         (add_magnitudes): Likewise.
32615         (sub_magnitudes): Likewise.
32616         (__add): Likewise.
32617         (__sub): Likewise.
32618         (__mul): Likewise.
32619         (__inv): Likewise.
32620         (__dvd): Likewise.
32621         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32622         (__acr): Likewise.
32623         (__cpy): Likewise.
32624         (norm): Likewise.
32625         (denorm): Likewise.
32626         (__mp_dbl): Likewise.
32627         (__dbl_mp): Likewise.
32628         (add_magnitudes): Likewise.
32629         (sub_magnitudes): Likewise.
32630         (__add): Likewise.
32631         (__sub): Likewise.
32632         (__mul): Likewise.
32633         (__inv): Likewise.
32634         (__dvd): Likewise.
32636 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
32638         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32639         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32640         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32641         2 && __USE_EXTERN_INLINES]: Likewise.
32643 2013-01-08  Andreas Jaeger  <aj@suse.de>
32645         [BZ# 14985]
32646         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32647         Remove.
32648         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32649         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32651 2013-01-07  Anton Blanchard  <anton@samba.org>
32653         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32654         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32655         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32656         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32657         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32658         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32659         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32660         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32661         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32662         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32663         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32664         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32665         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32666         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32667         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32668         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32669         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32670         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32671         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32672         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32673         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32674         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32675         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32676         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32677         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32678         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32679         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32680         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32681         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32682         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32683         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32684         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32685         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32686         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32687         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32688         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32689         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32690         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32691         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32692         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32693         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32694         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32695         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32697 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
32699         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32700         (__MALLOC_PMT): Likewise.
32701         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32702         [__GNUC__], only on [_LIBC].
32703         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32704         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32705         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32706         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32707         forward declaration.
32708         (realloc_hook_ini): Likewise.
32709         (memalign_hook_ini): Likewise.
32710         (__libc_memalign): Do not use __MALLOC_PMT in variable
32711         declaration.
32712         (__libc_valloc): Likewise.
32713         (__libc_pvalloc): Likewise.
32714         (__libc_calloc): Likewise.
32715         (__posix_memalign): Likewise.
32717         [BZ #14996]
32718         * math/s_casinh.c: Include <float.h>.
32719         (__casinh): Do not do computation with squaring and square root
32720         for large arguments.
32721         * math/s_casinhf.c: Include <float.h>.
32722         (__casinhf): Do not do computation with squaring and square root
32723         for large arguments.
32724         * math/s_casinhl.c: Include <float.h>.
32725         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32726         (__casinhl): Do not do computation with squaring and square root
32727         for large arguments.
32728         * math/libm-test.inc (casin_test): Add more tests.
32729         (casinh_test): Likewise.
32730         * sysdeps/i386/fpu/libm-test-ulps: Update.
32731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32733 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
32735         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
32736         (__x86_64_raw_data_cache_size): Likewise.
32737         (__x86_64_data_cache_size_half): Likewise.
32738         (__x86_64_raw_data_cache_size_half): Likewise.
32739         (__x86_64_shared_cache_size): Likewise.
32740         (__x86_64_raw_shared_cache_size): Likewise.
32741         (__x86_64_shared_cache_size_half): Likewise.
32742         (__x86_64_raw_shared_cache_size_half): Likewise.
32743         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
32744         to ...
32745         (__x86_data_cache_size): This.
32746         (__x86_64_raw_data_cache_size): Renamed to ...
32747         (__x86_raw_data_cache_size): This.
32748         (__x86_64_data_cache_size_half): Renamed to ...
32749         (__x86_data_cache_size_half): This.
32750         (__x86_64_raw_data_cache_size_half): Renamed to ...
32751         (__x86_raw_data_cache_size_half): This.
32752         (__x86_64_shared_cache_size): Renamed to ...
32753         (__x86_shared_cache_size): This.
32754         (__x86_64_raw_shared_cache_size): Renamed to ...
32755         (__x86_raw_shared_cache_size): This.
32756         (__x86_64_shared_cache_size_half): Renamed to ...
32757         (__x86_shared_cache_size_half): This.
32758         (__x86_64_raw_shared_cache_size_half): Renamed to ...
32759         (__x86_raw_shared_cache_size_half): This.
32760         * sysdeps/x86_64/memcpy.S: Updated.
32761         * sysdeps/x86_64/memset.S: Likewise.
32762         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32763         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32764         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32766 2013-01-04  David S. Miller  <davem@davemloft.net>
32768         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32770 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
32772         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
32773         1 to avoid redefinition warning.
32774         (__USE_GNU): Don't define.
32775         (init_signaling_nan): Protoize.
32777         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32779 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32781         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
32782         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
32783         (__cpymn): Likewise.
32784         (norm): Remove commented code.
32785         (denorm): Likewise.
32786         (__mp_dbl): Likewise.
32787         (__inv): Likewise.
32788         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
32789         (__cpymn): Likewise.
32790         (norm): Remove commented code.
32791         (denorm): Likewise.
32792         (__mp_dbl): Likewise.
32793         (__inv): Likewise.
32795         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
32796         mp_no value for 1.0 and 2.0.
32797         (norm): Use RADIXI instead of radixi.d.
32798         (denorm): Likewise.
32799         (__mul): Use 0.0 instead of zero.d.
32800         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
32801         mp_no value for 1.0 and 2.0.
32802         (norm): Use RADIXI instead of radixi.d.
32803         (denorm): Likewise.
32804         (__mul): Use 0.0 instead of zero.d.
32806 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
32808         [BZ #14994]
32809         * math/s_casinh.c (__casinh): Reduce finite argument to first
32810         quadrant then set signs of results at the end.
32811         * math/s_casinhf.c (__casinhf): Likewise.
32812         * math/s_casinhl.c (__casinhl): Likewise.
32813         * math/libm-test.inc (casin_test): Add more tests.
32814         (casinh_test): Likewise.
32815         * sysdeps/i386/fpu/libm-test-ulps: Update.
32816         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32818 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32820         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
32822         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
32824         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
32825         declarations.
32826         (denorm): Likewise.
32827         (__mp_dbl): Likewise.
32828         (__inv): Likewise.
32830         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
32831         and adjust the header comment.
32833         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
32834         variable name from declaration.
32836 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
32838         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32839         Initialize COMMON_CPUID_INDEX_7 element.
32840         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
32841         (CPUID_RTM): Likewise.
32842         (HAS_RTM): Likewise.
32843         (COMMON_CPUID_INDEX_7): New enum.
32845 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
32847         [BZ #14981]
32848         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
32849         size is zero, record memory as freed.
32851 2013-01-03  Andreas Jaeger  <aj@suse.de>
32853         * po/ia.po: Add new Interlingua translation.
32855 2012-01-03  Allan McRae  <allan@archlinux.org>
32857         * locale/programs/localedef.c: Fix description of '--posix' flag.
32859 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
32861         * NEWS: Update dates in second copyright notice.
32862         * README: Update copyright dates in example.
32863         * manual/libc.texinfo: Update copyright dates.
32864         * scripts/test-installation.pl: Update copyright date in --version
32865         output.
32867         * hurd/ctty-input.c: Fix copyright notice formatting.
32868         * hurd/ctty-output.c: Likewise.
32869         * hurd/dtable.c: Likewise.
32870         * hurd/hurd-raise.c: Likewise.
32871         * hurd/hurdprio.c: Likewise.
32872         * hurd/msgportdemux.c: Likewise.
32873         * misc/sys/file.h: Likewise.
32874         * misc/sys/ioctl.h: Likewise.
32875         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
32876         * sysdeps/mach/hurd/chdir.c: Likewise.
32877         * sysdeps/mach/hurd/fchdir.c: Likewise.
32878         * sysdeps/mach/hurd/rename.c: Likewise.
32879         * sysdeps/mach/hurd/rmdir.c: Likewise.
32880         * sysdeps/mach/hurd/seekdir.c: Likewise.
32881         * sysdeps/mach/hurd/setsid.c: Likewise.
32882         * sysdeps/posix/wait3.c: Likewise.
32884         * All files with FSF copyright notices: Update copyright dates
32885         using scripts/update-copyrights.
32886         * intl/plural.c: Regenerated.
32887         * locale/programs/charmap-kw.h: Likewise.
32888         * locale/programs/locfile-kw.h: Likewise.
32890 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32892         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
32893         four values.
32895         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
32896         calculation loop and add branch prediction.
32898         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
32899         check access beyond bounds of m1np.
32901         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32902         MPTWO.
32903         (__inv): Remove local variable MPTWO to use the global
32904         constant.
32905         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
32906         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32907         variable MPTWO.
32908         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
32909         MP3HALFS static const.
32911 2013-01-01  David S. Miller  <davem@davemloft.net>
32913         * po/ca.po: Update from translation team.
32915 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
32917         * scripts/update-copyrights: New file.
32918         * Makeconfig: Reformat copyright notice.
32919         * ctype/ctype.h: Likewise.
32920         * debug/swprintf_chk.c: Likewise.
32921         * elf/dl-cache.c: Likewise.
32922         * elf/dl-debug.c: Likewise.
32923         * elf/dl-object.c: Likewise.
32924         * grp/initgroups.c: Likewise.
32925         * hurd/Makefile: Likewise.
32926         * hurd/hurd/signal.h: Likewise.
32927         * hurd/hurdfault.c: Likewise.
32928         * hurd/hurdioctl.c: Likewise.
32929         * hurd/hurdlookup.c: Likewise.
32930         * hurd/intr-msg.c: Likewise.
32931         * iconv/gconv_open.c: Likewise.
32932         * libio/swprintf.c: Likewise.
32933         * locale/lc-ctype.c: Likewise.
32934         * locale/nl_langinfo.c: Likewise.
32935         * mach/Machrules: Likewise.
32936         * mach/Makefile: Likewise.
32937         * malloc/obstack.h: Likewise.
32938         * manual/Makefile: Likewise.
32939         * manual/tsort.awk: Likewise.
32940         * misc/bits/stab.def: Likewise.
32941         * nis/nis_print_group_entry.c: Likewise.
32942         * nis/nis_table.c: Likewise.
32943         * nis/nss_compat/compat-pwd.c: Likewise.
32944         * nis/nss_compat/compat-spwd.c: Likewise.
32945         * po/Makefile: Likewise.
32946         * posix/fnmatch.c: Likewise.
32947         * posix/regex.h: Likewise.
32948         * resolv/Makefile: Likewise.
32949         * resolv/nss_dns/dns-network.c: Likewise.
32950         * resolv/res_hconf.c: Likewise.
32951         * scripts/gen-sorted.awk: Likewise.
32952         * soft-fp/soft-fp.h: Likewise.
32953         * stdio-common/printf.h: Likewise.
32954         * stdlib/monetary.h: Likewise.
32955         * stdlib/random.c: Likewise.
32956         * stdlib/random_r.c: Likewise.
32957         * sysdeps/generic/Makefile: Likewise.
32958         * sysdeps/gnu/Makefile: Likewise.
32959         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32960         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32961         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32962         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32963         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32964         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32965         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32966         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32967         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32968         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32969         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32970         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32971         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32972         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32973         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
32974         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32975         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32976         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32977         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32978         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32979         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32980         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32981         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32982         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32983         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
32984         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32985         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32986         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
32987         * sysdeps/mach/hurd/errnos.awk: Likewise.
32988         * sysdeps/mach/hurd/fork.c: Likewise.
32989         * sysdeps/mach/hurd/getcwd.c: Likewise.
32990         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
32991         * sysdeps/mach/hurd/mmap.c: Likewise.
32992         * sysdeps/mach/hurd/utimes.c: Likewise.
32993         * sysdeps/mach/hurd/xmknod.c: Likewise.
32994         * sysdeps/posix/profil.c: Likewise.
32995         * sysdeps/posix/readdir_r.c: Likewise.
32996         * sysdeps/powerpc/bits/mathdef.h: Likewise.
32997         * sysdeps/powerpc/bits/setjmp.h: Likewise.
32998         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
32999         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33000         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33001         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33002         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33003         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33004         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33005         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33006         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33007         * sysdeps/pthread/lio_listio.c: Likewise.
33008         * sysdeps/sparc/dl-procinfo.h: Likewise.
33009         * sysdeps/unix/i386/sysdep.S: Likewise.
33010         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33011         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33012         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33013         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33015         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33016         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33017         * sysdeps/unix/sysv/linux/speed.c: Likewise.
33018         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33019         * sysdeps/wordsize-32/divdi3.c: Likewise.
33020         * time/sys/time.h: Likewise.
33021         * wcsmbs/Makefile: Likewise.
33023 2013-01-01  David S. Miller  <davem@davemloft.net>
33025         * po/fr.po: Update from translation team.
33027         * catgets/gencat.c: Update copyright year.
33028         * csu/version.c: Likewise.
33029         * debug/catchsegv.sh: Likewise.
33030         * debug/pcprofiledump.c: Likewise.
33031         * debug/xtrace.sh: Likewise.
33032         * elf/ldconfig.c: Likewise.
33033         * elf/ldd.bash.in: Likewise.
33034         * elf/pldd.c: Likewise.
33035         * elf/sotruss.ksh: Likewise.
33036         * elf/sprof.c: Likewise.
33037         * iconv/iconv_prog.c: Likewise.
33038         * iconv/iconvconfig.c: Likewise.
33039         * locale/programs/locale.c: Likewise.
33040         * locale/programs/localedef.c: Likewise.
33041         * login/programs/pt_chown.c: Likewise.
33042         * malloc/memusage.sh: Likewise.
33043         * malloc/memusagestat.c: Likewise.
33044         * malloc/mtrace.pl: Likewise.
33045         * nscd/nscd.c: Likewise.
33046         * nss/getent.c: Likewise.
33047         * nss/makedb.c: Likewise.
33048         * posix/getconf.c: Likewise.
33050 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33052         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33053         numbers.
33055 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
33057         * math/bits/mathcalls.h (modf): Use __nonnull.
33059 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33061         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33062         (split): Use macro CN instead of the bare value.
33063         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33064         could be used.
33065         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33066         instead of the bare value.
33067         (power1): Likewise.
33069 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33071         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33072         __ATAN_TWOM.
33073         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33075         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33076         their values.
33077         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33078         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33079         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33080         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33082 2012-12-28  Andreas Jaeger  <aj@suse.de>
33084         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
33085         values are from Linux 3.7.
33087         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33088         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
33090 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33092         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
33093         TRUE case.
33095         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33096         (norm): Likewise.
33097         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33098         variables with preprocessor constants.
33099         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33100         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33101         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33103 2012-12-27  Bruno Haible  <bruno@clisp.org>
33105         [BZ #14317]
33106         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33107         only if needed.
33109 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33111         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33112         and use variable directly.
33113         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33115         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33116         MPONE.
33117         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33118         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33119         variable MPONE.
33120         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33121         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33122         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33123         include directive.  Remove local variable MPONE.
33124         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33125         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33126         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33128 2012-12-25  David S. Miller  <davem@davemloft.net>
33130         * version.h (RELEASE): Set to "development".
33131         (VERSION): Set to "2.17.90".
33132         * NEWS: Add 2.18 section.
33134 2012-12-21  David S. Miller  <davem@davemloft.net>
33136         * po/hr.po: Update from translation team.
33138 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33140         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33142 2012-12-19  Steve Ellcey  <sellcey@mips.com>
33144         * NEWS:  Mention new memcpy for MIPS.
33146 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33148         * manual/contrib.texi (Contributors): Spelling correction.
33150 2012-12-15  David S. Miller  <davem@davemloft.net>
33152         * po/ru.po: Update from translation team.
33154 2012-12-13  David S. Miller  <davem@davemloft.net>
33156         * NEWS: Mention IFUNC testsuite enhancements.
33158         * po/pl.po: Update from translation team.
33159         * po/bg.po: Likewise.
33161         * manual/contrib.texi (Contributors): Update entries for Hongjiu
33162         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
33164 2012-12-11  David S. Miller  <davem@davemloft.net>
33166         * po/sv.po: Update from translation team.
33168         * po/vi.po: Update from translation team.
33170         * po/cs.po: Update from translation team.
33172         * po/de.po: Update from translation team.
33173         * po/eo.po: Likewise.
33174         * po/nl.po: Likewise.
33176 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33178         [BZ #14246]
33179         * manual/argp.texi (Argp Helper Functions): Move node to follow
33180         Argp Parsing State.
33182         [BZ #14872]
33183         * manual/conf.texi (Limits on File System Capacity): Mention if
33184         terminating null is included in the max size.
33186 2012-12-10  Andreas Jaeger  <aj@suse.de>
33188         * po/cs.po: Update from translation team.
33190 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
33192         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33193         void pointer and cast to uintptr_t.
33194         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33195         path.
33196         * sysdeps/s390/s390-64/memcpy.S: Likewise.
33197         * sysdeps/s390/s390-64/memset.S: Likewise.
33199 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
33201         [BZ #14833]
33202         * menual/message.texi (Message Translation): Fix typos.
33203         (Helper programs for gettext): Likewise.
33205 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
33207         [BZ #14898]
33208         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33209         Change to -1.
33211 2012-12-07  David S. Miller  <davem@davemloft.net>
33213         * po/libc.pot: Update.
33215 2012-12-07  Richard Henderson  <rth@redhat.com>
33217         [BZ #10114]
33218         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33219         normal/normal case to before the switch.
33220         (_FP_DIV): Likewise.
33222 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
33223             Mike Frysinger  <vapier@gentoo.org>
33225         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33226         check for __NR_fadvise64_64.
33228 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
33230         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33231         0, not just to plain "0" as a statement.
33232         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33233         with cw.
33235 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
33237         * NEWS: Use sourceware.org in Bugzilla URL.
33239 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33242         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33244         * stdio-common/tst-put-error.c (do_test): Add newline to the
33245         padded test to ensure flush.
33247 2012-12-05  Jeff Law  <law@redhat.com>
33249         * sunrpc/etc.rpc (fedfs_admin): Add entry.
33251 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
33253         * README: Don't refer to ports add-on as distributed separately.
33254         Mention AArch64 in list of systems supported in the ports add-on.
33256         * LICENSES: Add more non-FSF copyright and license notices.
33258         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33259         ((unused)).
33261         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33263         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33264         10000 as width of padded output.
33266 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
33268         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33270         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33271         variable LX with __attribute__ ((unused)).
33272         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33273         Likewise.
33274         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33275         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33276         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33277         with __attribute__ ((unused)).
33279 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
33281         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33283 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
33285         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33286         (CFLAGS-nldbl-acos.c): New variable.
33287         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33288         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33289         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33290         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33291         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33292         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33293         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33294         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33295         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33296         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33297         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33298         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33299         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33300         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33301         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33302         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33303         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33304         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33305         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33306         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33307         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33308         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33309         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33310         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33311         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33312         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33313         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33314         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33315         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33316         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33317         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33318         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33319         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33320         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33321         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33322         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33323         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33324         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33325         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33326         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33327         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33328         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33329         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33330         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33331         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33332         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33333         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33334         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33335         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33336         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33337         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33338         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33339         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33340         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33341         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33342         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33343         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33344         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33345         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33346         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33347         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33348         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33349         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33350         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33351         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33352         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33353         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33354         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33355         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33356         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33357         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33358         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33359         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33360         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33361         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33362         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33363         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33364         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33365         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33366         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33367         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33368         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33369         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33370         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33371         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33372         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33373         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33374         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33375         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33376         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33377         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33378         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33379         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33380         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33381         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33382         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33383         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33386         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33388         [BZ #14914]
33389         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33390         whole low double instead of just low 47 bits when splitting values
33391         into two parts.
33393 2012-12-03  Allan McRae  <allan@archlinux.org>
33395         * manual/stdio.texi (Predefined Printf Handlers): Remove
33396         @hsep and @vsep usage.
33398 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
33400         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33401         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33403 2012-12-03  Jeff Law  <law@redhat.com>
33405         * time/sys/time.h (settimeofday): Do not mark TV argument
33406         as __nonnull.
33408 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
33410         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33411         when currently writing and seek to current position when not.
33412         * libio/Makefile (tests): Remove bug-fclose1.
33413         * libio/bug-fclose1.c: Delete.
33415 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
33417         * manual/arith.texi (feenableexcept): Fix typo.
33418         (fedisableexcept): Likewise.
33420 2012-11-30  Roland McGrath  <roland@hack.frob.com>
33422         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33423         second, differently-typed declaration, rather than a cast.
33425 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33427         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33428         * include/rpc/svc.h: ... here.
33430 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
33432         [BZ #13013]
33433         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33434         depending n and resplen2 to catch cases where answer
33435         equals answerp2.
33437 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
33439         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33440         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33442 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
33444         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33446 2012-11-29  Roland McGrath  <roland@hack.frob.com>
33448         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33450 2012-11-28  Jeff Law  <law@redhat.com>
33452         [BZ #13761]
33453         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33454         dataset_temporary.  Track alloca usage into alloca_used.
33455         If dataset is large allocate and release it via malloc/free.
33457 2012-06-04  Florian Weimer  <fweimer@redhat.com>
33459         [BZ #14197]
33460         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33462 2012-11-28  David S. Miller  <davem@davemloft.net>
33464         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33466 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
33468         [BZ #14803]
33469         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33470         of pi/2 rounded to nearest to 64 bits.
33471         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33472         nearest to 64 bits.
33473         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33474         bits.
33476 2012-11-28  Jeff Law <law@redhat.com>
33477             Martin Osvald <mosvald@redhat.com>
33479         [BZ #14889]
33480         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33481         * sunrpc/svc.c: Include time.h.
33482         (__svc_accept_failed): New function.
33483         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33484         any reason other than EINTR, call __svc_accept_failed.
33485         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33486         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33488 2012-11-28  Andreas Schwab  <schwab@suse.de>
33490         * scripts/abilist.awk: Also handle indirect functions in .opd
33491         section.
33493 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
33495         [BZ #13881]
33496         * sysdeps/x86/fpu/powl_helper.c: New file.
33497         * sysdeps/x86/fpu/Makefile: Likewise.
33498         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33499         (p3): New object.
33500         (__ieee754_powl): Use __powl_helper for finite arguments except
33501         integer exponents below 8.
33502         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33503         (p3): New object.
33504         (__ieee754_powl): Use __powl_helper for finite arguments except
33505         integer exponents below 8.
33506         * math/libm-test.inc (pow_test): Add more tests and enable some
33507         previously disabled tests.
33508         * sysdeps/i386/fpu/libm-test-ulps: Update.
33509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33511 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33512             Carlos O'Donell  <carlos_odonell@mentor.com>
33514         * nss/makedb.c (is_prime): Assert that input is odd and greater
33515         than 4.  Note that fact in a comment too.
33516         (next_prime): Add 4 to input.
33518 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33520         [BZ #11741]
33521         * libio/Makefile (tests): Add test case tst-fwrite-error.
33522         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33523         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33524         * libio/tst-fwrite-error.c: New test case.
33526 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
33528         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33529         before casting to void *.
33530         * include/libc-internal.h (__pointer_type): New macro.
33531         (__integer_if_pointer_type_sub): Likewise.
33532         (__integer_if_pointer_type): Likewise.
33533         (cast_to_integer): Likewise.
33534         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33535         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33536         before casting to atomic64_t.
33537         (atomic_exchange_acq): Likewise.
33538         (__arch_exchange_and_add_body): Likewise.
33539         (__arch_add_body): Likewise.
33540         (atomic_add_negative): Likewise.
33541         (atomic_add_zero): Likewise.
33543 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
33545         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33546         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33547         (add_fdes): Likewise.
33548         (linear_search_fdes): Likewise.
33549         (binary_search_unencoded_fdes): Likewise.
33551 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
33553         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33555 2012-11-24  Adam Conrad  <adconrad@0c3.net>
33557         * configure.in: Autodetect C++ header directories.
33558         * configure: Regenerated.
33560 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
33562         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33564 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
33566         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33568 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
33570         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33571         LDBL_MANT_DIG == 106]: Disable some tests.
33572         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33573         Likewise.
33574         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33575         Likewise.
33577         [BZ #14871]
33578         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33579         input for small inputs.  Return +/- pi/2 for large inputs.
33580         * math/libm-test.inc (atan_test): Add more tests.
33582         * sysdeps/generic/unwind-dw2-fde-glibc.c
33583         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33584         __attribute__ ((unused)).
33586         [BZ #14645]
33587         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33588         x * y if x and y are nonzero and z is zero.
33590         [BZ #14811]
33591         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33592         nonzero exponents with absolute value below 0x1p-117 to +/-
33593         0x1p-117.
33595         [BZ #14869]
33596         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33597         up arguments below 2**-450, not just those below 2**-500.
33598         * math/libm-test.inc (hypot_test): Add another test.
33600         [BZ #14868]
33601         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33602         Return a+b for ratio over 2**120, not 2**60.
33603         * math/libm-test.inc (hypot_test): Add another test.
33605         * math/libm-test.inc (clog_test): Use
33606         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33607         (clog10_test): Likewise.
33609         [BZ #6778]
33610         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33612 2012-11-22  Andreas Schwab  <schwab@suse.de>
33614         * sysdeps/i386/fpu/libm-test-ulps: Update.
33616 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
33618         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33619         printf output with newline.
33621 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
33623         [BZ #14865]
33624         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33625         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33626         -z nodlopen, -z initfirst and -z execstack support.
33627         * configure: Regenerated.
33629         * elf/elf.h (DF_1_NODIRECT): New macro.
33630         (DF_1_IGNMULDEF): Likewise.
33631         (DF_1_NOKSYMS): Likewise.
33632         (DF_1_NOHDR): Likewise.
33633         (DF_1_EDITED): Likewise.
33634         (DF_1_NORELOC): Likewise.
33635         (DF_1_SYMINTPOSE): Likewise.
33636         (DF_1_GLOBAUDIT): Likewise.
33637         (DF_1_SINGLETON): Likewise.
33638         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33639         DT_1_SUPPORTED_MASK bits.
33640         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33642 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
33644         * sysdeps/unix/make-syscalls.sh: Document prefixes.
33646 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
33648         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33649         macro.
33651         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33652         (sendmmsg): Move declarations...
33653         * socket/sys/socket.h: ... here.
33654         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33655         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33656         include it from...
33657         * socket/recvmmsg.c: ... this new file.
33658         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33659         (sendmmsg): Rename to __sendmmsg, create weak alias and make
33660         definition of __sendmmsg hidden.
33661         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33662         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33663         Move ENOSYS stub into and include it from...
33664         * socket/sendmmsg.c: ... this new file.
33665         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33666         (sysdep_routines): Move recvmmsg and sendmmsg...
33667         * socket/Makefile (routines): ... here.
33668         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33669         (GLIBC_PRIVATE): Add __sendmmsg.
33670         * include/sys/socket.h (__sendmmsg): Add declarations.
33671         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33672         sendmmsg.
33674 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
33676         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33677         variable I1 with __attribute__ ((unused)).
33678         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33680 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
33682         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33683         DUMMY variables with __attribute__ ((unused)).
33685         * bits/byteswap.h: Include <bits/types.h>.
33686         (__bswap_64): Use __uint64_t instead of unsigned long long int.
33688 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
33690         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33691         string_t.  Do not manually set errno.
33692         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33693         length with __strnlen.  Make sure to both set errno and return it on
33694         failure.
33696 2012-11-19  David S. Miller  <davem@davemloft.net>
33698         With help from Joseph Myers.
33699         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33700         very large arguments properly.
33701         * math/libm-test.inc (atan_test): New tests.
33702         (atan2_test): New tests.
33703         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33704         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33706 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
33708         [BZ #14856]
33709         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33710         Define to 3.
33712         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33713         [POSIX] (EADDRNOTAVAIL): Likewise.
33714         [POSIX] (EAFNOSUPPORT): Likewise.
33715         [POSIX] (EALREADY): Likewise.
33716         [POSIX] (ECONNABORTED): Likewise.
33717         [POSIX] (ECONNREFUSED): Likewise.
33718         [POSIX] (ECONNRESET): Likewise.
33719         [POSIX] (EDESTADDRREQ): Likewise.
33720         [POSIX] (EDQUOT): Likewise.
33721         [POSIX] (EHOSTUNREACH): Likewise.
33722         [POSIX] (EIDRM): Likewise.
33723         [POSIX] (EISCONN): Likewise.
33724         [POSIX] (ELOOP): Likewise.
33725         [POSIX] (EMULTIHOP): Likewise.
33726         [POSIX] (ENETDOWN): Likewise.
33727         [POSIX] (ENETUNREACH): Likewise.
33728         [POSIX] (ENOBUFS): Likewise.
33729         [POSIX] (ENODATA): Likewise.
33730         [POSIX] (ENOLINK): Likewise.
33731         [POSIX] (ENOMSG): Likewise.
33732         [POSIX] (ENOPROTOOPT): Likewise.
33733         [POSIX] (ENOSR): Likewise.
33734         [POSIX] (ENOSTR): Likewise.
33735         [POSIX] (ENOTCONN): Likewise.
33736         [POSIX] (ENOTSOCK): Likewise.
33737         [POSIX] (EOPNOTSUPP): Likewise.
33738         [POSIX] (EOVERFLOW): Likewise.
33739         [POSIX] (EPROTO): Likewise.
33740         [POSIX] (EPROTONOSUPPORT): Likewise.
33741         [POSIX] (EPROTOTYPE): Likewise.
33742         [POSIX] (ESTALE): Likewise.
33743         [POSIX] (ETIME): Likewise.
33744         [POSIX] (ETXTBSY): Likewise.
33745         [POSIX] (EWOULDBLOCK): Likewise.
33746         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
33747         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
33748         [POSIX] (SEEK_CUR): Likewise.
33749         [POSIX] (SEEK_END): Likewise.
33750         [POSIX || UNIX98] (mode_t): Do not require.
33751         [POSIX] (off_t): Likewise.
33752         [POSIX] (pid_t): Likewise.
33753         [POSIX] (sys/stat.h): Do not allow header.
33754         [POSIX] (unistd.h): Likewise.
33755         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
33756         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
33757         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
33758         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
33759         require.
33760         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
33761         sigevent): Specify elements.
33762         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
33763         entry.
33764         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
33765         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
33767         * conform/data/cpio.h-data [POSIX]: Disable whole file.
33768         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
33769         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
33770         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
33771         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
33772         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
33773         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
33774         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
33775         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
33776         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
33777         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
33778         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
33779         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
33780         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
33781         Likewise.
33782         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
33783         Likewise.
33784         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
33785         Likewise.
33786         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
33787         Likewise.
33788         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
33789         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
33790         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
33791         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
33792         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
33793         Specify lower bound on value.
33794         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
33795         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
33796         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
33797         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
33798         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
33799         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
33800         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
33801         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
33802         value.
33803         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
33804         as optional.
33805         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
33806         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
33807         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
33808         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
33809         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
33810         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
33811         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
33812         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
33813         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
33814         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
33815         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
33816         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
33817         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
33818         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
33819         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
33820         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
33821         entry.
33822         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
33823         optional.
33824         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
33825         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
33826         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
33827         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
33828         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
33829         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
33830         Likewise.
33831         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
33832         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
33833         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
33834         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
33835         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
33836         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
33837         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
33838         as optional.
33839         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
33840         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
33841         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
33842         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
33843         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
33844         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
33845         specify as optional.
33846         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
33847         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
33848         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
33849         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
33850         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
33851         [XPG3] (NL_LANGMAX): Likewise.
33852         [POSIX || XPG3] (NL_MSGMAX): Likewise.
33853         [POSIX || XPG3] (NL_NMAX): Likewise.
33854         [POSIX || XPG3] (NL_SETMAX): Likewise.
33855         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
33856         [XPG3] (NZERO): Likewise.
33857         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
33858         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
33859         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
33860         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
33861         (REG_ERANGE): Expect.
33862         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
33863         optional-constant.
33864         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
33865         Use (void) in prototype.
33866         [POSIX] (*_t): Allow.
33867         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
33868         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
33869         (WRDE_BADVAL): Expect.
33871         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
33872         expect.
33873         [XPG3 || XPG4] (O_RSYNC): Likewise.
33874         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
33875         Likewise.
33876         [XPG3 || XPG4] (pthread_sigmask): Likewise.
33877         [XPG3 || XPG4] (sigqueue): Likewise.
33878         [XPG3 || XPG4] (sigtimedwait): Likewise.
33879         [XPG3 || XPG4] (sigwaitinfo): Likewise.
33880         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
33881         [XPG3 || XPG4] (vsnprintf): Likewise.
33882         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
33883         Likewise.
33884         [XPG3 || XPG4] (blksize_t): Likewise.
33885         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
33886         Likewise.
33887         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
33888         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33889         [XPG3 || XPG4] (struct itimerspec): Likewise.
33890         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
33891         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
33892         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
33893         [XPG3 || XPG4] (clockid_t): Likewise.
33894         [XPG3 || XPG4] (timer_t): Likewise.
33895         [XPG3 || XPG4] (clock_getres): Likewise.
33896         [XPG3 || XPG4] (clock_gettime): Likewise.
33897         [XPG3 || XPG4] (clock_settime): Likewise.
33898         [XPG3 || XPG4] (nanosleep): Likewise.
33899         [XPG3 || XPG4] (timer_create): Likewise.
33900         [XPG3 || XPG4] (timer_delete): Likewise.
33901         [XPG3 || XPG4] (timer_gettime): Likewise.
33902         [XPG3 || XPG4] (timer_getoverrun): Likewise.
33903         [XPG3 || XPG4] (timer_settime): Likewise.
33904         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
33905         [XPG3 || XPG4] (getlogin_r): Likewise.
33906         [XPG3 || XPG4] (pread): Likewise.
33907         [XPG3 || XPG4] (pthread_atfork): Likewise.
33908         [XPG3 || XPG4] (pwrite): Likewise.
33910         [BZ #14835]
33911         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
33912         <bits/siginfo.h>.
33914 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
33916         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
33917         finalizing MALLSTREAM.
33919         * sysdeps/mach/hurd/syncfs.c: New file.
33921 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33923         [BZ #14719]
33924         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
33925         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
33926         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
33927         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
33928         (_nss_dns_gethostbyname4_r): Likewise.
33929         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
33930         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
33932 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
33934         [BZ #13763]
33935         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
33937 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
33939         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
33940         * elf/cache.c (print_entry): Print ",AArch64" for
33941         FLAG_AARCH64_LIB64
33943         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
33944         * elf/cache.c (print_entry): Print ",hard-float" for
33945         FLAG_ARM_LIBHF.
33947 2012-11-18  David S. Miller  <davem@davemloft.net>
33949         With help from Joseph Myers.
33950         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
33951         cutoff to 2**-13.
33952         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
33953         cutoff to 2**-25.
33954         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
33955         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
33956         small.
33957         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
33958         * math/libm-test.inc (y0_test): New tests.
33959         (y1_test): New tests.
33960         * sysdeps/i386/fpu/libm-test-ulps: Update.
33961         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33962         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33964 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
33966         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
33967         64-bit targets.
33968         * configure: Regenerated.
33970 2012-11-17  David S. Miller  <davem@davemloft.net>
33972         [BZ #14811]
33973         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
33974         nonzero exponents with absolute value below 0x1p-128 to +/-
33975         0x1p-128.
33977 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
33979         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
33981         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
33983         * posix/getconf-speclist.c: New file.
33984         * posix/posix-envs.def: Likewise.
33985         * posix/confstr.c (START_ENV_GROUP): New macro.
33986         (END_ENV_GROUP): Likewise.
33987         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33988         (KNOWN_PRESENT_ENV_STRING): Likewise.
33989         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33990         (UNKNOWN_ENVIRONMENT): Likewise.
33991         (confstr): Include posix-envs.def instead of handling
33992         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
33993         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
33994         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
33995         (END_ENV_GROUP): Likewise.
33996         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33997         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33998         (UNKNOWN_ENVIRONMENT): Likewise.
33999         (__sysconf): Include posix-envs.def instead of handling associated
34000         cases directly here.
34001         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34002         preprocessing getconf-speclist.c rather than running getconf or
34003         generating empty file.
34005 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
34007         * scripts/check-local-headers.sh: Ignore 'mach' headers.
34009 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
34011         [BZ #14672]
34012         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34014 2012-11-16  David S. Miller  <davem@davemloft.net>
34016         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34017         smaller than LDBL_EPSILON/2.0L, just return xm1.
34019 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
34021         * elf/tst-array1.c (init): Set constructor priority to 1000.
34022         (fini): Set destructor priority to 1000.
34023         * elf/tst-array2dep.c: Likewise.
34025 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34027         [BZ #11741]
34028         * libio/fileops.c (_IO_new_file_write): Correctly return error.
34029         (_IO_new_file_xsputn): Also return EOF if none of the input
34030         data was written when overflow failed.
34031         * libio/iopadn.c (_IO_padn): Likewise.
34032         * libio/iowpadn.c (_IO_wpadn): Likewise.
34033         * stdio-common/tst-put-error.c: Add copyright notice.
34034         (do_test): Add case for printing padded string.
34035         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34036         _IO_padn returned error.
34037         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34038         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34039         return EOF.
34041 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34043         * libio/libioP.h: Add comment note that the references to C++
34044         bits are now obsolete.
34046 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34048         * math/libm-test.inc (check_complex): Use asprintf.
34050 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
34052         * debug/pcprofiledump.c (print_version): Update copyright year.
34053         * malloc/memusagestat.c (print_version): Likewise.
34055 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
34057         [BZ #14831]
34058         * elf/Makefile (tests): Add tst-audit8.
34059         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34060         ($(objpfx)tst-audit8.out): New target.
34061         (tst-audit8-ENV): New variable.
34062         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34063         audit if l_reloc_result is NULL.
34064         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34065         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34066         * elf/tst-audit8.c: New file.
34068 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34070         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34071         * misc/Makefile (CFLAGS-select.c): Define.
34072         * posix/Makefile (CFLAGS-pause.c): Define.
34074 2012-11-13  David S. Miller  <davem@davemloft.net>
34076         * crypt/Makefile: Move test targets after toplevel Rules
34077         inclusion.  Grab any necessary sysdep routines when linking.
34078         * crypt/md5.c (md5_process_block): Remove define, we will always
34079         name it __md5_process_block.
34080         (md5_finish_ctx): Update md5_process_block call.
34081         (md5_stream): Likewise.
34082         (md5_process_bytes): Likewise.
34083         (md5_process_block): Rename to __md5_process_block and move to ...
34084         * crypt/md5-block.c: ... here.
34085         * crypt/sha256.c (sha256_process_block): Move to ...
34086         * crypt/sha256-block.c: ... here.
34087         * crypt/sha512.c (sha512_process_block): Move to ...
34088         * crypt/sha512-block.c: ... here.
34089         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34090         path.
34091         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34092         * sysdeps/sparc/sparc64/multiarch/Makefile
34093         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34094         crypt subdir.
34095         (localedef-aux): Add md5 crypto assembler when in locale subdir.
34096         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34097         multiarch changes.
34098         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34099         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34100         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34101         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34102         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34103         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34104         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34105         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34106         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34107         file.
34108         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34109         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34110         file.
34111         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34113 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
34115         * timezone/tzselect.ksh: Update from tzcode git revision
34116         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34117         * timezone/zdump.c: Likewise.
34118         * timezone/zic.c: Likewise.
34119         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34120         in TZVERSION setting, not $(PKGVERSION).
34121         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
34122         REPORT_BUGS_TO settings.
34124         [BZ #14838]
34125         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34126         macro.
34128 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34130         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34131         detection to immediately after _FP_ROUND().
34132         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34133         bits are 0.
34135 2012-11-11  David S. Miller  <davem@davemloft.net>
34137         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34138         inttypes.h
34139         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34140         __close rather than their public counterparts.
34142 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
34144         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34145         file.
34146         [UNIX98] (sem_timedwait): Do not expect.
34147         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34148         [XPG4 || UNIX98] (sockatmark): Do not expect.
34149         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34150         (clock_getcpuclockid): Do not expect.
34151         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34152         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34153         Do not expect.
34154         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34155         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34156         [UNIX98] (vwscanf): Likewise.
34157         [UNIX98] (vswscanf): Likewise.
34159 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
34161         * timezone/version.h: Remove file.
34162         * timezone/README: Do not refer to version.h.
34163         * timezone/Makefile ($(objpfx)zic.o): New dependency on
34164         $(objpfx)version.h.
34165         ($(objpfx)zdump.o): Likewise.
34166         ($(objpfx)version.h): New target.
34168         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34169         2012i.
34170         * timezone/README: Don't mention modification to tzselect.ksh.
34171         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34172         work on unmodified tzselect.ksh.  Substitute version numbers in
34173         tzselect.ksh.
34175         * Makefile (format-me): Remove.
34176         (INSTALL): Adjust indentation.  Use commands directly instead of
34177         using $(format-me).
34179         * aclocal.m4 (ACX_PKGVERSION): New macro.
34180         (ACX_BUGURL): Likewise.
34181         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34182         (PKGVERSION): New AC_DEFINE_UNQUOTED.
34183         (REPORT_BUGS_TO): Likewise.
34184         * configure: Regenerated.
34185         * config.h.in (PKGVERSION): New macro.
34186         (REPORT_BUGS_TO): Likewise.
34187         * config.make.in (PKGVERSION): New variable.
34188         (PKGVERSION_TEXI): Likewise.
34189         (REPORT_BUGS_TO): Likewise.
34190         (REPORT_BUGS_TEXI): Likewise.
34191         * Makefile (format-me): Use -I$(common-objpfx)manual.
34192         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34193         ($(common-objpfx)manual/%): New target.
34194         (manual/%): Remove target.
34195         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34196         (print_version): Use PKGVERSION.
34197         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34198         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34199         and REPORT_BUGS_TO.
34200         ($(objpfx)xtrace): Likewise.
34201         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34202         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34203         (print_version): Use PKGVERSION.
34204         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34205         (do_version): Use PKGVERSION.
34206         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34207         REPORT_BUGS_TO.
34208         (common-ldd-rewrite): Likewise.
34209         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34210         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34211         (print_version): Use PKGVERSION.
34212         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34213         * elf/pldd.c (argp_program_bug_address): Remove variable.
34214         (more_help): New function.
34215         (argp): Use more_help.
34216         (print_version): Use PKGVERSION.
34217         * elf/sln.c (main): Use PKGVERSION.
34218         (usage): Use REPORT_BUGS_TO.
34219         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34220         (top level): Use PKGVERSION.
34221         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34222         (print_version): Use PKGVERSION.
34223         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34224         (print_version): Use PKGVERSION.
34225         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34226         (print_version): Use PKGVERSION.
34227         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34228         (print_version): Use PKGVERSION.
34229         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34230         (print_version): Use PKGVERSION.
34231         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34232         (print_version): Use PKGVERSION.
34233         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34234         and BUGURL.
34235         ($(objpfx)memusage): Likewise.
34236         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34237         (do_version): Use PKGVERSION.
34238         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34239         (print_version): Use PKGVERSION.
34240         * malloc/mtrace.pl ($PACKAGE): Remove variable.
34241         ($PKGVERSION): New variable.
34242         ($REPORT_BUGS_TO): Likewise.
34243         (usage): Use $REPORT_BUGS_TO.
34244         (top level): Use $PKGVERSION.
34245         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34246         ($(objpfx)pkgvers.texi): New rule.
34247         ($(objpfx)stamp-pkgvers): Likewise.
34248         * manual/install.texi: Include pkgvers.texi.
34249         (--with-pkgversion): Document new configure option.
34250         (--with-bugurl): Likewise.
34251         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34252         than necessarily for this particular distribution.  Use
34253         REPORT_BUGS_TO for where to report bugs.
34254         * INSTALL: Regenerated.
34255         * manual/libc.texinfo: Include pkgvers.texi.
34256         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34257         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34258         (print_version): Use PKGVERSION.
34259         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34260         (print_version): Use PKGVERSION.
34261         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34262         (print_version): Use PKGVERSION.
34263         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34264         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34265         macro.
34266         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34267         (print_version): Use PKGVERSION.
34268         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34269         (print_version): Use PKGVERSION.
34270         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34271         and PKGVERSION.
34273         * timezone/checktab.awk: Update from tzcode 2012i.
34274         * timezone/ialloc.c: Likewise.
34275         * timezone/private.h: Likewise.
34276         * timezone/scheck.c: Likewise.
34277         * timezone/tzfile.h: Likewise.
34278         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34279         (TZVERSION): Hardcode tzcode version number.
34280         * timezone/zdump.c: Update from tzcode 2012i.
34281         * timezone/zic.c: Likewise.
34282         * timezone/version.h: New file.
34283         * timezone/README: Describe version.h.  Update upstream location.
34285         [BZ #14824]
34286         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34287         (mktemp): Enable declaration.
34288         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34289         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34290         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34291         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34292         Likewise.
34293         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34294         Likewise.
34295         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34296         Likewise.
34297         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34298         Likewise.
34299         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34300         Likewise.
34301         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34302         Likewise.
34304         [BZ #14821]
34305         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34306         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
34307         for copies of such integer values.
34308         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34309         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34311 2012-11-09  Andreas Jaeger  <aj@suse.de>
34313         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34314         definitions and declarations that are provided by
34315         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34317 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34319         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
34320         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34321         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34322         definition.
34324 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34326         * elf/elf.h: Update comment before AArch64 relocations.
34328 2012-11-07  David S. Miller  <davem@davemloft.net>
34330         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34331         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34332         (__start_context): Declare.
34333         (__makecontext_ret): Delete.
34334         (__makecontext): Hook up __start_context instead of
34335         __makecontext_ret.
34336         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34337         (sysdep_routines): Add __start_context when in stdlib.
34339 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34341         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34342         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34343         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
34344         hardcoded "nm".
34345         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
34346         (READELF): New variable.  Use it instead of hardcoded "readelf".
34348 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
34350         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34351         * sysdeps/x86/Makefile: Here.
34352         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34353         * sysdeps/x86/tst-xmmymm.sh: This.
34355 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34357         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34358         expectations.
34359         [UNIX98] (pthread_barrier_t): Do not expect.
34360         [UNIX98] (pthread_barrierattr_t): Likewise.
34361         [UNIX98] (pthread_spinlock_t): Likewise.
34362         [UNIX98] (pthread_barrier_destroy): Likewise.
34363         [UNIX98] (pthread_barrier_init): Likewise.
34364         [UNIX98] (pthread_barrier_wait): Likewise.
34365         [UNIX98] (pthread_barrierattr_destroy): Likewise.
34366         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34367         [UNIX98] (pthread_barrierattr_init): Likewise.
34368         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34369         [UNIX98] (pthread_getcpuclockid): Likewise.
34370         [UNIX98] (pthread_mutex_timedlock): Likewise.
34371         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34372         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34373         [UNIX98] (pthread_sigmask): Likewise.
34374         [UNIX98] (pthread_spin_destroy): Likewise.
34375         [UNIX98] (pthread_spin_init): Likewise.
34376         [UNIX98] (pthread_spin_lock): Likewise.
34377         [UNIX98] (pthread_spin_trylock): Likewise.
34378         [UNIX98] (pthread_spin_unlock): Likewise.
34379         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34380         Do not expect.
34381         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34382         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34383         [XPG3 || XPG4] (pthread_cond_t): Likewise.
34384         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34385         [XPG3 || XPG4] (pthread_key_t): Likewise.
34386         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34387         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34388         [XPG3 || XPG4] (pthread_once_t): Likewise.
34389         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34390         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34391         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34392         [XPG3 || XPG4] (pthread_t): Likewise.
34394         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34395         not expect.
34396         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34398         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34399         Change function return type to int.
34401         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34402         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34403         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34404         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34405         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34406         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34407         [!POSIX] (posix_madvise): Likewise.
34408         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34409         && !UNIX98].
34410         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34411         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34412         (mode_t): Likewise.
34413         (posix_mem_offset): Likewise.
34414         (posix_typed_mem_get_info): Likewise.
34415         (posix_typed_mem_open): Likewise.
34417         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34418         Change condition to [XOPEN2K8].
34420         * conform/conformtest.pl: Preprocess allow-header data with -x c
34421         instead of from stdin.
34422         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34423         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34424         [C99-based standards] (cerfc): Likewise.
34425         [C99-based standards] (cexp2): Likewise.
34426         [C99-based standards] (cexpm1): Likewise.
34427         [C99-based standards] (clog10): Likewise.
34428         [C99-based standards] (clog1p): Likewise.
34429         [C99-based standards] (clog2): Likewise.
34430         [C99-based standards] (clgamma): Likewise.
34431         [C99-based standards] (ctgamma): Likewise.
34432         [C99-based standards] (cerff): Likewise.
34433         [C99-based standards] (cerfcf): Likewise.
34434         [C99-based standards] (cexp2f): Likewise.
34435         [C99-based standards] (cexpm1f): Likewise.
34436         [C99-based standards] (clog10f): Likewise.
34437         [C99-based standards] (clog1pf): Likewise.
34438         [C99-based standards] (clog2f): Likewise.
34439         [C99-based standards] (clgammaf): Likewise.
34440         [C99-based standards] (ctgammaf): Likewise.
34441         [C99-based standards] (cerfl): Likewise.
34442         [C99-based standards] (cerfcl): Likewise.
34443         [C99-based standards] (cexp2l): Likewise.
34444         [C99-based standards] (cexpm1l): Likewise.
34445         [C99-based standards] (clog10l): Likewise.
34446         [C99-based standards] (clog1pl): Likewise.
34447         [C99-based standards] (clog2l): Likewise.
34448         [C99-based standards] (clgammal): Likewise.
34449         [C99-based standards] (ctgammal): Likewise.
34450         * conform/data/inttypes.h-data [C99-based standards]: Include
34451         stdint.h-data.  Remove all expectations for stdint.h contents.
34452         [C99-based standards] (PRI*): Do not allow.
34453         [C99-based standards] (SCN*): Likewise.
34454         [C99-based standards] (*_t): Likewise.
34455         [C99-based-standards] (PRId8): Expect macro.
34456         [C99-based-standards] (PRIi8): Likewise.
34457         [C99-based-standards] (PRIo8): Likewise.
34458         [C99-based-standards] (PRIu8): Likewise.
34459         [C99-based-standards] (PRIx8): Likewise.
34460         [C99-based-standards] (PRIX8): Likewise.
34461         [C99-based-standards] (SCNd8): Likewise.
34462         [C99-based-standards] (SCNi8): Likewise.
34463         [C99-based-standards] (SCNo8): Likewise.
34464         [C99-based-standards] (SCNu8): Likewise.
34465         [C99-based-standards] (SCNx8): Likewise.
34466         [C99-based-standards] (PRIdLEAST8): Likewise.
34467         [C99-based-standards] (PRIiLEAST8): Likewise.
34468         [C99-based-standards] (PRIoLEAST8): Likewise.
34469         [C99-based-standards] (PRIuLEAST8): Likewise.
34470         [C99-based-standards] (PRIxLEAST8): Likewise.
34471         [C99-based-standards] (PRIXLEAST8): Likewise.
34472         [C99-based-standards] (SCNdLEAST8): Likewise.
34473         [C99-based-standards] (SCNiLEAST8): Likewise.
34474         [C99-based-standards] (SCNoLEAST8): Likewise.
34475         [C99-based-standards] (SCNuLEAST8): Likewise.
34476         [C99-based-standards] (SCNxLEAST8): Likewise.
34477         [C99-based-standards] (PRIdFAST8): Likewise.
34478         [C99-based-standards] (PRIiFAST8): Likewise.
34479         [C99-based-standards] (PRIoFAST8): Likewise.
34480         [C99-based-standards] (PRIuFAST8): Likewise.
34481         [C99-based-standards] (PRIxFAST8): Likewise.
34482         [C99-based-standards] (PRIXFAST8): Likewise.
34483         [C99-based-standards] (SCNdFAST8): Likewise.
34484         [C99-based-standards] (SCNiFAST8): Likewise.
34485         [C99-based-standards] (SCNoFAST8): Likewise.
34486         [C99-based-standards] (SCNuFAST8): Likewise.
34487         [C99-based-standards] (SCNxFAST8): Likewise.
34488         [C99-based-standards] (PRId16): Likewise.
34489         [C99-based-standards] (PRIi16): Likewise.
34490         [C99-based-standards] (PRIo16): Likewise.
34491         [C99-based-standards] (PRIu16): Likewise.
34492         [C99-based-standards] (PRIx16): Likewise.
34493         [C99-based-standards] (PRIX16): Likewise.
34494         [C99-based-standards] (SCNd16): Likewise.
34495         [C99-based-standards] (SCNi16): Likewise.
34496         [C99-based-standards] (SCNo16): Likewise.
34497         [C99-based-standards] (SCNu16): Likewise.
34498         [C99-based-standards] (SCNx16): Likewise.
34499         [C99-based-standards] (PRIdLEAST16): Likewise.
34500         [C99-based-standards] (PRIiLEAST16): Likewise.
34501         [C99-based-standards] (PRIoLEAST16): Likewise.
34502         [C99-based-standards] (PRIuLEAST16): Likewise.
34503         [C99-based-standards] (PRIxLEAST16): Likewise.
34504         [C99-based-standards] (PRIXLEAST16): Likewise.
34505         [C99-based-standards] (SCNdLEAST16): Likewise.
34506         [C99-based-standards] (SCNiLEAST16): Likewise.
34507         [C99-based-standards] (SCNoLEAST16): Likewise.
34508         [C99-based-standards] (SCNuLEAST16): Likewise.
34509         [C99-based-standards] (SCNxLEAST16): Likewise.
34510         [C99-based-standards] (PRIdFAST16): Likewise.
34511         [C99-based-standards] (PRIiFAST16): Likewise.
34512         [C99-based-standards] (PRIoFAST16): Likewise.
34513         [C99-based-standards] (PRIuFAST16): Likewise.
34514         [C99-based-standards] (PRIxFAST16): Likewise.
34515         [C99-based-standards] (PRIXFAST16): Likewise.
34516         [C99-based-standards] (SCNdFAST16): Likewise.
34517         [C99-based-standards] (SCNiFAST16): Likewise.
34518         [C99-based-standards] (SCNoFAST16): Likewise.
34519         [C99-based-standards] (SCNuFAST16): Likewise.
34520         [C99-based-standards] (SCNxFAST16): Likewise.
34521         [C99-based-standards] (PRId32): Likewise.
34522         [C99-based-standards] (PRIi32): Likewise.
34523         [C99-based-standards] (PRIo32): Likewise.
34524         [C99-based-standards] (PRIu32): Likewise.
34525         [C99-based-standards] (PRIx32): Likewise.
34526         [C99-based-standards] (PRIX32): Likewise.
34527         [C99-based-standards] (SCNd32): Likewise.
34528         [C99-based-standards] (SCNi32): Likewise.
34529         [C99-based-standards] (SCNo32): Likewise.
34530         [C99-based-standards] (SCNu32): Likewise.
34531         [C99-based-standards] (SCNx32): Likewise.
34532         [C99-based-standards] (PRIdLEAST32): Likewise.
34533         [C99-based-standards] (PRIiLEAST32): Likewise.
34534         [C99-based-standards] (PRIoLEAST32): Likewise.
34535         [C99-based-standards] (PRIuLEAST32): Likewise.
34536         [C99-based-standards] (PRIxLEAST32): Likewise.
34537         [C99-based-standards] (PRIXLEAST32): Likewise.
34538         [C99-based-standards] (SCNdLEAST32): Likewise.
34539         [C99-based-standards] (SCNiLEAST32): Likewise.
34540         [C99-based-standards] (SCNoLEAST32): Likewise.
34541         [C99-based-standards] (SCNuLEAST32): Likewise.
34542         [C99-based-standards] (SCNxLEAST32): Likewise.
34543         [C99-based-standards] (PRIdFAST32): Likewise.
34544         [C99-based-standards] (PRIiFAST32): Likewise.
34545         [C99-based-standards] (PRIoFAST32): Likewise.
34546         [C99-based-standards] (PRIuFAST32): Likewise.
34547         [C99-based-standards] (PRIxFAST32): Likewise.
34548         [C99-based-standards] (PRIXFAST32): Likewise.
34549         [C99-based-standards] (SCNdFAST32): Likewise.
34550         [C99-based-standards] (SCNiFAST32): Likewise.
34551         [C99-based-standards] (SCNoFAST32): Likewise.
34552         [C99-based-standards] (SCNuFAST32): Likewise.
34553         [C99-based-standards] (SCNxFAST32): Likewise.
34554         [C99-based-standards] (PRId64): Likewise.
34555         [C99-based-standards] (PRIi64): Likewise.
34556         [C99-based-standards] (PRIo64): Likewise.
34557         [C99-based-standards] (PRIu64): Likewise.
34558         [C99-based-standards] (PRIx64): Likewise.
34559         [C99-based-standards] (PRIX64): Likewise.
34560         [C99-based-standards] (SCNd64): Likewise.
34561         [C99-based-standards] (SCNi64): Likewise.
34562         [C99-based-standards] (SCNo64): Likewise.
34563         [C99-based-standards] (SCNu64): Likewise.
34564         [C99-based-standards] (SCNx64): Likewise.
34565         [C99-based-standards] (PRIdLEAST64): Likewise.
34566         [C99-based-standards] (PRIiLEAST64): Likewise.
34567         [C99-based-standards] (PRIoLEAST64): Likewise.
34568         [C99-based-standards] (PRIuLEAST64): Likewise.
34569         [C99-based-standards] (PRIxLEAST64): Likewise.
34570         [C99-based-standards] (PRIXLEAST64): Likewise.
34571         [C99-based-standards] (SCNdLEAST64): Likewise.
34572         [C99-based-standards] (SCNiLEAST64): Likewise.
34573         [C99-based-standards] (SCNoLEAST64): Likewise.
34574         [C99-based-standards] (SCNuLEAST64): Likewise.
34575         [C99-based-standards] (SCNxLEAST64): Likewise.
34576         [C99-based-standards] (PRIdFAST64): Likewise.
34577         [C99-based-standards] (PRIiFAST64): Likewise.
34578         [C99-based-standards] (PRIoFAST64): Likewise.
34579         [C99-based-standards] (PRIuFAST64): Likewise.
34580         [C99-based-standards] (PRIxFAST64): Likewise.
34581         [C99-based-standards] (PRIXFAST64): Likewise.
34582         [C99-based-standards] (SCNdFAST64): Likewise.
34583         [C99-based-standards] (SCNiFAST64): Likewise.
34584         [C99-based-standards] (SCNoFAST64): Likewise.
34585         [C99-based-standards] (SCNuFAST64): Likewise.
34586         [C99-based-standards] (SCNxFAST64): Likewise.
34587         [C99-based-standards] (PRIdMAX): Likewise.
34588         [C99-based-standards] (PRIiMAX): Likewise.
34589         [C99-based-standards] (PRIoMAX): Likewise.
34590         [C99-based-standards] (PRIuMAX): Likewise.
34591         [C99-based-standards] (PRIxMAX): Likewise.
34592         [C99-based-standards] (PRIXMAX): Likewise.
34593         [C99-based-standards] (SCNdMAX): Likewise.
34594         [C99-based-standards] (SCNiMAX): Likewise.
34595         [C99-based-standards] (SCNoMAX): Likewise.
34596         [C99-based-standards] (SCNuMAX): Likewise.
34597         [C99-based-standards] (SCNxMAX): Likewise.
34598         [C99-based-standards] (PRIdPTR): Likewise.
34599         [C99-based-standards] (PRIiPTR): Likewise.
34600         [C99-based-standards] (PRIoPTR): Likewise.
34601         [C99-based-standards] (PRIuPTR): Likewise.
34602         [C99-based-standards] (PRIxPTR): Likewise.
34603         [C99-based-standards] (PRIXPTR): Likewise.
34604         [C99-based-standards] (SCNdPTR): Likewise.
34605         [C99-based-standards] (SCNiPTR): Likewise.
34606         [C99-based-standards] (SCNoPTR): Likewise.
34607         [C99-based-standards] (SCNuPTR): Likewise.
34608         [C99-based-standards] (SCNxPTR): Likewise.
34609         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34610         allow.
34611         * conform/data/stdint.h-data: Update comments to clarify
34612         requirements.
34613         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
34614         type.
34615         [C99-based standards] (INT8_MAX): Likewise.
34616         [C99-based standards] (INT16_MIN): Likewise.
34617         [C99-based standards] (INT16_MAX): Likewise.
34618         [C99-based standards] (INT32_MIN): Likewise.
34619         [C99-based standards] (INT32_MAX): Likewise.
34620         [C99-based standards] (INT64_MIN): Likewise.
34621         [C99-based standards] (INT64_MAX): Likewise.
34622         [C99-based standards] (UINT8_MAX): Likewise.
34623         [C99-based standards] (UINT16_MAX): Likewise.
34624         [C99-based standards] (UINT32_MAX): Likewise.
34625         [C99-based standards] (UINT64_MAX): Likewise.
34626         [C99-based standards] (INT_LEAST8_MIN): Likewise.
34627         [C99-based standards] (INT_LEAST8_MAX): Likewise.
34628         [C99-based standards] (INT_LEAST16_MIN): Likewise.
34629         [C99-based standards] (INT_LEAST16_MAX): Likewise.
34630         [C99-based standards] (INT_LEAST32_MIN): Likewise.
34631         [C99-based standards] (INT_LEAST32_MAX): Likewise.
34632         [C99-based standards] (INT_LEAST64_MIN): Likewise.
34633         [C99-based standards] (INT_LEAST64_MAX): Likewise.
34634         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34635         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34636         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34637         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34638         [C99-based standards] (INT_FAST8_MIN): Likewise.
34639         [C99-based standards] (INT_FAST8_MAX): Likewise.
34640         [C99-based standards] (INT_FAST16_MIN): Likewise.
34641         [C99-based standards] (INT_FAST16_MAX): Likewise.
34642         [C99-based standards] (INT_FAST32_MIN): Likewise.
34643         [C99-based standards] (INT_FAST32_MAX): Likewise.
34644         [C99-based standards] (INT_FAST64_MIN): Likewise.
34645         [C99-based standards] (INT_FAST64_MAX): Likewise.
34646         [C99-based standards] (UINT_FAST8_MAX): Likewise.
34647         [C99-based standards] (UINT_FAST16_MAX): Likewise.
34648         [C99-based standards] (UINT_FAST32_MAX): Likewise.
34649         [C99-based standards] (UINT_FAST64_MAX): Likewise.
34650         [C99-based standards] (INTPTR_MIN): Likewise.
34651         [C99-based standards] (INTPTR_MAX): Likewise.
34652         [C99-based standards] (UINTPTR_MAX): Likewise.
34653         [C99-based standards] (INTMAX_MIN): Likewise.
34654         [C99-based standards] (INTMAX_MAX): Likewise.
34655         [C99-based standards] (UINTMAX_MAX): Likewise.
34656         [C99-based standards] (PTRDIFF_MIN): Likewise.
34657         [C99-based standards] (PTRDIFF_MAX): Likewise.
34658         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34659         [C99-based standards] (SIZE_MAX): Likewise.
34660         [C99-based standards] (WCHAR_MAX): Likewise.
34661         [C99-based standards] (WINT_MAX): Likewise.
34662         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
34663         constraint on value.
34664         [C99-based standards] (WCHAR_MIN): Likewise.
34665         [C99-based standards] (WINT_MIN): Likewise.
34666         [C99-based standards] (*_t): Allow.
34667         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34668         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34669         Include math.h-data and complex.h-data.  Remove all expectations
34670         of math.h and complex.h contents.
34671         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34672         at end of line.
34673         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34674         (struct tm): Expect tag.
34675         [C99-based-standards] (wcstof): Expect function.
34676         [C99-based-standards] (wcstold): Likewise.
34677         [C99-based-standards] (wcstoll): Likewise.
34678         [C99-based-standards] (wcstoull): Likewise.
34679         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34680         macro-int-constant.  Specify type.
34681         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
34682         constraint on value.
34683         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34684         Specify type.
34685         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34686         Specify value.
34687         [ISO C standards]: Do not allow headers.
34688         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34689         wcs[abcdefghijklmnopqrstuvwxyz]*.
34690         [ISO C standards] (*_t): Do not allow.
34691         * conform/data/wctype.h-data [C99-based standards] (iswblank):
34692         Expect function.
34693         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34694         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34695         Specify type.
34696         [ISO C standards]: Do not allow headers.
34697         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34698         is[abcdefghijklmnopqrstuvwxyz]*.
34699         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34700         to[abcdefghijklmnopqrstuvwxyz]*.
34701         [ISO C standards] (*_t): Do not allow.
34702         * conform/data/stdalign.h-data: New file.
34703         * conform/data/stdbool.h-data: Likewise.
34704         * conform/data/stdnoreturn.h-data: Likewise.
34706 2012-11-07  Roland McGrath  <roland@hack.frob.com>
34708         [BZ #14815]
34709         * manual/filesys.texi (Directory Entries): Typo fix.
34710         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34712 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34714         * elf/elf.h (EM_AARCH64): New macro.
34715         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34716         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34717         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34718         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34719         (R_AARCH64_TLSDESC): Likewise.
34720         (NT_ARM_TLS): Likewise.
34721         (NT_ARM_HW_BREAK): Likewise.
34722         (NT_ARM_HW_WATCH): Likewise.
34724 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34726         [BZ #14811]
34727         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34728         (__ieee754_powl): Saturate nonzero exponents with absolute value
34729         below 0x1p-79 to +/- 0x1p-79.
34730         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34731         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
34732         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
34733         nonzero exponents with absolute value below 0x1p-32 to +/-
34734         0x1p-32.
34735         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
34736         (__ieee754_powl): Saturate nonzero exponents with absolute value
34737         below 0x1p-79 to +/- 0x1p-79.
34738         * math/libm-test.inc (pow_test): Add more tests.
34740 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34742         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
34743         _dl_s390_cap_flags with kernel. Increase string length.
34744         (_dl_s390_platforms): Add z196 and zEC12.
34746 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34748         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
34749         Change XOPEN21K to XOPEN2K.
34751 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
34753         * string/memmove.c: Use memcpy when possible.
34755 2012-11-06  Andreas Jaeger  <aj@suse.de>
34757         * po/eo.po: Update from translation team.
34759 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
34761         [BZ #14793]
34762         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
34763         exponent and small x and y exponents, scale x or y up.  Increase
34764         by 2 the exponent used in scaling up.
34765         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34766         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34767         * math/libm-test.inc (fma_test): Add more tests.
34768         (fma_test_towardzero): Likewise.
34769         (fma_test_downward): Likewise.
34770         (fma_test_upward): Likewise.
34772 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
34774         [BZ #14805]
34775         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
34776         fenv_t *.
34778         [BZ #14801]
34779         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
34780         namespace for names of struct fields.
34781         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
34782         fenv_t fields.
34783         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34784         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
34786 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34788         [BZ #3665]
34789         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
34791 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
34793         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
34794         PTR_DEMANGLE.
34796         [BZ #5246]
34797         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
34798         PTR_DEMANGLE.
34800 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
34802         [BZ #14797]
34803         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
34804         definitely overflow as x * y not x * y + z.
34805         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34806         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34807         * math/libm-test.inc (fma_test): Add more tests.
34808         (fma_test_towardzero): Likewise.
34809         (fma_test_downward): Likewise.
34810         (fma_test_upward): Likewise.
34812 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
34814         [BZ #157]
34816         * include/stub-tag.h: Remove file.
34817         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
34818         '#include' of it.
34819         * manual/maint.texi (Porting): Don't reference it.
34820         * Makerules ($(objpfx)stubs): Likewise.
34821         * dirent/closedir.c: Don't include <stub-tag.h>.
34822         * dirent/dirfd.c: Likewise.
34823         * dirent/fdopendir.c: Likewise.
34824         * dirent/getdents.c: Likewise.
34825         * dirent/getdents64.c: Likewise.
34826         * dirent/opendir.c: Likewise.
34827         * dirent/readdir.c: Likewise.
34828         * dirent/readdir64.c: Likewise.
34829         * dirent/readdir64_r.c: Likewise.
34830         * dirent/readdir_r.c: Likewise.
34831         * dirent/rewinddir.c: Likewise.
34832         * dirent/seekdir.c: Likewise.
34833         * dirent/telldir.c: Likewise.
34834         * gmon/profil.c: Likewise.
34835         * grp/setgroups.c: Likewise.
34836         * inet/if_index.c: Likewise.
34837         * io/access.c: Likewise.
34838         * io/chdir.c: Likewise.
34839         * io/chmod.c: Likewise.
34840         * io/chown.c: Likewise.
34841         * io/close.c: Likewise.
34842         * io/dup.c: Likewise.
34843         * io/dup2.c: Likewise.
34844         * io/dup3.c: Likewise.
34845         * io/euidaccess.c: Likewise.
34846         * io/faccessat.c: Likewise.
34847         * io/fchdir.c: Likewise.
34848         * io/fchmod.c: Likewise.
34849         * io/fchmodat.c: Likewise.
34850         * io/fchown.c: Likewise.
34851         * io/fchownat.c: Likewise.
34852         * io/fcntl.c: Likewise.
34853         * io/flock.c: Likewise.
34854         * io/fstatfs.c: Likewise.
34855         * io/fstatfs64.c: Likewise.
34856         * io/fstatvfs.c: Likewise.
34857         * io/fstatvfs64.c: Likewise.
34858         * io/futimens.c: Likewise.
34859         * io/fxstat.c: Likewise.
34860         * io/fxstat64.c: Likewise.
34861         * io/fxstatat.c: Likewise.
34862         * io/fxstatat64.c: Likewise.
34863         * io/getcwd.c: Likewise.
34864         * io/isatty.c: Likewise.
34865         * io/lchmod.c: Likewise.
34866         * io/lchown.c: Likewise.
34867         * io/link.c: Likewise.
34868         * io/linkat.c: Likewise.
34869         * io/lseek.c: Likewise.
34870         * io/lseek64.c: Likewise.
34871         * io/lxstat64.c: Likewise.
34872         * io/mkdir.c: Likewise.
34873         * io/mkdirat.c: Likewise.
34874         * io/mkfifo.c: Likewise.
34875         * io/mkfifoat.c: Likewise.
34876         * io/open.c: Likewise.
34877         * io/open64.c: Likewise.
34878         * io/openat.c: Likewise.
34879         * io/openat64.c: Likewise.
34880         * io/pipe.c: Likewise.
34881         * io/pipe2.c: Likewise.
34882         * io/poll.c: Likewise.
34883         * io/posix_fadvise.c: Likewise.
34884         * io/posix_fadvise64.c: Likewise.
34885         * io/posix_fallocate.c: Likewise.
34886         * io/posix_fallocate64.c: Likewise.
34887         * io/read.c: Likewise.
34888         * io/readlink.c: Likewise.
34889         * io/readlinkat.c: Likewise.
34890         * io/rmdir.c: Likewise.
34891         * io/sendfile.c: Likewise.
34892         * io/sendfile64.c: Likewise.
34893         * io/statfs.c: Likewise.
34894         * io/statfs64.c: Likewise.
34895         * io/statvfs.c: Likewise.
34896         * io/statvfs64.c: Likewise.
34897         * io/symlink.c: Likewise.
34898         * io/symlinkat.c: Likewise.
34899         * io/ttyname.c: Likewise.
34900         * io/ttyname_r.c: Likewise.
34901         * io/umask.c: Likewise.
34902         * io/unlink.c: Likewise.
34903         * io/unlinkat.c: Likewise.
34904         * io/utime.c: Likewise.
34905         * io/utimensat.c: Likewise.
34906         * io/write.c: Likewise.
34907         * io/xmknod.c: Likewise.
34908         * io/xmknodat.c: Likewise.
34909         * io/xstat.c: Likewise.
34910         * io/xstat64.c: Likewise.
34911         * login/getpt.c: Likewise.
34912         * login/grantpt.c: Likewise.
34913         * login/unlockpt.c: Likewise.
34914         * math/e_acoshl.c: Likewise.
34915         * math/e_acosl.c: Likewise.
34916         * math/e_asinl.c: Likewise.
34917         * math/e_atan2l.c: Likewise.
34918         * math/e_atanhl.c: Likewise.
34919         * math/e_coshl.c: Likewise.
34920         * math/e_expl.c: Likewise.
34921         * math/e_fmodl.c: Likewise.
34922         * math/e_gammal_r.c: Likewise.
34923         * math/e_hypotl.c: Likewise.
34924         * math/e_j0l.c: Likewise.
34925         * math/e_j1l.c: Likewise.
34926         * math/e_jnl.c: Likewise.
34927         * math/e_lgammal_r.c: Likewise.
34928         * math/e_log10l.c: Likewise.
34929         * math/e_log2l.c: Likewise.
34930         * math/e_logl.c: Likewise.
34931         * math/e_powl.c: Likewise.
34932         * math/e_rem_pio2l.c: Likewise.
34933         * math/e_sinhl.c: Likewise.
34934         * math/e_sqrtl.c: Likewise.
34935         * math/fclrexcpt.c: Likewise.
34936         * math/fedisblxcpt.c: Likewise.
34937         * math/feenablxcpt.c: Likewise.
34938         * math/fegetenv.c: Likewise.
34939         * math/fegetexcept.c: Likewise.
34940         * math/fegetround.c: Likewise.
34941         * math/feholdexcpt.c: Likewise.
34942         * math/fesetenv.c: Likewise.
34943         * math/fesetround.c: Likewise.
34944         * math/feupdateenv.c: Likewise.
34945         * math/fgetexcptflg.c: Likewise.
34946         * math/fraiseexcpt.c: Likewise.
34947         * math/fsetexcptflg.c: Likewise.
34948         * math/ftestexcept.c: Likewise.
34949         * math/k_cosl.c: Likewise.
34950         * math/k_rem_pio2l.c: Likewise.
34951         * math/k_sinl.c: Likewise.
34952         * math/k_tanl.c: Likewise.
34953         * math/s_asinhl.c: Likewise.
34954         * math/s_atanl.c: Likewise.
34955         * math/s_cbrtl.c: Likewise.
34956         * math/s_erfl.c: Likewise.
34957         * math/s_expm1l.c: Likewise.
34958         * math/s_log1pl.c: Likewise.
34959         * math/s_tanhl.c: Likewise.
34960         * misc/acct.c: Likewise.
34961         * misc/brk.c: Likewise.
34962         * misc/chflags.c: Likewise.
34963         * misc/chroot.c: Likewise.
34964         * misc/fchflags.c: Likewise.
34965         * misc/fgetxattr.c: Likewise.
34966         * misc/flistxattr.c: Likewise.
34967         * misc/fremovexattr.c: Likewise.
34968         * misc/fsetxattr.c: Likewise.
34969         * misc/fsync.c: Likewise.
34970         * misc/ftruncate.c: Likewise.
34971         * misc/futimes.c: Likewise.
34972         * misc/futimesat.c: Likewise.
34973         * misc/getdomain.c: Likewise.
34974         * misc/getdtsz.c: Likewise.
34975         * misc/gethostid.c: Likewise.
34976         * misc/gethostname.c: Likewise.
34977         * misc/getloadavg.c: Likewise.
34978         * misc/getpagesize.c: Likewise.
34979         * misc/getsysstats.c: Likewise.
34980         * misc/getxattr.c: Likewise.
34981         * misc/gtty.c: Likewise.
34982         * misc/ioctl.c: Likewise.
34983         * misc/lgetxattr.c: Likewise.
34984         * misc/listxattr.c: Likewise.
34985         * misc/llistxattr.c: Likewise.
34986         * misc/lremovexattr.c: Likewise.
34987         * misc/lsetxattr.c: Likewise.
34988         * misc/lutimes.c: Likewise.
34989         * misc/madvise.c: Likewise.
34990         * misc/mincore.c: Likewise.
34991         * misc/mlock.c: Likewise.
34992         * misc/mlockall.c: Likewise.
34993         * misc/mmap.c: Likewise.
34994         * misc/mprotect.c: Likewise.
34995         * misc/msync.c: Likewise.
34996         * misc/munlock.c: Likewise.
34997         * misc/munlockall.c: Likewise.
34998         * misc/munmap.c: Likewise.
34999         * misc/preadv.c: Likewise.
35000         * misc/preadv64.c: Likewise.
35001         * misc/ptrace.c: Likewise.
35002         * misc/pwritev.c: Likewise.
35003         * misc/pwritev64.c: Likewise.
35004         * misc/readv.c: Likewise.
35005         * misc/reboot.c: Likewise.
35006         * misc/remap_file_pages.c: Likewise.
35007         * misc/removexattr.c: Likewise.
35008         * misc/revoke.c: Likewise.
35009         * misc/select.c: Likewise.
35010         * misc/setdomain.c: Likewise.
35011         * misc/setegid.c: Likewise.
35012         * misc/seteuid.c: Likewise.
35013         * misc/sethostid.c: Likewise.
35014         * misc/sethostname.c: Likewise.
35015         * misc/setregid.c: Likewise.
35016         * misc/setreuid.c: Likewise.
35017         * misc/setxattr.c: Likewise.
35018         * misc/sstk.c: Likewise.
35019         * misc/stty.c: Likewise.
35020         * misc/swapoff.c: Likewise.
35021         * misc/swapon.c: Likewise.
35022         * misc/sync.c: Likewise.
35023         * misc/syncfs.c: Likewise.
35024         * misc/syscall.c: Likewise.
35025         * misc/truncate.c: Likewise.
35026         * misc/ualarm.c: Likewise.
35027         * misc/usleep.c: Likewise.
35028         * misc/ustat.c: Likewise.
35029         * misc/utimes.c: Likewise.
35030         * misc/vhangup.c: Likewise.
35031         * misc/writev.c: Likewise.
35032         * posix/_exit.c: Likewise.
35033         * posix/alarm.c: Likewise.
35034         * posix/execve.c: Likewise.
35035         * posix/fexecve.c: Likewise.
35036         * posix/fork.c: Likewise.
35037         * posix/fpathconf.c: Likewise.
35038         * posix/getaddrinfo.c: Likewise.
35039         * posix/getegid.c: Likewise.
35040         * posix/geteuid.c: Likewise.
35041         * posix/getgid.c: Likewise.
35042         * posix/getgroups.c: Likewise.
35043         * posix/getlogin.c: Likewise.
35044         * posix/getlogin_r.c: Likewise.
35045         * posix/getpgid.c: Likewise.
35046         * posix/getpid.c: Likewise.
35047         * posix/getppid.c: Likewise.
35048         * posix/getresgid.c: Likewise.
35049         * posix/getresuid.c: Likewise.
35050         * posix/getsid.c: Likewise.
35051         * posix/getuid.c: Likewise.
35052         * posix/glob64.c: Likewise.
35053         * posix/nanosleep.c: Likewise.
35054         * posix/pathconf.c: Likewise.
35055         * posix/pause.c: Likewise.
35056         * posix/posix_madvise.c: Likewise.
35057         * posix/pread.c: Likewise.
35058         * posix/pread64.c: Likewise.
35059         * posix/pwrite.c: Likewise.
35060         * posix/pwrite64.c: Likewise.
35061         * posix/sched_getaffinity.c: Likewise.
35062         * posix/sched_getp.c: Likewise.
35063         * posix/sched_gets.c: Likewise.
35064         * posix/sched_primax.c: Likewise.
35065         * posix/sched_primin.c: Likewise.
35066         * posix/sched_rr_gi.c: Likewise.
35067         * posix/sched_setaffinity.c: Likewise.
35068         * posix/sched_setp.c: Likewise.
35069         * posix/sched_sets.c: Likewise.
35070         * posix/sched_yield.c: Likewise.
35071         * posix/setgid.c: Likewise.
35072         * posix/setlogin.c: Likewise.
35073         * posix/setpgid.c: Likewise.
35074         * posix/setresgid.c: Likewise.
35075         * posix/setresuid.c: Likewise.
35076         * posix/setsid.c: Likewise.
35077         * posix/setuid.c: Likewise.
35078         * posix/sleep.c: Likewise.
35079         * posix/spawni.c: Likewise.
35080         * posix/sysconf.c: Likewise.
35081         * posix/times.c: Likewise.
35082         * posix/wait.c: Likewise.
35083         * posix/wait3.c: Likewise.
35084         * posix/wait4.c: Likewise.
35085         * posix/waitpid.c: Likewise.
35086         * resolv/gai_sigqueue.c: Likewise.
35087         * resource/getpriority.c: Likewise.
35088         * resource/getrlimit.c: Likewise.
35089         * resource/getrusage.c: Likewise.
35090         * resource/nice.c: Likewise.
35091         * resource/setpriority.c: Likewise.
35092         * resource/setrlimit.c: Likewise.
35093         * resource/ulimit.c: Likewise.
35094         * rt/aio_cancel.c: Likewise.
35095         * rt/aio_fsync.c: Likewise.
35096         * rt/aio_read.c: Likewise.
35097         * rt/aio_sigqueue.c: Likewise.
35098         * rt/aio_suspend.c: Likewise.
35099         * rt/aio_write.c: Likewise.
35100         * rt/clock_getres.c: Likewise.
35101         * rt/clock_gettime.c: Likewise.
35102         * rt/clock_nanosleep.c: Likewise.
35103         * rt/clock_settime.c: Likewise.
35104         * rt/lio_listio.c: Likewise.
35105         * rt/mq_close.c: Likewise.
35106         * rt/mq_getattr.c: Likewise.
35107         * rt/mq_notify.c: Likewise.
35108         * rt/mq_open.c: Likewise.
35109         * rt/mq_receive.c: Likewise.
35110         * rt/mq_send.c: Likewise.
35111         * rt/mq_setattr.c: Likewise.
35112         * rt/mq_timedreceive.c: Likewise.
35113         * rt/mq_timedsend.c: Likewise.
35114         * rt/mq_unlink.c: Likewise.
35115         * rt/shm_open.c: Likewise.
35116         * rt/shm_unlink.c: Likewise.
35117         * rt/timer_create.c: Likewise.
35118         * rt/timer_delete.c: Likewise.
35119         * rt/timer_getoverr.c: Likewise.
35120         * rt/timer_gettime.c: Likewise.
35121         * rt/timer_settime.c: Likewise.
35122         * setjmp/__longjmp.c: Likewise.
35123         * setjmp/setjmp.c: Likewise.
35124         * signal/kill.c: Likewise.
35125         * signal/killpg.c: Likewise.
35126         * signal/raise.c: Likewise.
35127         * signal/sigaction.c: Likewise.
35128         * signal/sigaltstack.c: Likewise.
35129         * signal/sigblock.c: Likewise.
35130         * signal/sigignore.c: Likewise.
35131         * signal/sigintr.c: Likewise.
35132         * signal/signal.c: Likewise.
35133         * signal/sigpause.c: Likewise.
35134         * signal/sigpending.c: Likewise.
35135         * signal/sigqueue.c: Likewise.
35136         * signal/sigreturn.c: Likewise.
35137         * signal/sigset.c: Likewise.
35138         * signal/sigsetmask.c: Likewise.
35139         * signal/sigstack.c: Likewise.
35140         * signal/sigsuspend.c: Likewise.
35141         * signal/sigtimedwait.c: Likewise.
35142         * signal/sigvec.c: Likewise.
35143         * signal/sigwait.c: Likewise.
35144         * signal/sigwaitinfo.c: Likewise.
35145         * signal/sysv_signal.c: Likewise.
35146         * socket/accept.c: Likewise.
35147         * socket/accept4.c: Likewise.
35148         * socket/bind.c: Likewise.
35149         * socket/connect.c: Likewise.
35150         * socket/getpeername.c: Likewise.
35151         * socket/getsockname.c: Likewise.
35152         * socket/getsockopt.c: Likewise.
35153         * socket/isfdtype.c: Likewise.
35154         * socket/listen.c: Likewise.
35155         * socket/recv.c: Likewise.
35156         * socket/recvfrom.c: Likewise.
35157         * socket/recvmsg.c: Likewise.
35158         * socket/send.c: Likewise.
35159         * socket/sendmsg.c: Likewise.
35160         * socket/sendto.c: Likewise.
35161         * socket/setsockopt.c: Likewise.
35162         * socket/shutdown.c: Likewise.
35163         * socket/sockatmark.c: Likewise.
35164         * socket/socket.c: Likewise.
35165         * socket/socketpair.c: Likewise.
35166         * stdio-common/ctermid.c: Likewise.
35167         * stdio-common/cuserid.c: Likewise.
35168         * stdio-common/remove.c: Likewise.
35169         * stdio-common/rename.c: Likewise.
35170         * stdio-common/renameat.c: Likewise.
35171         * stdio-common/tempname.c: Likewise.
35172         * stdlib/getcontext.c: Likewise.
35173         * stdlib/makecontext.c: Likewise.
35174         * stdlib/setcontext.c: Likewise.
35175         * stdlib/swapcontext.c: Likewise.
35176         * stdlib/system.c: Likewise.
35177         * streams/fattach.c: Likewise.
35178         * streams/fdetach.c: Likewise.
35179         * streams/getmsg.c: Likewise.
35180         * streams/getpmsg.c: Likewise.
35181         * streams/putmsg.c: Likewise.
35182         * streams/putpmsg.c: Likewise.
35183         * sysdeps/unix/bsd/getpt.c: Likewise.
35184         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35185         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35186         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35188         Likewise.
35189         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35190         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35191         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35192         * sysvipc/msgctl.c: Likewise.
35193         * sysvipc/msgget.c: Likewise.
35194         * sysvipc/msgrcv.c: Likewise.
35195         * sysvipc/msgsnd.c: Likewise.
35196         * sysvipc/semctl.c: Likewise.
35197         * sysvipc/semget.c: Likewise.
35198         * sysvipc/semop.c: Likewise.
35199         * sysvipc/semtimedop.c: Likewise.
35200         * sysvipc/shmat.c: Likewise.
35201         * sysvipc/shmctl.c: Likewise.
35202         * sysvipc/shmdt.c: Likewise.
35203         * sysvipc/shmget.c: Likewise.
35204         * termios/tcdrain.c: Likewise.
35205         * termios/tcflow.c: Likewise.
35206         * termios/tcflush.c: Likewise.
35207         * termios/tcgetattr.c: Likewise.
35208         * termios/tcgetpgrp.c: Likewise.
35209         * termios/tcsendbrk.c: Likewise.
35210         * termios/tcsetattr.c: Likewise.
35211         * termios/tcsetpgrp.c: Likewise.
35212         * time/adjtime.c: Likewise.
35213         * time/clock.c: Likewise.
35214         * time/getitimer.c: Likewise.
35215         * time/gettimeofday.c: Likewise.
35216         * time/setitimer.c: Likewise.
35217         * time/settimeofday.c: Likewise.
35218         * time/stime.c: Likewise.
35219         * time/time.c: Likewise.
35221 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
35223         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35224         /usr/old/bin.
35226         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35227         instead of spaces.
35228         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35230 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
35232         [BZ #14796]
35233         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35234         FE_TONEAREST before applying Dekker multiplication and Knuth
35235         addition.  Clear inexact exceptions and check for exact zero
35236         results afterwards.
35237         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35238         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35239         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35240         * math/libm-test.inc (fma_test): Add more tests.
35241         (fma_test_towardzero): Likewise.
35242         (fma_test_downward): Likewise.
35243         (fma_test_upward): Likewise.
35244         * sysdeps/generic/math_private.h (default_libc_fesetround): New
35245         function.
35246         (libc_fesetround): New macro.
35247         (libc_fesetroundf): Likewise.
35248         (libc_fesetroundl): Likewise.
35249         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35250         function.
35251         (libc_fesetround_387): Likewise.
35252         (libc_fesetroundf): New macro.
35253         (libc_fesetround): Likewise.
35254         (libc_fesetroundl): Likewise.
35255         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35256         function.
35257         (libc_fesetroundf): New macro.
35258         (libc_fesetround): Likewise.
35259         (libc_fesetroundl): Likewise.
35260         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35261         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35262         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35263         libm_hidden_ver.
35264         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35265         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35266         libm_hidden_def.
35267         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35268         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35269         libm_hidden_ver.
35270         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35271         libm_hidden_def.
35273         [BZ #3439]
35274         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35275         integer constant usable in #if and use that to give value to enum
35276         constant.
35277         (FE_DIVBYZERO): Likewise.
35278         (FE_UNDERFLOW): Likewise.
35279         (FE_OVERFLOW): Likewise.
35280         (FE_INVALID): Likewise.
35281         (FE_INVALID_SNAN): Likewise.
35282         (FE_INVALID_ISI): Likewise.
35283         (FE_INVALID_IDI): Likewise.
35284         (FE_INVALID_ZDZ): Likewise.
35285         (FE_INVALID_IMZ): Likewise.
35286         (FE_INVALID_COMPARE): Likewise.
35287         (FE_INVALID_SOFTWARE): Likewise.
35288         (FE_INVALID_SQRT): Likewise.
35289         (FE_INVALID_INTEGER_CONVERSION): Likewise.
35290         (FE_TONEAREST): Likewise.
35291         (FE_TOWARDZERO): Likewise.
35292         (FE_UPWARD): Likewise.
35293         (FE_DOWNWARD): Likewise.
35294         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35295         (FE_DIVBYZERO): Likewise.
35296         (FE_OVERFLOW): Likewise.
35297         (FE_UNDERFLOW): Likewise.
35298         (FE_INEXACT): Likewise.
35299         (FE_TONEAREST): Likewise.
35300         (FE_DOWNWARD): Likewise.
35301         (FE_UPWARD): Likewise.
35302         (FE_TOWARDZERO): Likewise.
35303         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35304         (FE_UNDERFLOW): Likewise.
35305         (FE_OVERFLOW): Likewise.
35306         (FE_DIVBYZERO): Likewise.
35307         (FE_INVALID): Likewise.
35308         (FE_TONEAREST): Likewise.
35309         (FE_TOWARDZERO): Likewise.
35310         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35311         (FE_OVERFLOW): Likewise.
35312         (FE_UNDERFLOW): Likewise.
35313         (FE_DIVBYZERO): Likewise.
35314         (FE_INEXACT): Likewise.
35315         (FE_TONEAREST): Likewise.
35316         (FE_TOWARDZERO): Likewise.
35317         (FE_UPWARD): Likewise.
35318         (FE_DOWNWARD): Likewise.
35319         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35320         (FE_DIVBYZERO): Likewise.
35321         (FE_OVERFLOW): Likewise.
35322         (FE_UNDERFLOW): Likewise.
35323         (FE_INEXACT): Likewise.
35324         (FE_TONEAREST): Likewise.
35325         (FE_DOWNWARD): Likewise.
35326         (FE_UPWARD): Likewise.
35327         (FE_TOWARDZERO): Likewise.
35329 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
35331         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35333 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
35335         * scripts/cross-test-ssh.sh (command): Use newlines to separate
35336         commands.  Quote $PWD.
35337         (blacklist_exports): Don't use remove_newlines.  Replace "declare
35338         -x" by "export".
35339         (remove_newlines): Remove.
35341 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
35343         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35344         * stdlib/stdlib.h (atof): Moved to ...
35345         * include/bits/stdlib-float.h: Here.  New file.
35346         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35347         * stdlib/bits/stdlib-float.h: New file.
35348         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35349         -mno-sse -mno-mmx.
35350         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35351         <xmmintrin.h>.
35353 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
35355         * conform/conformtest.pl (@headers): Add fenv.h.
35356         * conform/data/fenv.h-data: New file.
35357         * include/fenv.h [_ISOMAC]: Disable all contents of file except
35358         include of <math/fenv.h>.
35360         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35361         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35362         && !UNIX98].  Enables tests for XOPEN2K8.
35363         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35364         POSIX2008]: Likewise.
35366         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35367         (struct rusage): Do not expect type or its members.
35369         [BZ #3439]
35370         * math/math.h (FP_NAN): Define macro to integer constant usable in
35371         #if and use that to give value to enum constant.
35372         (FP_INFINITE): Likewise.
35373         (FP_ZERO): Likewise.
35374         (FP_SUBNORMAL): Likewise.
35375         (FP_NORMAL): Likewise.
35377 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
35379         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35380         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35381         arguments.
35383 2012-11-02  Roland McGrath  <roland@hack.frob.com>
35385         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35386         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35387         autoconf-time if not.
35388         * configure.in: Remove AC_PREREQ.
35390 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35392         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35393         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35394         of the internal implementation.
35396 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
35398         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35399         except include of <misc/sys/syslog.h>.
35401 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
35403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35404         function returns with a NULL context exit with zero.
35406 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35408         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35410 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
35412         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35413         (run_program_cmd): This.
35414         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35415         (tst_langinfo): New variable.  Use it.
35417 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
35419         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35420         floating point opcodes.
35422 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35424         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35425         variable.
35427         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35429         * sysdeps/mach/hurd/powerpc: Remove directory.
35430         * sysdeps/mach/powerpc: Likewise.
35432 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
35434         * scripts/check-local-headers.sh: Ignore c++ headers.
35436 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35438         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35439         __libc_cleanup_region_start argument.
35441 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
35443         [BZ #14784]
35444         [BZ #14785]
35445         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35446         x * y using scaling, not as x * y + z.
35447         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35448         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35449         * math/libm-test.inc (fma_test): Add more tests.
35450         (fma_test_towardzero): Likewise.
35451         (fma_test_downward): Likewise.
35452         (fma_test_upward): Likewise.
35454 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35456         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35458 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
35460         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35461         New variable.
35463 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
35465         * rt/tst-shm.c (worker): Correct checking for mmap failure.
35467 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
35469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35470         Fix sort order.
35471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35472         Likewise.
35474 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35477         Fix the order of the list for glibc 2.17.
35478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35479         Likewise.
35481 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
35483         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35485 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
35487         [BZ #14610]
35488         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35489         for low part of x being zero before using __atanl (y).
35490         * math/libm-test.inc (atan2_test): Add another test.
35492         * manual/install.texi (Configuring and compiling): Document
35493         general use of test-wrapper and test-wrapper-env.
35494         * INSTALL: Regenerated.
35496         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35497         (__fma): Do not extract and scale down low bits on after-rounding
35498         systems when result rounded to normal precision would have normal
35499         exponent.
35500         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35501         (__fmal): Do not extract and scale down low bits on after-rounding
35502         systems when result rounded to normal precision would have normal
35503         exponent.
35504         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35505         (__fmal): Do not extract and scale down low bits on after-rounding
35506         systems when result rounded to normal precision would have normal
35507         exponent.
35508         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35509         macro.
35510         (fma_test): Add more tests.
35511         (fma_test_towardzero): Likewise.
35512         (fma_test_downward): Likewise.
35513         (fma_test_upward): Likewise.
35515 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
35517         * sysdeps/i386/tininess.h: Renamed to ...
35518         * sysdeps/x86/tininess.h: This.
35519         * sysdeps/x86_64/tininess.h: Removed.
35521 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
35523         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35524         input.  Use $(build-program-cmd).
35525         ($(objpfx)tst-array1-static.out): Likewise.
35526         ($(objpfx)tst-array2.out): Likewise.
35527         ($(objpfx)tst-array3.out): Likewise.
35528         ($(objpfx)tst-array4.out): Likewise.
35529         ($(objpfx)tst-array5.out): Likewise.
35530         ($(objpfx)tst-array5-static.out): Likewise.
35532 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
35534         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35535         if defined.
35537         * nss/nsswitch.h (nss_interface_function): Provide new
35538         macro for use with NSS functions.
35539         * grp/initgroups.c: Use new macro.
35540         * nss/getXXbyYY.c: Likewise.
35541         * nss/getXXbyYY_r.c: Likewise.
35542         * nss/getXXent.c: Likewise.
35543         * nss/getXXent_r.c: Likewise.
35544         * sysdeps/posix/getaddrinfo.c: Likewise.
35546 2012-10-30  Andreas Jaeger  <aj@suse.de>
35548         * po/ru.po: Update Russion translation from translation project.
35550 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
35552         [BZ #14152]
35553         [BZ #14783]
35554         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35555         result and shift together with sticky bit instead of replicating
35556         round-to-nearest rounding.
35557         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35558         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35559         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
35560         missing underflow exceptions.
35561         (fma_test_towardzero): Add more tests.
35562         (fma_test_downward): Likewise.
35563         (fma_test_upward): Likewise.
35565         [BZ #14047]
35566         * sysdeps/generic/tininess.h: New file.
35567         * sysdeps/i386/tininess.h: Likewise.
35568         * sysdeps/sh/tininess.h: Likewise.
35569         * sysdeps/x86_64/tininess.h: Likewise.
35570         * stdlib/tst-strtod-underflow.c: Likewise.
35571         * stdlib/tst-tininess.c: Likewise.
35572         * stdlib/strtod_l.c: Include <tininess.h>.
35573         (round_and_return): Do not set errno for exact underflow cases.
35574         Force an underflow exception when setting errno for underflow.
35575         Determine underflow based on rounding to normal precision if
35576         TININESS_AFTER_ROUNDING.
35577         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35578         ERANGE for exact underflow cases.
35579         * stdlib/Makefile (tests): Add tst-tininess and
35580         tst-strtod-underflow.
35581         ($(objpfx)tst-tininess): Use $(link-libm).
35582         ($(objpfx)tst-strtod-underflow): Likewise.
35584 2012-10-30  Andreas Jaeger  <aj@suse.de>
35586         [BZ#14767]
35587         * elf/Makefile (tests): Remove conditional for have-initfini-array
35588         since this is now always required and the variable does not exist
35589         anymore.
35590         (tests-static): Likewise.
35591         (modules-names): Likewise.
35593         * po/eo.po: Add Esperanto translation from translation project.
35595         * elf/tst-array1.c (fini_array): Make writeable so that it can be
35596         merged with constructor/destructor.
35597         (init_array): Likewise.
35598         * elf/tst-array2dep.c (fini_array): Likewise.
35599         (init_array): Likewise.
35601 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
35603         * manual/message.texi: Delete @cartouche tags.
35605 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
35607         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35608         EOPNOTSUPP.
35609         * sysdeps/mach/hurd/fsync.c: Likewise.
35611         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35612         [_POSIX_REALTIME_SIGNALS]: Change condition to
35613         [_POSIX_REALTIME_SIGNALS > 0].
35615 2012-10-27  Andreas Jaeger  <aj@suse.de>
35617         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35618         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35619         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35620         [__WORDSIZE != 64]: Likewise.
35622 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
35624         *  iconvdata/tst-table.sh: Remove ${SHELL}.
35625         *  iconvdata/tst-tables.sh: Likewise.
35627 2012-10-25  David S. Miller  <davem@davemloft.net>
35629         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35630         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35631         of strtoull.
35633         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35634         ifunc-impl-list.c
35635         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35636         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35637         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35638         file.
35640 2012-10-25  Roland McGrath  <roland@hack.frob.com>
35642         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35643         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35644         __getdirentries.
35646 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
35647             Jim Blandy  <jimb@codesourcery.com>
35649         * scripts/cross-test-ssh.sh: New file.
35650         * manual/install.texi (Configuring and compiling): Document use of
35651         cross-test-ssh.sh.
35652         * INSTALL: Regenerated.
35654 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
35656         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35657         EOPNOTSUPP.
35659 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
35661         * Makeconfig (run-program-prefix): Fix comment.
35663 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
35664             Jim Blandy  <jimb@codesourcery.com>
35666         * Makeconfig (test-wrapper): New variable,
35667         (test-wrapper-env): Likewise.
35668         [$(cross-compiling) = yes && $(test-wrapper) != ""]
35669         (run-built-tests): Define to yes.
35670         (run-program-prefix): Use $(test-wrapper).
35671         (built-program-cmd): Likewise.
35672         * Rules (make-test-out): Use $(test-wrapper-env) and
35673         $(host-built-program-cmd).
35674         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35675         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35676         tst-pathopt.sh.
35677         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35678         $(test-wrapper-env) to tst-rtld-load-self.sh.
35679         ($(objpfx)order2.out): Use $(test-wrapper).
35680         ($(objpfx)tst-initorder.out): Likewise.
35681         ($(objpfx)tst-initorder2.out): Likewise.
35682         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35683         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35684         (test_wrapper_env): New variable.  Use it to run ld.so.
35685         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35686         Use it to run ld.so.
35687         (test_wrapper_env): Likewise.
35688         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35689         $(test-wrapper) to run-iconv-test.sh.
35690         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35691         (ICONV): Use $test_wrapper.
35692         * posix/Makefile ($(objpfx)globtest.out): Pass
35693         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35694         globtest.sh, not $(run-program-prefix).
35695         * posix/globtest.sh (run_via_rtld_prefix): New variable.
35696         (test_wrapper): Likewise.
35697         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
35698         set together with run_via_rtld_prefix.
35699         (run_program_prefix): Define in terms of test_wrapper and
35700         run_via_rtld_prefix.
35702 2012-10-24  Roland McGrath  <roland@hack.frob.com>
35704         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35705         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35706         Targets removed.
35708         [BZ #14743]
35709         * include/time.h: Remove librt_hidden_proto (clock_gettime).
35710         Declare __clock_getres, __clock_gettime, __clock_settime,
35711         __clock_nanosleep, and __clock_getcpuclockid.
35712         * rt/clock_gettime.c: Define __clock_gettime as an alias.
35713         Remove librt_hidden_def (clock_gettime).
35714         * sysdeps/unix/clock_gettime.c: Likewise.
35715         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35716         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35717         * rt/clock_getres.c: Define __clock_getres as an alias.
35718         * sysdeps/posix/clock_getres.c: Likewise.
35719         * rt/clock_settime.c: Define __clock_settime as an alias.
35720         * sysdeps/unix/clock_settime.c: Likewise.
35721         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35722         * sysdeps/unix/clock_nanosleep.c: Likewise.
35723         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35724         * rt/clock-compat.c: New file.
35725         * rt/Makefile (librt-routines): Add clock-compat and move
35726         $(clock-routines) to ...
35727         (routines): ... here, new variable.
35728         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35729         Don't add get_clockfreq here.
35730         * rt/Versions (libc: GLIBC_2.17): New version set.
35731         Add clock_* symbols here.
35732         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
35733         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
35734         (GLIBC_2.17): Add clock_* symbols.
35735         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35736         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35737         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35739         Likewise.
35740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35741         Likewise.
35742         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35743         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35744         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35745         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35746         * NEWS: Mention the move.
35748         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35749         Use __open, __read, __close rather than their public counterparts.
35750         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35751         (__get_clockfreq_via_cpuinfo): Likewise.
35752         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
35753         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
35755         * config.h.in (HAVE_IFUNC): New #undef.
35756         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
35757         was successful.
35758         * configure: Regenerated.
35760 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
35762         * configure.in: Move READELF check to start of file.
35763         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
35764         libc_cv_asm_gnu_indirect_function in the process.
35765         * configure: Regenerated.
35767 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
35769         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
35770         send the output to /dev/null.
35771         (libc_cv_cc_with_libunwind): Likewise.
35772         (libc_cv_as_noexecstack): Likewise.
35773         * configure: Regenerate.
35775 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
35777         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
35779         * posix/globtest.sh (TMPDIR): Do not set.
35780         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
35781         (testout): Likewise.
35783 2012-10-24  Andreas Jaeger  <aj@suse.de>
35785         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
35786         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
35787         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
35788         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
35789         posix_fadvise64, posix_fallocate64.
35791         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
35792         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
35793         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
35794         Likewise.
35795         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
35796         Likewise.
35797         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
35799         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
35800         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
35801         <bits/fcntl-linux.h>.
35802         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
35804         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
35805         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
35806         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
35807         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
35808         [__WORDSIZE != 64]: Likewise.
35810 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
35812         * Makeconfig (run-built-tests): New variable.
35813         * Rules [$(cross-compiling) = yes]: Change condition to
35814         [$(run-built-tests) = no].
35815         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
35816         to [$(run-built-tests) = yes].
35817         * elf/Makefile [$(cross-compiling) = no]: Likewise
35818         * grp/Makefile [$(cross-compiling) = no]: Likewise.
35819         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
35820         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
35821         * intl/Makefile [$(cross-compiling) = no]: Likewise.
35822         * io/Makefile [$(cross-compiling) = no]: Likewise.
35823         * libio/Makefile [$(cross-compiling) = no]: Likewise.
35824         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
35825         * misc/Makefile [$(cross-compiling) = no]: Likewise.
35826         * posix/Makefile [$(cross-compiling) = no]: Likewise.
35827         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
35828         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
35829         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
35830         * string/Makefile [$(cross-compiling) = no]: Likewise.
35832         * posix/Makefile ($(objpfx)globtest.out): Pass
35833         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
35834         $(rtld-installed-name).
35835         * posix/globtest.sh (elf_objpfx): Remove variable.
35836         (rtld_installed_name): Likewise.
35837         (library_path): Likewise.
35838         (run_program_prefix): New variable.  Use for running globtest
35839         binary.
35841 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
35842             Joseph Myers  <joseph@codesourcery.com>
35844         * Makeconfig (host-built-program-cmd): New variable.
35845         * elf/Makefile (tst-stackguard1-ARGS): Use
35846         $(host-built-program-cmd).
35847         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
35848         (tst-spawn-ARGS): Likewise.
35849         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
35851 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
35852             Jim Blandy  <jimb@codesourcery.com>
35854         * Makeconfig (run-via-rtld-prefix): New variable.
35855         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
35856         (built-program-cmd): Likewise.
35858 2012-10-22  Andreas Jaeger  <aj@suse.de>
35860         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
35861         __O_RSYNC if it exists, otherwise to O_SYNC.
35863 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
35864             Joseph Myers  <joseph@codesourcery.com>
35866         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
35867         /dev/null.
35868         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
35869         from /dev/null
35870         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
35871         /dev/null.
35873 2012-10-22  Andreas Jaeger  <aj@suse.de>
35875         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
35876         Define always.
35877         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
35879         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35880         bits/fcntl-linux.h.
35882         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
35883         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
35885         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
35886         to __O_LARGEFILE.
35887         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
35888         to __O_LARGEFILE.
35890 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
35891             Joseph Myers  <joseph@codesourcery.com>
35893         * config.make.in (NM): New variable.
35895 2012-10-21  Andreas Jaeger  <aj@suse.de>
35897         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
35898         definitions and declarations that are provided by
35899         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35901 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
35903         [BZ #14683]
35904         * elf/Makefile (tests-static): Add tst-leaks1-static.
35905         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
35906         ($(objpfx)tst-leaks1-static): New rule.
35907         ($(objpfx)tst-leaks1-static-mem): Likewise.
35908         (tst-leaks1-static-ENV): New macro.
35909         * elf/dl-open.c (dl_open_worker): Check the main application
35910         only if SHARED is defined.
35911         * elf/tst-leaks1-static.c: New file.
35913 2012-10-20  Andreas Jaeger  <aj@suse.de>
35915         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
35916         generic values for Linux.
35917         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
35918         and declarations that are provided by <bits/fcntl-linux.h> and
35919         include <bits/fcntl-linux.h>.
35920         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35921         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35923 2012-10-20  Roland McGrath  <roland@hack.frob.com>
35925         * io/fcntl.h: Move include of <bits/types.h> to the top and
35926         include it unconditionally.
35928 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
35930         * wcsmbs/Makefile (tests-ifunc): New variable.
35931         (tests): Add $(tests-ifunc).
35932         * wcsmbs/test-wcschr-ifunc.c: New file.
35933         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35934         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35935         * wcsmbs/test-wcslen-ifunc.c: Likewise.
35936         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35937         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35939         * string/Makefile (tests-ifunc): New variable.
35940         (tests): Add $(tests-ifunc).
35941         * string/test-memccpy.c (TEST_NAME): New macro.
35942         * string/test-memchr.c (TEST_NAME): Likewise.
35943         * string/test-memcmp.c (TEST_NAME): Likewise.
35944         * string/test-memcpy.c (TEST_NAME): Likewise.
35945         * string/test-memmem.c (TEST_NAME): Likewise.
35946         * string/test-memmove.c (TEST_NAME): Likewise.
35947         * string/test-memset.c (TEST_NAME): Likewise.
35948         * string/test-rawmemchr.c (TEST_NAME): Likewise.
35949         * string/test-stpcpy.c (TEST_NAME): Likewise.
35950         * string/test-stpncpy.c (TEST_NAME): Likewise.
35951         * string/test-strcasecmp.c (TEST_NAME): Likewise.
35952         * string/test-strcasestr.c (TEST_NAME): Likewise.
35953         * string/test-strcat.c (TEST_NAME): Likewise.
35954         * string/test-strchr.c (TEST_NAME): Likewise.
35955         * string/test-strcmp.c(TEST_NAME): Likewise.
35956         * string/test-strcpy.c (TEST_NAME): Likewise.
35957         * string/test-strcspn.c (TEST_NAME): Likewise.
35958         * string/test-strlen.c (TEST_NAME): Likewise.
35959         * string/test-strncasecmp.c (TEST_NAME): Likewise.
35960         * string/test-strncmp.c (TEST_NAME): Likewise.
35961         * string/test-strncpy.c (TEST_NAME): Likewise.
35962         * string/test-strnlen.c (TEST_NAME): Likewise.
35963         * string/test-strpbrk.c (TEST_NAME): Likewise.
35964         * string/test-strrchr.c (TEST_NAME): Likewise.
35965         * string/test-strspn.c (TEST_NAME): Likewise.
35966         * string/test-strstr.c (TEST_NAME): Likewise.
35967         * string/test-bcopy-ifunc.c: New file.
35968         * string/test-bzero-ifunc.c: Likewise.
35969         * string/test-memccpy-ifunc.c: Likewise.
35970         * string/test-memchr-ifunc.c: Likewise.
35971         * string/test-memcmp-ifunc.c: Likewise.
35972         * string/test-memcpy-ifunc.c: Likewise.
35973         * string/test-memmem-ifunc.c: Likewise.
35974         * string/test-memmove-ifunc.c: Likewise.
35975         * string/test-mempcpy-ifunc.c: Likewise.
35976         * string/test-memset-ifunc.c: Likewise.
35977         * string/test-rawmemchr-ifunc.c: Likewise.
35978         * string/test-stpcpy-ifunc.c: Likewise.
35979         * string/test-stpncpy-ifunc.c: Likewise.
35980         * string/test-strcasecmp-ifunc.c: Likewise.
35981         * string/test-strcasestr-ifunc.c: Likewise.
35982         * string/test-strcat-ifunc.c: Likewise.
35983         * string/test-strchr-ifunc.c: Likewise.
35984         * string/test-strchrnul-ifunc.c: Likewise.
35985         * string/test-strcmp-ifunc.c: Likewise.
35986         * string/test-strcpy-ifunc.c: Likewise.
35987         * string/test-strcspn-ifunc.c: Likewise.
35988         * string/test-strlen-ifunc.c: Likewise.
35989         * string/test-strncasecmp-ifunc.c: Likewise.
35990         * string/test-strncat-ifunc.c: Likewise.
35991         * string/test-strncmp-ifunc.c: Likewise.
35992         * string/test-strncpy-ifunc.c: Likewise.
35993         * string/test-strnlen-ifunc.c: Likewise.
35994         * string/test-strpbrk-ifunc.c: Likewise.
35995         * string/test-strrchr-ifunc.c: Likewise.
35996         * string/test-strspn-ifunc.c: Likewise.
35997         * string/test-strstr-ifunc.c: Likewise.
35999         * debug/Makefile (tests-ifunc): New variable.
36000         (tests): Add $(tests-ifunc).
36001         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36002         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36003         * debug/test-stpcpy_chk-ifunc.c: New file.
36004         * debug/test-strcpy_chk-ifunc.c: Likewise.
36006 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36008         [BZ #13601]
36009         * elf/dl-load.c (open_verify): Retry read if the entire ELF
36010         header is not read in.
36012 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
36014         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
36015         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
36016         directly.  Pass built executable to script as
36017         $(built-program-cmd).
36018         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
36019         $testprogram without using LD_LIBRARY_PATH and $ldso.
36021         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36022         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36023         $(rtld-installed-name).
36024         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36025         (rtld_installed_name): Likewise.
36026         (library_path): Likewise.
36027         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
36028         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36029         $(run-program-prefix) to tst-tables.sh.
36030         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
36031         it to run tst-table-from and tst-table-to.
36032         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36033         Pass it to tst-table.sh.
36034         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36035         $(run-program-prefix) to tst-gettext.sh.
36036         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36037         tst-translit.sh.
36038         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36039         tst-gettext2.sh.
36040         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
36041         to run tst-gettext.
36042         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
36043         to run tst-gettext2.
36044         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
36045         to run tst-translit.
36046         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36047         $(run-program-prefix) to tst-mtrace.sh.
36048         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
36049         to run tst-mtrace.
36050         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36051         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36052         $(rtld-installed-name).
36053         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36054         (rtld_installed_name): Likewise.
36055         (run_program_prefix): New variable.  Use it to run wordexp-test.
36057         * Makeconfig (ARCH): Remove all definitions.
36058         (machine): Likewise.
36059         [ARCH]: Remove conditional code.
36060         [!objdir]: Give error.
36061         [!objdir] (objpfx): Remove.
36062         [!objdir] (common-objpfx): Likewise.
36063         [!objdir] (common-objdir): Likewise.
36064         * configure.in (config_makefile): Remove.  Hardcode Makefile in
36065         AC_CONFIG_FILES call.
36066         * configure: Regenerated.
36068         [BZ #13888]
36069         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36070         or TMPDIR.
36071         (testout): Likewise.
36073         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36074         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36075         $(rtld-installed-name).
36076         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36077         (rtld_installed_name): Likwise.
36078         (runit): Remove function.
36079         (run_getconf): New variable,  Use it for running getconf binary.
36081 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
36083         [BZ #14716]
36084         * string/test-memmem.c (check_result): New function.
36085         (do_one_test): Use it.
36086         (check1): New function.
36087         (test_main): Use it.
36089 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
36091         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36093 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
36095         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36096         (_G_LSEEK64): Likewise.
36097         (_G_MMAP64): Likewise.
36098         (_G_FSTAT64): Likewise.
36099         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36100         (_G_LSEEK64): Likewise.
36101         (_G_MMAP64): Likewise.
36102         (_G_FSTAT64): Likewise.
36103         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36104         unconditional.  Call __mmap64 directly.
36105         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36106         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
36107         __lseek64 directly.
36108         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36109         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
36110         __mmap64 directly.
36111         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36112         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
36113         __lseek64 directly.
36114         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36115         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
36116         __lseek64 directly.
36117         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36118         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
36119         __lseek64 directly.
36120         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36121         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
36122         __fxstat64 directly.
36123         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36124         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36125         unconditional.
36126         (freopen64) [!_G_OPEN64]: Remove conditional code.
36127         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36128         unconditional.
36129         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36130         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36131         unconditional.
36132         (ftello64) [!_G_LSEEK64]: Remove conditional code.
36133         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36134         unconditional.
36135         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36136         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36137         unconditional.
36138         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36139         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36140         unconditional.
36141         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36142         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36143         unconditional.
36144         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36145         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36146         unconditional.
36147         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36149 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36151         [BZ #12140]
36152         * manual/memory.texi (Malloc Tunable Parameters): Add note
36153         about free list pointers overwriting some perturb bytes.
36154         Wording suggested by Roland McGrath.
36156 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
36158         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36159         (lgamma_test): Likewise.
36160         (tgamma_test): Likewise.
36162 2012-10-16  Florian Weimer  <fweimer@redhat.com>
36164         [BZ #14700]
36165         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36166         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36168 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
36170         * NEWS: Mention BZ #14716.
36171         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36172         when removing AVAILABLE1_USES_J macro.
36174 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
36176         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36177         (__bswap_64): __uint64_t for unsigned 64-bit int.
36179 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
36181         * include/string.h (memmem): Declare libc hidden alias.
36182         * string/memmem.c (memmem): Define libc hidden alias.
36183         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36184         __read, __close instead of open, read, close.
36186 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
36188         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36189         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36190         global and hidden.
36191         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36192         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36193         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36194         Likewise.
36195         (__rawmemchr_sse2): Likewise.
36196         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36197         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36198         (__strchr_sse2): Likewise.
36199         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36200         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36201         (__strcasecmp_sse2): Likewise.
36202         (__strncasecmp_sse2): Likewise.
36203         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36204         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36205         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36206         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36207         (__strrchr_sse2): Likewise.
36208         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36209         ifunc-impl-list.c.
36210         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36211         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36212         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36213         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36214         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36215         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36216         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36217         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36218         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36219         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36220         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36221         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36222         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36223         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36224         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36225         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36226         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36227         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36228         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36229         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36230         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36231         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36232         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36233         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36234         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36235         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36236         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36237         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36238         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36239         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36241         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36242         global and hidden.
36243         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36244         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36245         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36246         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36247         Likewise.
36248         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36249         Likewise.
36250         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36251         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36252         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36253         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36254         ifunc-impl-list.c.
36255         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36256         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36257         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36258         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36259         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36260         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36261         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36262         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36263         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36264         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36265         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36266         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36267         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36268         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36269         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36270         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36271         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36272         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36273         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36274         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36275         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36276         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36277         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36278         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36279         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36280         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36281         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36282         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36283         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36284         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36285         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36286         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36287         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36288         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36289         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36290         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36291         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36292         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36293         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36294         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36295         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36297         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36298         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36299         * include/ifunc-impl-list.h: New file.
36300         * misc/ifunc-impl-list.c: Likewise.
36301         * misc/Makefile (routines): Add ifunc-impl-list.
36302         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36303         * string/test-string.h: Include <ifunc-impl-list.h>.
36304         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36305         TEST_NAME]: New variables.
36306         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36307         are defined.
36308         (test_init): Call __libc_ifunc_impl_list to initialize
36309         func_list if TEST_IFUNC and TEST_NAME are defined.
36311         * string/Makefile (strop-tests): Add bcopy and bzero.
36312         * string/test-bcopy.c: New file.
36313         * string/test-bzero.c: Likewise.
36314         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36315         defined.
36316         * string/test-memset.c: Support bzero test if TEST_BZERO is
36317         defined.
36318         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36319         __libc_memmove.
36320         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36321         __libc_memset.
36322         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36323         of memset.
36325 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
36327         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36328         * configure: Regenerated.
36330         * Makeconfig (+link-static-before-libc): Don't include
36331         $(link-static-libc).
36333         * libio/libio.h (_IO_pos_t): Remove.
36335 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36337         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
36338         McGrath.
36340 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36342         * crypt/crypt-entry.c: Include fips-private.h.
36343         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36344         * crypt/md5c-test.c (main): Tolerate disabled MD5.
36345         * sysdeps/unix/sysv/linux/fips-private.h: New file.
36346         * sysdeps/generic/fips-private.h: New file, dummy fallback.
36348 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36350         * crypt/crypt-private.h: Include stdbool.h.
36351         (_ufc_setup_salt_r): Return bool.
36352         * crypt/crypt-entry.c: Include errno.h.
36353         (__crypt_r): Return NULL with EINVAL for bad salt.
36354         * crypt/crypt_util.c (bad_for_salt): New.
36355         (_ufc_setup_salt_r): Check that salt is long enough and within
36356         the specified alphabet.
36357         * crypt/badsalttest.c: New file.
36358         * crypt/Makefile (tests): Add it.
36359         ($(objpfx)badsalttest): New.
36361 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
36363         * NEWS: Add entry for BZ #14602.
36365 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
36367         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36368         type-generic.
36369         * math/libm-test.inc: Update comment listing what functions and
36370         macros are tested.
36371         (isgreater_test): New function.
36372         (isgreaterequal_test): Likewise.
36373         (isless_test): Likewise.
36374         (islessequal_test): Likewise.
36375         (islessgreater_test): Likewise.
36376         (isunordered_test): Likewise.
36377         (main): Call the new functions.
36379 2012-10-09  Roland McGrath  <roland@hack.frob.com>
36381         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36382         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36383         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36384         * sysdeps/i386/configure: Regenerated.
36385         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36386         * sysdeps/mach/configure: Regenerated.
36387         * sysdeps/mach/hurd/configure: Regenerated.
36388         * sysdeps/powerpc/configure: Regenerated.
36389         * sysdeps/powerpc/powerpc32/configure: Regenerated.
36390         * sysdeps/powerpc/powerpc64/configure: Regenerated.
36391         * sysdeps/s390/s390-32/configure: Regenerated.
36392         * sysdeps/s390/s390-64/configure: Regenerated.
36393         * sysdeps/sh/configure: Regenerated.
36394         * sysdeps/sparc/configure: Regenerated.
36395         * sysdeps/unix/sysv/linux/configure: Regenerated.
36396         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36397         * sysdeps/x86_64/configure: Regenerated.
36399         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36400         defined.  Don't check if MAP is NULL.
36402 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
36404         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36405         (_G_stat64): Likewise.
36406         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36407         (_G_stat64): Likewise.
36408         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36409         instead of struct _G_stat64.
36410         * libio/fileops.c (mmap_remap_check): Likewise.
36411         (decide_maybe_mmap): Likewise.
36412         (_IO_new_file_seekoff): Likewise.
36413         (_IO_file_stat): Likewise.
36414         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36415         _G_off64_t.
36416         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36417         instead of struct _G_stat64.
36418         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36420 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
36422         [BZ #14602]
36423         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36424         Replace with ...
36425         (CHECK_EOL): New macro.
36426         (two_way_short_needle): Check beginning of haystack for EOL.  Use
36427         CHECK_EOL.
36428         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36429         Replace with CHECK_EOL.
36430         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36431         Replace with CHECK_EOL.
36433 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
36435         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36436         type-generic.
36437         * math/libm-test.inc: Update comment listing what functions and
36438         macros are tested.
36439         (finite_test): New function.
36440         (isinf_test): Likewise.
36441         (isnan_test): Likewise.
36442         (fpclassify_test): Test subnormal input.
36443         (isfinite_test): Likewise.
36444         (isnormal_test): Likewise.
36445         (main): Call the new functions.
36447 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
36449         [BZ #14660]
36450         * Makerules (%.dynsym): Force C locale when running
36451         $(OBJDUMP) --dynamic-syms.
36453 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
36455         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36456         <stdint.h>.
36458 2012-10-06  David S. Miller  <davem@davemloft.net>
36460         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36461         upper 32-bits of the length value in %o2 since we use branch-on-register
36462         tests which consider the entire 64-bit register.
36464 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
36466         * string/test-strstr.c (check2): Add a test for page boundary.
36468 2012-10-05  David S. Miller  <davem@davemloft.net>
36470         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36471         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36472         file.
36473         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36474         sysdep_routines.
36475         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36476         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36477         and bzero when HWCAP_SPARC_CRYPTO is present.
36479 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
36481         [BZ #14602]
36482         * string/test-strstr.c (check2): New function.
36483         (test_main): Call check2.
36485         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36486         and bug-strchr1.
36487         * string/bug-strcasestr1.c (do_test): Moved to ...
36488         * string/test-strcasestr.c (check1): Here.  New function.
36489         (do_one_test): Break out result checking code into ...
36490         (check_result): This.  New function.
36491         (do_one_test): Call check_result.
36492         (test_main): Call check1.
36493         * string/bug-strchr1.c (do_test): Moved to ...
36494         * string/test-strchr.c (check1): Here.  New function.
36495         (do_one_test): Break out result checking code into ...
36496         (check_result): This.  New function.
36497         (do_one_test): Call check_result.
36498         (test_main): Call check1.
36499         * string/bug-strstr1.c (main): Moved to ...
36500         * string/test-strstr.c (check1): Here.  New function.
36501         (do_one_test): Break out result checking code into ...
36502         (check_result): This.  New function.
36503         (do_one_test): Call check_result.
36504         (test_main): Call check1.
36505         * string/bug-strcasestr1.c: Removed.
36506         * string/bug-strchr1.c: Likewise.
36507         * string/bug-strstr1.c: Likewise.
36509         * elf/Makefile (dl-routines): Add hwcaps.
36510         * elf/dl-support.c (_dl_important_hwcaps): Removed.
36511         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36512         (_dl_important_hwcaps): Moved to ...
36513         * elf/dl-hwcaps.c: Here.  New file.
36514         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36516         [BZ #14557]
36517         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36518         if IS_IN_rtld isn't defined.
36520         * elf/dl-support.c (_dl_sysinfo_map): New.
36521         Include "get-dynamic-info.h" and "setup-vdso.h".
36522         (_dl_non_dynamic_init): Call setup_vdso.
36523         * elf/dynamic-link.h: Don't include <assert.h>.
36524         (elf_get_dynamic_info): Moved to ...
36525         * elf/get-dynamic-info.h: Here.  New file.
36526         * elf/dynamic-link.h: Include "get-dynamic-info.h".
36527         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36528         * elf/setup-vdso.h: Here.  New file.
36529         * elf/rtld.c: Include "setup-vdso.h".
36530         (dl_main): Call setup_vdso.
36532 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
36534         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36535         creal in comment listing functions tested.  List finite, isinf,
36536         isnan, isless, islessequal, isgreater, isgreaterequal,
36537         islessgreater, isunordered, lgamma_r and pow10 as functions and
36538         macros not tested.  Mention which functions not tested are aliases
36539         for other functions.  Fix typo.  Note that signs of NaNs are not
36540         tested.
36542         * scripts/config.guess: Update from config.git.
36543         * scripts/config.sub: Likewise.
36545 2012-10-04  Roland McGrath  <roland@hack.frob.com>
36547         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36548         * misc/madvise.c (madvise): Renamed to __madvise.
36549         Make madvise a weak alias.
36550         * include/sys/mman.h: Declare __madvise.
36551         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36552         * sysdeps/unix/syscalls.list
36553         (madvise): Make __madvise the strong name, and madvise a weak alias.
36554         * sysdeps/unix/sysv/linux/syscalls.list
36555         (madvise, mmap): Remove redundant entries.
36556         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36557         * malloc/malloc.c (mtrim): Likewise.
36558         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36560 2012-10-03  Roland McGrath  <roland@hack.frob.com>
36562         * sysdeps/mach/hurd/dl-cache.c: File removed.
36563         * config.h.in (USE_LDCONFIG): New #undef.
36564         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36565         * configure: Regenerated.
36566         * elf/Makefile (dl-routines): Add dl-cache only under
36567         [$(use-ldconfig) = yes].
36568         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36569         cache on [USE_LDCONFIG].
36570         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36571         [USE_LDCONFIG].
36572         * elf/rtld.c (dl_main): Likewise.
36574 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
36576         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36577         _SC_LEVEL4_CACHE_LINESIZE.
36579 2012-10-03  Roland McGrath  <roland@hack.frob.com>
36581         * sysdeps/unix/bsd/confstr.h: File removed.
36583 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
36585         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36586         sys/sdt-config.h.
36588 2012-10-02  Roland McGrath  <roland@hack.frob.com>
36590         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36591         Make 'mapoff' field ElfW(Off) rather than off_t.
36593 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
36595         * nscd/Makefile: Remove nscd-cflags and all its users.
36596         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36597         (CFLAGS-nonlib): Add compiler flags for nscd modules.
36599         [BZ #10631]
36600         * malloc.c (malloc_printerr): Clarify error message.
36602 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
36604         [BZ #14648]
36605         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36606         Set bit_FMA_Usable if FMA is supported.
36607         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36608         macro.
36609         (bit_FMA4_Usable): Updated.
36610         (index_FMA_Usable): New macro.
36611         (CPUID_FMA): Likewise
36612         (HAS_FMA): Defined with bit_FMA_Usable.
36614 2012-10-01  Roland McGrath  <roland@hack.frob.com>
36616         * bits/types.h (__swblk_t): Type removed.
36617         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36618         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36619         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36620         (__SWBLK_T_TYPE): Likewise.
36621         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36622         (__SWBLK_T_TYPE): Likewise.
36623         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36624         (__SWBLK_T_TYPE): Likewise.
36625         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36626         (__SWBLK_T_TYPE): Likewise.
36628 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
36629             Honza Horak <hhorak@redhat.com>
36631         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36632         (xdr_mapname): Use YPMAXMAP as maxsize.
36633         (xdr_peername): Use YPMAXPEER as maxsize.
36634         (xdr_keydat): Use YPAXRECORD as maxsize.
36635         (xdr_valdat): Use YPMAXRECORD as maxsize.
36637 2012-10-01  Roland McGrath  <roland@hack.frob.com>
36639         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36641         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36642         * csu/init-first.c: ... here.
36643         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36644         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36645         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36646         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36647         * sysdeps/i386/init-first.c: File removed.
36648         * sysdeps/sh/init-first.c: File removed.
36650 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
36652         [BZ #14645]
36653         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36654         if x * y might underflow to zero and z is zero.
36655         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36656         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36657         * math/libm-test.inc (min_subnorm_value): New variable.
36658         (fma_test): Add more tests.
36659         (fma_test_towardzero): Likewise.
36660         (fma_test_downward): Likewise
36661         (fma_test_upward): Likewise.
36662         (initialize): Set min_subnorm_value.
36664 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
36666         [BZ #14638]
36667         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36668         0 + 0.
36669         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36670         mode for addition resulting in exact zero.
36671         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36672         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36673         exact 0 + 0.
36674         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36675         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36676         * math/libm-test.inc (fma_test): Add more tests.
36677         (fma_test_towardzero): New function.
36678         (fma_test_downward): Likewise.
36679         (fma_test_upward): Likewise.
36680         (main): Call the new functions.
36682 2012-09-28  David S. Miller  <davem@davemloft.net>
36684         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36686 2012-09-28  Roland McGrath  <roland@hack.frob.com>
36688         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36689         instead of SIGALRM.
36691         * sysdeps/gnu/_G_config.h: Moved to ...
36692         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36693         * sysdeps/mach/hurd/_G_config.h: Moved to ...
36694         * sysdeps/generic/_G_config.h: ... here.
36696         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
36698         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36700         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36701         Conditionalize target on [libnss_test1.so-version].
36703         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36705         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36706         (elfobjdir): Move out of conditionals.
36708         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36709         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36710         (__nss_lookup_function): Conditionalize label remove_from_tree on
36711         [!DO_STATIC_NSS || SHARED], matching its only use.
36713 2012-09-28  David S. Miller  <davem@davemloft.net>
36715         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36716         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36717         file.
36718         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36719         sysdep_routines.
36720         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36721         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36722         when HWCAP_SPARC_CRYPTO is present.
36724 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36726         * io/tst-mknodat.c: Create a FIFO instead of a socket.
36728 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
36730         [BZ #6530]
36731         * stdio-common/vfprintf.c (process_string_arg): Revert
36732         2000-07-22 change.
36734 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
36736         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
36737         for testcase.
36738         * stdio-common/tst-sprintf.c: Include <locale.h>
36739         (main): Test sprintf's handling of incomplete multibyte
36740         characters.
36742 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
36744         * elf/dl-runtime.c (VERSYMIDX): Removed.
36745         * elf/dl-version.c (VERSYMIDX): Likewise.
36746         * elf/do-rel.h (VERSYMIDX): Likewise.
36747         (VALIDX): Likewise.
36748         * elf/dynamic-link.h (VERSYMIDX): Likewise.
36749         * elf/rtld.c (VALIDX): Likewise.
36750         (ADDRIDX): Likewise.
36751         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
36752         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
36753         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
36754         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
36755         (VALIDX): Likewise.
36756         (ADDRIDX): Likewise.
36758 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36760         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
36762 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
36764         [BZ #11438]
36765         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
36766         to global scope.
36767         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
36768         addresses are in the same scope as 192.0.2/24.
36769         * posix/gai.conf: Document new scope table defaults.
36771 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36773         [BZ #5298]
36774         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
36775         for ftell.  Compute offsets from write pointers instead.
36776         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36778 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36780         [BZ #14543]
36781         * libio/Makefile (tests): New test case tst-fseek.
36782         * libio/tst-fseek.c: New test case to verify that fseek/ftell
36783         combination works in wide mode.
36784         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
36785         state when the external buffer state changes.
36787 2012-09-27  David S. Miller  <davem@davemloft.net>
36789         [BZ #14376]
36790         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
36791         pass reloc->r_addend in as the 'high' argument to
36792         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
36794         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36796 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36798         * rt/tst-aio2.c: Include <pthread.h>.
36799         * rt/tst-aio3.c: Likewise.
36801 2012-09-27  Steve Ellcey  <sellcey@mips.com>
36803         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
36805 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
36807         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
36808         contents on [SHARED].
36810 2012-09-26  Marek Polacek  <polacek@redhat.com>
36812         [BZ #14530]
36813         [BZ #13741]
36814         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
36815         for C++ and GCC <4.3 as well as for non GCC compilers.
36817 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
36819         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36821 2012-09-25  Roland McGrath  <roland@hack.frob.com>
36823         * Makefile.in (all, install): Declare with .PHONY.
36824         Reported by Michael Hope <michael.hope@linaro.org>.
36826 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36828         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
36829         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
36830         system header.
36831         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
36832         Likewise.
36833         (sydep_routines): Add the new and the internal functions.
36834         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
36835         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
36836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
36837         (GLIBC_2.17): Add the new function.
36838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36839         (GLIBC_2.17): Likewise.
36840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
36841         (GLIBC_2.17): Likewise.
36842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
36843         (GLIBC_2.17): Likewise.
36844         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
36846 2012-09-25  Alan Modra  <amodra@gmail.com>
36848         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
36849         Add release barrier before setting once_control to say
36850         initialisation is done.  Add hints on lwarx.  Use macro in
36851         place of isync.
36852         (clear_once_control): Add release barrier.
36854 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
36856         [BZ #13629]
36857         * math/s_clog.c (__clog): Handle more values close to |z| = 1
36858         specially.
36859         * math/s_clog10.c (__clog10): Likewise.
36860         * math/s_clog10f.c (__clog10f): Likewise.
36861         * math/s_clog10l.c (__clog10l): Likewise.
36862         * math/s_clogf.c (__clogf): Likewise.
36863         * math/s_clogl.c (__clogl): Likewise.
36864         * math/Makefile (libm-calls): Add x2y2m1.
36865         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
36866         (__x2y2m1): Likewise.
36867         (__x2y2m1l): Likewise.
36868         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
36869         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
36870         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
36871         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
36872         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
36873         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
36874         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
36875         * sysdeps/i386/fpu/libm-test-ulps: Update.
36876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36878         [BZ #14621]
36879         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
36880         int as type of variable DEPTH.
36881         (glob): Use size_t instead of int as type of variables NEWCOUNT
36882         and OLD_PATHC.
36884 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36886         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36887         Add s_sincosf-sse2.
36888         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
36889         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
36890         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
36891         macros for using routine as __sincosf_ia32.
36892         Use macro for function declaration and weak_alias.
36893         * sysdeps/i386/fpu/libm-test-ulps: Update.
36895         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
36896         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36898         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
36899         subnormal argument.
36900         * math/s_cexpf.c (__cexpf): Likewise.
36901         * math/s_csinf.c (__csinf): Likewise.
36902         * math/s_csinhf.c (__csinhf): Likewise.
36903         * math/s_ctanf.c (__ctanf): Likewise.
36904         * math/s_ctanhf.c (__ctanhf): Likewise.
36905         * math/s_ccosh.c (__ccoshf): Likewise.
36906         * math/s_cexp.c (__cexpl): Likewise.
36907         * math/s_csin.c (__csin): Likewise.
36908         * math/s_csinh.c (__csinh): Likewise.
36909         * math/s_ctan.c (__ctan): Likewise.
36910         * math/s_ctanh.c (ctanh): Likewise.
36911         * math/s_ccoshl.c (__ccoshl): Likewise.
36912         * math/s_cexpl.c (__cexpl): Likewise.
36913         * math/s_csinl.c (__csinl): Likewise.
36914         * math/s_csinhl.c (__csinhl): Likewise.
36915         * math/s_ctanl.c (__ctanl): Likewise.
36916         * math/s_ctanhl.c (__ctanhl): Likewise.
36918 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
36920         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
36921         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
36922         (_IO_off_t): Define to __off_t, not _G_off_t.
36923         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
36924         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
36925         (_IO_wint_t): Define to wint_t, not _G_wint_t.
36926         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
36927         type of __dummy and __dummy2 fields.
36928         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
36929         (_G_ssize_t): Likewise.
36930         (_G_off_t): Likewise.
36931         (_G_pid_t): Likewise.
36932         (_G_uid_t): Likewise.
36933         (_G_wchar_t): Likewise.
36934         (_G_wint_t): Likewise.
36935         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
36936         (_G_ssize_t): Likewise.
36937         (_G_off_t): Likewise.
36938         (_G_pid_t): Likewise.
36939         (_G_uid_t): Likewise.
36940         (_G_wchar_t): Likewise.
36941         (_G_wint_t): Likewise.
36942         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
36943         (_G_ssize_t): Likewise.
36944         (_G_off_t): Likewise.
36945         (_G_pid_t): Likewise.
36946         (_G_uid_t): Likewise.
36947         (_G_wchar_t): Likewise.
36948         (_G_wint_t): Likewise.
36950 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36952         * malloc/arena.c: Include malloc-sysdep.h.
36953         (shrink_heap): Use check_may_shrink_heap to decide if madvise
36954         is sufficient to shrink the heap or an unmap is needed.
36955         * sysdeps/generic/malloc-sysdep.h: New file.  Define
36956         new function check_may_shrink_heap.
36957         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
36958         new function check_may_shrink_heap.
36960 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36962         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
36963         comments.
36965 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
36967         * catgets/test-gencat.sh: Add "set -e".
36968         * elf/tst-pathopt.sh: Likewise.
36969         * grp/tst_fgetgrent.sh: Likewise.
36970         * iconvdata/run-iconv-test.sh: Likewise.
36971         * intl/tst-gettext.sh: Likewise.
36972         * intl/tst-gettext2.sh: Likewise.
36973         * intl/tst-gettext4.sh: Likewise.
36974         * intl/tst-gettext6.sh: Likewise.
36975         * intl/tst-translit.sh: Likewise.
36976         * io/ftwtest-sh: Likewise.
36977         * libio/test-freopen.sh: Likewise.
36978         * malloc/tst-mtrace.sh: Likewise.
36979         * posix/globtest.sh: Likewise.
36980         * posix/tst-getconf.sh: Likewise.
36981         * posix/wordexp-tst.sh: Likewise.
36982         * stdio-common/tst-printf.sh: Likewise.
36983         * stdio-common/tst-unbputc.sh: Likewise.
36984         * stdlib/tst-fmtmsg.sh: Likewise.
36985         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36986         * catgets/Makefile: Do not specify -e option when running
36987         testsuite shell scripts.
36988         * elf/Makefile: Likewise.
36989         * grp/Makefile: Likewise.
36990         * iconvdata/Makefile: Likewise.
36991         * intl/Makefile: Likewise.
36992         * io/Makefile: Likewise.
36993         * libio/Makefile: Likewise.
36994         * malloc/Makefile: Likewise.
36995         * posix/Makefile: Likewise.
36996         * stdio-common/Makefile: Likewise.
36997         * stdlib/Makefile: Likewise.
36998         * sysdeps/x86_64/Makefile: Likewise.
37000         * io/ftwtest-sh: Add copyright header.
37001         * posix/globtest.sh: Likewise.
37002         * posix/tst-getconf.sh: Likewise.
37003         * posix/wordexp-tst.sh: Likewise.
37004         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37006 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
37008         [BZ #13679]
37009         * Makeconfig (+link): Defined as $(+link-static) if
37010         $(build-shared) isn't yes.
37011         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37012         isn't yes.
37013         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37015         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37017         [BZ #14562]
37018         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37019         new chunk size with MALLOC_ALIGN_MASK.
37021 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
37023         [BZ #5044]
37024         * stdio-common/printf_fphex.c: Include <stdbool.h> and
37025         <rounding-mode.h>.
37026         (__printf_fphex): Determine rounding using get_rounding_mode and
37027         round_away.
37028         * stdio-common/tst-printf-round.c (struct hex_test): New
37029         structure.
37030         (hex_tests): New variable.
37031         (test_hex_in_one_mode): New function.
37032         (do_test): Also run tests for hex float output.
37034 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
37036         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37037         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37038         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37039         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37040         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37041         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37042         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37043         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37045 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
37047         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37048         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37049         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37050         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37052 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
37054         [BZ #14579]
37055         * elf/rtld.c (dl_main): Limit the check for self loading to normal
37056         mode only.
37057         * elf/tst-rtld-load-self.sh: New test.
37058         * elf/Makefile: Run it.
37060 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
37062         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37063         (tst-writev-ENV): Remove.
37064         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37066 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
37068         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37070 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
37072         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37073         unconditional.
37074         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37075         Likewise.
37076         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37077         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37078         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37079         Likewise.
37081 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
37083         [BZ #14587]
37084         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37085         * config.make.in (have-cpp-asm-debuginfo): Removed.
37086         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37087         * configure: Regenerated.
37089 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
37091         [BZ #5044]
37092         * stdio-common/printf_fp.c: Include <stdbool.h> and
37093         <rounding-mode.h>.
37094         (___printf_fp): Determine rounding using get_rounding_mode and
37095         round_away.
37096         * stdio-common/tst-printf-round.c: New file.
37097         * stdio-common/Makefile (tests): Add tst-printf-round.
37098         (link-libm): New variable.
37099         ($(objpfx)tst-printf-round): Depend in $(link-libm).
37101 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
37103         [BZ #14576]
37104         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37105         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37106         Likewise.
37107         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37108         Likewise.
37110 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
37112         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37113         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37114         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37115         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37117 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
37119         [BZ #14518]
37120         * include/rounding-mode.h: New file.
37121         * sysdeps/generic/get-rounding-mode.h: Likewise.
37122         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37123         * stdlib/strtod_l.c: Include <rounding-mode.h>.
37124         (MAX_VALUE): New macro.
37125         (MIN_VALUE): Likewise.
37126         (overflow_value): New function.
37127         (underflow_value): Likewise.
37128         (round_and_return): Use overflow_value and underflow_value to
37129         determine return values in overflow and underflow cases.  Use
37130         round_away to determine rounding depending on rounding mode.
37131         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37132         determine return values in overflow and underflow cases.
37133         * stdlib/tst-strtod-round.c: Include <fenv.h>.
37134         (struct test_results): New structure.
37135         (struct test): Use struct test_results to store expected results
37136         for all rounding modes.
37137         (TEST): Include expected results for all rounding modes.
37138         (test_in_one_mode): New function.
37139         (do_test): Use test_in_one_mode to compute and check results.
37140         Check results for all rounding modes.
37141         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37142         $(link-libm).
37144 2012-12-09  Allan McRae  <allan@archlinux.org>
37146         * sysdeps/i386/fpu/libm-test-ulps: Update
37148 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
37150         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37151         (_G_int32_t): Likewise.
37152         (_G_uint16_t): Likewise.
37153         (_G_uint32_t): Likewise.
37154         (_G_HAVE_BOOL): Likewise.
37155         (_G_HAVE_ATEXIT): Likewise.
37156         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37157         (_G_HAVE_IO_FILE_OPEN): Likewise.
37158         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37159         (_G_int32_t): Likewise.
37160         (_G_uint16_t): Likewise.
37161         (_G_uint32_t): Likewise.
37162         (_G_HAVE_BOOL): Likewise.
37163         (_G_HAVE_ATEXIT): Likewise.
37164         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37165         (_G_HAVE_IO_FILE_OPEN): Likewise.
37166         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37167         (_G_int32_t): Likewise.
37168         (_G_uint16_t): Likewise.
37169         (_G_uint32_t): Likewise.
37170         (_G_HAVE_BOOL): Likewise.
37171         (_G_HAVE_ATEXIT): Likewise.
37172         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37173         (_G_HAVE_IO_FILE_OPEN): Likewise.
37175 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
37177         * csu/libc-tls.c: Update copyright years.
37179 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
37181         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37182         [!_G_USING_THUNKS]: Remove conditional code.
37183         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37184         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37186         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37187         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37188         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37189         (_G_VTABLE_LABEL_PREFIX): Likewise.
37190         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37191         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37192         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37193         (_G_VTABLE_LABEL_PREFIX): Likewise.
37194         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37195         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37196         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37197         (_G_VTABLE_LABEL_PREFIX): Likewise.
37198         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37200 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
37202         * libio/Makefile: Include ../Makeconfig before tests.
37203         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37204         only if $(build-shared) is yes.
37206         * iconv/gconv_db.c: Update copyright years.
37208 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37210         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37211         unwind info if defined PIC. Fix special cases description.
37212         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37214         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37215         DP_HI_MASK entry.
37216         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37218 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
37220         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37222         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37223         is NULL.
37225         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37226         (LDLIBS-tst-chk4): This.
37227         (LDFLAGS-tst-chk5): Renamed to ...
37228         (LDLIBS-tst-chk5): This.
37229         (LDFLAGS-tst-chk6): Renamed to ...
37230         (LDLIBS-tst-chk6): This.
37231         (LDFLAGS-tst-lfschk4): Renamed to ...
37232         (LDLIBS-tst-lfschk4): This.
37233         (LDFLAGS-tst-lfschk5): Renamed to ...
37234         (LDLIBS-tst-lfschk5): This.
37235         (LDFLAGS-tst-lfschk6): Renamed to ...
37236         (LDLIBS-tst-lfschk6): This.
37238         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37239         on $(common-objpfx)soversions.mk.
37241 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
37243         [BZ #10014]
37244         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37245         example host name.
37247 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37249         * malloc/arena.c (arena_get_retry): New function that gets
37250         another arena for the caller to try its request on.
37251         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37252         current arena cannot fulfill the request.
37253         (__libc_memalign): Likewise.
37254         (__libc_memalign): Likewise.
37255         (__libc_pvalloc): Likewise.
37256         (__libc_calloc): Likewise.
37258 2012-09-05  John Tobey  <john.tobey@gmail.com>
37260         [BZ #13542]
37261         * manual/arith.texi (Operations on Complex): Fix description
37262         of carg branch cut.
37264 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
37266         [BZ #10014]
37267         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37268         host name.
37270         [BZ #10038]
37271         * manual/memory.texi (Memory): Make order of menu items match
37272         order of sections.
37274 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37276         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37277         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
37278         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37280 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37282         * csu/libc-tls.c (static_dtv): Renamed to ...
37283         (_dl_static_dtv): This.  Make it global.
37284         (_dl_initial_dtv): Removed.
37285         (__libc_setup_tls): Updated.
37286         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37287         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37288         DL_INITIAL_DTV.
37290 2012-09-06  Petr Machata  <pmachata@redhat.com>
37292         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37293         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37294         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37295         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37297 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37299         [BZ #14545]
37300         * csu/libc-tls.c (_dl_initial_dtv): New variable.
37301         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37302         freeing dtv[-1].
37304 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37306         [BZ #14544]
37307         * Makeconfig (link-static-before-libc): Replace $(+prector)
37308         with $(+prectorT).
37309         (link-static-after-libc): Replace $(+postctor) with
37310         $(+postctorT).
37311         (link-bounded): Replace $(+prector)/$(+postctor) with
37312         $(+prectorT)/$(+postctorT).
37313         (+prectorT): New macro.
37314         (+postctorT): Likewise.
37316 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
37318         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37319         (round_str): Handle values above the maximum for IBM long double
37320         as inexact.
37321         * stdlib/tst-strtod-round.c (tests): Regenerated.
37323 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37325         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37326         assembler flag.
37327         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37328         zarch_nohighgprs around the zarch optimized routines.
37329         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37330         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37331         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37332         for zarch.
37334 2012-09-05  David S. Miller  <davem@davemloft.net>
37336         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37338         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37339         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
37340         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37341         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37342         entries.
37344 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37346         * malloc/arena.c: Fold copyright years.
37347         * malloc/mcheck.c, malloc/memusage.c: Likewise.
37349 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37351         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37353 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37355         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
37357 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37359         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37360         change internal state upon failure.
37362 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37364         * malloc/mcheck.c (mcheck_check_all): Fix typo.
37365         * malloc/memusage.c (mmap): Likewise.
37366         (mmap64, mremap): Likewise.  Adjust name in comment.
37368 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37370         * libio/fileops.c: Fix typos in comments.
37371         * libio/oldfileops.c: Likewise.
37372         * libio/wfileops.c: Likewise.
37374 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37376         [BZ #1349]
37377         * malloc/Makefile (tests): Add tst-malloc-usable test case.
37378         (tst-malloc-usable-ENV): Set environment for test case.
37379         * malloc/hooks.c (malloc_check_get_size): New function to get
37380         requested size.
37381         * malloc/malloc.c (musable): Use malloc_check_get_size.
37382         * malloc/tst-malloc-usable.c: New test case.
37384 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37386         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37388 2012-09-05  Allan McRae  <allan@archlinux.org>
37390         [BZ #13966]
37391         * configure.in (CXX_SYSINCLUDES): Use compiler output to
37392         determine header location.
37393         * configure: Regenerated.
37395 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37397         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37398         float format.
37399         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
37400         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37401         format.
37402         (test): Regenerate.
37404 2012-09-04  David S. Miller  <davem@davemloft.net>
37406         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37407         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37408         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37410 2012-09-04  Florian Weimer  <fweimer@redhat.com>
37412         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37413         failures.
37415         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37417 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
37419         [BZ #9914]
37420         * libio/iogetdelim.c: Include <limits.h>.
37421         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37422         + len + 1 would overflow.
37424 2012-09-03  Andreas Jaeger  <aj@suse.de>
37426         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37427         * sysdeps/i386/fpu/libm-test-ulps: Update.
37429 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37431         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37432         Add s_sinf-sse2, s_conf-sse2.
37434         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37435         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37436         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37437         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37439         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37440         for using routine as __sinf_ia32.
37441         Use macro for function declaration and weak_alias.
37442         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37443         for using routine as __cosf_ia32.
37444         Use macro for function declaration and weak_alias.
37446         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37447         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37449         * sysdeps/x86_64/fpu/s_sinf.S: New file.
37450         * sysdeps/x86_64/fpu/s_cosf.S: New file.
37451         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37453         * math/libm-test.inc (cos_test): Add more test cases.
37454         (sin_test): Likewise.
37455         (sincos_test): Likewise.
37457 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37459         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37460         (IFUNC_RESOLVE): Make pointers to the specialized implementations
37461         hidden.
37462         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37464 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
37466         [BZ #14538]
37467         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37468         first element of the GOT.
37469         (elf_machine_load_address): Return the difference between
37470         the runtime address of _DYNAMIC and elf_machine_dynamic ().
37472 2012-09-01  Allan McRae  <allan@archlinux.org>
37474         [BZ #13412]
37475         * configure.in (AWK): Require gawk version 3.0 or later.
37476         * configure: Regenerated.
37478 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
37480         * sysdeps/unix/sysv/linux/kernel-features.h
37481         (__ASSUME_POSIX_CPU_TIMERS): Remove.
37482         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37483         [__NR_clock_getres]: Make code unconditional.
37484         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37485         (clock_getcpuclockid): Remove code left unreachable by removal of
37486         conditionals.
37487         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37488         code unconditional.
37489         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37490         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37491         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37492         Make code unconditional.
37493         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37494         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37495         * sysdeps/unix/sysv/linux/clock_settime.c
37496         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37497         conditional code.
37498         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37499         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37501 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
37503         [BZ #14476]
37504         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37505         scripts/test-installation.pl.
37507         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37508         and $ld_so_version if it is set.
37510 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37512         [BZ #14516]
37513         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37514         failure if reading from procfs failed.
37515         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37517 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
37519         * sysdeps/unix/sysv/linux/kernel-features.h
37520         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37521         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37522         Remove conditional code.
37523         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37524         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37525         Remove conditional code.
37526         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37527         * sysdeps/unix/sysv/linux/i386/fxstat.c
37528         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37529         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37530         * sysdeps/unix/sysv/linux/i386/fxstatat.c
37531         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37532         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37533         * sysdeps/unix/sysv/linux/i386/lxstat.c
37534         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37535         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37536         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37537         Remove conditional code.
37538         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37539         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37540         Remove conditional code.
37541         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37542         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37543         <kernel-features.h>.
37544         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37545         Remove.
37546         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37547         Remove conditional code.
37548         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37549         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37550         Remove conditional.
37552 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
37554         [BZ #5400]
37555         * NEWS: Add fixed bug number.
37557 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
37559         [BZ #14519]
37560         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37561         underflowing exponent in case of negative sign.
37562         * stdlib/tst-strtod-round-data: Add more tests.
37563         * stdlib/tst-strtod-round.c (tests): Regenerated.
37565         [BZ #3479]
37566         * stdlib/strtod_l.c (NDIG): Remove.
37567         (HEXNDIG): Likewise.
37568         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37569         smallest representable value.
37570         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37571         lie within an exact representation of 1/2 ulp of the result.
37572         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37573         unconditionally.
37574         (TENS_P9_IDX): Define unconditionally.
37575         (TENS_P9_SIZE): Likewise.
37576         (TENS_P10_IDX): Likewise.
37577         (TENS_P10_SIZE): Likewise.
37578         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37579         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37580         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37581         entries for 10^2^13 and 10^2^14.
37582         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37583         (TENS_P13_IDX): Define.
37584         (TENS_P13_SIZE): Likewise.
37585         (TENS_P14_IDX): Likewise.
37586         (TENS_P14_SIZE): Likewise.
37587         (_fpioconst_pow10): Change array size to
37588         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
37589         unconditional.
37590         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37591         1024]: Add entries for 10^2^13 and 10^2^14.
37592         [LAST_POW10 > _LAST_POW10]: Remove #error.
37593         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37594         (_fpioconst_pow10): Change array size to
37595         FPIOCONST_POW10_ARRAY_SIZE.
37596         * stdlib/gen-fpioconst.c: New file.
37597         * stdlib/gen-tst-strtod-round.c: Likewise.
37598         * stdlib/tst-strtod-round-data: Likewise.
37599         * stdlib/tst-strtod-round.c: Likewise.
37600         * stdlib/Makefile (tests): Add tst-strtod-round.
37602         [BZ #14459]
37603         * stdlib/strtod_l.c: Include <stdint.h>.
37604         (NDEBUG): Do not define.
37605         (round_and_return): Change EXPONENT parameter to type intmax_t.
37606         Rearrange calculations to avoid internal overflow possibilities.
37607         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37608         Rearrange calculations to avoid internal overflow possibilities.
37609         Assert that number fits inside MPNSIZE limbs.
37610         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37611         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
37612         calculations and add assertions to avoid internal overflow
37613         possibilities.  Add casts to avoid signed/unsigned operations.
37614         * stdlib/tst-strtod-overflow.c: New file.
37615         * stdlib/Makefile (tests): Add tst-strtod-overflow.
37617 2012-08-25  Marek Polacek  <polacek@redhat.com>
37619         * time/time.h: Fix some typos in comments.
37621 2012-08-23  Roland McGrath  <roland@hack.frob.com>
37623         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37624         * posix/tst-rfc3484-2.c: Likewise.
37625         * posix/tst-rfc3484-3.c: Likewise.
37627 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
37629         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37630         (EF_ARM_ABI_FLOAT_HARD): Likewise.
37632 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
37634         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37635         #include of fxstatat64.c.
37637 2012-08-22  Roland McGrath  <roland@hack.frob.com>
37639         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37640         * shadow/getspent_r.c: Likewise.
37641         * shadow/getspnam.c: Likewise.
37642         * shadow/getspnam_r.c: Likewise.
37643         * gshadow/getsgent.c: Likewise.
37644         * gshadow/getsgent_r.c: Likewise.
37645         * gshadow/getsgnam.c: Likewise.
37646         * gshadow/getsgnam_r.c: Likewise.
37647         * inet/getnetbyad.c: Likewise.
37648         * inet/getnetbyad_r.c: Likewise.
37649         * inet/getnetbynm.c: Likewise.
37650         * inet/getnetbynm_r.c: Likewise.
37651         * inet/getnetent.c: Likewise.
37652         * inet/getnetent_r.c: Likewise.
37653         * inet/getproto.c: Likewise.
37654         * inet/getproto_r.c: Likewise.
37655         * inet/getprtent.c: Likewise.
37656         * inet/getprtent_r.c: Likewise.
37657         * inet/getprtname.c: Likewise.
37658         * inet/getprtname_r.c: Likewise.
37659         * inet/getrpcbyname.c: Likewise.
37660         * inet/getrpcbyname_r.c: Likewise.
37661         * inet/getrpcbynumber.c: Likewise.
37662         * inet/getrpcbynumber_r.c: Likewise.
37663         * inet/getrpcent.c: Likewise.
37664         * inet/getrpcent_r.c: Likewise.
37665         * inet/getaliasent.c: Likewise.
37666         * inet/getaliasent_r.c: Likewise.
37667         * inet/getaliasname.c: Likewise.
37668         * inet/getaliasname_r.c: Likewise.
37669         * nscd/getgrgid_r.c: Likewise.
37670         * nscd/getgrnam_r.c: Likewise.
37671         * nscd/gethstbyad_r.c: Likewise.
37672         * nscd/gethstbynm3_r.c: Likewise.
37673         * nscd/getpwnam_r.c: Likewise.
37674         * nscd/getpwuid_r.c: Likewise.
37675         * nscd/getsrvbynm_r.c: Likewise.
37676         * nscd/getsrvbypt_r.c: Likewise.
37677         * nscd/gai.c: Likewise.
37679         * configure.in (build_nscd): New substituted variable, set
37680         by --disable-build-nscd and defaults to $use_nscd.
37681         * configure: Regenerated.
37682         * config.make.in (build-nscd): New substituted variable.
37683         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37684         Change conditional to require [$(build-nscd) = yes] as well.
37685         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37687         [BZ# 13696]
37688         * configure.in (use_nscd): New substituted variable, set by
37689         --disable-nscd.  If enabled, define USE_NSCD.
37690         * configure: Regenerated.
37691         * config.h.in: Add USE_NSCD.
37692         * config.make.in (use-nscd): New substituted variable.
37693         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37694         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37695         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37696         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37697         (CFLAGS-getgrnam_r.c): Likewise.
37698         (CFLAGS-initgroups.c): Likewise.
37699         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37700         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37701         Variables removed.
37702         * inet/getnetgrent_r.c
37703         (nscd_setnetgrent): New function, broken out of ...
37704         (setnetgrent): ... here.  Call it.
37705         (innetgr): Conditionalize nscd bits on [USE_NSCD].
37706         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37707         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37708         * nscd/Makefile (routines, aux): Move definitions after include of
37709         Makeconfig.  Conditionalize on [$(use-nscd) != no].
37710         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37711         Conditionalize on [USE_NSCD].
37712         (is_nscd, nscd_init_cb): Likewise.
37713         (nss_load_library): Conditionalize init callback on [USE_NSCD].
37714         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37715         * nss/nss_db/db-init.c: Likewise.
37716         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37717         [USE_NSCD].
37718         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37719         (make_request): Use it.
37720         (cache_valid_p): New function.
37721         (__check_pf): Use it.
37722         * NEWS: Add item for --disable-nscd.
37724 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
37726         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37727         to support sed >= 4.2.1-20-ga9bf076.
37728         * configure: Regenerated.
37730 2012-08-22  Roland McGrath  <roland@hack.frob.com>
37732         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
37733         Conditionalize whole body on [IREL].
37735 2012-08-22  Jeff Law <law@redhat.com>
37737         [BZ #14505]
37738         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
37739         if the family is PF_UNSPEC.
37741 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
37743         * Makerules (lib-version): Rename from V.
37744         (install-lib-nosubdir): Change V to lib-version.
37746 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
37748         [BZ #14252]
37749         * powerpc32/power6/wcschr.c: New file.
37750         * powerpc32/power6/wcscpy.c: New file.
37751         * powerpc32/power6/wcsrchr.c: New file.
37752         * powerpc64/power6/wcschr.c: New file.
37753         * powerpc64/power6/wcscpy.c: New file.
37754         * powerpc64/power6/wcsrchr.c: New file.
37756 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
37758         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
37759         (two_way_short_needle): Use it.
37760         * string/strstr.c (AVAILABLE1_USES_J): Define.
37761         * string/strcasestr.c: Likewise.
37763         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
37764         array references.
37765         * string/strcasestr.c (TOLOWER): Make side-effect safe.
37767         [BZ #11607]
37768         * NEWS: Add an entry.
37769         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
37770         define their defaults.
37771         (two_way_short_needle): Detect end-of-string on-the-fly.
37772         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
37773         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
37774         * string/bug-strcasestr1.c: New test.
37775         * string/Makefile: Run it.
37777 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
37779         [BZ #11607]
37780         * string/str-two-way.h (two_way_short_needle): Optimize matching of
37781         the first character.
37783 2012-08-21  Roland McGrath  <roland@hack.frob.com>
37785         * csu/elf-init.c (__libc_csu_irel): Function removed.
37786         * csu/libc-start.c (apply_irel): New function.
37787         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
37789 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
37791         * sysdeps/unix/sysv/linux/kernel-features.h
37792         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
37793         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37794         <kernel-features.h>.
37795         [__NR_fadvise64_64]: Make code unconditional.
37796         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
37797         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37798         !__NR_fadvise64_64)]: Likewise.
37799         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37800         !__NR_fadvise64_64))]: Likewise.
37801         [__NR_fadvise64]: Make code unconditional.
37802         [!__NR_fadvise64]: Remove conditional code.
37803         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
37804         <kernel-features.h>.
37805         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37806         unconditional.
37807         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37808         conditional code.
37809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
37810         not include <kernel-features.h>.
37811         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37812         unconditional.
37813         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37814         conditional code.
37815         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
37816         include <kernel-features.h>.
37817         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37818         unconditional.
37819         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37820         conditional code.
37822 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
37824         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
37825         slight instruction rearrangements per scrollpipe analysis.
37826         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37828 2012-08-20  Roland McGrath  <roland@hack.frob.com>
37830         * manual/syslog.texi (syslog; vsyslog, closelog):
37831         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
37832         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
37834         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
37835         DSOCAPS to match condition on defining it.
37837 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
37839         * sysdeps/unix/sysv/linux/kernel-features.h
37840         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
37841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
37842         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37843         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
37845         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37846         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
37848         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37849         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37851         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
37852         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
37854         * sysdeps/unix/sysv/linux/kernel-features.h
37855         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
37856         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
37857         unconditional.
37858         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37859         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
37860         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37861         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37862         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
37863         Make code unconditional.
37864         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37865         (__mmap64) [!__NR_mmap2]: Likewise.
37866         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
37867         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37868         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37869         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
37870         [__NR_mmap2]: Make code unconditional.
37871         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37872         (__mmap64) [!__NR_mmap2]: Likewise.
37874 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37876         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
37878 2012-08-18  Andreas Jaeger  <aj@suse.de>
37880         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
37882 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
37884         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
37885         * include/unistd.h (__have_sock_cloexec): Likewise.
37886         (__have_pipe2): Likewise.
37887         (__have_dup3): Likewise.
37889 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
37891         [BZ #9685]
37892         * include/unistd.h (__have_pipe2): Change define into an extern int.
37893         (__have_dup3): Likewise.
37894         * socket/have_sock_cloexec.c: Include fcntl.h.
37895         (__have_pipe2): New variable.
37896         (__have_dup3): Likewise.
37898 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
37900         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
37902 2012-08-17  Marek Polacek  <polacek@redhat.com>
37904         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
37905         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
37907 2012-08-17  Roland McGrath  <roland@hack.frob.com>
37909         * configure.in: Add AC_SUBST for sysheaders.
37910         * configure: Regenerated.
37911         * config.make.in (sysheaders): New substituted variable.
37913         * sysdeps/unix/mkfifo.c: Moved ...
37914         * sysdeps/posix/mkfifo.c: ... here.
37915         * sysdeps/unix/mkfifoat.c: Moved ...
37916         * sysdeps/posix/mkfifoat.c: ... here.
37918         * sysdeps/unix/utime.c: Moved ...
37919         * sysdeps/posix/utime.c: ... here.
37921         * sysdeps/unix/time.c: Moved ...
37922         * sysdeps/posix/time.c: ... here.
37923         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
37924         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
37926         * sysdeps/unix/nice.c: Moved ...
37927         * sysdeps/posix/nice.c: ... here.
37929         * sysdeps/unix/alarm.c: Moved ...
37930         * sysdeps/posix/alarm.c: ... here.
37932         * intl/Makefile ($(codeset_mo)): Depend on the input file.
37934 2012-08-17  Jeff Law <law@redhat.com>
37936         * intl/Makefile (codeset_mo): New variable.
37937         ($(codeset_mo)): New target.
37938         (tst-codeset.out): Depend on that.  Remove explicit rule.
37939         (tst-gettext3.out, tst-gettext5.out): Likewise.
37940         (LOCPATH-ENV, tst-codeset-ENV): New variables.
37941         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
37942         * intl/tst-codeset.sh: Remove.
37943         * intl/tst-gettext3.sh: Likewise.
37944         * intl/tst-gettext5.sh: Likewise.
37946 2012-08-17  Roland McGrath  <roland@hack.frob.com>
37948         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
37949         * sysdeps/unix/syscalls.list: ... here.
37951         * sysdeps/posix/getaddrinfo.c
37952         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
37953         (gaiconf_init, gaiconf_reload): Use them.
37954         [!_STATBUF_ST_NSEC]
37955         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
37956         Define using time_t rather than struct timespec.
37958         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
37959         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
37960         Macros removed.
37961         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
37962         [!NO_THREADS].
37963         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
37964         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
37965         Likewise.
37967         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
37968         __libc_cleanup_push argument.
37970         * bits/param.h: New file.
37971         * misc/sys/param.h: New file.
37972         * include/sys/param.h: New file.
37973         * misc/Makefile (headers): Add bits/param.h.
37974         * sysdeps/generic/sys/param.h: File removed.
37975         * sysdeps/unix/sysv/linux/bits/param.h: New file.
37976         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
37977         * sysdeps/mach/hurd/bits/param.h: New file.
37978         * sysdeps/mach/hurd/sys/param.h: File removed.
37980         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
37981         last change.
37983         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
37984         [_IO_MTSAFE_IO].
37985         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
37986         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
37987         New macros.
37989         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
37990         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
37991         rather than -D_IO_MTSAFE_IO conditionally.
37992         * stdio-common/Makefile (CPPFLAGS): Likewise.
37993         * wcsmbs/Makefile (CPPFLAGS): Likewise.
37994         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
37995         Use $(libio-mtsafe).
37996         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
37997         of -D_IO_MTSAFE_IO.
37998         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
37999         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38000         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38001         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38002         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38003         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38004         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38005         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38006         (CFLAGS-fread_u_chk.c): Likewise.
38007         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38008         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38009         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38010         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38011         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38012         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38013         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38014         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38015         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38017         * libio/Makefile: Test [$(libc-reentrant) = yes]
38018         instead of [$(filter %REENTRANT, $(defines)) nonempty].
38020         * Makeconfig
38021         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38022         * sysdeps/pthread/configure: File removed.
38023         * sysdeps/pthread/Makeconfig: New file.
38024         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38025         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38027 2012-08-16  Gary Benson  <gbenson@redhat.com>
38029         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38030         unmapping the first object in a namespace.
38032 2012-08-16  Roland McGrath  <roland@hack.frob.com>
38034         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38035         (__internal_setnetgrent): ... this.  Add internal_function to
38036         definition.  Add libc_hidden_def.
38037         (setnetgrent): Update caller.
38038         (internal_endnetgrent): Renamed to ...
38039         (__internal_endnetgrent): ... this.  Add internal_function to
38040         definition.  Add libc_hidden_def.
38041         (endnetgrent): Update caller.
38042         (internal_getnetgrent_r): Renamed to ...
38043         (__internal_getnetgrent_r): ... this.  Add internal_function to
38044         definition.  Add libc_hidden_def.
38045         (__getnetgrent_r): Update caller.
38046         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
38048 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
38050         * stdlib/longlong.h: Update from GCC.
38052 2012-08-16  Roland McGrath  <roland@hack.frob.com>
38054         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38055         on _QL, which is set by umul_ppmm but never used.
38056         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38057         variables, which are set by GMP macros but never used.
38058         * stdio-common/_itowa.c (_itowa): Likewise.
38059         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38060         * stdlib/mod_1.c (mpn_mod_1): Likewise.
38062 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
38064         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38065         struct La_sh_regs is not constant.
38066         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38067         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38068         and struct La_sparc64_regs are not constant.
38070 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
38072         * sysdeps/unix/sysv/linux/kernel-features.h
38073         (__ASSUME_POSIX_TIMERS): Remove.
38074         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38075         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38076         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38077         Make code unconditional.
38078         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38079         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38080         Make code unconditional.
38081         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38082         * sysdeps/unix/sysv/linux/clock_nanosleep.c
38083         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38084         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38085         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38086         Make code unconditional.
38087         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38088         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38089         (__libc_missing_posix_timers): Remove.
38091 2012-08-15  Roland McGrath  <roland@hack.frob.com>
38093         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38094         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38096         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38098         * elf/dl-sym.c: Include <stdlib.h>.
38100         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38101         constants, which avoids warnings in 32-bit builds.
38103         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38104         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38106         * misc/lseek.c: File moved to ...
38107         * io/lseek.c: ... here.
38109         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38111         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38112         shifting LEN more than 31 bits at once.
38114 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38116         [BZ #14195]
38117         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38118         segmentation fault for a case of two empty input strings.
38119         * string/test-strncasecmp.c (check1): Renamed to...
38120         (bz12205): ...this.
38121         (bz14195): Add new testcase for two empty input strings and N > 0.
38122         (test_main): Call new testcase, adapt for renamed function.
38124 2012-08-15  Andreas Jaeger  <aj@suse.de>
38126         [BZ #14090]
38127         * crypt/md5test2.c: New test, based on test supplied by Serge
38128         Belyshev <belyshev@depni.sinp.msu.ru>.
38129         * crypt/Makefile (xtests): Add md5test-giant..
38130         * crypt/Makefile ($(objpfx)md5test-giant): Add.
38132 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
38134         [BZ #14090]
38135         * crypt/md5.c (md5_process_block): Don't assume the buffer
38136         length is less than 2**32.
38137         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38138         length is less than 2**64.
38140 2012-08-15  Roland McGrath  <roland@hack.frob.com>
38142         * string/str-two-way.h: Include <sys/param.h>.
38143         (MAX): Macro removed.
38145         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38146         Move #define and #undef of memmove to just before and after
38147         including <string.h>.
38149         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38150         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38151         and after including <string.h>.  Move declarations of
38152         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38153         to before #include "string/memmove.c".
38155         * include/dirent.h: Declare __getdirentries.
38157         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38158         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38160 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
38162         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38163         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38164         * sysdeps/i386/configure: Regenerated.
38165         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38166         STABS_CURRENT_FILE, and STABS_FUN.
38167         (END): Remove call to STABS_FUN_END.
38168         (STABS_CURRENT_FILE1): Delete.
38169         (STABS_CURRENT_FILE): Likewise.
38170         (STABS_FUN): Likewise.
38171         (STABS_FUN_END): Likewise.
38172         (STABS_FUN2): Likewise.
38173         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38174         * sysdeps/x86_64/configure: Regenerated.
38176 2012-08-14  Roland McGrath  <roland@hack.frob.com>
38178         * elf/dl-open.c: Include <atomic.h>.
38179         * elf/dl-lookup.c: Likewise.
38181 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
38183         * sysdeps/unix/sysv/linux/kernel-features.h
38184         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38185         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38186         unconditionally.
38187         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38188         unconditionally.
38189         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38190         condition on __ASSUME_CLONE_THREAD_FLAGS.
38192 2012-08-14  Andreas Jaeger  <aj@suse.de>
38194         * sysdeps/i386/fpu/libm-test-ulps: Update.
38196 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
38198         * include/atomic.h (atomic_exchange_and_add): Split into ...
38199         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38200         New atomic macros.
38202 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
38204         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38206 2012-08-13  Jeff Law <law@redhat.com>
38208         * manual/stdio.texi (snprintf): Clarify handling of the trailing
38209         null byte in the output string.
38211 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
38213         * sysdeps/unix/sysv/linux/kernel-features.h
38214         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38215         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38216         (__ASSUME_ARG_MAX_STACK_BASED): Define.
38217         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38218         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38219         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
38220         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38222 2012-08-09  Jeff Law <law@redhat.com>
38224         [BZ #13939]
38225         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38226         When avoid_arena is set, don't retry in the that arena.  Pick the
38227         next one, whatever it might be.
38228         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38229         (arena_lock): Pass in new parameter to arena_get2.
38230         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38231         arena_get2.
38232         (__libc_malloc): Unify retrying after main arena failure with
38233         __libc_memalign version.
38234         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38236 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
38238         [BZ #14166]
38239         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38240         to __redirect_strstr.
38241         (__strstr_sse42): Use typeof __redirect_strstr.
38242         (__strstr_ia32): Likewise.
38243         (__libc_strstr): New prototype.
38244         (strstr): Renamed to ...
38245         (__libc_strstr): This.
38246         (strstr): New strong alias of __libc_strstr.
38247         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38248         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38249         __redirect_time.
38250         Include <time.h>.
38251         (__libc_time): New prototype.
38252         (time_ifunc): Replace time with __libc_time.
38253         (time): New strong alias and hidden definition of __libc_time.
38254         (__GI_time): Remove strong alias.
38255         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38256         Include <stddef.h>.
38257         (memmove): Redefined to __redirect_memmove.
38258         (__memmove_sse2): Use typeof __redirect_memmove.
38259         (__memmove_ssse3): Likewise.
38260         (__memmove_ssse3_back): Likewise.
38261         (__libc_memmove): New prototype.
38262         (memmove): Renamed to ...
38263         (__libc_memmove): This.
38264         (memmove): New strong alias of __libc_memmove.
38266 2012-08-08  Mark Salter  <msalter@redhat.com>
38268         * elf/elf.h
38269         (R_MN10300_TLS_GD): Define.
38270         (R_MN10300_TLS_LD): Likewise.
38271         (R_MN10300_TLS_LDO): Likewise.
38272         (R_MN10300_TLS_GOTIE): Likewise.
38273         (R_MN10300_TLS_IE): Likewise.
38274         (R_MN10300_TLS_LE): Likewise.
38275         (R_MN10300_TLS_DTPMOD): Likewise.
38276         (R_MN10300_TLS_DTPOFF): Likewise.
38277         (R_MN10300_TLS_TPOFF): Likewise.
38278         (R_MN10300_SYM_DIFF): Likewise.
38279         (R_MN10300_ALIGN): Likewise.
38280         (R_MN10300_NUM): Update.
38282 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
38284         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38285         Remove.
38287 2012-08-08  Roland McGrath  <roland@hack.frob.com>
38289         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38291         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38292         sysdeps/unix -> sysdeps/posix move.
38293         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38295 2012-08-07      Allan McRae     <allan@archlinux.org>
38297         [BZ #14303]
38298         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38299         (SUNOS_CPP): Likewise.
38300         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38301         not found.
38302         (open_input): Call CPP using execvp.
38304 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
38306         * sysdeps/unix/sysv/linux/kernel-features.h
38307         (__ASSUME_PROT_GROWSUPDOWN): Remove.
38308         (__ASSUME_NO_CLONE_DETACHED): Likewise.
38309         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38310         (__ASSUME_WAITID_SYSCALL): Likewise.
38311         * sysdeps/unix/sysv/linux/dl-execstack.c
38312         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38313         code unconditional.
38314         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38315         conditional code.
38316         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38317         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38318         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38319         code.
38320         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38321         unconditional.
38322         [__ASSUME_WAITID_SYSCALL]: Likewise.
38323         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38325 2012-08-07  Roland McGrath  <roland@hack.frob.com>
38327         * sysdeps/unix/closedir.c: Renamed to ...
38328         * sysdeps/posix/closedir.c: ... here.
38329         * sysdeps/unix/dirfd.c: Renamed to ...
38330         * sysdeps/posix/dirfd.c: ... here.
38331         * sysdeps/unix/dirstream.h: Renamed to ...
38332         * sysdeps/posix/dirstream.h: ... here.
38333         * sysdeps/unix/fdopendir.c: Renamed to ...
38334         * sysdeps/posix/fdopendir.c: ... here.
38335         * sysdeps/unix/opendir.c: Renamed to ...
38336         * sysdeps/posix/opendir.c: ... here.
38337         * sysdeps/unix/readdir.c: Renamed to ...
38338         * sysdeps/posix/readdir.c: ... here.
38339         * sysdeps/unix/readdir_r.c: Renamed to ...
38340         * sysdeps/posix/readdir_r.c: ... here.
38341         * sysdeps/unix/rewinddir.c: Renamed to ...
38342         * sysdeps/posix/rewinddir.c: ... here.
38343         * sysdeps/unix/seekdir.c: Renamed to ...
38344         * sysdeps/posix/seekdir.c: ... here.
38345         * sysdeps/unix/telldir.c: Renamed to ...
38346         * sysdeps/posix/telldir.c: ... here.
38347         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38348         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38349         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38350         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38352         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38353         * bits/fcntl.h: ... here.
38355         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38356         not 0.
38357         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38358         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38359         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38360         (struct flock): Move l_start, l_len to the beginning.
38361         Use __pid_t for l_pid.
38362         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38363         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38364         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38365         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38366         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38367         [__USE_LARGEFILE64] (struct flock64): New type.
38368         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38370         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38371         * bits/dirent.h: ... here.
38373         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38374         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38376 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
38378         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38379         Change from 2.6.0 to 2.6.16.
38380         * sysdeps/unix/sysv/linux/configure: Regenerated.
38381         * sysdeps/unix/sysv/linux/kernel-features.h
38382         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38383         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38384         version.
38385         (__ASSUME_UTIMES): Likewise.
38386         (__ASSUME_CLONE_STOPPED): Remove.
38387         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38388         architectures, not kernel version.
38389         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38390         (__ASSUME_NO_CLONE_DETACHED): Likewise.
38391         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38392         (__ASSUME_WAITID_SYSCALL): Likewise.
38393         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38394         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38395         * README: State 2.6.16 as minimum Linux kernel version.  Do not
38396         refer to older versions.
38398 2012-08-06  Roland McGrath  <roland@hack.frob.com>
38400         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38401         Define alphasort64 as an alias.
38402         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38403         Define versionsort64 as an alias.
38404         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38405         Define scandir64 as an alias.
38406         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38407         Define scandirat64 as an alias.
38408         * dirent/alphasort64.c (alphasort64):
38409         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38410         * dirent/versionsort64.c: Likewise.
38411         * dirent/scandir64.c: Likewise.
38412         * dirent/scandirat64.c: Likewise.
38413         * sysdeps/wordsize-64/alphasort.c: File removed.
38414         * sysdeps/wordsize-64/alphasort64.c: File removed.
38415         * sysdeps/wordsize-64/scandir.c: File removed.
38416         * sysdeps/wordsize-64/scandir64.c: File removed.
38417         * sysdeps/wordsize-64/scandirat.c: File removed.
38418         * sysdeps/wordsize-64/scandirat64.c: File removed.
38419         * sysdeps/wordsize-64/versionsort.c: File removed.
38420         * sysdeps/wordsize-64/versionsort64.c: File removed.
38421         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38422         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38423         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38424         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38425         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38426         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38427         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38428         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38430         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38431         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38432         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38433         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38434         [defined __arch64__ || defined __sparcv9]
38435         (__INO_T_MATCHES_INO64_T): New macro.
38436         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38437         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38438         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38439         * sysdeps/unix/sysv/linux/bits/dirent.h
38440         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38441         (_DIRENT_MATCHES_DIRENT64): New macro.
38443         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38444         Define lockf64 as an alias.
38445         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38446         Define fseeko64 as an alias.
38447         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38448         Define ftello64 as an alias.
38449         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38450         Define _IO_fgetpos64 and fgetpos64 as aliases.
38451         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38452         Define _IO_fsetpos64 and fsetpos64 as aliases.
38453         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38454         Conditionalize body on this.
38455         * libio/fseeko64.c: Likewise.
38456         * libio/ftello64.c: Likewise.
38457         * libio/iofgetpos64.c: Likewise.
38458         * libio/iofsetpos64.c: Likewise.
38459         * sysdeps/wordsize-64/lockf.c: File removed.
38460         * sysdeps/wordsize-64/lockf64.c: File removed.
38461         * sysdeps/wordsize-64/fseeko.c: File removed.
38462         * sysdeps/wordsize-64/fseeko64.c: File removed.
38463         * sysdeps/wordsize-64/ftello.c: File removed.
38464         * sysdeps/wordsize-64/ftello64.c: File removed.
38465         * sysdeps/wordsize-64/iofgetpos.c: File removed.
38466         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38467         * sysdeps/wordsize-64/iofsetpos.c: File removed.
38468         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38469         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38470         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38471         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38472         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38473         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38474         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38475         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38476         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38477         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38478         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38480         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38481         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38482         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38483         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38484         [defined __arch64__ || defined __sparcv9]
38485         (__OFF_T_MATCHES_OFF64_T): New macro.
38486         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38487         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38488         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38489         (__OFF_T_MATCHES_OFF64_T): New macro.
38491 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
38493         * stdlib/secure-getenv.c (__secure_getenv): Replace
38494         GLIBC_2_16 with GLIBC_2_17.
38496 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
38498         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38499         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38501 2012-08-03  David S. Miller  <davem@davemloft.net>
38503         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38505 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
38507         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38508         Remove.
38509         (__ASSUME_CORRECT_SI_PID): Likewise.
38510         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38511         (__ASSUME_TMPFS_NAME): Likewise.
38512         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38513         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38514         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38515         (HAVE_AUX_SECURE): Make definition unconditional.
38516         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38517         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38519 2012-08-03  Roland McGrath  <roland@hack.frob.com>
38521         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38522         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38523         * sysdeps/mach/hurd/eloop-threshold.h: New file.
38524         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38525         __eloop_threshold instead of SYMLOOP_MAX.
38527         * sysdeps/generic/eloop-threshold.h: New file.
38528         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38529         of MAXSYMLINKS.
38530         * elf/chroot_canon.c (chroot_canon): Likewise.
38532 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
38534         [BZ #13717]
38535         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38536         Change to 2.6.0 everywhere.
38537         * sysdeps/unix/sysv/linux/configure: Regenerated.
38538         * sysdeps/unix/sysv/linux/kernel-features.h
38539         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38540         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38541         kernel versions.
38542         (__ASSUME_POSIX_TIMERS): Define unconditionally.
38543         (__ASSUME_FUTEX_REQUEUE): Remove.
38544         (__ASSUME_STATFS64): Define unconditionally.
38545         (__ASSUME_AT_SECURE): Likewise.
38546         (__ASSUME_CORRECT_SI_PID): Likewise.
38547         (__ASSUME_TGKILL): Define without depending on kernel version for
38548         i386.
38549         (__ASSUME_UTIMES): Likewise.
38550         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38551         kernel version.
38552         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38553         (__ASSUME_TMPFS_NAME): Likewise.
38554         * README: Update reference to Linux kernel versions.
38556 2012-08-02  Marek Polacek  <polacek@redhat.com>
38558         [BZ# 14150]
38559         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
38560         libc_cv_asm_type_prefix with %.
38561         * configure: Regenerated.
38562         * include/libc-symbols.h: Remove comment about
38563         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38564         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38565         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38566         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38567         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38568         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38569         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38570         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38571         * elf/tst-unique2mod1.c: Likewise.
38572         * elf/tst-unique1mod2.c: Likewise.
38573         * elf/tst-unique1mod1.c: Likewise.
38574         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38575         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38576         Replace ASM_TYPE_DIRECTIVE with .type.
38577         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38578         * sysdeps/i386/sysdep.h: Likewise.
38579         * sysdeps/x86_64/sysdep.h: Likewise.
38580         * sysdeps/sh/sysdep.h: Likewise.
38581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38582         Do not define ASM_TYPE_DIRECTIVE.
38583         * sysdeps/powerpc/sysdep.h: Likewise.
38584         * sysdeps/powerpc/powerpc32/sysdep.h:
38585         Replace ASM_TYPE_DIRECTIVE with .type.
38586         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38587         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38588         * sysdeps/i386/fpu/e_powf.S: Likewise.
38589         * sysdeps/i386/fpu/e_expl.S: Likewise.
38590         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38591         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38592         * sysdeps/i386/fpu/e_pow.S: Likewise.
38593         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38594         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38595         * sysdeps/i386/fpu/s_expm1.S: Likewise.
38596         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38597         * sysdeps/i386/fpu/e_log2.S: Likewise.
38598         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38599         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38600         * sysdeps/i386/fpu/e_powl.S: Likewise.
38601         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38602         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38603         * sysdeps/i386/fpu/e_logl.S: Likewise.
38604         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38605         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38606         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38607         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38608         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38609         * sysdeps/i386/fpu/e_log.S: Likewise.
38610         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38611         * sysdeps/i386/fpu/e_logf.S: Likewise.
38612         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38613         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38614         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38615         * sysdeps/i386/fpu/e_log10.S: Likewise.
38616         * sysdeps/i386/fpu/s_frexp.S: Likewise.
38617         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38618         * sysdeps/i386/fpu/s_asinh.S: Likewise.
38619         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38620         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38621         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38622         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38623         * sysdeps/i386/i686/strtok.S: Likewise.
38624         * sysdeps/i386/i386-mcount.S: Likewise.
38625         * sysdeps/i386/strtok.S: Likewise.
38626         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38627         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38628         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38629         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38630         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38631         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38632         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38633         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38634         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38635         * sysdeps/x86_64/_mcount.S: Likewise.
38636         * sysdeps/x86_64/strtok.S: Likewise.
38637         * sysdeps/sh/_mcount.S: Likewise.
38639 2012-08-01  Roland McGrath  <roland@hack.frob.com>
38641         * libio/iofopen.c: Include <fcntl.h>.
38642         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38643         (_IO_fopen64, fopen64): Define as aliases.
38644         * libio/iofopen64.c: Include <fcntl.h>.
38645         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38646         Conditionalize body on this.
38647         * sysdeps/wordsize-64/iofopen.c: File removed.
38648         * sysdeps/wordsize-64/iofopen64.c: File removed.
38650 2012-08-01  Marek Polacek  <polacek@redhat.com>
38652         * libc/Makeconfig: Use elf in place of binfmt-subdir.
38653         Use dlfcn directly instead of a variable.
38654         (binfmt-subdir): Do not define.
38655         (dlfcn): Likewise.
38657 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
38659         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38660         Remove all definitions.
38661         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38662         <kernel-features.h>.
38663         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38664         (miss_F_GETOWN_EX): Remove all definitions.
38665         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38666         macro definition.
38667         [!__ASSUME_FCNTL64]: Remove conditional code.
38668         [__ASSUME_FCNTL64]: Make code unconditional.
38669         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38670         <kernel-features.h>.
38671         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38672         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38673         (lockf64) [__NR_fcntl64]: Make code unconditional.
38674         (lockf64) [__ASSUME_FCNTL64]: Likewise.
38676         * sysdeps/unix/sysv/linux/kernel-features.h
38677         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38678         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38679         Make code unconditional.
38680         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38681         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38683         [__NR_vfork]: Make code unconditional.
38684         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38685         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38686         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38687         [__NR_vfork]: Make code unconditional.
38688         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38689         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38691 2012-08-01  Roland McGrath  <roland@hack.frob.com>
38693         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38694         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38696         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38697         Define mkstemp64 as an alias.
38698         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38699         Define mkstemps64 as an alias.
38700         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38701         Define mkostemp64 as an alias.
38702         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38703         Define mkostemps64 as an alias.
38704         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38705         Conditionalize body on this.
38706         * misc/mkostemp64.c: Likewise.
38707         * misc/mkostemps64.c: Likewise.
38708         * misc/mkstemps64.c: Likewise.
38709         * sysdeps/wordsize-64/mkstemp64.c: File removed.
38710         * sysdeps/wordsize-64/mkostemp64.c: File removed.
38711         * sysdeps/wordsize-64/mkostemp.c: File removed.
38712         * sysdeps/wordsize-64/mkstemp.c: File removed.
38713         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38714         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38715         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38716         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38718         [BZ #14138]
38719         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38720         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38721         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38722         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38724         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38725         compat_symbol macros from <shlib-compat.h> rather than the underlying
38726         default_symbol_version and symbol_version macros, so that DEFAULT
38727         lines in shlib-versions are respected.
38728         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38730 2012-08-01  Florian Weimer  <fweimer@redhat.com>
38732         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
38733         Declare with warn_unused_result.
38734         (setgid, setregid, setegid, setresgid): Likewise.
38735         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
38736         Likewise.
38737         * WUR-REPORT: Remove set*id functions.
38739 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
38741         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
38743 2012-07-31  Roland McGrath  <roland@hack.frob.com>
38745         [BZ #10191]
38746         * include/sys/socket.h (__libc_accept, __libc_accept4):
38747         Add attribute_hidden.
38748         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
38750         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
38751         use of PTR_MANGLE.
38752         * inet/getnetgrent_r.c (setup): Likewise.
38754         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
38756 2012-07-31  David S. Miller  <davem@davemloft.net>
38758         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38760 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
38762         [BZ #13629]
38763         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
38764         value between 1.0 and 2.0 and smaller part has absolute value less
38765         than 1.0.
38766         * math/s_clog10.c (__clog10): Likewise.
38767         * math/s_clog10f.c (__clog10f): Likewise.
38768         * math/s_clog10l.c (__clog10l): Likewise.
38769         * math/s_clogf.c (__clogf): Likewise.
38770         * math/s_clogl.c (__clogl): Likewise.
38771         * math/libm-test.inc (clog_test): Add more tests.
38772         (clog10_test): Likewise.
38773         * sysdeps/i386/fpu/libm-test-ulps: Update.
38774         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38776 2012-07-31  Florian Weimer  <fweimer@redhat.com>
38778         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
38779         Exit with zero in case no suitable GID is found, and write a
38780         message to standard error.
38782 2012-07-30  Roland McGrath  <roland@hack.frob.com>
38784         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
38785         rather than to 1.
38786         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
38787         (MAXPATHLEN): Removed.
38788         (NOGROUP, NODEV): New macros.
38789         (setbit, clrbit, isset, isclr): New macros.
38790         (howmany, roundup, powerof2): New macros.
38791         (DEV_BSIZE): New macro.
38793         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
38794         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
38796         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
38797         definition on [!__NO_LONG_DOUBLE_MATH].
38799         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
38800         PTR_MANGLE and PTR_DEMANGLE.
38802         * socket/accept4.c (accept4): Rename to __libc_accept4.
38803         Define accept4 as a weak alias.
38805         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
38806         on [_DIRENT_HAVE_D_TYPE].
38807         * io/ftw.c (ftw_dir): Likewise.
38809         * io/xmknod.c (__xmknod): Don't check PATH for being null.
38811         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
38813         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
38814         Use the BSD numbers rather than the arbitrary ones we had.
38815         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
38816         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
38817         (SIGXCPU, SIGXFSZ): New macros.
38818         (_NSIG): Now 32.
38820         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
38821         initializer on [_LIBC_REENTRANT].
38823         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
38824         definitions inside [_POSIX_MAPPED_FILES].
38826         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
38828         * dirent/opendir.c: Include <fcntl.h>.
38830         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
38831         (__libc_getspecific): Likewise.
38832         (__libc_key_create): Likewise.
38834         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
38835         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
38836         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
38837         (tmpfile64): Define as alias.
38838         * sysdeps/wordsize-64/tmpfile.c: File removed.
38839         * sysdeps/wordsize-64/tmpfile64.c: File removed.
38840         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
38841         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
38843         * stdio-common/vfscanf.c: Include <stdbool.h>.
38844         * nss/makedb.c: Likewise.
38845         * stdio-common/_i18n_number.h: Likewise.
38846         * argp/argp-help.c: Likewise.
38847         * posix/wordexp.c: Likewise.
38848         * sysdeps/posix/spawni.c: Likewise.
38849         * nss/nss_files/files-initgroups.c: Likewise.
38850         * stdio-common/reg-modifier.c: Include <stdlib.h>.
38851         * nss/nss_files/files-initgroups.c: Likewise.
38852         * nss/nss_db/db-netgrp.c: Likewise.
38853         * nss/nss_db/db-initgroups.c: Likewise.
38854         * io/fchmodat.c: Include <sys/stat.h>.
38856         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
38857         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
38859         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
38860         [HAVE_MMAP].
38862         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
38863         Add multiple inclusion protection.
38865 2012-07-27  David S. Miller  <davem@davemloft.net>
38867         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38869 2012-07-27  Gary Benson  <gbenson@redhat.com>
38871         [BZ #14298]
38872         * elf/rtld.c: Include <stap-probe.h>.
38873         (dl_main): Added static probes "init_start" and "init_complete".
38874         * elf/dl-load.c: Include <stap-probe.h>.
38875         (lose): Take new parameter "nsid".
38876         Added static probe "map_failed".
38877         (_dl_map_object_from_fd): Pass namespace id to lose.
38878         Added static probe "map_start".
38879         (open_verify): Pass namespace id to lose.
38880         * elf/dl-open.c: Include <stap-probe.h>.
38881         (dl_open_worker) Added static probes "map_complete", "reloc_start"
38882         and "reloc_complete".
38883         * elf/dl-close.c: Include <stap-probe.h>.
38884         (_dl_close_worker): Added static probes "unmap_start" and
38885         "unmap_complete".
38886         * elf/rtld-debugger-interface.txt: New file documenting the above.
38888 2012-07-26  Roland McGrath  <roland@hack.frob.com>
38890         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
38891         rather than a string variable.
38892         * sunrpc/rpc_main.c (h_output): Likewise.
38893         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
38895 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
38897         * inet/check_native.c: New file.
38899 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
38901         [BZ #13629]
38902         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
38903         if larger part has absolute value 1.0.
38904         * math/s_clog10.c (__clog10): Likewise.
38905         * math/s_clog10f.c (__clog10f): Likewise.
38906         * math/s_clog10l.c (__clog10l): Likewise.
38907         * math/s_clogf.c (__clogf): Likewise.
38908         * math/s_clogl.c (__clogl): Likewise.
38909         * math/libm-test.inc (clog_test): Add more tests.
38910         (clog10_test): Likewise.
38911         * sysdeps/i386/fpu/libm-test-ulps: Update.
38912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38914         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
38915         (pltexit): Likewise.
38916         (La_regs): Likewise.
38917         (La_retval): Likewise.
38918         (int_retval): Likewise.
38919         Update #error for removed macros to refer only to definitions in
38920         tst-audit.h.
38921         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
38922         macro.
38923         (pltexit): Likewise.
38924         (La_regs): Likewise.
38925         (La_retval): Likewise.
38926         (int_retval): Likewise.
38927         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
38928         macro.
38929         (pltexit): Likewise.
38930         (La_regs): Likewise.
38931         (La_retval): Likewise.
38932         (int_retval): Likewise.
38933         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
38934         macro.
38935         (pltexit): Likewise.
38936         (La_regs): Likewise.
38937         (La_retval): Likewise.
38938         (int_retval): Likewise.
38939         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
38940         macro.
38941         (pltexit): Likewise.
38942         (La_regs): Likewise.
38943         (La_retval): Likewise.
38944         (int_retval): Likewise.
38945         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
38946         macro.
38947         (pltexit): Likewise.
38948         (La_regs): Likewise.
38949         (La_retval): Likewise.
38950         (int_retval): Likewise.
38951         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
38952         macro.
38953         (pltexit): Likewise.
38954         (La_regs): Likewise.
38955         (La_retval): Likewise.
38956         (int_retval): Likewise.
38957         * sysdeps/generic/tst-audit.h: Update comment to refer only to
38958         macro definitions in tst-audit.h.
38959         * sysdeps/i386/tst-audit.h: New file.
38960         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
38961         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
38962         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
38963         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
38964         * sysdeps/sh/tst-audit.h: Likewise.
38965         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
38966         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
38967         * sysdeps/x86_64/tst-audit.h: Likewise.
38969 2012-07-26  Andreas Jaeger  <aj@suse.de>
38971         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
38972         ptrace.
38974         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
38975         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
38976         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
38977         PTRACE_O_MASK.
38978         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
38979         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
38980         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
38982         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
38983         value.
38985         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
38986         _sigsys.
38987         (si_call_addr, si_syscall, si_arch): Define new macro.
38988         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
38989         _sigsys.
38990         (si_call_addr, si_syscall, si_arch): Define new marcro.
38991         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
38992         _sigsys.
38993         (si_call_addr, si_syscall, si_arch): Define new macro.
38994         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
38995         _sigsys.
38996         (si_call_addr, si_syscall, si_arch): Define new macro.
38998 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
39000         [BZ #13717]
39001         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39002         Change to 2.4.21 where previously 2.4.1.
39003         * sysdeps/unix/sysv/linux/configure: Regenerated.
39004         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39005         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39006         Linux kernel version.
39007         (__ASSUME_STD_AUXV): Remove.
39008         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39009         kernel version.
39010         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39011         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39012         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39013         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39014         (__ASSUME_NETLINK_SUPPORT): Likewise.
39015         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39016         (__no_netlink_support): Remove conditional definition.
39017         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39018         Remove.
39019         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39020         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39021         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39022         (if_nameindex_ioctl): Remove.
39023         (if_nameindex_netlink): Do not handle __no_netlink_support.
39024         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39025         code.
39026         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39027         Remove conditional code.
39028         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39029         code.
39030         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39031         unconditional.
39032         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39033         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39034         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39035         Remove.
39036         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39037         [!__ASSUME_STD_AUXV]: Remove conditional code.
39038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39039         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39040         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39042         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39043         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39044         code.
39045         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39047         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39048         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39049         conditional code.
39050         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39052         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39053         code.
39054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39055         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39056         conditional code.
39057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39058         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39059         code unconditional.
39060         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39061         conditional code.
39062         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39063         unconditional.
39064         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39065         conditional code.
39066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39067         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39068         unconditional.
39069         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39070         conditional code.
39071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39072         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39073         code unconditional.
39074         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39075         conditional code.
39076         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39077         unconditional.
39078         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39079         conditional code.
39080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39081         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39082         code unconditional.
39083         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39084         conditional code.
39085         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39086         unconditional.
39087         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39088         conditional code.
39090 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
39092         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39093         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39094         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39095         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39096         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39097         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39098         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39099         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39100         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39101         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39102         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39103         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39104         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39105         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39106         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39107         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39108         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39109         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39110         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39111         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39112         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39113         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39114         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39116 2012-07-25  Florian Weimer  <fweimer@redhat.com>
39118         * Versions.def: Add GLIBC_2.17.
39119         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39120         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39121         Introduce __libc_secure_getenv.
39122         * stdlib/Versions (2.17): Add secure_getenv
39123         (GLIBC_PRIVATE): Add __libc_secure_getenv.
39124         * stdlib/secure-getenv.c: Rename __secure_getenv to
39125         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
39126         symbol __secure_getenv for GLIBC_2.0.
39127         * stdlib/tst-secure-getenv.c: New.
39128         * stdlib/Makefile (tests): Add testcase.
39129         * manual/startup.texi (Environment Access): Document
39130         secure_getenv.
39131         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39132         __libc_secure_getenv.
39133         * inet/ruserpass.c (ruserpass): Likewise.
39134         * malloc/mtrace.c (mtrace): Likewise.
39135         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
39136         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
39137         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39138         * sysdeps/posix/tempname.c: Likewise.  Evaluate
39139         HAVE_SECURE_GETENV.
39140         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
39141         __secure_getenv to __libc_secure_getenv.
39142         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
39143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39144         Likewise.
39145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39146         Likewise.
39147         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39148         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39149         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39150         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39151         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39152         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39153         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39155 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
39157         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39158         (struct La_i86_retval): Likewise.
39159         (struct La_x86_64_regs): Likewise.
39160         (struct La_x86_64_retval): Likewise.
39161         (struct La_x32_regs): Likewise.
39162         (struct La_x32_retval): Likewise.
39163         (struct La_ppc32_regs): Likewise.
39164         (struct La_ppc32_retval): Likewise.
39165         (struct La_ppc64_regs): Likewise.
39166         (struct La_ppc64_retval): Likewise.
39167         (struct La_sh_regs): Likewise.
39168         (struct La_sh_retval): Likewise.
39169         (struct La_s390_32_regs): Likewise.
39170         (struct La_s390_32_retval): Likewise.
39171         (struct La_s390_64_regs): Likewise.
39172         (struct La_s390_64_retval): Likewise.
39173         (struct La_sparc32_regs): Likewise.
39174         (struct La_sparc32_retval): Likewise.
39175         (struct La_sparc64_regs): Likewise.
39176         (struct La_sparc64_retval): Likewise.
39177         (struct audit_ifaces): Remove architecture-specific pltenter and
39178         pltexit members.
39179         * sysdeps/i386/ldsodefs.h: New file.
39180         * sysdeps/powerpc/ldsodefs.h: Likewise.
39181         * sysdeps/s390/ldsodefs.h: Likewise.
39182         * sysdeps/sh/ldsodefs.h: Likewise.
39183         * sysdeps/sparc/ldsodefs.h: Likewise.
39184         * sysdeps/x86_64/ldsodefs.h: Likewise.
39186 2012-07-25  Marek Polacek  <polacek@redhat.com>
39188         [BZ #6808]
39189         * math/libm-test.inc (yn_test): Add another test.
39190         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39191         to ERANGE when the result is +-Inf.
39192         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39193         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39194         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39195         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39197 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
39199         * conform/data/time.h-data (NULL): Use macro-constant.  Require
39200         equal to 0.
39201         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
39202         clock_t.
39203         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
39205 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
39207         * configure.in <sysdeps resolving>: Correct printing
39208         Implies_before.
39209         * configure: Regenerate.
39211 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
39213         * math/w_ilogb.c: Include <limits.h>.
39214         * math/w_ilogbl.c: Likewise.
39216 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
39218         * manual/lang.texi (__va_copy): Document primarily as ISO C99
39219         va_copy.  Document allowing for unavailable va_copy only as
39220         pre-C99 compatibility.
39221         * manual/string.texi (Copying and Concatenation): Use va_copy
39222         instead of __va_copy in concat example.
39224 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
39226         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39227         (__sendto): Use create_address_port.  Initialize APORT and deallocate
39228         it if not null.
39230         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39231         with O_NOLINK passed to __file_name_lookup.
39233         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39234         with O_NOLINK passed to __file_name_lookup.
39236         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39237         negative N or less than NGIDS.
39239         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39240         type to string_t.  Set ERANGE as errno and return it if NAME is not big
39241         enough.  Use memcpy instead of strncpy.
39243 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
39245         * elf/Makefile (check-data): Remove.
39246         (localplt.data): New vpath directive.
39247         ($(objpfx)check-localplt.out): Use localplt.data from vpath
39248         instead of $(check-data).
39249         * scripts/data/localplt-generic.data: Move to ...
39250         * sysdeps/generic/localplt.data: ... here.
39251         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39252         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39253         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39255         ... here.
39256         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39258         ... here.
39259         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39260         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39261         ... here.
39262         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39263         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39264         ... here.
39265         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39266         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39267         ... here.
39268         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39269         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39270         ... here.
39272 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39274         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39275         PPC32 and PPC64 files.
39276         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39277         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39279 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39281         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39282         __makecontext_ret to ...
39283         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39284         ... here and call exit if uc_link is NULL.  New file.
39285         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39286         __makecontext_ret.S.
39287         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39288         __makecontext_ret to ...
39289         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39290         ... here and call exit if uc_link is NULL.  New file.
39291         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39292         __makecontext_ret.S.
39294 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39296         * elf/elf.h (R_390_IRELATIVE): New definition.
39297         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39298         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
39299         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39300         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39301         (elf_machine_lazy_rel): Likewise.
39302         * sysdeps/s390/dl-irel.h: New file.
39303         * sysdeps/s390/s390-64/memcpy.S: New asm code.
39304         * sysdeps/s390/s390-64/memset.S: New asm code.
39305         * sysdeps/s390/s390-64/memcmp.S: New asm code.
39306         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39307         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39308         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39309         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39310         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39311         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39312         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39313         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39314         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39315         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39316         * sysdeps/s390/s390-32/memcpy.S: New asm code.
39317         * sysdeps/s390/s390-32/memset.S: New asm code.
39318         * sysdeps/s390/s390-32/memcmp.S: New asm code.
39320 2012-07-17  Marek Polacek  <polacek@redhat.com>
39322         [BZ #14349]
39323         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39324         * sysdeps/s390/s390-64/configure.in: Likewise.
39325         * sysdeps/sparc/configure.in: Likewise.
39326         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39327         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39328         * sysdeps/i386/configure.in: Likewise.
39329         * sysdeps/x86_64/configure.in: Likewise.
39330         * sysdeps/sh/configure.in: Likewise.
39331         * sysdeps/s390/s390-32/configure: Regenerated.
39332         * sysdeps/s390/s390-64/configure: Likewise.
39333         * sysdeps/x86_64/configure: Likewise.
39334         * sysdeps/sh/configure: Likewise.
39335         * sysdeps/powerpc/powerpc64/configure: Likewise.
39336         * sysdeps/powerpc/powerpc32/configure: Likewise.
39337         * sysdeps/sparc/configure: Likwise.
39338         * sysdeps/i386/configure: Likewise.
39340         * elf/dl-open.c: Comment fixes.
39342 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
39344         * Makefile [CXX] (check-data): Remove.
39345         [CXX] (c++-types.data): New vpath directive.
39346         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39347         vpath.  Do not allow for C++ type data being missing.
39348         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39349         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39350         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39351         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39352         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39353         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39354         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39356         ... here.
39357         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39359         ... here.
39360         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39361         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39362         ... here.
39363         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39364         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39365         ... here.
39366         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39367         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39368         ... here.
39369         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39370         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39371         ... here.
39372         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39373         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39374         ... here.
39375         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39376         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39378         * elf/tls-macros.h (TLS_LE): Move architecture-specific
39379         definitions to architecture-specific files.
39380         (TLS_IE): Likewise.
39381         (TLS_LD): Likewise.
39382         (TLS_GD): Likewise.
39383         * sysdeps/i386/tls-macros.h: New file.
39384         * sysdeps/powerpc/tls-macros.h: Likewise.
39385         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39386         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39387         * sysdeps/sh/tls-macros.h: Likewise.
39388         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39389         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39390         * sysdeps/x86_64/tls-macros.h: Likewise.
39392 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
39394         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39395         zero value for regular exit case.
39397         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39398         (__start_context): Preserve zero value for regular exit case.
39400 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
39401             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39403         * manual/setjmp.texi (setcontext): Clarify normal process
39404         termination when uc_link is the null pointer.
39405         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39406         exit call.
39408 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
39410         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39411         preprocessor.  Test for each exception mask separately.
39413 2012-07-16  Andreas Jaeger  <aj@suse.de>
39415         * po/ru.po: Update from translation team.
39417 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
39419         * conform/data/string.h-data (NULL): Use macro-constant.  Require
39420         equal to 0.
39421         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39422         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39423         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39424         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39425         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39427 2012-07-13  Andreas Jaeger  <aj@suse.de>
39429         * po/fr.po: Update from translation team.
39431 2012-07-12  Marek Polacek  <polacek@redhat.com>
39433         [BZ #14173]
39434         * math/libm-test.inc (yn_test): Add test for BZ #14173.
39435         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39436         loop condition.
39438 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
39440         [BZ #13717]
39441         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39442         Change to 2.4.1 where previously 2.4.0.
39443         * sysdeps/unix/sysv/linux/configure: Regenerated.
39444         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39445         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39446         version.
39447         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39448         (__ASSUME_AT_CLKTCK): Remove.
39449         (__ASSUME_AT_PAGESIZE): Likewise.
39450         (__ASSUME_AT_XID): Likewise.
39451         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39452         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39453         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39454         unconditionally.
39455         (HAVE_AUX_PAGESIZE): Likewise.
39456         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39457         [__ASSUME_AT_CLKTCK]: Make code unconditional.
39458         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39460 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
39462         [BZ #14307]
39463         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39464         the temporary buffer used to invoke __gethostbyname2_r,
39465         __gethostbyaddr_r and gethostbyname4_r to make room for struct
39466         host_data / struct gaih_addrtuple.
39467         * resolv/nss_dns/dns-host.c (global scope): Move definition of
39468         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39469         header file nss/nsswitch.h.
39470         * nss/nsswitch.h (global scope): Add definition of implementation
39471         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39472         resolv/nss_dns/dns-host.c).
39474 2012-07-11  Andreas Jaeger  <aj@suse.de>
39476         * po/fr.po: Update from translation team.
39478         * po/sv.po: Update from translation team
39479         * po/fr.po: Another update from translation team.
39481 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39483         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39484         for subnormals or multiply small sinh result by itself.
39485         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39486         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39488 2012-07-11  David S. Miller  <davem@davemloft.net>
39490         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39492 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
39494         [BZ #14347]
39495         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39496         (INTERNAL_MARK): Shift it here.
39498 2012-07-10  Marek Polacek  <polacek@redhat.com>
39500         [BZ #14151]
39501         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
39502         libc_cv_asm_global_directive with .globl.
39503         * configure: Regenerated.
39504         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39505         with .globl.
39506         * sysdeps/i386/configure: Regenerated.
39507         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39508         with .globl.
39509         * sysdeps/x86_64/configure: Regenerated.
39510         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39511         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39512         * elf/tst-unique2mod2.c: Likewise.
39513         * elf/tst-unique2mod1.c: Likewise.
39514         * elf/tst-unique1mod2.c: Likewise.
39515         * elf/tst-unique1mod1.c: Likewise.
39516         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39517         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39518         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39519         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39520         * sysdeps/mach/sysdep.h: Likewise.
39521         * sysdeps/i386/sysdep.h: Likewise.
39522         * sysdeps/i386/i386-mcount.S: Likewise.
39523         * sysdeps/x86_64/_mcount.S: Likewise.
39524         * sysdeps/x86_64/sysdep.h: Likewise.
39525         * sysdeps/sh/_mcount.S: Likewise.
39526         * sysdeps/sh/sysdep.h: Likewise.
39527         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39528         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39529         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39530         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39531         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39532         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39533         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39534         * locale/localeinfo.h: Likewise.
39535         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39536         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39538 2012-07-09  Roland McGrath  <roland@hack.frob.com>
39540         [BZ #14336]
39541         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39542         system".
39543         * manual/message.texi (The Uniforum approach): Likewise.
39544         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39545         (glibc iconv Implementation): Likewise.
39547 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
39549         [BZ #14337]
39550         * math/s_clog.c (__clog): Avoid scaling a value down where that
39551         could result in underflow.
39552         * math/s_clog10.c (__clog10): Likewise.
39553         * math/s_clog10f.c (__clog10f): Likewise.
39554         * math/s_clog10l.c (__clog10l): Likewise.
39555         * math/s_clogf.c (__clogf): Likewise.
39556         * math/s_clogl.c (__clogl): Likewise.
39557         * math/libm-test.inc (clog_test): Add more tests.
39558         (clog10_test): Likewise.
39559         * sysdeps/i386/fpu/libm-test-ulps: Update.
39560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39562 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
39564         [BZ #14283]
39565         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39566         by 7 not 8 to examine high bit of fractional part.
39568         [BZ #14042]
39569         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39570         for call to __mcount_internal.
39571         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39572         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39573         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39575 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
39577         [BZ #14154]
39578         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39579         approximation for values within 0x1p-13f of an odd multiple of
39580         pi/4.
39581         * math/libm-test.inc (tan_test): Do not allow spurious underflow
39582         exception.  Add more tests.
39583         * sysdeps/i386/fpu/libm-test-ulps: Update.
39585         [BZ #6778]
39586         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39587         inputs and return -1 for them.  Do not check for +Inf in case not
39588         reachable for +Inf.
39589         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39590         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
39591         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39592         and return -1 for them.  Do not check for +Inf in case not
39593         reachable for +Inf.
39594         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39595         define.
39596         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39597         and return -1 for them.  Do not check for +Inf in case not
39598         reachable for +Inf.
39599         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
39600         spurious underflow.
39601         * sysdeps/i386/fpu/libm-test-ulps: Update.
39602         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39604 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
39606         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39608 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
39610         [BZ #14157]
39611         [BZ #14331]
39612         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39613         could result in spurious underflow.  Scale down values above
39614         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39615         * math/s_csqrtf.c (__csqrtf): Likewise.
39616         * math/s_csqrtl.c (__csqrtl): Likewise.
39617         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
39618         spurious underflow.
39619         * sysdeps/i386/fpu/libm-test-ulps: Update.
39620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39622 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
39624         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39625         xopen-msg.sed.
39626         * catgets/xopen-msg.awk: New file.
39627         * catgets/xopen-msg.sed: Removed.
39629         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39630         po2text.sed.
39631         * intl/po2test.awk: New file.
39632         * intl/po2test.sed: Removed.
39634 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
39636         [BZ #14328]
39637         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39638         or multiply small sinh result by itself.
39639         * math/s_ctanf.c (__ctanf): Likewise.
39640         * math/s_ctanh.c (__ctanh): Likewise.
39641         * math/s_ctanhf.c (__ctanhf): Likewise.
39642         * math/s_ctanhl.c (__ctanhl): Likewise.
39643         * math/s_ctanl.c (__ctanl): Likewise.
39644         * math/libm-test.inc (ctan_test_tonearest): New function.
39645         (ctan_test_towardzero): Likewise.
39646         (ctan_test_downward): Likewise.
39647         (ctan_test_upward): Likewise.
39648         (ctanh_test_tonearest): Likewise.
39649         (ctanh_test_towardzero): Likewise.
39650         (ctanh_test_downward): Likewise.
39651         (ctanh_test_upward): Likewise.
39652         (main): Call these new functions.
39653         * sysdeps/i386/fpu/libm-test-ulps: Update.
39654         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39656 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
39658         * .gitignore: Delete /ports entry.
39660 2012-07-03  Andreas Jaeger  <aj@suse.de>
39662         * po/bg.po: Update from translation team.
39663         * po/cs.po: Likewise.
39664         * po/de.po: Likewise.
39665         * po/hr.po: Likewise.
39666         * po/nl.pl: Likewise.
39667         * po/pl.po: Likewise.
39668         * po/vi.po: Likewise.
39670 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
39672         * Makeconfig [!+link] (+link-before-libc): New variable.
39673         [!+link] (+link-after-libc): Likewise.
39674         [!+link] (+link-tests): Likewise.
39675         [!+link] (+link): Define in terms of $(+link-before-libc) and
39676         $(+link-after-libc).
39677         [!+link-static] (+link-static-before-libc): New variable.
39678         [!+link-static] (+link-static-after-libc): Likewise.
39679         [!+link-static] (+link-static-tests): Likewise.
39680         [!+link-static] (+link-static): Define in terms of
39681         $(+link-static-before-libc) and $(+link-static-after-libc).
39682         [build-shared] (link-libc-before-gnulib): New variable.
39683         [build-shared] (link-libc-tests): Likewise.
39684         [build-shared] (link-libc): Define in terms of
39685         $(link-libc-before-gnulib).
39686         [!build-shared] (link-libc-tests): New variable.
39687         (link-libc-static-tests): New variable.
39688         [!gnulib] (gnulib-arch): New variable.
39689         [!gnulib] (gnulib-tests): Likewise.
39690         [!gnulib] (static-gnulib-arch): Likewise.
39691         [!gnulib] (static-gnulib-tests): Likewise.
39692         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
39693         Define with "=" instead of ":=".
39694         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
39695         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
39696         * Rules (binaries-all-notests): New variable.
39697         (binaries-all-tests): Likewise.
39698         (binaries-static-notests): Likewise.
39699         (binaries-static-tests): Likewise.
39700         (binaries-all): Define using $(binaries-all-notests) and
39701         $(binaries-all-tests).
39702         (binaries-static): Define using $(binaries-static-notests) and
39703         $(binaries-static-tests).
39704         (binaries-shared-tests): New variable.
39705         (binaries-shared-notests): Likewise.
39706         (binaries-shared): Remove variable.
39707         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39708         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39709         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39710         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39711         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39712         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39713         * elf/Makefile (sln-modules): New variable.
39714         (extra-objs): Add $(sln-modules:=.o).
39715         (ldconfig-modules): Add static-stubs.
39716         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39717         * elf/static-stubs.c: New file.
39719         [BZ #14283]
39720         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39721         by 7 not 8 to examine high bit of fractional part.  Use volatile
39722         variables when splitting into final array of floats if
39723         __FLT_EVAL_METHOD__ != 0.
39724         * math/libm-test.inc (cos_test): Add another test.
39725         (sin_test): Likewise.
39726         * sysdeps/i386/fpu/libm-test-ulps: Update.
39728         [BZ #14273]
39729         * math/libm-test.inc (cosh_test): Add more tests.
39731         * version.h (RELEASE): Set to "development".
39732         (VERSION): Set to "2.16.90".
39734 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
39736         * NEWS: Update copyright. Remove last-updated date.
39737         Mention math library bug fixes and timezone data changes.
39738         * README: Mention GNU/Hurd, x32, and HPPA support status.
39740 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
39742         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
39744 2012-06-27  Andreas Jaeger  <aj@suse.de>
39746         * manual/contrib.texi (Contributors): Add Samuel Thibault.
39748 2012-06-25  Andreas Jaeger  <aj@suse.de>
39750         * sysdeps/s390/fpu/libm-test-ulps: Update.
39752 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
39753             Thomas Schwinge  <thomas@codesourcery.com>
39755         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
39756         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
39757         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
39758         fanotify_mark.
39760 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
39762         * sysdeps/mach/start.c: Remove file.
39763         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
39764         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
39765         * sysdeps/sh/init-first.c: Likewise.
39767         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
39768         registers for frame unwinding purposes, add CFI directives.
39769         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39770         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
39771         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
39772         Likewise.
39774         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
39775         __fortify_fail returning.
39776         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39778         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
39779         sysdeps/sh/____longjmp_chk.S.
39780         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
39781         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
39782         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
39783         (gen-as-const-headers): Append sigaltstack-offsets.sym.
39785         * sysdeps/sh/abort-instr.h: New file.
39786         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
39787         process in case exit returns.
39789         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
39790         initialize the GOT register before use.
39792         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
39793         calculation of ARGC > 4.
39795         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
39796         meaningful names to some local labels.
39798 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39799             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39801         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
39802         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
39803         (__arch_compare_and_exchange_val_16_acq): Likewise.
39804         (__arch_compare_and_exchange_val_32_acq): Likewise.
39805         (atomic_exchange_and_add): Fix gUSA sequence.
39806         (atomic_add): Likewise.
39807         (atomic_add_negative): Likewise.
39808         (atomic_add_zero): Likewise.
39809         (atomic_bit_test_set): Likewise.
39811 2012-06-22  Andreas Schwab  <schwab@redhat.com>
39813         [BZ #13579]
39814         * include/link.h (struct link_map): Add l_free_initfini.
39815         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
39816         l_initfini.
39817         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
39818         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
39819         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
39820         set.
39822 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
39824         * configure.in: Use AC_LANG_SOURCE.
39825         * configure: Regenerate.
39827 2012-06-22  Roland McGrath  <roland@hack.frob.com>
39829         * configure.in (libc_cv_localstatedir): New substituted variable.
39830         * configure: Regenerated.
39831         * config.make.in (localstatedir): New variable, substituted from
39832         libc_cv_localstatedir.
39833         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
39834         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
39835         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
39836         * sysdeps/gnu/configure: Regenerated.
39838 2012-06-21  Jeff Law  <law@redhat.com>
39840         [BZ #14277]
39841         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
39842         free.  Simplify list management for _LIBC case.
39844 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
39846         [BZ #14273]
39847         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
39848         Clear sign bit of 64-bit integer value before comparing against
39849         overflow value.
39851         * sysdeps/mach/configure: Regenerated.
39853 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
39855         [BZ #14278]
39856         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
39858 2012-06-21  Jeff Law  <law@redhat.com>
39860         [BZ #13882]
39861         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
39862         uint16_t for elements in the "seen" array to avoid char overflows.
39863         * elf/dl-fini.c (_dl_sort_fini): Likewise.
39864         * elf/dl-open.c (dl_open_worker): Likewise.
39866 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
39868         * scripts/list-sources.sh: Scan PORTS for translations.
39869         * po/libc.pot: Regenerated.
39871 2012-06-21  Andreas Jaeger  <aj@suse.de>
39873         [BZ #12194]
39874         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
39875         warning.
39876         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
39877         * bits/byteswap-16.h (__bswap_16): Likewise.
39878         * bits/byteswap.h (__bswap_constant_16): Likewise.
39880 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
39882         [BZ #14117]
39883         * sysdeps/i386/fpu_control.h: Removed.
39884         * sysdeps/x86_64/fpu_control.h: Moved to ...
39885         * sysdeps/x86/fpu_control.h: Here.
39887         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
39888         (_FPU_SETCW): Likewise.
39890 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
39892         [BZ #14117]
39893         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
39894         * sysdeps/x86/fpu/bits/mathinline.h: This.
39895         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
39897         [BZ #14050]
39898         [BZ #14117]
39899         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
39900         functions if __x86_64__ is defined.
39902 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
39904         * string/endian.h: Add !__ASSEMBLER__ condition for including
39905         conversion interfaces.
39907 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
39909         [BZ #14241]
39910         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
39911         of ABS(x) in calculating zero to negative powers other than odd
39912         integers.
39913         * math/libm-test.inc (pow_test): Add more tests.
39915 2012-06-15  Andreas Jaeger  <aj@suse.de>
39917         * manual/contrib.texi (Contributors): Update entry of Liubov
39918         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
39919         Machado Filho.
39921 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
39923         * string/string.h: Add __wur to GNU version of strerror_r.
39925 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
39927         [BZ #14229]
39928         * string/Makefile (tests): Add tst-strtok_r.
39929         * string/tst-strtok_r.c: New file.
39930         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
39931         RAX_LP/RDX_LP on SAVE_PTR.
39933 2012-06-14  Roland McGrath  <roland@hack.frob.com>
39935         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
39937 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
39939         * libm_test.inc (csqrt_test): Allow more spurious underflow
39940         exceptions.
39941         (j0_test): Likewise.
39942         (j1_test): Likewise.
39943         (y0_test): Likewise.
39944         (y1_test): Likewise.
39946 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
39948         * po/Makefile (libc.pot): Use UTF-8 charset.
39950 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
39952         [BZ #14210]
39953         Suppress sign-conversion warning from FD_SET.
39954         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
39955         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
39956         not unsigned long int.
39957         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
39959 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
39961         [BZ #14050]
39962         [BZ #14117]
39963         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
39964         __extern_always_inline instead of __extern_inline.
39965         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
39966         (__signbit): Likewise.
39967         (__signbitl): Support C++ namespace.
39968         (lrintf): New inline function.
39969         (lrint): Likewise.
39970         (llrintf): Likewise.
39971         (llrint): Likewise.
39972         (fmaxf): Likewise.
39973         (fmax): Likewise.
39974         (fminf): Likewise.
39975         (fmin): Likewise.
39976         (rint): Likewise.
39977         (rintf): Likewise.
39978         (ceil): Likewise.
39979         (ceilf): Likewise.
39980         (floor): Likewise.
39981         (floorf): Likewise.
39982         (nearbyint): Likewise.
39983         (nearbyintf): Likewise.
39985 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
39987         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
39988         non-default versions.
39990 2012-06-11  Roland McGrath  <roland@hack.frob.com>
39992         [BZ #14218]
39993         * manual/argp.texi (Argp): Reword argp_parse description slightly.
39995 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
39997         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
39998         (FE_UPWARD, FE_DOWNWARD): Don't define.
39999         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40000         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40002         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40003         reading it.
40004         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40005         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40007 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40009         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40010         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40011         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40012         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40014 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
40016         [BZ #14117]
40017         * sysdeps/i386/fpu/bits/fenv.h: Removed.
40018         * sysdeps/i386/fpu/Implies: New file.
40019         * sysdeps/x86_64/fpu/Implies: Likewise.
40020         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40021         * sysdeps/x86/fpu/bits/fenv.h: This.
40023         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40024         __SSE_MATH__.
40026 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40028         [BZ #14134]
40029         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40030         character 0xffff that matches the last element of the
40031         conversion table.
40033 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40035         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40036         fmodl commit.
40038 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40040         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40041         values higher than 25.6283.
40043 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40045         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40046         subnormal exponent extraction and add some __builtin_expect.
40047         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40048         Fix for subnormal mantissa calculation.
40050 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
40052         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40053         cpu2 is -1 and errno is not ENOSYS.
40055 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
40057         [BZ #14117]
40058         * sysdeps/i386/i486/bits/string.h: Renamed to ...
40059         * sysdeps/x86/bits/string.h: This.
40060         * sysdeps/x86_64/bits/string.h: Removed.
40062         * sysdeps/i386/i486/bits/string.h: Define inline functions only
40063         if not compiling for x86-64, but compiling for >= i486.
40065         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40066         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40068         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40069         New macro from Linux kernel 3.4.0.
40070         (FP_XSTATE_MAGIC2): Likewise.
40071         (FP_XSTATE_MAGIC2_SIZE): Likewise.
40072         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40073         (struct _fpx_sw_bytes): New struct.
40074         (struct _xsave_hdr): Likewise.
40075         (struct _ymmh_state): Likewise.
40076         (struct _xstate): Likewise.
40078         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40079         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40080         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40081         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40082         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40083         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40085         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40086         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40087         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40088         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40089         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40090         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40092 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40094         [BZ #13743]
40095         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40096         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40097         (sysdep_headers): Include sys/platform/ppc.h.
40098         * sysdeps/powerpc/test-gettimebase.c: Test for
40099         __ppc_get_timebase() to catch future ISA opcode/insn changes.
40100         * manual/Makefile (appendices): Include platform.texi.
40101         * manual/contrib.texi (Contributors): Update @node pointers.
40102         * manual/maint.texi (Maintenance): Likewise.
40103         (Platform): New node.
40104         * manual/platform.texi: New file.  Document the new features.
40106 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40107             Jakub Jelinek  <jakub@redhat.com>
40109         [BZ #14188]
40110         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40111         where __builtin_expect is unavailable.
40113 2012-06-03  David S. Miller  <davem@davemloft.net>
40115         * stdlib/longlong.h: Updated from GCC.
40117 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
40119         [BZ #14042]
40120         * sysdeps/powerpc/powerpc32/mcount.c: New file.
40121         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40122         __mcount_internal.
40123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40124         (GLIBC_2.16): Likewise.
40126 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40128         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40130 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
40132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40133         (default-abi): New variable.
40134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40135         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40136         variable.
40137         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40138         Likewise.
40139         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40140         Likewise.
40141         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40142         Likewise.
40144         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40145         definition.  Document in comment.
40147 2012-06-01  David S. Miller  <davem@davemloft.net>
40149         * stdlib/longlong.h: Updated from GCC.
40151 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40153         [BZ #14117]
40154         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40155         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40156         sys/debugreg.h sys/io.h here.
40157         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40158         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40159         sys/io.h.
40160         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40161         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40162         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40163         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40164         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40165         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40167         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40168         Define only if __x86_64__ is defined.
40170 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
40172         [BZ #14048]
40173         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40174         Use int64_t for variable i.
40175         * math/libm-test.inc (fmod_test): Add more tests.
40177         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40178         z computation is not scheduled after fetestexcept.
40179         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40180         Use math_force_eval instead of asm to ensure calculation scheduled
40181         before exception test.
40182         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40183         Ensure a1 + u.d computation is not scheduled after fetestexcept.
40185 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
40187         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40188         computation is not scheduled after fetestexcept.
40190 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40192         [BZ #14117]
40193         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40194         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40196 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40198         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40199         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40201 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
40203         [BZ #14117]
40204         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40205         <bits/wordsize.h>.
40206         (__WCHAR_MIN): Support __WORDSIZE == 64.
40207         (__WCHAR_MAX): Likewise.
40209         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40210         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40212         [BZ #14183]
40213         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40214         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40216         [BZ #14117]
40217         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40218         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40220         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40221         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40223         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40224         Defined to 1 if __x86_64__ isn't defined.
40225         (_STAT_VER_LINUX_OLD): New.
40226         (st_atime): Remove duplicate.
40227         (st_mtime): Likewise.
40228         (st_ctime): Likewise.
40230 2012-05-31  David S. Miller  <davem@davemloft.net>
40232         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40233         entries.
40235 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
40237         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40238         gen-libm-test.pl.
40240         [BZ #14132]
40241         * elf/dl-reloc.c: Include <_itoa.h>.
40242         (_dl_reloc_bad_type): Remove use of INTUSE.
40243         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40244         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40245         * stdio-common/psiginfo.c (psiginfo): Likewise.
40246         * stdio-common/psignal.c (psignal): Likewise.
40247         * string/strsignal.c (strsignal): Likewise.
40248         * include/signal.h (_sys_siglist): Declare hidden proto.
40249         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
40250         INTVARDEF with libc_hidden_data_def.
40251         * stdio-common/itoa-udigits.c: Likewise.
40252         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40253         (_itoa_lower_digits_internal): Remove declaration.
40254         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40255         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40256         (_sys_sigabbrev_internal): Remove aliases.
40257         (_sys_siglist): Define hidden alias.
40259 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
40261         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40262         bits/sysctl.h.
40264 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
40266         [BZ #14117]
40267         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40268         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40270         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40271         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40272         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40273         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40274         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40275         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40277         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40278         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40279         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40281         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40282         with __addr.
40283         (insw): Likewise.
40284         (insl): Likewise.
40285         (outsb): Likewise.
40286         (outsw): Likewise.
40287         (outsl): Likewise.
40289         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40290         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40291         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40293         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40294         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40295         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40296         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40297         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40298         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40300         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40301         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40303         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40304         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40306         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40307         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40308         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40310         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40311         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40312         to ...
40313         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40315         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40316         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40317         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40319         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40320         for x86-64.
40321         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40323 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
40325         * math/math.h (M_El): Use two more decimal places.
40326         (M_LOG2El): Likewise.
40327         (M_LOG10El): Likewise.
40328         (M_LN2l): Likewise.
40329         (M_LN10l): Likewise.
40330         (M_PIl): Likewise.
40331         (M_PI_2l): Likewise.
40332         (M_PI_4l): Likewise.
40333         (M_1_PIl): Likewise.
40334         (M_2_PIl): Likewise.
40335         (M_2_SQRTPIl): Likewise.
40336         (M_SQRT2l): Likewise.
40337         (M_SQRT1_2l): Likewise.
40339 2012-05-31  David S. Miller  <davem@davemloft.net>
40341         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40342         values between float registers.
40343         * sysdeps/sparc/sparc64/memset.S: Likewise.
40344         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40346 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
40348         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40349         -D_FORTIFY_SOURCE=1.
40350         (CPPFLAGS-tst-longjmp_chk.c): Define.
40351         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40352         (CPPFLAGS-tst-longjmp_chk2.c): Define.
40353         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40354         CFLAGS-tst-wchar-h.c.
40356 2012-05-31  Marek Polacek  <polacek@redhat.com>
40358         [BZ #14132]
40359         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40360         __endmntent_internal): Remove declaration.
40361         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40362         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40363         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40365 2012-05-30  David S. Miller  <davem@davemloft.net>
40367         * sysdeps/sparc/sparc32/soft-fp/q_util.c
40368         (___Q_simulate_exceptions): Use real FP ops rather than writing
40369         into the %fsr.
40370         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40371         Likewise.
40373 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40375         [BZ #14117]
40376         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40377         * sysdeps/x86/bits/xtitypes.h: This.
40379         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40380         * sysdeps/x86/bits/wordsize.h: This.
40382         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40383         * sysdeps/x86/bits/huge_vall.h: This.
40385         * sysdeps/i386/bits/select.h: Removed.
40386         * sysdeps/x86_64/bits/select.h: Renamed to ...
40387         * sysdeps/x86/bits/select.h: This.
40389         * sysdeps/i386/bits/setjmp.h: Removed.
40390         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40391         * sysdeps/x86/bits/setjmp.h: This.
40393         * sysdeps/i386/bits/mathdef.h: Removed.
40394         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40395         * sysdeps/x86/bits/mathdef.h: This.
40397 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
40399         [BZ #14132]
40400         * include/sys/socket.h (__connect_internal)
40401         (__libc_sa_len_internal): Remove declaration.
40402         (__connect, __libc_sa_len): Declare hidden_proto.
40403         (SA_LEN): Remove use of INTUSE.
40404         * socket/connect.c: Add libc_hidden_def.
40405         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40406         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40407         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40408         alias.
40409         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40410         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40411         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40412         of adding _internal alias.
40414 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40416         [BZ #14117]
40417         * sysdeps/i386/bits/link.h: Removed.
40418         * sysdeps/i386/bits/linkmap.h: Likewise.
40419         * sysdeps/x86_64/bits/link.h: Renamed to ...
40420         * sysdeps/x86/bits/link.h: This.
40421         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40422         * sysdeps/x86/bits/linkmap.h: This.
40424         * sysdeps/i386/bits/endian.h: Removed.
40425         * sysdeps/x86_64/bits/endian.h: Renamed to ...
40426         * sysdeps/x86/bits/endian.h: This.
40428         * sysdeps/i386/bits/byteswap.h: Removed.
40429         * sysdeps/i386/bits/byteswap-16.h: Likewise.
40430         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40431         * sysdeps/x86/bits/byteswap.h: This.
40432         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40433         * sysdeps/x86/bits/byteswap-16.h: This.
40434         * sysdeps/i386/Implies: Add x86.
40435         * sysdeps/x86_64/Implies: Likewise.
40437 2012-05-30  David S. Miller  <davem@davemloft.net>
40439         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40440         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40441         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40442         (FP_TRAPPING_EXCEPTIONS): Define.
40443         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40444         (FP_TRAPPING_EXCEPTIONS): Define.
40445         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40446         subnormals only when inexact has been signalled or underflow
40447         exceptions are enabled.
40448         (_FP_PACK_CANONICAL): Likewise.
40450 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40452         [BZ #14183]
40453         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40454         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40456 2012-05-30  Richard Henderson  <rth@twiddle.net>
40458         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40459         with #ifndef NOT_IN_libc.
40461         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
40462         marked to avoid plt entry.
40464 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40466         [BZ #14112]
40467         * Makeconfig (default-abi): New macro.
40468         (abi-includes): Likewise.
40469         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
40470         $(abi-$(default-abi)-lib-soname) for soname if defined.
40471         ($(common-objpfx)gnu/lib-names.stmp): Generate from
40472         abi-variants.
40473         * Makefile (installed-stubs): Likewise.
40474         * include/stubs-biarch.h: Removed.
40475         * scripts/lib-names.awk: Only handle one library at a time.
40476         * scripts/soversions.awk: Remove WORDSIZE support.
40477         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40478         entries.
40479         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40480         Removed.
40481         (syscall-list-default-condition): Likewise.
40482         (syscall-list-default-condition): Likewise.
40483         (syscall-list-includes): Likewise.
40484         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40485         syscall-list-* with abi-*.  Handle undefined abi-variants.
40486         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40487         * sysdeps/unix/sysv/linux/i386/Implies: New file.
40488         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40489         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40490         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40491         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40492         Removed.
40493         (syscall-list-32-options): Likewise.
40494         (syscall-list-32-condition): Likewise.
40495         (syscall-list-64-options): Likewise.
40496         (syscall-list-64-condition): Likewise.
40497         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40498         macro.
40499         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40500         Renamed to ...
40501         (abi-*): This.
40502         (abi-64-ld-soname): New macro.
40503         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40504         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40505         Renamed to ...
40506         (abi-*): This.
40507         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40508         * sysdeps/x86_64/x32/shlib-versions: Likewise.
40510 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
40512         * sysdeps/unix/sysv/linux/kernel-features.h
40513         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40514         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40515         include <kernel-features.h>.
40516         [!__NR_ftruncate64]: Remove conditional code.
40517         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40518         [__NR_ftruncate64]: Make code unconditional.
40519         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40520         * sysdeps/unix/sysv/linux/truncate64.c: Do not
40521         include <kernel-features.h>.
40522         [!__NR_ftruncate64]: Remove conditional code.
40523         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40524         [__NR_ftruncate64]: Make code unconditional.
40525         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40527         include <kernel-features.h>.
40528         [!__NR_ftruncate64]: Remove conditional code.
40529         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40530         [__NR_ftruncate64]: Make code unconditional.
40531         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40532         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40533         include <kernel-features.h>.
40534         [!__NR_ftruncate64]: Remove conditional code.
40535         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40536         [__NR_ftruncate64]: Make code unconditional.
40537         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40539         * configure.in (libc_cv_fpie): Weaken to a compile test using
40540         LIBC_TRY_CC_OPTION.
40541         * configure: Regenerated.
40543 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40545         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40546         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40547         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40548         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40549         Refreshed.
40550         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40551         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40552         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40553         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40554         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40555         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40556         Refreshed.
40558 2012-05-27  David S. Miller  <davem@davemloft.net>
40560         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40561         (___Q_zero): New.
40562         (__Q_simulate_exceptions): Return void.  Change to simulate
40563         exceptions by writing into the %fsr.
40564         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40565         (__Qp_handle_exceptions): Likewise.
40566         (numbers): Delete.
40567         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40568         __Qp_handle_exceptions.
40569         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40570         __Qp_handle_exceptions.
40571         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40572         as unused and give dummy FP_RND_NEAREST initializer.
40573         (FP_INHIBIT_RESULTS): Define.
40574         (___Q_simulate_exceptions): Update declaration.
40575         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40576         formatting.
40577         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40578         as unused and give dummy FP_RND_NEAREST initializer.
40579         (__Qp_handle_exceptions): Update declaration.
40580         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40581         formatting.
40583 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
40585         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40586         the temporary FPU control word.
40587         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40588         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40589         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40590         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40591         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40592         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40593         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40594         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40595         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40596         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40597         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40599 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40601         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40602         fields.
40604 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
40606         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40607         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40608         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40609         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40610         Likewise.
40611         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40612         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40613         Likewise.
40615 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
40617         * po/h.po: Update from translation team.
40619 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
40621         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40623         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40624         handling of denormals.
40625         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40626         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40627         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40628         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40629         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40630         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40631         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40632         Likewise.
40634 2012-05-26  Marek Polacek  <polacek@redhat.com>
40636         [BZ #14152]
40637         * math/libm-test.inc (fma_test): Don't always expect underflow
40638         exception.
40640 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40642         [BZ #12416]
40643         * elf/tst-execstack.c: Include stackinfo.h.
40644         (do_test): Adjust test case to ensure that pthread_getattr_np
40645         behaviour remains the same after marking stack executable.
40647 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
40649         * sysdeps/unix/sysv/linux/kernel-features.h
40650         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40651         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40652         kernel-features.h.
40653         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40654         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40655         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40656         kernel-features.h.
40657         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40658         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40660 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
40662         * configure.in: Define the default includes to being none.
40663         * configure: Regenerated.
40665 2012-05-25  Roland McGrath  <roland@hack.frob.com>
40667         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40668         * sysdeps/x86_64/setjmp.S: Likewise.
40669         * sysdeps/i386/bsd-setjmp.S: Likewise.
40670         * sysdeps/i386/bsd-_setjmp.S: Likewise.
40671         * sysdeps/i386/setjmp.S: Likewise.
40672         * sysdeps/i386/__longjmp.S: Likewise.
40673         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40674         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40676         * include/stap-probe.h: New file.
40677         * configure.in: Handle --enable-systemtap.
40678         * configure: Regenerated.
40679         * config.h.in (USE_STAP_PROBE): New #undef.
40680         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40681         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40682         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40684 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
40686         [BZ #13717]
40687         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40688         to 2.4.0 where earlier.
40689         * sysdeps/unix/sysv/linux/configure: Regenerated.
40690         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40691         <kernel-features.h>.
40692         [__ASSUME_32BITUIDS]: Make code unconditional.
40693         [!__ASSUME_32BITUIDS]: Remove conditional code.
40694         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
40695         <kernel-features.h>.
40696         [__ASSUME_32BITUIDS]: Make code unconditional.
40697         [!__ASSUME_32BITUIDS]: Remove conditional code.
40698         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
40699         [__ASSUME_32BITUIDS]: Make code unconditional.
40700         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40701         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
40702         <kernel-features.h>.
40703         [__ASSUME_32BITUIDS]: Make code unconditional.
40704         [!__ASSUME_32BITUIDS]: Remove conditional code.
40705         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
40706         <kernel-features.h>.
40707         [__ASSUME_32BITUIDS]: Make code unconditional.
40708         [!__ASSUME_32BITUIDS]: Remove conditional code.
40709         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
40710         <kernel-features.h>.
40711         [__ASSUME_32BITUIDS]: Make code unconditional.
40712         [!__ASSUME_32BITUIDS]: Remove conditional code.
40713         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
40714         <kernel-features.h>.
40715         [__ASSUME_32BITUIDS]: Make code unconditional.
40716         [!__ASSUME_32BITUIDS]: Remove conditional code.
40717         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40718         <kernel-features.h>.
40719         [__ASSUME_32BITUIDS]: Make code unconditional.
40720         [!__ASSUME_32BITUIDS]: Remove conditional code.
40721         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40722         <kernel-features.h>.
40723         [__ASSUME_32BITUIDS]: Make code unconditional.
40724         [!__ASSUME_32BITUIDS]: Remove conditional code.
40725         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
40726         <kernel-features.h>.
40727         [__ASSUME_32BITUIDS]: Make code unconditional.
40728         [!__ASSUME_32BITUIDS]: Remove conditional code.
40729         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40730         <kernel-features.h>.
40731         [__ASSUME_32BITUIDS]: Make code unconditional.
40732         [!__ASSUME_32BITUIDS]: Remove conditional code.
40733         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40734         <kernel-features.h>.
40735         [__ASSUME_32BITUIDS]: Make code unconditional.
40736         [!__ASSUME_32BITUIDS]: Remove conditional code.
40737         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
40738         <kernel-features.h>.
40739         [__ASSUME_32BITUIDS]: Make code unconditional.
40740         [!__ASSUME_32BITUIDS]: Remove conditional code.
40741         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
40742         <kernel-features.h>.
40743         [__NR_setresgid] (__setresgid): Do not declare.
40744         [__ASSUME_32BITUIDS]: Make code unconditional.
40745         [!__ASSUME_32BITUIDS]: Remove conditional code.
40746         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
40747         <kernel-features.h>.
40748         [__NR_setresuid] (__setresuid): Do not declare.
40749         [__ASSUME_32BITUIDS]: Make code unconditional.
40750         [!__ASSUME_32BITUIDS]: Remove conditional code.
40751         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
40752         <kernel-features.h>.
40753         [__ASSUME_32BITUIDS]: Make code unconditional.
40754         [!__ASSUME_32BITUIDS]: Remove conditional code.
40755         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
40756         <kernel-features.h>.
40757         [__ASSUME_32BITUIDS]: Make code unconditional.
40758         [!__ASSUME_32BITUIDS]: Remove conditional code.
40759         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
40760         <kernel-features.h>.
40761         [__ASSUME_32BITUIDS]: Make code unconditional.
40762         [!__ASSUME_32BITUIDS]: Remove conditional code.
40763         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
40764         <kernel-features.h>.
40765         [__ASSUME_32BITUIDS]: Make code unconditional.
40766         [!__ASSUME_32BITUIDS]: Remove conditional code.
40767         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
40768         <kernel-features.h>.
40769         [__ASSUME_32BITUIDS]: Make code unconditional.
40770         [!__ASSUME_32BITUIDS]: Remove conditional code.
40771         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
40772         <kernel-features.h>.
40773         [__ASSUME_32BITUIDS]: Make code unconditional.
40774         [!__ASSUME_32BITUIDS]: Remove conditional code.
40775         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
40776         <kernel-features.h>.
40777         [__ASSUME_32BITUIDS]: Make code unconditional.
40778         [!__ASSUME_32BITUIDS]: Remove conditional code.
40779         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
40780         <kernel-features.h>.
40781         [__ASSUME_32BITUIDS]: Make code unconditional.
40782         [!__ASSUME_32BITUIDS]: Remove conditional code.
40783         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
40784         <kernel-features.h>.
40785         [__ASSUME_32BITUIDS]: Make code unconditional.
40786         [!__ASSUME_32BITUIDS]: Remove conditional code.
40787         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40788         <kernel-features.h>.
40789         [__ASSUME_32BITUIDS]: Make code unconditional.
40790         [!__ASSUME_32BITUIDS]: Remove conditional code.
40791         * sysdeps/unix/sysv/linux/kernel-features.h
40792         (__ASSUME_SETRESUID_SYSCALL): Remove.
40793         (__ASSUME_SETRESGID_SYSCALL): Likewise.
40794         (__ASSUME_32BITUIDS): Likewise.
40795         (__ASSUME_LDT_WORKS): Likewise.
40796         (__ASSUME_O_DIRECTORY): Likewise.
40797         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
40798         architecture but not kernel version.
40799         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
40800         (__ASSUME_MMAP2_SYSCALL): Likewise.
40801         (__ASSUME_STAT64_SYSCALL): Likewise.
40802         (__ASSUME_IPC64): Likewise.
40803         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
40804         <kernel-features.h>.
40805         [__ASSUME_32BITUIDS]: Make code unconditional.
40806         [!__ASSUME_32BITUIDS]: Remove conditional code.
40807         * sysdeps/unix/sysv/linux/opendir.c: Do not include
40808         <kernel-features.h>.
40809         [__ASSUME_O_DIRECTORY]: Make code unconditional.
40810         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
40811         132096]: Remove conditional code.
40812         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
40813         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40814         <kernel-features.h>.
40815         [__ASSUME_32BITUIDS]: Make code unconditional.
40816         [!__ASSUME_32BITUIDS]: Remove conditional code.
40817         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40818         <kernel-features.h>.
40819         [__ASSUME_32BITUIDS]: Make code unconditional.
40820         [!__ASSUME_32BITUIDS]: Remove conditional code.
40821         * sysdeps/unix/sysv/linux/setegid.c: Do not include
40822         <kernel-features.h>.
40823         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
40824         unconditional.
40825         (__setresgid): Do not declare.
40826         [__ASSUME_32BITUIDS]: Make code unconditional.
40827         [!__ASSUME_32BITUIDS]: Remove conditional code.
40828         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
40829         <kernel-features.h>.
40830         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
40831         unconditional.
40832         (__setresuid): Do not declare.
40833         [__ASSUME_32BITUIDS]: Make code unconditional.
40834         [!__ASSUME_32BITUIDS]: Remove conditional code.
40835         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40836         <kernel-features.h>.
40837         [__ASSUME_32BITUIDS]: Make code unconditional.
40838         [!__ASSUME_32BITUIDS]: Remove conditional code.
40839         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
40840         <kernel-features.h>.
40841         [__ASSUME_32BITUIDS]: Make code unconditional.
40842         [!__ASSUME_32BITUIDS]: Remove conditional code.
40844 2012-05-25  Richard Henderson  <rth@twiddle.net>
40846         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
40847         dl_hwcap to ifunc resolver.
40848         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
40849         elf_ifunc_invoke.
40850         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
40851         dl_hwcap to ifunc resolver.
40852         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
40854 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
40856         [BZ #14153]
40857         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
40858         for |x| <= 2**-26, not 2**-57.
40859         * math/libm-test.inc (acos_test): Do not allow spurious underflow
40860         exception.
40862 2012-05-24  Jeff Law  <law@redhat.com>
40864         * stdio-common/Makefile (tests): Add bug25.
40865         * stdio-common/bug25.c: New test.
40867 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
40869         [BZ #13576]
40870         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
40871         multiple of MALLOC_ALIGNMENT in size.
40872         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
40874 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
40876         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
40877         Require >= 256.
40878         (FILENAME_MAX): Use macro-int-constant.
40879         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
40880         (_IOFBF): Use macro-int-constant.
40881         (_IOLBF): Likewise.
40882         (_IONBF): Likewise.
40883         (SEEK_CUR): Likewise.
40884         (SEEK_END): Likewise.
40885         (SEEK_SET): Likewise.
40886         (TMP_MAX): Likewise.
40887         (EOF): Use macro-int-constant.  Require < 0.
40888         (NULL): Use macro-constant.  Require == 0.
40889         (stdin): Require type to be FILE *.
40890         (stdout): Likewise.
40891         (stderr): Likewise.
40892         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
40893         macro-int-constant.
40894         (EXIT_SUCCESS): Likewise.
40895         (NULL): Use macro-constant.  Require == 0.
40896         (RAND_MAX): Use macro-int-constant.
40897         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
40898         [C99-based standards] (strtof): Require function.
40899         [C99-based standards] (strtold): Likewise.
40900         [C99-based standards] (strtoll): Likewise.
40901         [C99-based standards] (strtoull): Likewise.
40902         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40903         [ISO || ISO99 || ISO11] (limits.h): Likewise.
40904         [ISO || ISO99 || ISO11] (math.h): Likewise.
40905         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
40906         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40907         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40909 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
40911         [BZ #14132]
40912         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
40913         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
40914         * intl/dgettext.c (DCGETTEXT): Likewise.
40915         * intl/gettext.c (DCGETTEXT): Likewise.
40916         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
40917         * posix/regex_internal.h (gettext): Likewise.
40918         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
40919         Remove declaration.
40920         * include/argz.h (__argz_count_internal)
40921         (__argz_stringify_internal): Remove declaration.
40922         (__argz_count, __argz_stringify): Declare hidden proto.
40923         * intl/dcgettext.c: Remove use of INTDEF.
40924         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
40925         * string/argz-stringify.c: Likewise.
40926         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40927         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40928         Declare hidden proto.
40929         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40930         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40931         Declare hidden proto.
40932         * include/stdio.h (__asprintf_internal): Don't declare.
40933         (__asprintf): Don't define as macro.  Declare hidden proto.
40934         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
40935         (__fsetlocking): Declare hidden proto.
40936         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
40937         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
40938         hidden proto.
40939         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
40940         (_IO_setlinebuf): Remove use of INTUSE.
40941         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
40942         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
40943         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
40944         Remove declaration.
40945         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
40946         (_IO_do_flush): Remove use of INTUSE.
40947         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
40948         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
40949         (_IO_adjust_column, _IO_least_wmarker)
40950         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
40951         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
40952         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
40953         (_IO_default_doallocate, _IO_wdefault_doallocate)
40954         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
40955         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
40956         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
40957         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
40958         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
40959         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
40960         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
40961         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
40962         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
40963         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
40964         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
40965         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
40966         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
40967         proto.
40968         (_IO_flush_all_internal, _IO_adjust_column_internal)
40969         (_IO_default_uflow_internal, _IO_default_finish_internal)
40970         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
40971         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
40972         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
40973         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
40974         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
40975         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
40976         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
40977         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
40978         (_IO_file_close_internal, _IO_file_close_it_internal)
40979         (_IO_file_underflow_internal, _IO_file_overflow_internal)
40980         (_IO_file_init_internal, _IO_file_attach_internal)
40981         (_IO_file_fopen_internal, _IO_file_read_internal)
40982         (_IO_file_sync_internal, _IO_file_seek_internal)
40983         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
40984         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
40985         (_IO_str_underflow_internal, _IO_str_overflow_internal)
40986         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
40987         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
40988         (_IO_list_all_internal, _IO_link_in_internal)
40989         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
40990         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
40991         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
40992         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
40993         (_IO_do_write_internal, _IO_padn_internal)
40994         (_IO_getline_info_internal, _IO_getline_internal)
40995         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
40996         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
40997         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
40998         (_IO_vfscanf_internal, _IO_vfprintf_internal)
40999         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41000         (_IO_init_internal, _IO_un_link_internal): Don't declare.
41001         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41002         with libc_hidden_ver, remove use of INTUSE.
41003         * libio/genops.c: Likewise.
41004         * libio/freopen.c: Likewise.
41005         * libio/freopen64.c: Likewise.
41006         * libio/iofclose.c: Likewise.
41007         * libio/iofdopen.c: Likewise.
41008         * libio/iofflush.c: Likewise.
41009         * libio/iofflush_u.c: Likewise.
41010         * libio/iofgets.c: Likewise.
41011         * libio/iofgets_u.c: Likewise.
41012         * libio/iofopen.c: Likewise.
41013         * libio/iofopncook.c: Likewise.
41014         * libio/iofread.c: Likewise.
41015         * libio/iofread_u.c: Likewise.
41016         * libio/ioftell.c: Likewise.
41017         * libio/iofwrite.c: Likewise.
41018         * libio/iogetline.c: Likewise.
41019         * libio/iogets.c: Likewise.
41020         * libio/iogetwline.c: Likewise.
41021         * libio/iopadn.c: Likewise.
41022         * libio/iopopen.c: Likewise.
41023         * libio/ioseekoff.c: Likewise.
41024         * libio/ioseekpos.c: Likewise.
41025         * libio/iosetbuffer.c: Likewise.
41026         * libio/iosetvbuf.c: Likewise.
41027         * libio/ioungetc.c: Likewise.
41028         * libio/ioungetwc.c: Likewise.
41029         * libio/iovdprintf.c: Likewise.
41030         * libio/iovsprintf.c: Likewise.
41031         * libio/iovsscanf.c: Likewise.
41032         * libio/memstream.c: Likewise.
41033         * libio/obprintf.c: Likewise.
41034         * libio/oldfileops.c: Likewise.
41035         * libio/oldiofclose.c: Likewise.
41036         * libio/oldiofdopen.c: Likewise.
41037         * libio/oldiofopen.c: Likewise.
41038         * libio/oldiopopen.c: Likewise.
41039         * libio/oldstdfiles.c: Likewise.
41040         * libio/putc.c: Likewise.
41041         * libio/setbuf.c: Likewise.
41042         * libio/setlinebuf.c: Likewise.
41043         * libio/stdfiles.c: Likewise.
41044         * libio/strops.c: Likewise.
41045         * libio/vasprintf.c: Likewise.
41046         * libio/vscanf.c: Likewise.
41047         * libio/vsnprintf.c: Likewise.
41048         * libio/vswprintf.c: Likewise.
41049         * libio/wfiledoalloc.c: Likewise.
41050         * libio/wfileops.c: Likewise.
41051         * libio/wgenops.c: Likewise.
41052         * libio/wmemstream.c: Likewise.
41053         * libio/wstrops.c: Likewise.
41054         * libio/__fpurge.c: Likewise.
41055         * libio/__fsetlocking.c: Likewise.
41056         * assert/assert.c: Likewise.
41057         * debug/fgets_chk.c: Likewise.
41058         * debug/fgets_u_chk.c: Likewise.
41059         * debug/fread_chk.c: Likewise.
41060         * debug/fread_u_chk.c: Likewise.
41061         * debug/gets_chk.c: Likewise.
41062         * debug/obprintf_chk.c: Likewise.
41063         * debug/vasprintf_chk.c: Likewise.
41064         * debug/vdprintf_chk.c: Likewise.
41065         * debug/vsnprintf_chk.c: Likewise.
41066         * debug/vsprintf_chk.c: Likewise.
41067         * malloc/mtrace.c: Likewise.
41068         * misc/error.c: Likewise.
41069         * misc/syslog.c: Likewise.
41070         * stdio-common/asprintf.c: Likewise.
41071         * stdio-common/fxprintf.c: Likewise.
41072         * stdio-common/getw.c: Likewise.
41073         * stdio-common/isoc99_fscanf.c: Likewise.
41074         * stdio-common/isoc99_scanf.c: Likewise.
41075         * stdio-common/isoc99_vfscanf.c: Likewise.
41076         * stdio-common/isoc99_vscanf.c: Likewise.
41077         * stdio-common/isoc99_vsscanf.c: Likewise.
41078         * stdio-common/printf-prs.c: Likewise.
41079         * stdio-common/printf_fp.c: Likewise.
41080         * stdio-common/printf_fphex.c: Likewise.
41081         * stdio-common/printf_size.c: Likewise.
41082         * stdio-common/putw.c: Likewise.
41083         * stdio-common/scanf.c: Likewise.
41084         * stdio-common/sprintf.c: Likewise.
41085         * stdio-common/tmpfile.c: Likewise.
41086         * stdio-common/vfprintf.c: Likewise.
41087         * stdio-common/vfscanf.c: Likewise.
41088         * stdlib/strfmon_l.c: Likewise.
41089         * sunrpc/openchild.c: Likewise.
41090         * sunrpc/xdr_stdio.c: Likewise.
41091         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41092         * sysdeps/mach/hurd/tmpfile.c: Likewise.
41094 2012-05-24  Roland McGrath  <roland@hack.frob.com>
41096         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41098         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41099         in the third column, to generate for the shared library an IFUNC
41100         that uses _dl_vdso_vsym.
41101         * Makerules (COMPILE.c, compile-stdin.c): New variables.
41102         * Makeconfig (object-suffixes-noshared): New variable.
41104         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41105         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41106         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41107         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41109         [BZ #14132]
41110         * include/sys/time.h (__gettimeofday): Remove macro.
41111         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41112         * time/gettimeofday.c (__gettimeofday): Remove #undef.
41113         Remove INTDEF.
41114         (__gettimeofday): Add libc_hidden_def.
41115         (gettimeofday): Add libc_hidden_weak.
41116         * sysdeps/mach/gettimeofday.c: Likewise.
41117         * sysdeps/posix/gettimeofday.c: Likewise.
41118         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41119         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41120         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41121         (__gettimeofday_internal): Remove strong_alias.
41122         (__gettimeofday): Add libc_hidden_def.
41123         (gettimeofday): Add libc_hidden_weak.
41124         * sysdeps/unix/syscalls.list (gettimeofday):
41125         Remove __gettimeofday_internal alias.
41127 2012-05-24  Daniel Jacobowitz  <drow@false.org>
41128             H.J. Lu  <hongjiu.lu@intel.com>
41130         [BZ #12495]
41131         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41132         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41133         (largebin_index_32_big): New.
41134         (largebin_index): Use it for 16-byte alignment.
41135         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
41136         correction with front_misalign.
41138 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
41140         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41141         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41142         Likewise.
41143         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41144         Likewise.
41145         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41146         Likewise.
41147         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41148         Likewise.
41149         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41150         Likewise.
41151         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41152         Likewise.
41153         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41154         Likewise.
41155         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41156         Likewise.
41157         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41158         Likewise.
41159         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41160         Likewise.
41161         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41162         Likewise.
41163         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41164         Likewise.
41166         * scripts/data/c++-types-x32-linux-gnu.data: New file.
41167         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41169 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
41171         [BZ #10846]
41172         [BZ #14036]
41173         * math/libm-test.inc (exp_test): Add test from bug 14036.
41174         (pow_test): Add test from bug 10846.
41176         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41177         and other flags.
41178         (special_function): Do not include flags in test name.
41179         (parse_args): Likewise.
41180         * sysdeps/i386/fpu/libm-test-ulps: Update.
41181         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41182         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41183         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41184         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41186         * math/gen-libm-test.pl (%beautify): Add entries for underflow
41187         exceptions.
41188         * math/libm-test.inc ("Philosophy"): Update comment about
41189         exception testing.
41190         (UNDERFLOW_EXCEPTION): New macro.
41191         (UNDERFLOW_EXCEPTION_OK): Likewise.
41192         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41193         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41194         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41195         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41196         (INVALID_EXCEPTION_OK): Update value.
41197         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41198         (OVERFLOW_EXCEPTION_OK): Likewise.
41199         (IGNORE_ZERO_INF_SIGN): Likewise.
41200         (test_exceptions): Handle underflow exceptions.
41201         (acos_test): Update for underflow exception expectations.
41202         (cexp_test): Likewise.
41203         (clog_test): Likewise.
41204         (clog10_test): Likewise.
41205         (csqrt_test): Likewise.
41206         (ctan_test): Likewise.
41207         (ctanh_test): Likewise.
41208         (exp_test): Likewise.
41209         (exp10_test): Likewise.
41210         (exp2_test): Likewise.
41211         (expm1_test): Likewise.
41212         (fma_test): Likewise.
41213         (j0_test): Likewise.
41214         (jn_test): Likewise.
41215         (nexttoward_test): Likewise.
41216         (pow_test): Likewise.
41217         (scalbn_test): Likewise.
41218         (scalbln_test): Likewise.
41219         (tan_test): Likewise.
41220         (y1_test): Likewise.
41221         * sysdeps/i386/fpu/libm-test-ulps: Update.
41222         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41224 2012-05-23  David S. Miller  <davem@davemloft.net>
41226         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41227         (__libc_sigaction): Remove unused local variables.
41229 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41231         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41233 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
41235         mktime: avoid signed integer overflow
41236         * time/mktime.c (__mktime_internal): Do not mishandle the case
41237         where diff == INT_MIN.
41239         mktime: simplify computation of average
41240         * time/mktime.c (ranged_convert): Use new time_t_avg function
41241         instead of rolling our own (probably-slower) code.
41243         mktime: do not assume signed right shift propagates sign bit
41244         * time/mktime.c (isdst_differ): New static function.
41245         (__mktime_internal): No need to normalize tm_isdst now.
41246         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41247         tm_isdst values.
41249         mktime: merge another wrapv change from gnulib
41250         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41251         from some compilers.
41253         mktime: remove incorrect attempt at unusual arithmetics
41254         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41255         The code didn't really work on such machines anyway.
41256         (TYPE_MINIMUM): Assume two's complement.
41257         (twos_complement_arithmetic): Verify that long_int and time_t
41258         are two's complement (or unsigned, in the latter case).
41260         mktime: check signed shifts on long_int and time_t, too
41261         * time/mktime.c (SHR): Check that shifts work as desired
41262         on the types long_int and time_t too, as SHR is used on
41263         such types.
41265         mktime: do not assume 'long' is wide enough
41266         * time/mktime.c (verify): Move decl up.
41267         (long_int): New type.
41268         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41269         to remove assumption in the code that 'long' is wide enough to
41270         store year values.  This assumption is not true on x32 and on
41271         some non-glibc platforms.
41273         mktime: merge wrapv change from gnulib
41274         * time/mktime.c (WRAPV): New macro.
41275         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41276         (guess_time_tm, __mktime_internal): Do not assume that signed
41277         integer overflow wraps around; modern compilers generate code
41278         where this assumption is no longer valid.
41280 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41282         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41283         Replace "jmp L(pseudo_end)" with "ret".
41284         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41285         Likewise.
41287 2012-05-23  Andreas Jaeger  <aj@suse.de>
41289         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41290         * sysdeps/unix/sysv/linux/poll.c: Remove file.
41292 2012-05-23  Andreas Jaeger  <aj@suse.de>
41293             Maximilian Attems  <max@stro.at>
41295         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41296         New macros.
41298 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41300         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41301         code so that pseudo_end is just ret and the stack pointer is
41302         correct also for static library in error case.
41304 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
41306         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41307         move to syscalls.list.
41308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41313         * manual/install.texi (Running make install): Do not mention Linux
41314         kernel version for which pt_chown is not needed.
41315         (Linux): Do not mention problems with nscd with 2.0 kernels.
41316         * INSTALL: Regenerated.
41318 2012-05-23  Andreas Jaeger  <aj@suse.de>
41320         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41321         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41322         macro.
41323         * sysdeps/unix/sysv/linux/s390/bits/mman.h
41324         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41325         * sysdeps/unix/sysv/linux/sh/bits/mman.h
41326         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41327         * sysdeps/unix/sysv/linux/i386/bits/mman.h
41328         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41329         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41330         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41331         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41332         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41333         * sysdeps/unix/sysv/linux/bits/in.h
41334         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41336 2012-05-22  Roland McGrath  <roland@hack.frob.com>
41338         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41339         (PREPARE_VERSION): Just use assert instead, it will be elided
41340         under [NDEBUG] anyway.
41342 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41344         * sysdeps/unix/sysv/linux/Makefile: Include
41345         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
41346         (sysdep_routines): Remove sysctl.
41347         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41348         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41349         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41350         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41351         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41353 2012-05-22  Andreas Jaeger  <aj@suse.de>
41355         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41356         that pseudo_end is just ret and the stack pointer is correct also
41357         for static library in error case.
41359 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
41361         [BZ #14122]
41362         * nss/nsswitch.c (defconfig_entries): New variable.
41363         (__nss_database_lookup): Don't leak defconfig entries.
41364         (nss_parse_service_list): Don't leak on error paths.
41365         (free_database_entries): New function.
41366         (free_defconfig): New function.
41367         (free_mem): Move common code to free_database_entries.
41369 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41371         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41372         Add arch_prctl.
41373         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41375         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41376         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41377         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41378         New macro.
41379         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41380         (INTERNAL_SYSCALL_TYPES): Likewise.
41381         (LOAD_ARGS_TYPES_[1-6]): Likewise.
41382         (LOAD_REGS_TYPES_[1-6]): Likewise.
41383         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41384         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41386 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41388         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41389         copysignl for GLIBC_2_0.
41390         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41391         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41392         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41393         logbl for GLIBC_2_0.
41394         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41395         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41397 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41399         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41400         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41402         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41403         Use "neg %eax".
41405         * time/mktime.c: Update copyright years.
41407 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
41409         mktime: merge comment-quoting-style change from gnulib
41410         * time/mktime.c: Quote 'like this' in comments.
41411         The GNU coding standards suggest that we no longer quote `like this',
41412         as "`" and "'" are typically rendered asymmetrically nowadays.
41413         The typical gnulib style is to quote 'like this' when quoting
41414         code, and "like this" when quoting English.
41416         * time/mktime.c (compile-command): Add "-I.".
41418         mktime: merge mktime-internal.h change from gnulib
41419         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41421         mktime: merge time_r change from gnulib
41422         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41424         mktime: merge DEBUG change from gnulib
41425         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41426         case system <time.h> has a #define.
41428         mktime: merge <sys/types.h> change from gnulib
41429         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41430         since <time.t> is now guaranteed to define time_t.
41432         mktime: merge HAVE_CONFIG_H change from gnulib
41433         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41435 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41437         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41438         Use "neg %eax".
41440         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41441         __rlim_t cast.
41442         (struct rusage): Use anonymous union to pad each field to
41443         __syscall_slong_t.
41445 2012-05-21  David S. Miller  <davem@davemloft.net>
41447         * Makefules (o-iterator): Remove .s cases.
41448         (compile-command.s): Delete.
41449         (COMPILE.s): Delete.
41450         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41452 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
41454         * configure.in (libc_cv_predef_stack_protector): Only consider
41455         "foobar" and "__stack_chk_fail" lines in libc_undefs.
41456         * configure: Regenerated.
41458 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41460         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41461         New macro.  Use R*LP on int and pointer.
41462         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
41463         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41464         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
41465         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41467         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41468         [__WORDSIZE_TIME64_COMPAT32] instead of
41469         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41470         (struct utmp): Likewise.
41471         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41472         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41473         Renamed to ...
41474         (__WORDSIZE_TIME64_COMPAT32): This.
41475         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41476         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41477         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41478         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41479         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41480         (__WORDSIZE_TIME64_COMPAT32): New macro.
41482 2012-05-21  Andreas Jaeger  <aj@suse.de>
41484         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41485         only if [SHARED]. Add prototype for __wcschr_ia32.
41487 2012-05-21  Roland McGrath  <roland@hack.frob.com>
41489         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41490         of %rbp unmolested in the jmp_buf while mangling the low bits.
41491         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41492         unmolested high bits of %rbp while demangling the low bits.
41493         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41495 2012-05-21  Andreas Jaeger  <aj@suse.de>
41497         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41498         * sunrpc/svc_simple.c: Use it for registerrpc.
41499         * sunrpc/xcrypt.c: Use it for passwd2des.
41501         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41503 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41505         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41506         Don't define if [__SYSCALL_WORDSIZE != 32].
41507         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41508         New macro.
41510 2012-05-21  Bruno Haible  <bruno@clisp.org>
41511             Andreas Jaeger  <aj@suse.de>
41513         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41514         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41515         inptr and inend for must_buffer_ch.
41516         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41517         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41518         * stdio-common/Makefile (tests): Remove bug15.
41519         (bug15-ENV): Remove macro.
41520         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41521         anymore.
41523 2012-05-19  Andreas Jaeger  <aj@suse.de>
41524             Roland McGrath  <roland@hack.frob.com>
41526         * manual/contrib.texi: Completely rewritten. It contains now an
41527         alphabetical list of contributors and their contributions.
41529 2012-05-21  Richard Henderson  <rth@twiddle.net>
41531         * misc/getauxval.c (__getauxval): Use unsigned long int.
41532         * misc/sys/auxv.h: Include <sys/cdefs.h>.
41533         (getauxval): Use unsigned long int.
41535 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41537         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41539 2012-05-21  Roland McGrath  <roland@hack.frob.com>
41541         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41542         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41543         __alignof__ (long double).
41545 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41547         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41549 2012-05-20  Richard Henderson  <rth@twiddle.net>
41551         * misc/getauxval.c: New file.
41552         * misc/sys/auxv.h: New file.
41553         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41554         (routines): Add getauxval.
41555         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41556         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41557         * elf/dl-sysdep.c (_dl_auxv): Remove.
41558         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41559         * elf/dl-support.c (_dl_auxv): New variable.
41560         (_dl_aux_init): Initialize it.
41561         * manual/startup.texi (Auxiliary Vector): New node.
41562         * sysdeps/generic/bits/hwcap.h: New file.
41563         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41564         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
41565         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41566         * sysdeps/sparc/sysdep.h: ... here.  Include it.
41567         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41568         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
41569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41570         Update.
41571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41572         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41573         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41574         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41575         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41576         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41577         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41578         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41580 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41582         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41584 2012-05-19  David S. Miller  <davem@davemloft.net>
41586         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41588 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
41590         [BZ #14123]
41591         * math/s_ccosh.c: Include <float.h>
41592         (__ccosh): Avoid internal overflow calculating sinh and cosh
41593         values before multiplying by sin and cos values.
41594         * math/s_ccoshf.c: Likewise.
41595         * math/s_ccoshl.c: Likewise.
41596         * math/s_csin.c: Likewise.
41597         * math/s_csinf.c: Likewise.
41598         * math/s_csinl.c: Likewise.
41599         * math/s_csinh.c: Likewise.
41600         * math/s_csinhf.c: Likewise.
41601         * math/s_csinhl.c: Likewise.
41602         * math/libm-test.inc (ccos_test): Add more tests.
41603         (ccosh_test): Likewise.
41604         (csin_test): Likewise.
41605         (csinh_test): Likewise.
41606         * sysdeps/i386/fpu/libm-test-ulps: Update.
41607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41609 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
41611         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41612         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41614         * sysdeps/x86_64/x32/_itoa.h: Add comment.
41616 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
41618         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41619         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41620         * sysdeps/powerpc/soft-fp/Versions: Likewise.
41621         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41622         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41623         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41624         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41625         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41626         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41627         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41628         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41629         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41630         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41631         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41632         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41633         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41634         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41635         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41636         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41637         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41638         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41639         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41640         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41641         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41642         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41643         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41644         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41645         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41646         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41647         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41648         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41650 2012-05-18  Andreas Jaeger  <aj@suse.de>
41652         * csu/.gitignore: Delete.
41654 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41656         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41657         (timex): Use __syscall_slong_t.
41659 2012-05-18  Andreas Jaeger  <aj@suse.de>
41660             Carlos O'Donell  <carlos_odonell@mentor.com>
41662         * manual/install.texi (Configuring and compiling): Update
41663         description about files modified in the source directory.
41664         * INSTALL: Regenerated.
41666 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41668         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41669         value.  Use "or" to set return value to -1.
41670         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41671         negate return value.
41673 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41675         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41676         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
41677         failure if the compiler has Graphite support disabled.
41678         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41679         Likewise.
41680         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41681         (CFLAGS-memmove.c): Likewise.
41682         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41683         Likewise.
41685 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41687         * sysdeps/x86_64/x32/_itoa.h: New file.
41689         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41690         getdents system call only if kernel and user dirents have the
41691         same d_ino and d_off.
41693         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41694         LLONG_MAX != LONG_MAX.
41695         (_itoa_word): Use _ITOA_WORD_TYPE on value.
41696         (_fitoa_word): Likewise.
41698         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41699         years.
41700         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41701         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41702         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41704         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41705         include <bits/wordsize.h>.  Check __x86_64__ instead of
41706         __WORDSIZE.
41707         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41708         if __x86_64__ is defined.  Use anonymous union on fpstate.
41710         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41711         anonymous union.
41713 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
41715         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41716         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41717         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41718         Refer to _rtld_local_ro instead of _rtld_global_ro.
41719         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41720         Likewise.
41721         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41722         Likewise.
41723         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41724         Likewise.
41725         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41726         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41727         of _rtld_global, and rtld_progname instead of _dl_argv[0].
41729         * sysdeps/powerpc/powerpc32/dl-machine.c
41730         (__elf_machine_runtime_setup) [PROF]: Don't reference
41731         _dl_prof_resolve.
41733 2012-05-18  Andreas Jaeger  <aj@suse.de>
41735         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
41736         function only available for GCCs before 3.4 since GCC 3.4
41737         introduced a builtin.
41738         (lrint): Likewise.
41739         (llrintf): Likewise.
41740         (llrint): Likewise.
41741         (fmaxf): Likewise.
41742         (fmax): Likewise.
41743         (fminf): Likewise.
41744         (fmin): Likewise.
41745         (rint): Likewise.
41746         (rintf): Likewise.
41747         (nearbyint): Likewise.
41748         (nearbyintf): Likewise.
41749         (ceil): Likewise.
41750         (ceilf): Likewise.
41751         (floor): Likewise.
41752         (floorf): Likewise.
41754 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41756         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
41757         on both fields and cast pointer to __syscall_ulong_t.
41759         * bits/types.h (__fsword_t): New type.
41760         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
41761         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
41762         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41763         (__FSWORD_T_TYPE): Likewise.
41764         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41765         (__FSWORD_T_TYPE): Likewise.
41766         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41767         (__FSWORD_T_TYPE): Likewise.
41768         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
41769         (__FSWORD_T_TYPE): Likewise.
41770         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
41771         __SWORD_TYPE with __fsword_t.
41772         (statfs64): Likewise.
41774 2012-05-17  David S. Miller  <davem@davemloft.net>
41776         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
41778 2012-05-17  Andreas Jaeger  <aj@suse.de>
41780         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
41781         warning.
41783 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41785         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
41787 2012-05-17  Andreas Jaeger  <aj@suse.de>
41789         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
41790         when it is used.
41792 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
41794         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
41796 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41798         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
41799         * sysdeps/x86_64/tst-mallocalign1.c: New file.
41801 2012-05-17  Andreas Jaeger  <aj@suse.de>
41802             Carlos O'Donell  <carlos_odonell@mentor.com>
41804         [BZ #14059]
41805         * sysdeps/x86_64/multiarch/init-arch.h
41806         (bit_YMM_Usable): Rename to...
41807         (bit_AVX_Usable): ... this.
41808         (bit_FMA4_Usable): New macro.
41809         (bit_XMM_state): New macro.
41810         (bit_YMM_state): New macro.
41811         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
41812         [__ASSEMBLER__] (index_AVX_Usable): ... this.
41813         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
41814         (CPUID_OSXSAVE): New macro.
41815         (CPUID_AVX): New macro.
41816         (CPUID_FMA4): New macro.
41817         (index_YMM_Usable): Rename to...
41818         (index_AVX_Usable): ... this.
41819         (HAS_AVX): Use HAS_ARCH_FEATURE.
41820         (HAS_FMA4): Likewise.
41821         (HAS_YMM_USABLE): Remove.
41822         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41823         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
41824         are present.
41825         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
41826         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
41827         * sysdeps/x86_64/multiarch/Makefile: Likewise.
41828         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
41829         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
41831 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
41833         * math/libm-test.c: Support platforms without multiple rounding modes.
41834         * math/bug-nextafter.c: Support platforms without FP exceptions.
41835         * math/bug-nexttoward.c: Likewise.
41836         * math/test-fenv.c: Likewise.
41837         * math/test-misc.c: Likewise.
41838         * stdlib/bug-getcontext.c: Likewise.
41840 2012-05-17  Andreas Jaeger  <aj@suse.de>
41842         * manual/examples/search.c (critter_cmp): Change signature to
41843         avoid warnings.
41844         * manual/string.texi (Collation Functions): Likewise.
41846 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41848         * bits/types.h: Fold copyright years.
41849         * bits/typesizes.h: Likewise.
41850         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
41851         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41852         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
41853         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
41854         * time/time.h: Likewise.
41856 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
41858         [BZ #208]
41859         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
41860         in instead of returning them.  Return void.
41861         (__libc_mallinfo): Accumulate over all arenas.
41862         (__malloc_stats): Adjust for change in int_mallinfo interface.
41864 2012-05-16  Roland McGrath  <roland@hack.frob.com>
41866         [BZ #10375]
41867         * configure.in (NM): Add AC_CHECK_TOOL for it.
41868         (libc_extra_cflags): New substituted variable.
41869         Check for -fstack-protector being used implicitly.
41870         * configure: Regenerated.
41871         * config.make.in (config-extra-cflags): New variable,
41872         gets @libc_extra_cflags@.
41873         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
41875         [BZ #10375]
41876         * configure.in: Check for _FORTIFY_SOURCE being predefined.
41877         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
41878         * configure: Regenerated.
41879         * config.make.in (CPPUNDEFS): New substituted variable.
41880         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
41881         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
41882         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
41884 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41886         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
41887         (mq_attr): Use __syscall_slong_t.
41889 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41891         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
41892         Check __x86_64__ instead of __WORDSIZE.
41893         (_STAT_VER_LINUX): Likewise.
41894         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
41895         __syscall_ulong_t and __syscall_slong_t.
41896         (stat64): Likewise.
41898 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41900         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
41902 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41904         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
41906 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41908         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
41909         __syscall_ulong_t.
41911         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
41912         include <bits/wordsize.h>.  Check __x86_64__ instead of
41913         __WORDSIZE.
41914         (greg_t): Use "__extension__ long long int" if __x86_64__ is
41915         defined.
41916         (mcontext_t): Replace "unsigned long" with "unsigned long long".
41918         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
41919         include <bits/wordsize.h>.  Check __x86_64__ instead of
41920         __WORDSIZE.
41921         (user_regs_struct): Use "__extension__ unsigned long long"
41922         instead of "unsigned long" if __x86_64__ is defined.
41923         (user): Likewise.  Pad after pointer field if __ILP32__ is
41924         defined.
41926 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
41928         * configure.in (makeinfo): Require version 4.5 or later.  Allow
41929         versions 5 to 9.
41930         * configure: Regenerated.
41931         * manual/install.texi (texinfo): Increase version requirement to
41932         4.5 or later.
41933         * INSTALL: Regenerated.
41935         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
41937 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41939         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
41941         * sysdeps/x86_64/x32/ffs.c: New file.
41943         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
41944         __syscall_ulong_t.
41945         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
41946         defined.  Use __syscall_ulong_t.
41947         (shminfo): Use __syscall_ulong_t.
41948         (shm_info): Likewise.
41950         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
41951         __syscall_ulong_t.
41953         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
41954         <bits/wordsize.h>.
41955         (msgqnum_t): Use __syscall_ulong_t.
41956         (msglen_t): Likewise.
41957         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
41958         __syscall_ulong_t.
41960         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
41961         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41963         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
41965         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
41966         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
41968         * sysvipc/sys/msg.h (msgbuf): Replace long int with
41969         __syscall_slong_t.
41971         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
41972         include <bits/wordsize.h>.  Check __x86_64__ instead of
41973         __WORDSIZE.
41975         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
41976         "unsigned long long int" if __x86_64__ is defined.
41977         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
41979         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
41980         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41981         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
41983         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
41984         <stdint.h>.
41985         (GET_PC): Cast to uintptr_t first.
41986         (GET_FRAME): Likewise.
41987         (GET_STACK): Likewise.
41989         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
41990         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
41991         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
41992         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
41993         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
41994         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
41995         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
41996         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
41997         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
41998         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
41999         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42000         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42001         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42002         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42003         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42004         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42005         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42006         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42007         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42008         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42009         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42010         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42011         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42012         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42013         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42014         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42015         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42016         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42017         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42019 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
42021         * Makerules (+depfiles): Also collect depfiles from .oS in
42022         $(extra-objs).
42023         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42024         .oS, $(libnldbl-routines)).
42026         * Makerules (native-compile-mkdep-flags): Define.
42027         * sunrpc/Makefile (extra-objs): Add $(addprefix
42028         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42029         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42030         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
42031         calling $(make-target-directory).
42033 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42035         * bits/types.h (__snseconds_t): Removed.
42036         * time/time.h (struct timespec): Replace __snseconds_t with
42037         __syscall_slong_t.
42038         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42039         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42040         Likewise.
42041         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42042         (__SNSECONDS_T_TYPE): Likewise.
42043         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42044         (__SNSECONDS_T_TYPE): Likewise.
42045         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42046         (__SNSECONDS_T_TYPE): Likewise.
42048 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42050         * sysdeps/mach/hurd/bits/typesizes.h
42051         (__SYSCALL_SLONG_TYPE): New macro.
42052         (__SYSCALL_ULONG_TYPE): Likewise.
42054 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42056         * bits/types.h (__syscall_slong_t): New type.
42057         (__syscall_ulong_t): Likewise.
42059         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42060         (__SYSCALL_ULONG_TYPE): Likewise.
42061         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42062         (__SYSCALL_SLONG_TYPE): Likewise.
42063         (__SYSCALL_ULONG_TYPE): Likewise.
42064         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42065         (__SYSCALL_SLONG_TYPE): Likewise.
42066         (__SYSCALL_ULONG_TYPE): Likewise.
42067         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42068         (__SYSCALL_SLONG_TYPE): Likewise.
42069         (__SYSCALL_ULONG_TYPE): Likewise.
42071 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42073         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42074         Add sigaltstack-offsets.sym.
42075         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42076         <sigaltstack-offsets.h>.
42077         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
42078         longjmp_msg pointer.
42079         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
42080         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42081         signal stack.
42082         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42084 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
42086         * elf/stackguard-macros.h: Remove file.
42087         * sysdeps/generic/stackguard-macros.h: New file.
42088         * sysdeps/i386/stackguard-macros.h: Likewise.
42089         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42090         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42091         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42092         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42093         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42094         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42095         * sysdeps/x86_64/stackguard-macros.h: Likewise.
42096         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42097         <elf/stackguard-macros.h>.
42099         [BZ #14109]
42100         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42101         __aligned__ in attribute.
42102         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42103         (gregset_t): Likewise.
42105 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42107         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42108         * sysdeps/x86_64/64/Implies-after: Here.  New file.
42109         * sysdeps/x86_64/x32/Implies-after: New file.
42111 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42113         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42114         and access return value for _dl_profile_fixup.  Use R10_LP to
42115         load frame size.
42117 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42119         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42121 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42123         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42124         * sysdeps/x86_64/x32/sysdep.h: New file.
42126 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42128         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42129         * sysdeps/x86_64/setjmp.S: Likewise.
42131 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42133         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42134         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42135         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42136         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42137         remove unused global constant.
42139 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
42141         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42142         include of <not-cancel.h>.
42144 2012-05-15  Roland McGrath  <roland@hack.frob.com>
42146         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42148 2012-05-15  Jeff Law  <law@redhat.com>
42149             Andreas Jaeger  <aj@suse.de>
42151         [BZ #13594]
42152         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42153         out from...
42154         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42155         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42156         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42157         code changing __hst_map_handle.map.
42159 2012-05-15  Roland McGrath  <roland@hack.frob.com>
42161         * configure.in (sysnames): Look for Implies-before and Implies-after
42162         files.
42163         * configure: Regenerated.
42165 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42167         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42168         8-byte data alignment with LP_SIZE alignment.
42170 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42172         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42173         into R10_LP.
42175 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42177         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42179 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42181         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42182         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42183         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42184         Likewise.
42185         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42187 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42189         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42190         (stackinfo_sub_sp): Likewise.
42192 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42194         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42195         RAX_LP.
42197 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42199         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42200         into R*_LP.
42202 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42204         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42205         sizes into R*_LP.
42207 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42209         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42211 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42213         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42214         into R11_LP and load __x86_64_shared_cache_size_half into
42215         R8_LP.
42217 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42219         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42220         R8_LP.
42222 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42224         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42225         logb for POWER7.
42226         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42227         logbf for POWER7.
42228         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42229         logbl for POWER7.
42230         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42231         powerpc32/power7/fpu/s_logb.c via #include.
42232         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42233         powerpc32/power7/fpu/s_logbf.c via #include.
42234         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42235         powerpc32/power7/fpu/s_logbl.c via #include.
42237 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
42239         * README.libm: Remove file.
42241 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42243         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42244         count for x32.  Use R*_LP and omit operand-size suffix.
42246 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42248         * shlib-versions: Move x86_64-.*-linux.* entries to ...
42249         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
42250         * sysdeps/x86_64/x32/shlib-versions: New file.
42252 2012-05-14  Roland McGrath  <roland@hack.frob.com>
42254         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42255         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42256         Use _dl_fatal_printf instead.
42258 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
42260         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42261         set if not set by the user.  Do not allow for being unset.
42262         * sysdeps/unix/sysv/linux/configure: Regenerated.
42264 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42266         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42267         the `q' suffix from lea and replace .quad with ASM_ADDR.
42269 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42271         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42272         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
42273         instead of $17.
42274         (PTR_DEMANGLE): Likewise.
42276 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42278         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42279         (LP_OP): Likewise.
42280         (ASM_ADDR): Likewise.
42281         (RAX_LP): Likewise.
42282         (RBP_LP): Likewise.
42283         (RBX_LP): Likewise.
42284         (RCX_LP): Likewise.
42285         (RDI_LP): Likewise.
42286         (RSI_LP): Likewise.
42287         (RSP_LP): Likewise.
42288         (R8_LP): Likewise.
42289         (R9_LP): Likewise.
42290         (R10_LP): Likewise.
42291         (R10_LP): Likewise.
42292         (R11_LP): Likewise.
42293         (R12_LP): Likewise.
42294         (R13_LP): Likewise.
42295         (R14_LP): Likewise.
42296         (R15_LP): Likewise.
42298 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42300         * sysdeps/x86_64/x32/dl-machine.h: New file.
42302 2012-05-14  Andreas Jaeger  <aj@suse.de>
42304         * manual/Makefile (subdir): Remove export of subdir.
42305         (all): Remove target.
42306         (.PHONY): Remove all from list.
42307         (mkinstalldirs): Remove.
42308         (.PHONY): Remove installdirs from list.
42309         ($(inst_infodir)/libc.info): Use make-target-directory.
42310         (installdirs): Remove.
42311         (subdir_%): Remove.
42312         (glibc-targets): Remove.
42313         (lib): Remove.
42314         (stubs): Remove.
42315         ($(objpfx)stubs ../po/manual.pot): Remove.
42316         ($(objpfx)stamp%): Remove.
42317         (make-target-directory): Remove.
42318         (subdir_install): Remove.
42319         (routines): Remove.
42320         (aux): Remove.
42321         (sources): Remove.
42322         (objects): Remove.
42323         (headers): Remove.
42325         [BZ #13750]
42326         * manual/.gitignore: Remove, it's not needed anymore.
42327         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42328         all files in it.
42329         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42330         directory.
42331         (texis): Renamed to $(objpfx)texis.
42332         (texis-path): New, contains path to generated files.
42333         (chapters.%): Use texis-path for complete path, add extra argument
42334         libc-texinfo.sh.
42335         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42336         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42337         (summary,texi, stamp-summary): Use complete path of
42338         files. Generate files in build dir.
42339         (dir-add.texi): Build in build dir.
42340         (libm-err.texi,stamp-libm-err): Likewise.
42341         (version.texi, stamp-version): Likewise.
42342         (.%c.texi): Likewise.
42343         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42344         (mostlyclean): Remove target.
42345         (realclean): Remove target.
42346         (generated): Add new variable with contents from mostlyclean and
42347         realclean, remove entries duplicated in common-mostlyclean, add
42348         stamp-libm-err and stamp-version.
42349         (generated-dirs): Add libc directory.
42350         ($(inst_infodir)/libc.info): Install files from build dir.
42352         * manual/install.texi (Configuring and compiling): Adjust since
42353         the info files are not part of the tar ball anymore.
42355 2012-05-14  Andreas Jaeger  <aj@suse.de>
42357         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42358         variable.
42360 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
42362         [BZ #13717]
42363         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42364         to 2.2.0 where earlier.
42365         * sysdeps/unix/sysv/linux/configure: Regenerated.
42366         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42367         Remove conditional code.
42368         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42369         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42370         Remove conditional code.
42371         [!__NR_lchown]: Likewise.
42372         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42373         [__NR_lchown]: Likewise.
42374         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42375         comment referencing __ASSUME_LCHOWN_SYSCALL.
42376         * sysdeps/unix/sysv/linux/i386/sigaction.c
42377         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42378         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42379         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42380         Remove conditional code.
42381         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42382         (__protocol_available): Remove #if 0 code.
42383         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42384         conditional code.
42385         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42386         * sysdeps/unix/sysv/linux/kernel-features.h
42387         (__ASSUME_GETCWD_SYSCALL): Don't define.
42388         (__ASSUME_REALTIME_SIGNALS): Likewise.
42389         (__ASSUME_PREAD_SYSCALL): Likewise.
42390         (__ASSUME_PWRITE_SYSCALL): Likewise.
42391         (__ASSUME_POLL_SYSCALL): Likewise.
42392         (__ASSUME_LCHOWN_SYSCALL): Likewise.
42393         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42394         non-SPARC.
42395         (__ASSUME_SIOCGIFNAME): Don't define.
42396         (__ASSUME_MSG_NOSIGNAL): Likewise.
42397         (__ASSUME_SENDFILE): Define unconditionally.
42398         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42399         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42400         conditional code.
42401         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42402         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42403         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42404         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42405         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42406         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42407         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42408         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42409         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42410         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42411         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42412         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42413         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42415         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42416         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42418         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42419         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42421         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42422         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42424         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42425         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42427         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42428         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42430         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42431         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42432         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42433         Remove conditional code.
42434         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42435         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42436         Remove conditional code.
42437         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42438         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42439         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42440         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42441         Remove conditional code.
42442         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42443         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42444         Remove conditional code.
42445         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42446         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42447         Remove conditional code.
42448         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42449         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42450         Remove conditional code.
42451         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42452         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42453         Remove conditional code.
42454         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42455         * sysdeps/unix/sysv/linux/sh/pwrite64.c
42456         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42457         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42458         * sysdeps/unix/sysv/linux/sigaction.c
42459         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42460         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42461         * sysdeps/unix/sysv/linux/sigpending.c
42462         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42463         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42464         * sysdeps/unix/sysv/linux/sigprocmask.c
42465         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42466         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42467         * sysdeps/unix/sysv/linux/sigsuspend.c
42468         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42469         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42470         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42471         (__libc_missing_rt_sigs): Remove.
42472         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42473         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42474         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42475         Remove conditional code.
42476         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42477         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42478         return 1.
42479         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42480         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42481         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42482         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42484 2012-05-14  Andreas Jaeger  <aj@suse.de>
42486         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42487         it's not used in glibc.
42488         (__coshm1): Likewise.
42489         (__acosh1p): Likewise.
42490         (__sgn): Likewise.
42492         * manual/string.texi (Copying and Concatenation): Add missing
42493         variable in concat example.
42494         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42496 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42498         [BZ #14103]
42499         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42500         __builtin_clzl with __builtin_clzll.
42502 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42504         [BZ #14104]
42505         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42506         libc_freeres_ptr.
42508 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42510         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42511         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42512         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42513         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42515 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
42517         * NEWS: Update ia64 info.
42519 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
42521         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42522         used as bcopy.
42524 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
42526         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42527         * sysdeps/unix/syscalls.list (dup3): Likewise.
42528         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42529         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42531 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
42533         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42534         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42536 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
42538         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42539         thread pointer.
42540         (TLS_IE): Use mov/add instead of movq/addq to load thread
42541         pointer.
42542         (TLS_GD_PREFIX): New.
42543         (TLS_GD): Use it.
42545 2012-05-11  David S. Miller  <davem@davemloft.net>
42547         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42548         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42549         (_FPU_SETCW): Likewise.
42551 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42553         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42554         is 32-byte aligned.
42556 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
42558         [BZ #11837]
42559         * iconvdata/gb18030.c: Update tables.
42560         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
42561         characters specially.
42562         (BODY for TO_LOOP): Add encoding of missing ranges.
42564 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
42566         [BZ #13673]
42567         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42568         * sysdeps/mach/hurd/dup3.c: Likewise.
42569         * sysdeps/mach/hurd/readlinkat.c: Likewise.
42570         * sysdeps/powerpc/memmove.c:: Likewise.
42572 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42574         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42575         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42577 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42579         * elf/elf.h (R_X86_64_RELATIVE64): New.
42580         (R_X86_64_NUM): Updated.
42581         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42582         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
42583         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42584         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42585         tst-quad1pie tst-quad2pie
42586         (modules-names): Add tst-quadmod1 tst-quadmod2.
42587         ($(objpfx)tst-quad1): New dependency.
42588         ($(objpfx)tst-quad2): Likewise.
42589         ($(objpfx)tst-quad1pie): Likewise.
42590         ($(objpfx)tst-quad2pie): Likewise.
42591         * sysdeps/x86_64/tst-quad1.c: New file.
42592         * sysdeps/x86_64/tst-quad1pie.c: New file.
42593         * sysdeps/x86_64/tst-quad2.c: Likewise.
42594         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42595         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42596         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42597         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42598         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42600 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42602         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42603         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42604         * streams/stropts.h (t_scalar_t): Define type.
42606         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42607         (_PATH_PRESERVE): Set to "/var/lib".
42608         (_PATH_RWHODIR): Set to "/var/spool/rwho".
42610         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42611         instead of int.
42613         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42614         if __dir_mkfile succeeded.
42616         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42617         checking for _hurd_dtablesize.  Unlock it right after having
42618         finished _hurd_dtable allocation.
42620 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42622         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42623         * sysdeps/mach/hurd/configure: Regenerated.
42624         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42625         special-casing to...
42626         * sysdeps/gnu/configure.in: ... this new file.
42627         * sysdeps/unix/sysv/linux/configure: Regenerated.
42628         * sysdeps/gnu/configure: New generated file.
42630         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42631         for Linux: use nsec instead of usec, as well as:
42632         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42633         members of type struct timespec.
42634         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42635         New macros.
42636         (struct stat64): Likewise.
42637         (_STATBUF_ST_NSEC): New macro.
42638         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42640         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42641         __strtoul_internal rather than strtoul.
42643 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42645         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42646         and reject them.
42648 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42650         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42651         which preserves existing values.
42652         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42654 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42656         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42657         TIMEOUT values.  Return EINVAL for NFDS values either negative or
42658         greater than FD_SETSIZE.
42660 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42662         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42663         allocated, call __vm_protect to finish enabling the existing space, and
42664         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42665         allocate the remainder.
42667 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42669         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42670         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
42672 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42674         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42675         sysdeps/mach/hurd/readlink.c.
42677         * posix/tst-sysconf.c (posix_options): Only use
42678         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42679         _POSIX_SYNCHRONIZED_IO when they are defined
42680         * sysdeps/mach/hurd/bits/posix_opt.h:
42681         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42682         (_XOPEN_REALTIME): Undefine macro.
42683         (_XOPEN_REALTIME_THREADS): Undefine macro.
42684         (_XOPEN_SHM): Undefine macro.
42685         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42686         macro to -1.
42687         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42688         macro to -1.
42689         (_POSIX_ASYNC_IO): Undefine macro.
42690         (_POSIX_PRIORITIZED_IO): Undefine macro.
42691         (_POSIX_SPIN_LOCKS): Define macro to -1.
42693         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42694         SA_NODEFER, SA_RESETHAND.
42695         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42696         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42697         F_DUPFD_CLOEXEC.
42699 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42701         * elf/Makefile (pldd-modules): Define unconditionally.
42703 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42705         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42707 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42709         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42710         Return ENOENT when name is empty.
42711         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42713 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42715         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42717         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42719 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42721         Fix mlock in all cases except non-readable pages.
42722         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42723         instead of VM_PROT_ALL as parameter to __vm_wire function.
42725         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42726         (__mkdir): When path is `/', just fail with EEXIST.
42727         * sysdeps/mach/hurd/mkdirat.c: Likewise.
42729 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42731         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
42732         <sys/uio.h> (for writev).
42733         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
42734         and <sys/param.h> (for MIN).
42736 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42738         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
42739         REQUESTED_TIME.  Properly set the remaining time and return EINTR
42740         if interrupted.
42742 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42744         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
42745         Depend on against $(link-rpcuserlibs).
42747 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42749         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
42750         (__libc_stack_end): Do not use attribute_relro.
42751         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
42752         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
42753         to libthread-provided value.
42754         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
42755         attribute_relro.
42757 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42759         [BZ #3748]
42760         * bits/libc-lock.h (__libc_once_get): New macro.
42761         * sysdeps/mach/bits/libc-lock.h: Likewise.
42762         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
42763         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
42764         instead of using implementation details.
42766         * libio/fileops.c: Unconditionally include <kernel-features.h>.
42767         * libio/freopen.c: Likewise.
42768         * libio/freopen64.c: Likewise.
42769         * misc/syslog.c: Likewise.
42770         * nscd/connections.c: Likewise.
42771         * nscd/netgroupcache.c: Likewise.
42772         * sysdeps/posix/getcwd.c: Likewise.
42774 2012-05-10  Roland McGrath  <roland@hack.frob.com>
42776         * math/w_ilogbf.c: Add #include <limits.h>.
42778 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42780         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
42781         path instead of returning without unlocking.
42783         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
42784         immediate-write ioctls.
42785         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
42787 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42789         * sysdeps/mach/hurd/i386/init-first.c (init): Use
42790         __builtin_frame_address instead of making assumptions about the
42791         location of the return address relative to DATA.  Force early load of
42792         the return address.
42793         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
42794         __builtin_frame_address.
42796         dup3 for GNU Hurd.
42797         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
42798         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
42799         implement dup3 and do some further code clean-ups.
42800         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
42801         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
42803 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42805         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
42807         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
42808         HURD_CRITICAL_END around holding _hurd_dtable_lock.
42809         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
42810         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
42811         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
42812         d->port.lock.
42814         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
42815         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
42816         when handler == SIG_ERR, not when handler != SIG_ERR.
42818 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42820         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
42821         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
42822         definitions.
42824         accept4 for GNU Hurd.
42825         * include/sys/socket.h (__libc_accept4): New prototype.
42826         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
42827         to implement __libc_accept4.
42828         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
42829         __libc_accept4.
42830         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
42832         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
42833         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
42834         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
42835         signal-defines.sym.
42837 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42839         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
42841 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42843         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
42844         assertion on O_CLOEXEC flag.
42845         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
42846         * hurd/intern-fd.c: Likewise.
42847         * hurd/port2fd.c: Likewise.
42849 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42851         [BZ #3906]
42852         * bits/in.h (IPV6_PKTINFO): Define new macro.
42853         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
42855 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42857         [BZ #13954]
42858         [BZ #13955]
42859         [BZ #13956]
42860         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
42861         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42862         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
42863         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42864         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42865         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42866         * math/libm-test.inc (logb_test) : Additional logb tests.
42868 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
42869             Andreas Jaeger  <aj@suse.de>
42871         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
42872         * configure: Regenerated.
42873         * config.h.in (LINK_OBSOLETE_RPC): New macro.
42874         * config.make.in (link-obsolete-rpc): New substituted variable.
42875         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
42876         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
42877         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42878         (shared-only-routines): Don't set it under [link-obsolete-rpc],
42879         so that libc.a contains the symbols.
42880         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42881         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
42882         * sunrpc/auth_none.c: Likewise.
42883         * sunrpc/auth_unix.c: Likewise.
42884         * sunrpc/authdes_prot.c: Likewise.
42885         * sunrpc/authuxprot.c: Likewise.
42886         * sunrpc/clnt_gen.c: Likewise.
42887         * sunrpc/clnt_perr.c: Likewise.
42888         * sunrpc/clnt_raw.c: Likewise.
42889         * sunrpc/clnt_simp.c: Likewise.
42890         * sunrpc/clnt_tcp.c: Likewise.
42891         * sunrpc/clnt_udp.c: Likewise.
42892         * sunrpc/clnt_unix.c: Likewise.
42893         * sunrpc/des_crypt.c: Likewise.
42894         * sunrpc/des_soft.c: Likewise.
42895         * sunrpc/get_myaddr.c: Likewise.
42896         * sunrpc/key_call.c: Likewise.
42897         * sunrpc/key_prot.c: Likewise.
42898         * sunrpc/netname.c: Likewise.
42899         * sunrpc/pm_getmaps.c: Likewise.
42900         * sunrpc/pm_getport.c: Likewise.
42901         * sunrpc/pmap_clnt.c: Likewise.
42902         * sunrpc/pmap_prot.c: Likewise.
42903         * sunrpc/pmap_prot2.c: Likewise.
42904         * sunrpc/pmap_rmt.c: Likewise.
42905         * sunrpc/publickey.c: Likewise.
42906         * sunrpc/rpc_cmsg.c: Likewise.
42907         * sunrpc/rpc_common.c: Likewise.
42908         * sunrpc/rpc_dtable.c: Likewise.
42909         * sunrpc/rpc_prot.c: Likewise.
42910         * sunrpc/rpc_thread.c: Likewise.
42911         * sunrpc/rtime.c: Likewise.
42912         * sunrpc/svc.c: Likewise.
42913         * sunrpc/svc_auth.c: Likewise.
42914         * sunrpc/svc_raw.c: Likewise.
42915         * sunrpc/svc_run.c: Likewise.
42916         * sunrpc/svc_tcp.c: Likewise.
42917         * sunrpc/svc_udp.c: Likewise.
42918         * sunrpc/svc_unix.c: Likewise.
42919         * sunrpc/svcauth_des.c: Likewise.
42920         * sunrpc/xcrypt.c: Likewise.
42921         * sunrpc/xdr.c: Likewise.
42922         * sunrpc/xdr_array.c: Likewise.
42923         * sunrpc/xdr_float.c: Likewise.
42924         * sunrpc/xdr_intXX_t.c: Likewise.
42925         * sunrpc/xdr_mem.c: Likewise.
42926         * sunrpc/xdr_rec.c: Likewise.
42927         * sunrpc/xdr_ref.c: Likewise.
42928         * sunrpc/xdr_sizeof.c: Likewise.
42929         * sunrpc/xdr_stdio.c: Likewise.
42931 2012-05-10  Roland McGrath  <roland@hack.frob.com>
42933         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
42934         change.  Update copyright years.
42936 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
42938         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
42940 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
42941             Joseph Myers  <joseph@codesourcery.com>
42942             Paul Pluzhnikov  <ppluzhnikov@google.com>
42944         [BZ #14012]
42945         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
42946         requiring rpcgen.
42947         [cross-compiling] (extra-libs): Likewise.
42948         [cross-compiling] (extra-libs-others): Likewise.
42949         [cross-compiling] (librpcsvc-routines): Likewise.
42950         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
42951         [cross-compiling] (omit-deps): Likewise.
42952         (sunrpc-CPPFLAGS): New variable.
42953         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
42954         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
42955         (cross-rpcgen-objs): New variable.
42956         (extra-objs): Append $(cross-rpcgen-objs).
42957         ($(cross-rpcgen-objs)): New rule.
42958         ($(objpfx)cross-rpcgen): Likewise.
42959         (rpcgen-cmd): Define to use $(built-program-file).  Expand
42960         comment.
42961         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
42962         ($(objpfx)x%.stmp): Likewise.
42963         * sunrpc/proto.h [IS_IN_build] (_): Define.
42964         [IS_IN_build] (_libc_intl_domainname): Likewise.
42966 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42968         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
42969         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
42970         and R_X86_64_TPOFF64.
42972 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
42974         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
42975         sysdeps/unix/sysv/syscalls.list.
42976         (stime): Likewise.
42977         (utime): Likewise.
42978         * sysdeps/unix/sysv/syscalls.list: Remove file.
42980 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
42982         [BZ #3440]
42983         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
42984         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
42985         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
42986         (__LC_IDENTIFICATION): Make these macros useful in #if
42987         expressions, as required by C99.
42989 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
42991         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
42992         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
42993         after this.
42995 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
42997         * stdlib/longlong.h: Updated from GCC.
42999 2012-05-09  Andreas Jaeger  <aj@suse.de>
43001         * nscd/nscd.c (run_modes): Make named enum, reorder so that
43002         default is first entry.
43003         (run_mode): Set type.
43004         (main): Remove informal message about syslog.
43005         (options): Fix typo.
43007         [BZ #14053]
43008         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
43009         to asm.
43010         (lrint): Likewise.
43011         (llrintf): Likewise.
43012         (llrint): Likewise.
43013         (rint): Likewise.
43014         (rintf): Likewise.
43015         (nearbyint): Likewise.
43016         (nearbyintf): Likewise.
43018 2012-05-09  Andreas Jaeger  <aj@suse.de>
43019             Pedro Alves  <palves@redhat.com>
43021         * nscd/nscd.c (run_mode): Use enum.
43022         (main): Cleanup coding style issue.
43024 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
43025             Andreas Jaeger  <aj@suse.de>
43027         * nscd/nscd.c (go_background): Replaced with...
43028         (run_mode): ... this.
43029         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
43030         (options): Add -F --foreground.
43031         (main): Implement it.
43032         (parse_opt): Parse it.
43034 2012-05-09  Andreas Jaeger  <aj@suse.de>
43036         [BZ #14083]
43037         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43038         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43039         -Wconversion warning.
43040         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43041         Likewise.
43043 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
43045         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
43046         == 0.
43047         (LC_ALL): Use macro-int-constant.
43048         (LC_COLLATE): Likewise.
43049         (LC_CTYPE): Likewise.
43050         (LC_MESSAGES): Likewise.
43051         (LC_MONETARY): Likewise.
43052         (LC_NUMERIC): Likewise.
43053         (LC_TIME): Likewise.
43054         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43055         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43056         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43057         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43058         Specify type.
43059         [C99-based standards] (float_t): Expect type.
43060         [C99-based standards] (double_t): Expect type.
43061         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
43062         type.
43063         [C99-based standards] (HUGE_VALL): Likewise.
43064         [C99-based standards] (INFINITY): Likewise.
43065         [C99-based standards] (NAN): Likewise.
43066         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43067         [C99-based standards] (FP_NAN): Likewise.
43068         [C99-based standards] (FP_NORMAL): Likewise.
43069         [C99-based standards] (FP_SUBNORMAL): Likewise.
43070         [C99-based standards] (FP_ZERO): Likewise.
43071         [C99-based standards] (FP_FAST_FMA): Use
43072         optional-macro-int-constant.  Specify type.  Require == 1.
43073         [C99-based standards] (FP_FAST_FMAF): Likewise.
43074         [C99-based standards] (FP_FAST_FMAL): Likewise.
43075         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43076         [C99-based standards] (FP_ILOGBNAN): Likewise.
43077         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43078         Specify type.
43079         [C99-based standards] (MATH_ERREXCEPT): Likewise.
43080         [C99-based standards] (math_errhandling): Specify type.
43081         [ISO99 || ISO11] (signgam): Do not allow.
43082         [non-C99-based standards] (copysignf): Do not allow.
43083         [non-C99-based standards] (exp2f): Likewise.
43084         [non-C99-based standards] (log2f): Likewise.
43085         [non-C99-based standards] (modff): Allow.
43086         [non-C99-based standards] (erff): Do not allow.
43087         [non-C99-based standards] (erfcf): Likewise.
43088         [non-C99-based standards] (gammaf): Likewise.
43089         [non-C99-based standards] (hypotf): Likewise.
43090         [non-C99-based standards] (j0f): Likewise.
43091         [non-C99-based standards] (j1f): Likewise.
43092         [non-C99-based standards] (jnf): Likewise.
43093         [non-C99-based standards] (lgammaf): Likewise.
43094         [non-C99-based standards] (tgammaf): Likewise.
43095         [non-C99-based standards] (y0f): Likewise.
43096         [non-C99-based standards] (y1f): Likewise.
43097         [non-C99-based standards] (ynf): Likewise.
43098         [non-C99-based standards] (isnanf): Likewise.
43099         [non-C99-based standards] (acoshf): Likewise.
43100         [non-C99-based standards] (asinhf): Likewise.
43101         [non-C99-based standards] (atanhf): Likewise.
43102         [non-C99-based standards] (cbrtf): Likewise.
43103         [non-C99-based standards] (expm1f): Likewise.
43104         [non-C99-based standards] (ilogbf): Likewise.
43105         [non-C99-based standards] (log1pf): Likewise.
43106         [non-C99-based standards] (logbf): Likewise.
43107         [non-C99-based standards] (nextafterf): Likewise.
43108         [non-C99-based standards] (remainderf): Likewise.
43109         [non-C99-based standards] (rintf): Likewise.
43110         [non-C99-based standards] (scalbf): Likewise.
43111         [non-C99-based standards] (copysignl): Likewise.
43112         [non-C99-based standards] (exp2l): Likewise.
43113         [non-C99-based standards] (log2l): Likewise.
43114         [non-C99-based standards] (modfl): Allow.
43115         [non-C99-based standards] (erfl): Do not allow.
43116         [non-C99-based standards] (erfcl): Likewise.
43117         [non-C99-based standards] (gammal): Likewise.
43118         [non-C99-based standards] (hypotl): Likewise.
43119         [non-C99-based standards] (j0l): Likewise.
43120         [non-C99-based standards] (j1l): Likewise.
43121         [non-C99-based standards] (jnl): Likewise.
43122         [non-C99-based standards] (lgammal): Likewise.
43123         [non-C99-based standards] (tgammal): Likewise.
43124         [non-C99-based standards] (y0l): Likewise.
43125         [non-C99-based standards] (y1l): Likewise.
43126         [non-C99-based standards] (ynl): Likewise.
43127         [non-C99-based standards] (isnanl): Likewise.
43128         [non-C99-based standards] (acoshl): Likewise.
43129         [non-C99-based standards] (asinhl): Likewise.
43130         [non-C99-based standards] (atanhl): Likewise.
43131         [non-C99-based standards] (cbrtl): Likewise.
43132         [non-C99-based standards] (expm1l): Likewise.
43133         [non-C99-based standards] (ilogbl): Likewise.
43134         [non-C99-based standards] (log1pl): Likewise.
43135         [non-C99-based standards] (logbl): Likewise.
43136         [non-C99-based standards] (nextafterl): Likewise.
43137         [non-C99-based standards] (remainderl): Likewise.
43138         [non-C99-based standards] (rintl): Likewise.
43139         [non-C99-based standards] (scalbl): Likewise.
43140         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43141         [non-C99-based standards] (FP_*): Do not allow.
43142         [C99-based standards] (FP_*): Change to
43143         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43144         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43145         allow.
43146         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43147         (SIG_ERR): Likewise.
43148         [X/Open-based standards] (SIG_HOLD): Likewise.
43149         (SIG_IGN): Likewise.
43150         (SIGABRT): Use macro-int-constant.  Specify type.  Require
43151         positive value.
43152         (SIGFPE): Likewise.
43153         (SIGILL): Likewise.
43154         (SIGINT): Likewise.
43155         (SIGSEGV): Likewise.
43156         (SIGTER): Likewise.
43157         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43158         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43159         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43160         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43161         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43162         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43163         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43164         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43165         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43166         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43167         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43168         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43169         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43170         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43171         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43172         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43173         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43174         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43175         [X/Open-based standards] (SIGTRAP): Likewise.
43176         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43177         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43178         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43179         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43180         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43181         allow.
43183 2012-05-08  Ian Wienand  <ianw@vmware.com>
43185         [BZ #14080]
43186         * time/tzset.c (__tzset_parse_tz): Update default rules for
43187         daylight time changes in the Energy Policy Act of 2005.
43189 2012-05-09  Andreas Jaeger  <aj@suse.de>
43191         [BZ #13983]
43192         * elf/ldconfig.c (parse_conf): Change string to make clear that
43193         ldconfig only issued a warning if ld.so.conf does not exist.
43195 2012-05-08  David S. Miller  <davem@davemloft.net>
43197         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43198         movxtod instead of popping the value on the stack.
43200         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43202 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
43204         * config.h.in: Add HAVE_ARM_PCS_VFP.
43206 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
43208         [BZ #13979]
43209         * include/features.h: Warn if user requests __FORTIFY_SOURCE
43210         checking but the checks are disabled for any reason.
43212 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
43214         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43215         and ELF64_R_TYPE with ELFW(R_TYPE).
43217 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
43219         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43220         (ulimit): Likewise.
43222         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43223         (settimeofday): Likewise.
43225 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
43227         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
43228         a struct th_u2 inside the union, and move tu_block/tu_code into
43229         a new th_u3 union of tu_block/tu_code inside of that.  Move
43230         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
43231         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
43232         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43233         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43234         (th_stuff): Change to th_u1.tu_stuff.
43235         (th_data): Define.
43236         (th_msg): Change to th_u1.th_u2.tu_data.
43238 2012-05-07  David S. Miller  <davem@davemloft.net>
43240         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43242         [BZ #14074]
43243         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43244         (SETUP_PIC_REG): Use it.
43245         (SETUP_PIC_REG_LEAF): Use it.
43247 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
43249         [BZ #13885]
43250         [BZ #13923]
43251         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43252         USE_AS_EXPM1L.
43253         (EXPL_FINITE): Likewise.
43254         (FLDLOG): Likewise.
43255         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43256         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43257         e_expl.S.
43258         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43259         USE_AS_EXPM1L.
43260         (EXPL_FINITE): Likewise.
43261         (FLDLOG): Likewise.
43262         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43263         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43264         e_expl.S.
43265         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
43266         test of -max_value argument for long double.
43267         * sysdeps/i386/fpu/libm-test-ulps: Update.
43268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43270 2012-05-06  David S. Miller  <davem@davemloft.net>
43272         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43273         quad soft-float symbols whose references which are compiler
43274         generated.
43275         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43277 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
43279         [BZ #13884]
43280         [BZ #13914]
43281         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43282         USE_AS_EXP10L.
43283         (EXPL_FINITE): Likewise.
43284         (FLDLOG): Likewise.
43285         (c0): Likewise.
43286         (c1): Likewise.
43287         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
43288         Adjust comments for base varying.
43289         (__expl_finite): Change alias to EXPL_FINITE.
43290         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43291         e_expl.S.
43292         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43293         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43294         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43295         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43296         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43297         USE_AS_EXP10L.
43298         (EXPL_FINITE): Likewise.
43299         (FLDLOG): Likewise.
43300         (c0): Likewise.
43301         (c1): Likewise.
43302         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
43303         Adjust comments for base varying.
43304         (__expl_finite): Change alias to EXPL_FINITE.
43305         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
43306         tests for bugs.
43307         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43309         [BZ #14064]
43310         * math/libm-test.inc (check_float_internal): Correct ulp
43311         calculation for subnormal expected results.
43313 2012-05-06  Andreas Jaeger  <aj@suse.de>
43315         * Makeconfig (+math-flags): New, set to -frounding-math.
43316         (+cflags): Add +math-flags so that all of glibc gets compiled with
43317         it.
43319         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43321 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
43323         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43324         Disable one test.
43326         [BZ #13787]
43327         [BZ #13922]
43328         [BZ #14036]
43329         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43330         (__ieee754_expl): Allow for and saturate large arguments.
43331         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43332         (u_threshold): Likewise.
43333         (__exp): Call __ieee754_exp before checking for overflow and
43334         underflow.
43335         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43336         (u_threshold): Likewise.
43337         (__expf): Call __ieee754_expf before checking for overflow and
43338         underflow.
43339         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43340         (u_threshold): Likewise.
43341         (__expl): Call __ieee754_expl before checking for overflow and
43342         underflow.
43343         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43344         (__ieee754_expl): Allow for and saturate large arguments.
43345         * math/libm-test.inc (exp_test): Add another test.  Do not allow
43346         missing overflow exception on overflow.
43347         (expm1_test): Do not allow missing overflow exception on overflow.
43349         * sysdeps/i386/fpu/e_expl.c: Move to ...
43350         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
43351         rather than using inline asm.
43352         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43353         * sysdeps/x86_64/fpu/e_expl.S: Copy from
43354         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43356         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43357         (nice): Likewise.
43358         (poll): Likewise.
43359         (signal): Likewise.
43360         (time): Likewise.
43361         (times): Likewise.
43363 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43365         * sysdeps/unix/syscalls.list (adjtime): Add entry from
43366         sysdeps/unix/common/syscalls.list.
43367         (fchmod): Likewise.
43368         (fchown): Likewise.
43369         (ftruncate): Likewise.
43370         (getrusage): Likewise.
43371         (gettimeofday): Likewise.
43372         (setpgid): Likewise.
43373         (setregid): Likewise.
43374         (setreuid): Likewise.
43375         (sigaction): Likewise.
43376         (truncate): Likewise.
43377         (vhangup): Likewise.
43378         * sysdeps/unix/common/syscalls.list: Remove file.
43379         * sysdeps/unix/bsd/Implies: Don't include unix/common.
43380         * sysdeps/unix/sysv/linux/Implies: Likewise.
43382 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
43384         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43385         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43386         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43387         Moved to ...
43388         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43389         Here.
43390         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43391         to ...
43392         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43393         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43394         to ...
43395         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43396         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43397         to ...
43398         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43399         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43400         to ...
43401         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43402         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43403         to ...
43404         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43405         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43406         to ...
43407         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43408         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43409         to ...
43410         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43411         Here.
43412         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43413         to ...
43414         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43415         Here.
43416         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43417         to ...
43418         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43419         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43420         Moved to ...
43421         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43422         Here.
43423         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43424         to ...
43425         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43427 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43429         * sysdeps/unix/common/bits/dirent.h: Remove file.
43430         * sysdeps/unix/common/bits/fcntl.h: Likewise.
43432         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43433         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43434         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43435         * sysdeps/unix/bsd/isatty.c: Likewise.
43436         * sysdeps/unix/bsd/tcdrain.c: Likewise.
43437         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43438         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43440 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43442         [BZ #13563]
43443         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43444         long double comparison inaccuracies.
43445         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43446         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43448 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
43450         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43451         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43453 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43455         [BZ #14049]
43456         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43457         nonzero digits before rounding a hex value.
43458         * stdlib/tst-strtod.c (tests): Add another test.
43460 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43462         * sysdeps/s390/fpu/libm-test-ulps: Update.
43464 2012-05-03  Andreas Jaeger  <aj@suse.de>
43466         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43467         does not get optimized out.
43468         (malloc_opt_barrier): New.
43470 2012-05-03  Andreas Jaeger  <aj@suse.de>
43471             Roland McGrath  <roland@hack.frob.com>
43473         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
43474         intermediate file deletion.
43475         (generated): Add .symlist files.
43477 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
43479         [BZ #13775]
43480         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43481         Redirect under this condition.
43482         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43483         [__USE_GNU] (__dprintf_chk): Not under this condition.
43484         [__USE_GNU] (__vdprintf_chk): Likewise.
43485         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43486         under this condition.
43487         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43488         [__USE_XOPEN2K8] (dprintf): Define under this condition.
43489         [__USE_XOPEN2K8] (vdprintf): Likewise.
43490         [__USE_GNU] (__dprintf_chk): Not under this condition.
43491         [__USE_GNU] (__vdprintf_chk): Likewise.
43492         [__USE_GNU] (dprintf): Likewise.
43493         [__USE_GNU] (vdprintf): Likewise.
43495 2012-05-03  Roland McGrath  <roland@hack.frob.com>
43497         * elf/Makefile (common-generated): Set this instead of generated for
43498         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
43499         $(all-built-dso)-derived lists.
43501 2012-05-03  Andreas Jaeger  <aj@suse.de>
43503         * sysdeps/i386/fpu/libm-test-ulps: Update.
43505         * FAQ: Removed.
43506         * FAQ.in: Likewise.
43507         * scripts/gen-FAQ.pl: Likewise.
43508         * manual/install.texi (Installation): Point to online location of
43509         FAQ.
43510         * Makefile (files-for-dist): Remove FAQ.
43511         (FAQ): Remove.
43513 2012-05-02  Allan McRae  <allan@archlinux.org>
43515         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43516         (LDFLAGS-reldepmod5.so): Likewise.
43517         (LDFLAGS-reldep6mod1.so): Likewise.
43518         (LDFLAGS-reldep6mod4.so): Likewise.
43519         (LDFLAGS-reldep8mod3.so): Likewise.
43520         (LDFLAGS-unload4mod1.so): Likewise.
43521         (LDFLAGS-unload4mod2.so): Likewise.
43522         (LDFLAGS-tst-initorder): Likewise.
43523         (LDFLAGS-tst-initordera2.so): Likewise.
43524         (LDFLAGS-tst-initordera3.so): Likewise.
43525         (LDFLAGS-tst-initordera4.so): Likewise.
43526         (LDFLAGS-tst-initorderb2.so): Likewise.
43527         (LDFLAGS-noload): Likewise.
43528         (LDFLAGS-next): Likewise.
43529         (LDFLAGS-order2mod1.so): Likewise.
43530         (LDFLAGS-order2mod2.so): Likewise.
43531         (LDFLAGS-tst-initorder2): Likewise.
43532         (LDFLAGS-tst-initorder2a.so): Likewise.
43533         (LDFLAGS-tst-initorder2b.so): Likewise.
43534         (LDFLAGS-tst-initorder2c.so): Likewise.
43535         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43537 2012-05-02  David S. Miller  <davem@davemloft.net>
43539         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43541 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
43543         [BZ #14055]
43544         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43546 2012-05-02  Andreas Jaeger  <aj@suse.de>
43548         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43549         since we manipulate rounding mode.
43550         (CPPFLAGS-test-idouble.c): Likewise.
43551         (CPPFLAGS-test-ifloat.c): Likewise.
43552         (CFLAGS-test-ldouble.c): Likewise.
43553         (CFLAGS-test-double.c): Likewise.
43554         (CFLAGS-test-float.c): Likewise.
43555         (CFLAGS-test-misc.c): Likewise.
43556         (CFLAGS-test-test-fenv.c): Likewise.
43558 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43560         [BZ #2550]
43561         [BZ #2570]
43562         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43563         comparisons to determine direction to adjust input.
43565 2012-05-01  Roland McGrath  <roland@hack.frob.com>
43567         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43568         output to the target.
43570         * scripts/localplt.awk: New file.
43571         * elf/Makefile ($(objpfx)check-localplt): Target removed.
43572         (check-localplt-CFLAGS): Variable removed.
43573         ($(all-built-dso:=.jmprel)): New static pattern rule.
43574         (generated): Add those targets.
43575         (localplt-built-dso): New variable.
43576         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43578         * elf/check-localplt.c: File removed.
43580         * scripts/check-execstack.awk: New file.
43581         * elf/Makefile ($(objpfx)check-execstack): Target removed.
43582         (check-execstack-CFLAGS): Variable removed.
43583         ($(objpfx)check-execstack.h): Target removed.
43584         ($(objpfx)execstack-default): New target.
43585         (generated): Add that instead of check-execstack.h.
43586         ($(all-built-dso:=.phdr)): New static pattern rule.
43587         (generated): Add those targets.
43588         * elf/check-execstack.c: File removed.
43590         * scripts/check-textrel.awk: New file.
43591         * elf/Makefile ($(objpfx)check-textrel): Target removed.
43592         (check-textrel-CFLAGS): Variable removed.
43593         (all-built-dso): Use := to define.o
43594         ($(all-built-dso:=.dyn)): New static pattern rule.
43595         (generated): Add those targets.
43596         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43597         * config.make.in (READELF): New substituted variable.
43598         * elf/check-textrel.c: File removed.
43600 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
43602         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43603         allow.
43604         * conform/data/ctype.h-data [C99-based standards] (isblank):
43605         Expect function.
43606         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43607         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43608         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43609         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43610         Specify type.  Require positive value.
43611         (EILSEQ): Likewise.
43612         (ERANGE): Likewise.
43613         [ISO || POSIX] (EILSEQ): Do not expect.
43614         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43615         Specify type.  Require positive value.
43616         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43617         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43618         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43619         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43620         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43621         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43622         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43623         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43624         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43625         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43626         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43627         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43628         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43629         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43630         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43631         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43632         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43633         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43634         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43635         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43636         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43637         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43638         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43639         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43640         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43641         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43642         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43643         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43644         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43645         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43646         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43647         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43648         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43649         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43650         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43651         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43652         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43653         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43654         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43655         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43656         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43657         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43658         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43659         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43660         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43661         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43662         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43663         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43664         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43665         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43666         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43667         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43668         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43669         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43670         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43671         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43672         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43673         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43674         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43675         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43676         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43677         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43678         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43679         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43680         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43681         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43682         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43683         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43684         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43685         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43686         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43687         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43688         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43689         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43690         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43691         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43692         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43693         Require >= 2.
43694         (FLT_ROUNDS): Expect as macro, not constant.
43695         (FLT_MANT_DIG): Use macro-int-constant.
43696         (DBL_MANT_DIG): Likewise.
43697         (LDBL_MANT_DIG): Likewise.
43698         (FLT_DIG): Likewise.
43699         (DBL_DIG): Likewise.
43700         (LDBL_DIG): Likewise.
43701         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
43702         (DBL_MIN_EXP): Likewise.
43703         (LDBL_MIN_EXP): Likewise.
43704         (FLT_MAX_EXP): Use macro-int-constant.
43705         (DBL_MAX_EXP): Likewise.
43706         (LDBL_MAX_EXP): Likewise.
43707         (FLT_MAX_10_EXP): Likewise.
43708         (DBL_MAX_10_EXP): Likewise.
43709         (LDBL_MAX_10_EXP): Likewise.
43710         (FLT_MAX): Use macro-constant.
43711         (DBL_MAX): Likewise.
43712         (LDBL_MAX): Likewise.
43713         (FLT_EPSILON): Use macro-constant.  Give upper bound.
43714         (DBL_EPSILON): Likewise.
43715         (LDBL_EPSILON): Likewise.
43716         (FLT_MIN): Likewise.
43717         (DBL_MIN): Likewise.
43718         (LDBL_MIN): Likewise.
43719         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43720         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43721         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43722         [ISO11] (FLT_HAS_SUBNORM): Likewise.
43723         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43724         [ISO11] (DBL_DECIMAL_DIG): Likewise.
43725         [ISO11] (FLT_DECIMAL_DIG): Likewise.
43726         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43727         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43728         [ISO11] (FLT_TRUE_MIN): Likewise.
43729         [ISO11] (LDBL_TRUE_MIN): Likewise.
43730         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43731         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
43732         (SCHAR_MIN): Use macro-int-constant.  Specify type.
43733         (SCHAR_MAX): Likewise.
43734         (UCHAR_MAX): Likewise.
43735         (CHAR_MIN): Likewise.
43736         (CHAR_MAX): Likewise.
43737         (MB_LEN_MAX): Use macro-int-constant.
43738         (SHRT_MIN): Use macro-int-constant.  Specify type.
43739         (SHRT_MAX): Likewise.
43740         (USHRT_MAX): Likewise.
43741         (INT_MAX): Likewise.
43742         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
43743         bound negative.
43744         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43745         bound with "U".
43746         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43747         bound with "L".
43748         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
43749         bound negative.  Suffix upper bound with "L".
43750         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43751         bound with "UL".
43752         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
43753         Specify type.
43754         [C99-based standards] (LLONG_MAX): Likewise.
43755         [C99-based standards] (ULLONG_MAX): Likewise.
43756         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
43757         == 0.
43758         [ISO11] (max_align_t): Require type.
43759         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43761         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
43762         from $CFLAGS, without defining away __attribute__ calls.
43763         (checknamespace): Use $CFLAGS_namespace.
43765         * conform/conformtest.pl (@keywords): Only include C99 keywords
43766         for standards based on C99 or C11.
43768         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
43769         Disable tests.
43770         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
43771         UNIX98]: Likewise.
43773         * conform/conformtest.pl: Handle "macro-int-constant" and test for
43774         usability of symbols in #if.
43776         * conform/conformtest.pl: If macro or constant types start
43777         "promoted:", expect the symbol to be of the following type
43778         promoted by the integer promotions.
43780         * conform/conformtest.pl: Parse all "constant" and "macro" lines
43781         in one place.  Also handle "macro-constant".
43783         * conform/conformtest.pl: Only accept expected macro values with
43784         "==".  Parse all "macro" lines in one place.
43785         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
43787         * conform/conformtest.pl: Handle braced types on "constant" lines
43788         instead of handling "typed-constant".
43789         * conform/data/signal.h-data: Use "constant" instead of
43790         "typed-constant".
43792         * conform/conformtest.pl: Handle "optional-" at start of lines in
43793         one place rather than duplicating several cases.  Handle each
43794         format of "macro" line with initial "optional-".
43796         * conform/conformtest.pl: Only accept expected constant or
43797         optional-constant values with "==".  Parse all "constant" lines in
43798         one place.  Parse all "optional-constant" lines in one place.
43799         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
43800         * conform/data/fmtmsg.h-data: Likewise.
43801         * conform/data/netinet/in.h-data: Likewise.
43802         * conform/data/tar.h-data: Likewise.
43803         * conform/data/limits.h-data: Use "==" form on "constant" and
43804         "optional-constant" lines.
43806         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
43807         Use -std=c99 for XOPEN2K.
43808         (@knownproblems): Remove.
43809         (newtoken): Don't check %isknown.
43811         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
43812         Do not expect macro.
43813         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
43814         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
43815         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
43816         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
43817         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
43818         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
43819         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
43820         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
43821         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
43822         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
43823         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
43824         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
43825         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
43826         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
43827         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
43828         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
43829         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
43830         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
43831         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
43832         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
43833         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
43834         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
43835         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
43836         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
43837         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
43838         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
43839         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
43840         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
43841         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
43842         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
43843         [XPG3] (acosh): Likewise.
43844         [XPG3] (asinh): Likewise.
43845         [XPG3] (atanh): Likewise.
43846         [XPG3] (cbrt): Likewise.
43847         [XPG3] (expm1): Likewise.
43848         [XPG3] (ilogb): Likewise.
43849         [XPG3] (log1p): Likewise.
43850         [XPG3] (logb): Likewise.
43851         [XPG3] (nextafter): Likewise.
43852         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
43853         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
43854         [XPG3] (remainder): Likewise.
43855         [XPG3] (rint): Likewise.
43856         [XPG3 || XPG4 || UNIX98] (round): Likewise.
43857         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
43858         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
43859         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
43860         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
43861         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
43862         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
43863         [UNIX98 || XOPEN2K] (scalb): Expect.
43864         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
43865         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
43866         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
43867         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
43868         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
43869         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
43870         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
43871         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
43872         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
43873         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
43874         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
43875         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
43876         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
43877         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
43878         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
43879         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
43880         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
43881         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
43882         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
43883         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
43884         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
43885         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
43886         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
43887         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
43888         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
43889         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
43890         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
43891         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
43892         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
43893         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
43894         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
43895         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
43896         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
43897         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
43898         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
43899         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
43900         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
43901         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
43902         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
43903         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
43904         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
43905         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
43906         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
43907         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
43908         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
43909         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
43910         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
43911         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
43912         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
43913         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
43914         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
43915         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
43916         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
43917         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
43918         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
43919         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
43920         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
43921         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
43922         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
43923         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
43924         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
43925         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
43926         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
43927         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
43928         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
43929         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
43930         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
43931         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
43932         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
43933         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
43934         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
43935         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
43936         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
43937         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
43938         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
43939         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
43940         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
43941         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
43942         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
43943         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
43944         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
43945         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
43946         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
43947         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
43948         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
43949         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
43950         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
43951         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
43952         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
43953         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
43954         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
43955         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
43956         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
43957         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
43958         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
43959         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
43960         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
43961         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
43962         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
43963         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
43964         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
43965         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
43966         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
43967         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
43968         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
43969         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
43970         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
43971         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
43972         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
43973         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
43974         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
43975         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
43976         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
43977         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
43978         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
43979         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
43980         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
43981         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
43982         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
43983         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
43984         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
43985         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
43986         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
43987         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
43988         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
43989         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
43990         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
43991         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
43992         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
43993         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
43994         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
43995         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
43996         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
43997         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
43998         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
43999         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44000         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44002         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44003         _XOPEN_SOURCE_EXTENDED for XPG4.
44005         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44007         * Makeconfig (localtime): Remove variable.
44008         (inst_localtime-file): Likewise.
44010 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44013         Update.
44014         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44015         Update.
44016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44017         Update.
44018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44019         Update.
44020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44021         Update.
44022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44023         Update.
44024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44025         Update.
44026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44027         Update.
44028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44029         Update.
44031 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
44033         [BZ #2550]
44034         [BZ #2570]
44035         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44036         comparisons to determine direction to adjust input.
44037         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44038         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44039         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44040         Likewise.
44041         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44042         Likewise.
44043         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44044         Likewise.
44045         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44046         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44047         Likewise.
44048         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44049         Likewise.
44050         * math/libm-test.inc (nexttoward_test): Add more tests.
44052 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44054         [BZ #14040]
44055         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44056         in version GLIBC_2.1, not GLIBC_2.0.
44057         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44058         Likewise.
44060 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
44062         [BZ #13942]
44063         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44064         (1 - x) * (1 + x).
44065         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44066         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44067         * math/libm-test.inc (acos_test): Add more tests.
44068         (asin_test): Likewise.
44069         * sysdeps/i386/fpu/libm-test-ulps: Update.
44070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44072         [BZ #14034]
44073         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44074         of square root.
44075         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44076         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44077         * math/libm-test.inc (acos_test_tonearest): New function.
44078         (acos_test_towardzero): Likewise.
44079         (acos_test_downward): Likewise.
44080         (acos_test_upward): Likewise.
44081         (asin_test_tonearest): Likewise.
44082         (asin_test_towardzero): Likewise.
44083         (asin_test_downward): Likewise.
44084         (asin_test_upward): Likewise.
44085         (main): Call the new functions.
44086         * sysdeps/i386/fpu/libm-test-ulps: Update.
44087         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44089         [BZ #13884]
44090         [BZ #13924]
44091         * math/e_exp10.c: Include <float.h>.
44092         (__ieee754_exp10): Handle underflow here rather than multiplying
44093         large negative argument by M_LN10.
44094         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44095         of __ieee754_expf.
44096         * math/e_exp10l.c: Include <float.h>.
44097         (__ieee754_exp10l): Handle underflow here rather than multiplying
44098         large negative argument by M_LN10l.
44099         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
44100         spurious overflow exception on underflow.
44102 2012-04-29  Marek Polacek  <polacek@redhat.com>
44104         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44105         (__fortify_function): New macro.
44106         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44107         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44108         __extern_always_inline.
44109         * libio/bits/stdio2.h: Likewise.
44110         * libio/bits/stdio.h: Likewise.
44111         * string/string.h: Likewise.
44112         * string/bits/string3.h: Likewise.
44113         * include/stdio.h: Likewise.
44114         * stdlib/bits/stdlib.h: Likewise.
44115         * stdlib/stdlib.h: Likewise.
44116         * rt/bits/mqueue2.h: Likewise.
44117         * rt/mqueue.h: Likewise.
44118         * posix/bits/unistd.h: Likewise.
44119         * posix/unistd.h: Likewise.
44120         * io/bits/poll2.h: Likewise.
44121         * io/bits/fcntl2.h: Likewise.
44122         * io/fcntl.h: Likewise.
44123         * io/sys/poll.h: Likewise.
44124         * misc/bits/syslog.h: Likewise.
44125         * misc/bits/syslog-ldbl.h: Likewise.
44126         * misc/sys/syslog.h: Likewise.
44127         * socket/bits/socket2.h: Likewise.
44128         * socket/sys/socket.h: Likewise.
44129         * debug/tst-chk1.c: Likewise.
44130         * wcsmbs/bits/wchar2.h: Likewise.
44131         * wcsmbs/bits/wchar-ldbl.h: Likewise.
44132         * wcsmbs/wchar.h: Likewise.
44134 2012-04-29  Andreas Jaeger  <aj@suse.de>
44136         * Makerules (tests): Remove enable-check-abi protection.
44137         (check-abi-warn): Remove.
44138         (check-abi-%): Remove check-abi-warn usage.
44140         * configure.in: Remove check-abi configure option.
44141         * configure: Regenerated.
44142         * config.make.in (enable-check-abi): Remove.
44144 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
44146         [BZ #14033]
44147         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44148         double functions to double *_finite functions.
44150         [BZ #13941]
44151         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44152         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44153         LDBL_MIN_EXP.
44154         * stdio-common/Makefile (tests): Add tst-sprintf3.
44155         * stdio-common/tst-sprintf3.c: New file.
44157         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44158         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44160 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
44162         * conform/conformtest.pl: Remove duplicate typed-constant
44163         handling.
44165 2012-04-28  David S. Miller  <davem@davemloft.net>
44167         * Makerules (%.abilist): Add vpath on sysdep_dirs.
44168         (check-abi-%): Remove AWK script prerequisite and explicit
44169         abilist directory.
44170         (check-abi): Rewrite to just diff the symlist with the abilist.
44171         (config-tls, config-abi-config): Delete, no longer used.
44172         (update-abi-%): Remove AWK script and explicit abilist directory.
44173         (update-abi): Rewrite to simply compare and conditionally copy the
44174         symlist and the sysdep abilist file.  Remove update-abi-config
44175         checks.
44176         * abilist/ld.abilist: Remove.
44177         * abilist/libBrokenLocale.abilist: Remove.
44178         * abilist/libanl.abilist: Remove.
44179         * abilist/libcrypt.abilist: Remove.
44180         * abilist/libdl.abilist: Remove.
44181         * abilist/librt.abilist: Remove.
44182         * abilist/libthread_db.abilist: Remove.
44183         * abilist/libutil.abilist: Remove.
44184         * scripts/extract-abilist.awk: Remove.
44185         * scripts/merge-abilist.awk: Remove.
44186         * sysdeps/generic/libcidn.abilist: New file.
44187         * sysdeps/generic/libnss_compat.abilist: New file.
44188         * sysdeps/generic/libnss_db.abilist: New file.
44189         * sysdeps/generic/libnss_dns.abilist: New file.
44190         * sysdeps/generic/libnss_files.abilist: New file.
44191         * sysdeps/generic/libnss_hesiod.abilist: New file.
44192         * sysdeps/generic/libnss_nis.abilist: New file.
44193         * sysdeps/generic/libnss_nisplus.abilist: New file.
44194         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44195         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44196         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44197         file.
44198         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44199         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44200         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44201         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44202         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44203         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44204         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44205         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44206         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44207         file.
44208         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44209         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44210         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44211         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44212         file.
44213         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44214         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44215         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44216         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44217         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44218         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44219         file.
44220         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44221         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44222         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44223         file.
44224         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44225         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44226         New file.
44227         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44228         New file.
44229         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44230         New file.
44231         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44232         New file.
44233         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44234         New file.
44235         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44236         New file.
44237         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44238         New file.
44239         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44240         New file.
44241         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44242         New file.
44243         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44244         New file.
44245         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44246         New file.
44247         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44248         New file.
44249         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44250         New file.
44251         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44252         file.
44253         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44254         New file.
44255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44256         New file.
44257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44258         file.
44259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44260         New file.
44261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44262         New file.
44263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44264         file.
44265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44266         New file.
44267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44268         New file.
44269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44270         New file.
44271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44272         New file.
44273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44274         New file.
44275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44276         New file.
44277         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44278         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44279         file.
44280         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44281         New file.
44282         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44283         file.
44284         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44285         file.
44286         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44287         file.
44288         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44289         file.
44290         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44291         file.
44292         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44293         New file.
44294         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44295         file.
44296         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44297         file.
44298         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44299         New file.
44300         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44301         file.
44302         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44303         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44304         file.
44305         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44306         New file.
44307         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44308         file.
44309         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44310         file.
44311         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44312         file.
44313         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44314         file.
44315         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44316         file.
44317         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44318         New file.
44319         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44320         file.
44321         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44322         file.
44323         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44324         New file.
44325         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44326         file.
44327         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44328         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44329         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44330         file.
44331         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44332         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44333         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44334         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44335         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44336         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44337         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44338         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44339         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44340         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44341         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44342         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44343         file.
44344         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44345         New file.
44346         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44347         file.
44348         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44349         file.
44350         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44351         file.
44352         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44353         file.
44354         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44355         file.
44356         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44357         New file.
44358         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44359         New file.
44360         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44361         file.
44362         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44363         New file.
44364         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44365         file.
44366         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44367         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44368         file.
44369         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44370         New file.
44371         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44372         file.
44373         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44374         file.
44375         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44376         file.
44377         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44378         file.
44379         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44380         file.
44381         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44382         New file.
44383         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44384         New file.
44385         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44386         file.
44387         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44388         New file.
44389         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44390         file.
44392 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
44394         * conform/conformtest.pl: Fix typo in handling typed-constant from
44395         allow-header.
44397 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
44399         * README: Cut down references to pre-2.6 Linux kernels and
44400         Linuxthreads.  Update lists of configurations in libc and ports
44401         and sort alphabetically.  Say "or newer" with Linux kernel version
44402         requirements.
44404         * config.h.in [IS_IN_build]: Allow compiling without optimization.
44406 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44408         [BZ #887]
44409         * math/libm-test.inc (logb_test_downward): New test to expose
44410         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44411         rounding mode.
44413 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
44415         [BZ #14027]
44416         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44417         to be done.
44418         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44419         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44421 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
44423         * sysdeps/unix/i386/brk.S: Remove file.
44424         * sysdeps/unix/i386/dl-brk.S: Likewise.
44425         * sysdeps/unix/i386/pipe.S: Likewise.
44426         * sysdeps/unix/i386/sigreturn.S: Likewise.
44427         * sysdeps/unix/i386/syscall.S: Likewise.
44428         * sysdeps/unix/i386/vfork.S: Likewise.
44429         * sysdeps/unix/i386/wait.S: Likewise.
44431         * sysdeps/unix/common/tcsendbrk.c: Move to ...
44432         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44434         * configure.in (arm*-none*): Do not allow without
44435         --enable-hacker-mode.
44436         (netbsd*): Remove case setting base_os.
44437         (386bsd*): Likewise.
44438         (freebsd*): Likewise.
44439         (bsdi*): Likewise.
44440         (osf*): Likewise.
44441         (sunos*): Likewise.
44442         (ultrix*): Likewise.
44443         (newsos*): Likewise.
44444         (dynix*): Likewise.
44445         (*bsd*): Likewise.
44446         (sysv*): Likewise.
44447         (isc*): Likewise.
44448         (esix*): Likewise.
44449         (sco*): Likewise.
44450         (minix*): Likewise.
44451         (irix4*): Likewise.
44452         (irix6*): Likewise.
44453         (solaris[2-9]*): Likewise.
44454         (none): Likewise.
44455         * configure: Regenerated.
44457 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44459         [BZ #11521]
44460         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44461         overflow or cancellation in calculating denominator.
44462         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44463         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44464         down expression to avoid unexpected rounding in newer GCCs.
44465         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44467 2012-04-26  David S. Miller  <davem@davemloft.net>
44469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44470         long-double compat symbols.
44471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44476         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44477         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44478         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44479         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44481         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44482         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44483         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44485 2012-04-25  David S. Miller  <davem@davemloft.net>
44487         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44488         HWCAP_* values only after the memory barriers have been defined.
44489         (atomic_full_barrier): Define.
44490         (atomic_read_barrier): Define.
44491         (atomic_write_barrier): Define.
44493 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44495         * shlib-versions: Add libgcc_s version information.
44496         * sysdeps/generic/libgcc_s.h: Remove.
44497         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44498         libgcc_s.h.
44499         * sysdeps/gnu/unwind-resume.c: Likewise.
44500         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44502 2012-04-25  David S. Miller  <davem@davemloft.net>
44504         * sysdeps/unix/sparc/brk.S: Delete.
44505         * sysdeps/unix/sparc/dl-brk.S: Delete.
44506         * sysdeps/unix/sparc/pipe.S: Delete.
44507         * sysdeps/unix/sparc/sysdep.S: Delete.
44508         * sysdeps/unix/sparc/sysdep.h: Delete.
44509         * sysdeps/unix/sparc/vfork.S: Delete.
44510         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44511         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44512         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44513         (ret_ERRVAL, r0, r1, MOVE): Define.
44514         (JUMPTARGET): Remove.
44515         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44516         sysdeps/unix/sparc/sysdep.h
44517         (ENTRY, END): Remove.
44518         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44520 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
44522         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44523         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44524         -DIS_IN_build.
44526         * timezone/README: Update upstream location and email address for
44527         tzcode and tzdata.
44528         * timezone/zdump.c: Update from tzcode 2012b.
44529         * timezone/zic.c: Likewise.
44531         * configure.in (libc_cv_as_needed): Remove test.
44532         * configure: Regenerated.
44533         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44534         conditional definition.
44535         [$(have-as-needed) != yes] (no-as-needed): Likewise.
44536         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44537         * config.make.in (have-as-needed): Remove variable.
44539 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44540             Paul Pluzhnikov  <ppluzhnikov@google.com>
44542         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44543         strings correctly.
44545 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
44547         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44548         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44549         * sysdeps/sh/strlen.S: Likewise.
44551 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44553         * sysdeps/unix/fork.S: Remove file.
44554         * sysdeps/unix/i386/fork.S: Likewise.
44555         * sysdeps/unix/sparc/fork.S: Likewise.
44557         * sysdeps/unix/system.c: Remove file.
44558         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44560         * sysdeps/unix/getegid.S: Remove file.
44561         * sysdeps/unix/geteuid.S: Likewise.
44563 2012-04-24  Roland McGrath  <roland@hack.frob.com>
44565         * scripts/check-localplt.awk: New file.
44566         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44567         of diff.
44568         * scripts/data/localplt-generic.data: Add a comment.
44570         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44571         NODE when __dir_mkfile failed.
44572         * sysdeps/mach/hurd/symlinkat.c: Likewise.
44573         Reported by Ludovic Courtès <ludo@gnu.org>.
44575 2012-04-24  Andreas Jaeger  <aj@suse.de>
44577         * Makerules (common-clean): Also remove gen-as-const-headers
44578         files.
44580 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44582         * Makerules (native-compile): Do not change working directory for
44583         build.  Use $(OUTPUT_OPTION) in command.
44584         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44586 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44588         [BZ #13886]
44589         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44590         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44591         * math/libm-test.inc (floor_test): Add more tests.
44592         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44594 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44596         * sysdeps/unix/getdents.c: Remove file.
44597         * sysdeps/unix/sysv/getdents.c: Likewise.
44598         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44600         * sysdeps/unix/syscalls.list (madvise): Add syscall from
44601         sysdeps/unix/mman/syscalls.list.
44602         (mmap): Likewise.
44603         (mprotect): Likewise.
44604         (msync): Likewise.
44605         (munmap): Likewise.
44606         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44607         * sysdeps/unix/mman/syscalls.list: Remove.
44608         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44610         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44611         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44612         * configure: Regenerated.
44613         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44614         $(libgcc_s_suffix).
44615         * config.make.in (libgcc_s_suffix): Remove variable.
44617 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
44619         * sysdeps/unix/sysv/gethostname.c: Move to ...
44620         * sysdeps/posix/gethostname.c: ... here.
44622         * sysdeps/unix/execve.S: Remove file.
44624         * sysdeps/unix/_exit.S: Remove file.
44626 2012-04-23  Andreas Jaeger  <aj@suse.de>
44628         [BZ #13739]
44629         * manual/Makefile: Remove make dist support, there's no
44630         need for a stand-alone documentation tar ball.
44631         (TEXI2DVI): Define always, it's not in Makeconfig.
44632         (dist): Removed.
44633         (tar-it): Removed.
44634         (edition): Removed.
44635         (glibc-doc-$(edition).tar): Removed
44636         (%.Z): Removed.
44637         (%.gz): Removed.
44638         (%.uu): Removed.
44639         (ETAGS): Remove, it's in Makeconfig.
44640         (move-if-change): Remove, it's in Makeconfig.
44642 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
44644         [BZ #13970]
44645         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44646         (strtod, strtof, strtold, strtol, strtoul, strtoq)
44647         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44648         (strtod_l, strtof_l, strtold_l): Remove __wur.
44649         It is not necessarily an error to ignore strtol's return value.
44650         One can reliably look at the stored endptr to decide whether
44651         the number had valid syntax.
44653 2012-04-21  Andreas Jaeger  <aj@suse.de>
44655         [BZ #13739]
44656         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44658 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
44660         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44661         * sysdeps/unix/sysv/Versions: Remove file.
44663 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
44665         [BZ #13927]
44666         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44668 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
44670         [BZ #7064]
44671         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44672         version from __vm86.
44674 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
44676         * sysdeps/unix/common/lxstat.c: Remove file.
44677         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44679         * sysdeps/unix/sysv/Makefile: Remove file.
44681         * sysdeps/unix/sysv/direct.h: Remove file.
44683         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44684         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44685         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44686         * sysdeps/unix/sysv/bits/signum.h: Likewise.
44687         * sysdeps/unix/sysv/bits/stat.h: Likewise.
44688         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44689         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44691         * sysdeps/unix/sysv/setrlimit.c: Remove file.
44693         * sysdeps/unix/xmknod.c: Remove file.
44694         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44696         * sysdeps/unix/sysv/settimeofday.c: Remove file.
44698         * sysdeps/unix/sysv/i386/time.S: Remove file.
44700         * sysdeps/unix/fxstat.c: Remove file.
44701         * sysdeps/unix/xstat.c: Likewise.
44702         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44704         * sysdeps/unix/sysv/sigaction.c: Remove file.
44706         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44707         (sysdep_headers): Remove variable.
44708         [termio.h not in sysdep_headers] (generated): Likewise.
44709         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44710         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44711         * sysdeps/unix/sysv/tcdrain.c: Likewise.
44712         * sysdeps/unix/sysv/tcflow.c: Likewise.
44713         * sysdeps/unix/sysv/tcflush.c: Likewise.
44714         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44715         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44716         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44717         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44718         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44720         * sysdeps/unix/siglist.c: Remove file.
44722         * sysdeps/unix/getppid.S: Remove file.
44724         * sysdeps/unix/mkdir.c: Remove file.
44725         * sysdeps/unix/rmdir.c: Likewise.
44727 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
44729         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44730         ERR_MAX value.
44731         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
44732         errlist-compat value.
44734 2012-04-18  David S. Miller  <davem@davemloft.net>
44736         * sysdeps/generic/memcopy.h (reg_char): Delete.
44737         * debug/strcat_chk.c: Use char, not reg_char.
44738         * debug/strcpy_chk.c: Likewise.
44739         * debug/strncat_chk.c: Likewise.
44740         * debug/strncpy_chk.c: Likewise.
44741         * string/memchr.c: Likewise.
44742         * string/memrchr.c: Likewise.
44743         * string/rawmemchr.c: Likewise.
44744         * string/strcat.c: Likewise.
44745         * string/strchr.c: Likewise.
44746         * string/strchrnul.c: Likewise.
44747         * string/strcmp.c: Likewise.
44748         * string/strcpy.c: Likewise.
44749         * string/strncat.c: Likewise.
44750         * string/strncmp.c: Likewise.
44751         * string/strncpy.c: Likewise.
44753 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44755         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
44756         __builtin_memcopy is called when src and dest ranges are known to not
44757         overlap.
44759 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44761         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
44762         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
44763         fwd_align_merge macro call.
44764         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
44765         bwd_align_merge macro call.
44766         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44768 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44770         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
44771         bwd_align_merge macros.
44772         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
44773         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
44774         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44776 2012-04-18  David S. Miller  <davem@davemloft.net>
44778         * sysdeps/sparc/sparc64/memcopy.h: Delete.
44780 2012-04-18  Andreas Jaeger  <aj@suse.de>
44782         [BZ# 6794]
44783         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
44784         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
44785         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44787         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
44788         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
44789         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44791         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
44792         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
44793         Adjust for changed ldbl-128 files.
44795         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
44796         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
44797         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44799 2012-04-17  David S. Miller  <davem@davemloft.net>
44801         * sysdeps/sparc/sparc32/memcopy.h: Delete.
44803 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
44805         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
44806         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
44807         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
44808         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
44809         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44810         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
44812 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44814         [BZ #6794]
44815         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
44816         * math/libm-test.inc: Add ilogb errno and exception tests.
44817         * math/w_ilogb.c: New file: ilogb wrapper.
44818         * math/w_ilogbf.c: New file: ilogbf wrapper.
44819         * math/w_ilogbl.c: New file: ilogbl wrapper.
44820         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
44821         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
44822         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
44823         exception being thrown with 0.0 as argument.
44824         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
44825         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
44826         exception being thrown with 0.0 as argument.
44827         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
44828         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44829         exception being thrown with 0.0 as argument.
44830         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
44831         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44832         exception being thrown with 0.0 as argument.
44833         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
44834         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
44835         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
44836         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
44837         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
44838         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
44839         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
44840         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
44841         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
44843 2012-04-17  Petr Baudis  <pasky@ucw.cz>
44845         * include/sys/uio.h: Change __vector to __iovec to avoid clash
44846         with altivec.
44848 2012-04-16  Marek Polacek  <polacek@redhat.com>
44850         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
44852 2012-04-16  Marek Polacek  <polacek@redhat.com>
44854         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
44855         operands of fdivp instruction.
44857 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
44859         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
44860         * elf/tst-auditmod3b.c: Likewise.
44861         * elf/tst-auditmod4b.c: Likewise.
44862         * elf/tst-auditmod5b.c: Likewise.
44863         * elf/tst-auditmod6b.c: Likewise.
44864         * elf/tst-auditmod6c.c: Likewise.
44865         * elf/tst-auditmod7b.c: Likewise.
44866         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
44867         * sysdeps/x86_64/preconfigure.in: Likewise.
44868         * sysdeps/x86_64/preconfigure: Regenerated.
44870 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
44872         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
44873         __ILP32__.
44875 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
44877         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44878         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
44880 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
44882         [BZ #13973]
44883         * locale/iso-639.def: Fix gl language name. Spotted by
44884         Yaron Shahrabani.
44886 2012-04-12  Roland McGrath  <roland@hack.frob.com>
44888         [BZ #2074]
44889         * libio/libio.h (__io_write_fn): Update comment.
44891 2012-04-12  Petr Baudis  <pasky@ucw.cz>
44893         [BZ #2074]
44894         * stdio.texi (Hook Functions): The user provided writer function
44895         is not allowed to return -1.
44897 2012-04-11  David S. Miller  <davem@davemloft.net>
44899         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44901 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
44903         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
44904         Add a leading slash to rtkaio.
44906 2012-04-11  Jim Meyering  <meyering@redhat.com>
44908         [BZ #11959]
44909         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
44910         It is not necessarily an error to ignore fwrite's return
44911         value.  One can reliably use ferror to test for errors after
44912         the fact.
44914 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
44916         * bits/types.h (__snseconds_t): New type.
44917         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
44919         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
44920         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44921         (__SNSECONDS_T_TYPE): Likewise.
44922         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44923         (__SNSECONDS_T_TYPE): Likewise.
44924         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44925         (__SNSECONDS_T_TYPE): Likewise.
44927 2012-04-10  Andreas Jaeger  <aj@suse.de>
44929         [BZ #2636]
44930         * manual/time.texi (Processor Time): Return type of times is
44931         elapsed real time since an arbitrary point in the past.
44932         (CPU Time): Move CLK_TCK from here...
44933         (Processor Time): ...to here.  Correct description.
44934         * manual/conf.texi (Constants for Sysconf): Correct description of
44935         _SC_CLK_TCK.
44937 2012-04-10  David S. Miller  <davem@davemloft.net>
44939         [BZ #13967]
44940         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
44941         where the is a gap between DT_REL(A) and DT_JMPREL.
44943 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
44945         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
44946         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44947         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44949 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44951         * elf/dl-support.c (_dl_inhibit_cache): New variable.
44952         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
44953         (dl_main): Handle --inhibit-cache.
44954         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
44955         _dl_inhibit_cache.
44956         * elf/dl-load.c (_dl_map_object): Use it.
44957         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
44959 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
44961         [BZ #13872]
44962         * sysdeps/i386/fpu/e_powl.S (p78): New object.
44963         (__ieee754_powl): Saturate large exponents rather than testing for
44964         overflow of y*log2(x).
44965         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44966         * math/libm-test.inc (pow_test): Do not permit spurious overflow
44967         exceptions.
44969         [BZ #11521]
44970         * math/s_ctan.c: Include <float.h>.
44971         (__ctan): Avoid internal overflow or cancellation in calculating
44972         denominator.
44973         * math/s_ctanf.c: Likewise.
44974         * math/s_ctanl.c: Likewise.
44975         * math/s_ctanh.c: Likewise.
44976         * math/s_ctanhf.c: Likewise.
44977         * math/s_ctanhl.c: Likewise.
44978         * math/libm-test.inc (ctan_test): Add more tests.
44979         (ctanh_test): Likewise.
44980         * sysdeps/i386/fpu/libm-test-ulps: Update.
44981         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44983 2012-04-09  Andreas Jaeger  <aj@suse.de>
44985         [BZ #6894]
44986         * manual/filesys.texi (Directory Entries): Mention that d_namlen
44987         is an optional BSD extension.
44989         [BZ #10254]
44990         * manual/stdio.texi (Opening Streams): Document additional fopen
44991         parameters.
44993 2012-04-09  Roland McGrath  <roland@hack.frob.com>
44995         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
44996         %eax without telling the compiler.
44998 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
45000         [BZ # 13963]
45001         * manual/install.texi: Use sourceware.org.
45003 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
45005         [BZ #13873]
45006         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45007         (__ieee754_pow): Generate overflow and underflow using huge*huge
45008         and tiny*tiny rather than just returning constant infinity or zero
45009         for large exponents.
45010         * math/libm-test.inc (pow_test): Require overflow exceptions for
45011         applicable cases of large exponents.
45013         [BZ #706]
45014         * sysdeps/i386/fpu/e_pow.S (p10): New object.
45015         (__ieee754_pow): Use iterative multiplication algorithm only for
45016         integer exponents with absolute value below 1024.  Check for odd
45017         integer exponents when using algorithm for real exponents.
45018         * math/libm-test.inc (pow_test): Add more tests.
45019         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45021 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
45023         [BZ #13705]
45024         * math/libm-test.inc (exp_test): Do not allow overflow exception
45025         on underflow test.
45027 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
45029         [BZ #13705]
45030         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45031         instead of __kernel_standard_f.
45033 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
45035         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45036         * sysdeps/x86_64/memset_chk.S: Likewise.
45038 2012-04-08  Andreas Jaeger  <aj@suse.de>
45040         [BZ #10153]
45041         * manual/startup.texi (Environment Access): Describe return value
45042         for putenv and setenv.
45044         [BZ #6895]
45045         * manual/filesys.texi (Directory Entries): Add description for
45046         DT_LNK.
45048         [BZ #6890]
45049         * manual/filesys.texi (Directory Entries): Clarify that it's file
45050         system not operating system in the description of DT_UNKNOWN.
45052         [BZ #6578]
45053         * manual/syslog.texi (closelog): Fix reference, it's openlog.
45055 2012-04-08  Stephen Compall  <s11@member.fsf.org>
45057         [BZ #6649]
45058         * manual/llio.texi (Opening and Closing Files): Add cross
45059         reference to explain mode argument.
45061 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
45063         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45064         * sysdeps/x86_64/memset_chk.S: Likewise.
45066 2012-04-07  David S. Miller  <davem@davemloft.net>
45068         * elf/elf.h (R_SPARC_WDISP10): Define.
45069         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45070         R_SPARC_SIZE32.
45071         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45072         R_SPARC_SIZE64 and R_SPARC_H34.
45074 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
45076         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45077         conditions and remove no longer applicable assertion.
45079 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
45081         * bits/byteswap.h: Include <features.h>.
45082         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45083         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45085 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
45087         * bits/byteswap.h (__bswap_16): Removed.
45088         Include <bits/byteswap-16.h> to get __bswap_16.
45089         * sysdeps/i386/bits/byteswap.h: Likewise.
45090         * sysdeps/s390/bits/byteswap.h: Likewise.
45091         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45092         * bits/byteswap-16.h: New file.
45093         * sysdeps/i386/bits/byteswap-16.h: Likewise.
45094         * sysdeps/s390/bits/byteswap-16.h: Likewise.
45095         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45096         * string/Makefile (headers): Add bits/byteswap-16.h.
45098 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45100         [BZ #13895]
45101         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45102         extra indirection.
45103         * nss/Makefile (tests-static, tests): Add tst-nss-static.
45104         * nss/tst-nss-static.c: New.
45106 2012-04-06  Robert Millan  <rmh@gnu.org>
45108         [BZ #6486]
45109         * manual/llio.texi (File Position Primitive): lseek
45110         refers to WHENCE when it really means OFFSET.
45112 2012-04-06  Andreas Jaeger  <aj@suse.de>
45114         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45115         strncmp declarations.
45117         * abilist/libc.abilist: Add __poll and __ppoll.
45119 2012-04-05  David S. Miller  <davem@davemloft.net>
45121         * scripts/check-local-headers.sh: Accept a host triplet in the
45122         path matched by the exclude regexp.
45124         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45125         definition.
45126         * sysdeps/powerpc/powerpc32/dl-machine.h
45127         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45128         * sysdeps/s390/s390-32/dl-machine.h
45129         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45130         * sysdeps/sparc/sparc32/dl-machine.h
45131         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45132         * sysdeps/sparc/sparc64/dl-machine.h
45133         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45135         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45136         lazy binding.
45137         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
45138         undefined symbol errors.
45140         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
45141         DT_NEEDED entries.
45143 2012-04-05  Michael Matz  <matz@suse.de>
45145         [BZ #13592]
45146         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45148 2012-04-05  Andreas Jaeger  <aj@suse.de>
45150         [BZ #13908]
45151         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45152         comment.
45154 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45156         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45157         which ROUND is no valid rounding mode.
45159 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45161         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45162         read again.
45163         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45165 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45167         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45168         an exception using FPU order intentionally.
45170 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45172         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45173         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45174         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45175         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45177 2012-04-05  Simon Josefsson  <simon@josefsson.org>
45179         [BZ #12340]
45180         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45181         EINVAL when BUFLEN is too smal.
45183 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
45185         [BZ #13553]
45186         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45187         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45189 2012-04-03  Andreas Jaeger  <aj@suse.de>
45191         [BZ #13938]
45192         * manual/setjmp.texi (System V contexts): Fix sentence.
45194         [BZ #13926]
45195         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45196         New macro for this case.
45197         [!__GNUC__] (__bswap_64): New inline function for this case.
45198         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45199         * bits/byteswap.h: Likewise.
45200         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45201         ull, guard with __GLIBC_HAVE_LONG_LONG.
45203         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45204         __GLIBC_HAVE_LONG_LONG.
45206         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45207         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45209 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45211         [BZ #13691]
45212         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45213         inptr and inend, rather than using last_ch.
45215 2012-04-02  David S. Miller  <davem@davemloft.net>
45217         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45218         * stdio-common/printf-parse.h (read_int): Change return type to
45219         'int', return -1 on INT_MAX overflow.
45220         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45221         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
45222         overflows INT_MAX.  Check for overflow of in-format-string precision
45223         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
45224         SIZE_MAX not INT_MAX for integer overflow test.
45225         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45226         skip the construct in the format string but do not record anything.
45227         * stdio-common/bug22.c: Adjust to test both width/prevision
45228         INT_MAX overflow as well as total length INT_MAX overflow.  Check
45229         explicitly for proper errno values.
45231 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
45233         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45234         CHAR_MAX.
45235         * string/test-strcmp.c [! WIDE]: Likewise.
45236         * time/tst-mktime2.c: Likewise for INT_MAX.
45237         * string/test-string.h: #include <sys/param.h> for MIN.
45239         * csu/init-first.c (__libc_init_first): Call __ctype_init.
45240         * sysdeps/i386/init-first.c (init): Likewise.
45241         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45242         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45243         * sysdeps/sh/init-first.c (init): Likewise.
45245 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
45247         * po/ru.po: Update from translation team.
45248         * po/vi.po: Likewise.
45250 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
45252         * resolv/nss_dns/dns-host.c: Merge copyright years.
45254 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45256         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45257         Optimize memcpy with prefetch if
45258         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
45259         src, dst pointers have unequal 16 byte alignments.
45261 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45263         [BZ #13928]
45264         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45265         from a CNAME entry and return the minimum ttl for the query.
45266         (gaih_getanswer_slice): Likewise.
45268 2012-03-30  Jeff Law  <law@redhat.com>
45270         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45271         due to long keys.
45272         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45273         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45275         * resolv/nss_dns/dns-host.c: Update copyright year.
45277 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
45279         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
45280         requests to save a system call.  Fix check that all bytes are sent.
45282         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45283         comments for sendmmsg.
45285 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45287         [BZ #13691]
45288         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45289         with only 1 character between 0x0041 and 0x01b0.
45290         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45291         * wcsmbs/tst-mbsnrtowcs.c: New file.
45293 2012-03-29  David S. Miller  <davem@davemloft.net>
45295         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45296         small copies by hand.
45298 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45300         [BZ #13761]
45301         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45302         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45303         group memberships.
45305 2012-03-28  David S. Miller  <davem@davemloft.net>
45307         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45308         that branches into memcpy.
45309         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45310         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45311         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45312         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45313         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45314         bits.
45315         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45316         implementation too.
45317         * sysdeps/sparc/mempcpy.S: New file.
45319         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45320         the IFUNC routine in the libc case.
45321         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45323         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45324         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45325         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45326         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45327         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45328         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45329         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45330         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45332         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45333         loop to 256 bytes instead of 64 bytes and fix test signedness.
45335         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45336         * sysdeps/sparc/sparc32/Makefile: rather than here...
45337         * sysdeps/sparc/sparc64/Makefile: and here.
45339 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
45341         * malloc/mallocbug.c: Avoid warnings about unused variables.
45343 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45345         [BZ #13760]
45346         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45347         in the right place. Discard and retry query if response is
45348         larger than input buffer size.
45350 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
45352         [BZ #369]
45353         [BZ #2678]
45354         [BZ #3866]
45355         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45356         x for large integer exponent.
45357         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45358         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
45359         sign of result as needed afterwards.
45360         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45361         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45362         result for underflowing pow the same as for overflow.
45363         (__kernel_standard_l): Handle powl overflow and underflow here
45364         rather than calling __kernel_standard.
45365         * math/libm-test.inc (pow_test): Add more tests.
45367         [BZ #3868]
45368         [BZ #13879]
45369         [BZ #13910]
45370         [BZ #13911]
45371         [BZ #13912]
45372         [BZ #13913]
45373         [BZ #13915]
45374         [BZ #13916]
45375         [BZ #13917]
45376         [BZ #13918]
45377         [BZ #13919]
45378         [BZ #13920]
45379         [BZ #13921]
45380         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45381         * sysdeps/ieee754/k_standard.c: Include <float.h>.
45382         (__kernel_standard_l): New function.
45383         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45384         __kernel_standard.
45385         * math/w_acosl.c (__acosl): Likewise.
45386         * math/w_asinl.c (__asinl): Likewise.
45387         * math/w_atan2l.c (__atan2l): Likewise.
45388         * math/w_atanhl.c (__atanhl): Likewise.
45389         * math/w_coshl.c (__coshl): Likewise.
45390         * math/w_exp10l.c (__exp10l): Likewise.
45391         * math/w_exp2l.c (__exp2l): Likewise.
45392         * math/w_fmodl.c (__fmodl): Likewise.
45393         * math/w_hypotl.c (__hypotl): Likewise.
45394         * math/w_j0l.c (__j0l, __y0l): Likewise.
45395         * math/w_j1l.c (__j1l, __y1l): Likewise.
45396         * math/w_jnl.c (__jnl, __ynl): Likewise.
45397         * math/w_lgammal.c (__lgammal): Likewise.
45398         * math/w_log10l.c (__log10l): Likewise.
45399         * math/w_log2l.c (__log2l): Likewise.
45400         * math/w_logl.c (__logl): Likewise.
45401         * math/w_powl.c (__powl): Likewise.
45402         * math/w_remainderl.c (__remainderl): Likewise.
45403         * math/w_scalbl.c (sysv_scalbl): Likewise.
45404         * math/w_sinhl.c (__sinhl): Likewise.
45405         * math/w_sqrtl.c (__sqrtl): Likewise.
45406         * math/w_tgammal.c (__tgammal): Likewise.
45407         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45408         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45409         * math/libm-test.inc (acos_test): Add more tests.
45410         (acosh_test): Likewise.
45411         (asin_test): Likewise.
45412         (atanh_test): Likewise.
45413         (exp_test): Likewise.
45414         (exp10_test): Likewise.
45415         (exp2_test): Likewise.
45416         (expm1_test): Likewise.
45417         (lgamma_test): Likewise.
45418         (log_test): Likewise.
45419         (log10_test): Likewise.
45420         (log1p_test): Likewise.
45421         (log2_test): Likewise.
45422         (pow_test): Do not allow some spurious overflow exceptions.
45423         (sqrt_test): Add more tests.
45424         (tgamma_test): Likewise.
45425         (y0_test): Likewise.
45426         (y1_test): Likewise.
45427         (yn_test): Likewise.
45429 2012-03-27  Anton Blanchard  <anton@samba.org>
45431         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45432         MAP_HUGETLB.
45433         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45434         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45435         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45437 2012-03-27  David S. Miller  <davem@davemloft.net>
45439         * conform/Makefile: Run run-conformtest.sh using $(BASH).
45441         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45442         have-as-vis3 check.
45444 2012-03-27  Andreas Jaeger  <aj@suse.de>
45446         * sysdeps/x86_64/elf/configure.in: Moved to ...
45447         * sysdeps/x86_64/configure.in: ... here.
45448         * sysdeps/x86_64/elf/start.S: Moved to ...
45449         * sysdeps/x86_64/start.S: ... here.
45450         * sysdeps/x86_64/elf/configure: Delete.
45452         * sysdeps/x86_64/configure.in: Merge contents from
45453         sysdeps/i386/configure.in (without i686 check).
45455         * sysdeps/i386/elf/Versions: Merge into ...
45456         * sysdeps/i386/Versions: ... this.
45457         * sysdeps/i386/elf/Versions: Delete file.
45458         * sysdeps/i386/elf/start.S: Moved to ...
45459         * sysdeps/i386/start.S: ...here.
45460         * sysdeps/i386/elf/configure.in: Merge into...
45461         * sysdeps/i386/configure.in: ...here.
45462         * sysdeps/i386/elf/configure.in: Delete file.
45463         * sysdeps/i386/elf/configure: Delete file.
45465         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45466         * debug/backtracesyms.c: ... here.
45467         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45468         * debug/backtracesymsfd.c: ... here.
45469         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45470         * sysdeps/generic/ifunc-sel.h: ... here.
45472         * sysdeps/unix/i386/start.c: Delete file.
45473         * sysdeps/unix/sparc/start.c: Delete file.
45474         * sysdeps/unix/start.c: Delete file.
45476         * sysdeps/sh/elf/configure.in: Moved to ...
45477         * sysdeps/sh/configure.in: ... here.
45478         * sysdeps/sh/elf/start.S: Moved to ...
45479         * sysdeps/sh/start.S: ... here.
45480         * sysdeps/sh/elf/configure: Delete file.
45482         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45483         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45484         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45485         * sysdeps/powerpc/powerpc64/entry.h: ... here.
45486         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45487         * sysdeps/powerpc/powerpc64/start.S: here.
45488         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45489         * sysdeps/powerpc/powerpc64/Makefile: ... this.
45490         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45491         * sysdeps/powerpc/powerpc64/configure.in: ... this.
45492         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45494         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45495         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45496         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45497         * sysdeps/powerpc/powerpc32/start.S: ... here.
45498         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45499         * sysdeps/powerpc/powerpc32/configure.in: ... this.
45500         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45502         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45503         * sysdeps/powerpc/ifunc-sel.h: ... here.
45504         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45505         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45507         * sysdeps/sparc/elf/configure.in: Moved to ...
45508         * sysdeps/sparc/configure.in: ... here.
45509         * sysdeps/sparc/elf/configure: Delete file.
45510         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45511         * sysdeps/sparc/sparc32/start.S: ... here.
45512         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45513         * sysdeps/sparc/sparc64/start.S: ... here.
45514         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45515         * sysdeps/sparc/sparc32/Makefile: ... this.
45516         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45517         * sysdeps/sparc/sparc64/Makefile: ... this.
45519         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45520         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45521         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45522         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45523         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45524         * sysdeps/s390/s390-32/setjmp.S: ... here.
45525         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45526         * sysdeps/s390/s390-32/configure.in: ... here.
45527         * sysdeps/s390/s390-32/elf/configure: Delete file.
45528         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45529         * sysdeps/s390/s390-32/start.S: ... here.
45531         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45532         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45533         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45534         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45535         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45536         * sysdeps/s390/s390-64/setjmp.S: ... here.
45537         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45538         * sysdeps/s390/s390-64/configure.in: ... here
45539         * sysdeps/s390/s390-64/elf/configure: Delete file.
45540         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45541         * sysdeps/s390/s390-64/start.S: ... here.
45542         * sysdeps/s390/s390-64/elf/configure: Delete.
45544         * configure.in: Remove support for elf directories in sysdeps.
45546         * configure: Regenerated.
45547         * sysdeps/i386/configure: Regenerated.
45548         * sysdeps/powerpc/powerpc32/configure: Regenerated.
45549         * sysdeps/powerpc/powerpc64/configure: Regenerated.
45550         * sysdeps/s390/s390-32/configure: Regenerated.
45551         * sysdeps/s390/s390-64/configure: Regenerated.
45552         * sysdeps/sh/configure: Regenerated.
45553         * sysdeps/sparc/configure: Regenerated.
45554         * sysdeps/x86_64/configure: Regenerated.
45556 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
45558         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45560         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45561         denormal result into account.
45563 2012-03-25  Roland McGrath  <roland@hack.frob.com>
45565         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45566         Reported by Allan McRae <allan@archlinux.org>.
45568 2012-03-23  Jeff Law  <law@redhat.com>
45570         * nss/getnssent.c (__nss_getent): Fix typo.
45572 2012-03-23  David S. Miller  <davem@davemloft.net>
45574         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45576 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
45578         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45579         to pad to uint64_t for each field.
45580         (dl_tls_index): Replace unsigned long with uint64_t.
45582 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
45583         Paul Pluzhnikov  <ppluzhnikov@google.com>
45585         [BZ #6528]
45586         * grp/Makefile (otherlibs): Don't set it.
45587         * inet/Makefile (otherlibs): Likewise.
45588         * login/Makefile (otherlibs): Likewise.
45589         * nscd/Makefile (otherlibs): Likewise.
45590         * posix/Makefile (otherlibs): Likewise.
45591         * pwd/Makefile (otherlibs): Likewise.
45592         * rt/Makefile (otherlibs): Likewise.
45593         * sunrpc/Makefile (otherlibs): Likewise.
45594         * nss/Makefile (otherlibs): Likewise.
45595         Add libnss_files to routines and static-only-routines.
45596         ($(objpfx)getent): Remove rule.
45597         * resolv/Makefile: Add libnss_dns and libresolv to routines and
45598         static-only-routines.
45600 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
45602         [BZ #13892]
45603         * math/s_cexp.c: Include <float.h>.
45604         (__cexp): Handle exp result overflowing not necessarily
45605         overflowing both real and imaginary parts of result.
45606         * math/s_cexpf.c: Likewise.
45607         * math/s_cexpl.c: Likewise.
45608         * math/libm-test.inc (cexp_test): Add more tests.
45609         * sysdeps/i386/fpu/libm-test-ulps: Update.
45610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45612 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45614         * include/link.h (ELFW): New macro.
45615         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45616         Replace ELF64_R_TYPE with ELFW(R_TYPE).
45618 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45620         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45621         with uint64_t.
45623 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45625         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45626         declaration.
45627         (struct La_x32_retval): Likewise.
45629 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45631         * sysdeps/x86_64/preconfigure.in: New file.
45632         * sysdeps/x86_64/preconfigure: New generated file.
45634 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
45636         [BZ #13824]
45637         * math/e_exp2l.c: Include <float.h>.
45638         (__ieee754_exp2l): Handle overflow and underflow cases
45639         separately.  Only pass fractional part of argument to
45640         __ieee754_expl.
45641         * math/libm-test.inc (exp2_test): Add more tests.
45643         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45644         negating x to take absolute value.
45645         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45646         Likewise.
45647         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45648         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45649         Likewise.
45650         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45651         computing low part if x was negated.
45652         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45654 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45656         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45657         la_x32_gnu_pltexit.
45658         (pltexit): Cast int_retval to ptrdiff_t.
45659         * elf/tst-auditmod3b.c: Likewise.
45660         * elf/tst-auditmod4b.c: Likewise.
45661         * elf/tst-auditmod5b.c: Likewise.
45662         * elf/tst-auditmod6b.c: Likewise.
45663         * elf/tst-auditmod6c.c: Likewise.
45664         * elf/tst-auditmod7b.c: Likewise.
45666         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45667         and x32_gnu_pltexit.
45669         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45670         __ELF_NATIVE_CLASS.
45671         (La_x32_regs): New macro.
45672         (La_x32_retval): Likewise.
45673         (la_x32_gnu_pltenter): New function prototype.
45674         (la_x32_gnu_pltexit): Likewise.
45676 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
45678         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45679         exponent.
45681         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45683         * configure.in (libc_cv_cc_nofma): Check for option to disable
45684         generation of FMA instructions.
45685         * configure: Regenerate.
45686         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45687         * sysdeps/ieee754/dbl-64/Makefile: New file.
45688         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45689         Remove brandred-fma4.
45690         (CFLAGS-brandred-fma4.c): Remove.
45691         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45692         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45693         define.
45694         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45695         define.
45697 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45699         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45700         LLONG_MAX != LONG_MAX.
45701         (_itoa_word): Use _ITOA_WORD_TYPE on value.
45702         (_fitoa_word): Likewise.
45703         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45704         LLONG_MAX != LONG_MAX.
45705         * stdio-common/_itowa.h: Include <_itoa.h>.
45706         (_itowa_word): Use _ITOA_WORD_TYPE on value.
45707         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
45708         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
45709         only if not defined.
45710         (_ITOA_WORD_TYPE): Likewise.
45711         (_itoa_word): Use _ITOA_WORD_TYPE on value.
45712         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45714 2012-03-21  David S. Miller  <davem@davemloft.net>
45716         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45718 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45720         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45721         of x86_64 when setting libc_cv_slibdir, libdir and
45722         libc_cv_localedir.
45723         * sysdeps/unix/sysv/linux/configure: Regenerated.
45725 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45727         * manual/lang.texi (Old Varargs): Remove section.
45728         (How Variadic): Update menu.
45729         (va_start): Do not mention varargs.h.
45731 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45732             Joseph Myers  <joseph@codesourcery.com>
45734         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
45735         link test.
45736         * configure: Regenerated.
45738 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45740         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
45741         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
45742         conformtest.pl
45744 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45746         * NOTES: Remove.
45747         * Makefile (files-for-dist): Remove NOTES.
45748         (NOTES): Remove rule.
45749         * README: Don't refer to NOTES.
45750         * manual/creature.texi: Don't include macros.texi.
45751         * manual/intro.texi (creature.texi): Remove comment referring to
45752         NOTES.
45754         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
45755         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
45756         * configure: Regenerated.
45757         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
45758         LIBC_TRY_CC_OPTION.
45759         (libc_cv_as_i686): Likewise.
45760         (libc_cv_cc_avx): Likewise.
45761         (libc_cv_cc_sse2avx): Likewise.
45762         (libc_cv_cc_fma4): Likewise.
45763         (libc_cv_cc_novzeroupper): Likewise.
45764         * sysdeps/i386/configure: Regenerated.
45766         [BZ #13883]
45767         * sysdeps/i386/fpu/s_cexp.S: Remove.
45768         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45769         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45770         * math/libm-test.inc (cexp_test): Add more tests.
45771         * sysdeps/i386/fpu/libm-test-ulps: Update.
45772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45774 2012-03-21  Allan McRae  <allan@archlinux.org>
45776         * timezone/Makefile: Do not install iso3166.tab and zone.tab
45778 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45780         [BZ #13871]
45781         * math/w_exp2.c: Do not include <float.h>.
45782         (o_threshold, u_threshold): Remove.
45783         (__exp2): Calculate result before checking finiteness and calling
45784         __kernel_standard.
45785         * math/w_exp2f.c: Likewise.
45786         * math/w_exp2l.c: Likewise.
45787         * math/libm-test.inc (exp2_test): Require overflow exception for
45788         1e6 input.
45790         [BZ #3866]
45791         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
45792         range of signed 64-bit integers before using fistpll.  Remove
45793         checks for whether integers fit in mantissa bits.
45794         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
45795         the range of signed 32-bit integers before using fistpl.  Remove
45796         checks for whether integers fit in mantissa bits.
45797         * sysdeps/i386/fpu/e_powl.S (p64): New object.
45798         (__ieee754_powl): Test for y outside the range of signed 64-bit
45799         integers before using fistpll.  Reduce 64-bit values to 63-bit
45800         ones as needed.
45801         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
45802         divide-by-zero is raised for zero to large negative powers.
45803         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
45804         (__ieee754_powl): Test for y outside the range of signed 64-bit
45805         integers before using fistpll.  Reduce 64-bit values to 63-bit
45806         ones as needed.
45807         * math/libm-test.inc (pow_test): Add more tests.
45809 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45811         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
45812         <stdio-common/_itoa.h>.
45813         * debug/segfault.c: Likewise.
45814         * elf/dl-cache.c: Likewise.
45815         * elf/dl-minimal.c: Likewise.
45816         * elf/dl-misc.c: Likewise.
45817         * elf/dl-sysdep.c: Likewise.
45818         * elf/dl-version.c: Likewise.
45819         * elf/rtld.c: Likewise.
45820         * hurd/hurdsock.c: Likewise.
45821         * hurd/lookup-retry.c: Likewise.
45822         * malloc/malloc.c: Likewise.
45823         * malloc/mtrace.c: Likewise.
45824         * nscd/nscd_getgr_r.c: Likewise.
45825         * nscd/nscd_getpw_r.c: Likewise.
45826         * nscd/nscd_getserv_r.c: Likewise.
45827         * posix/getopt_init.c: Likewise.
45828         * posix/wordexp.c: Likewise.
45829         * stdio-common/_itoa.c: Likewise.
45830         * stdio-common/printf_fphex.c: Likewise.
45831         * stdio-common/vfprintf.c: Likewise.
45832         * string/_strerror.c: Likewise.
45833         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
45834         * sysdeps/i386/i686/hp-timing.h: Likewise.
45835         * sysdeps/mach/_strerror.c: Likewise.
45836         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
45837         * sysdeps/mach/hurd/sethostid.c: Likewise.
45838         * sysdeps/mach/hurd/xmknodat.c: Likewise.
45839         * sysdeps/mach/xpg-strerror.c: Likewise.
45840         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45841         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45842         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
45843         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
45844         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45845         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
45846         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
45847         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
45848         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
45849         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
45850         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
45851         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45852         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
45853         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45854         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45855         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
45856         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
45857         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
45858         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45859         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45860         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
45862         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
45864         * stdio-common/_itoa.h: Moved to ...
45865         * sysdeps/generic/_itoa.h: Here.
45867         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
45869         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
45870         instead of "_itoa.h" and "_itowa.h".
45871         * stdio-common/vfprintf.: Likewise.
45873 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45875         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
45876         <bits/wordsize.h>.
45877         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
45878         (__signbit): Likwise.
45879         (llrintf): Likwise.
45880         (llrint): Likwise.
45882 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45884         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
45885         __WORDSIZE != 64.
45887 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
45889         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
45890         OVERFLOW_EXCEPTION_OK.
45891         * math/libm-test.inc ("Philosophy"): Update comment about
45892         exception testing.
45893         (OVERFLOW_EXCEPTION): Define.
45894         (OVERFLOW_EXCEPTION_OK): Likewise.
45895         (INVALID_EXCEPTION_OK): Renumber.
45896         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45897         (IGNORE_ZERO_INF_SIGN): Likewise.
45898         (test_exceptions): Handle FE_OVERFLOW.
45899         (exp10_test): Expect overflow exceptions.
45900         (exp2_test): Likewise.
45901         (expm1_test): Likewise.
45902         (nextafter_test): Likewise.
45903         (pow_test): Likewise.
45904         (scalbn_test): Likewise.
45905         (scalbln_test): Likewise.
45907 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45909         * sysdeps/x86_64/bits/atomic.h
45910         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
45911         64bit integer.
45912         (atomic_exchange_acq): Likewise.
45913         (__arch_exchange_and_add_body): Likewise.
45914         (__arch_add_body): Likewise.
45915         (atomic_add_negative): Likewise.
45916         (atomic_add_zero): Likewise.
45918 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45920         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
45921         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
45923 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45925         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
45926         Check __x86_64__ instead of __WORDSIZE.
45928 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45930         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
45932 2012-03-19  David S. Miller  <davem@davemloft.net>
45934         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45936         * sysdeps/sparc/fpu/fenv_private.h: New file.
45937         * sysdeps/sparc/fpu/math_private.h: Use it.
45938         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
45939         Remove.
45940         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
45941         (libc_feholdexcept_setroundl): Remove.
45942         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
45943         Remove.
45944         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
45945         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
45947 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45949         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
45950         int64_t instead of long int.
45951         (INSERT_WORDS64): Likwise.
45953 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45955         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
45956         _Unwind_GetCFA return to _Unwind_Ptr first.
45958 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
45960         [BZ #13629]
45961         * math/s_clog.c: Include <float.h>.
45962         (__clog): Scale large or subnormal inputs.
45963         * math/s_clogf.c: Likewise.
45964         * math/s_clogl.c: Likewise.
45965         * math/s_clog10.c: Include <float.h>.
45966         (M_LOG10_2): Define.
45967         (__clog10): Scale large or subnormal inputs.
45968         * math/s_clog10f.c: Likewise.
45969         * math/s_clog10l.c: Likewise.
45970         * math/libm-test.inc (clog_test): Add more tests.
45971         (clog10_test): Likewise.
45972         * sysdeps/i386/fpu/libm-test-ulps: Update.
45973         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45975         [BZ #11451]
45976         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
45977         x and y.
45978         * math/libm-test.inc (atan2_test): Add another test.
45980         * Makerules (common-objdir-compile): Remove.
45981         * sysdeps/unix/Makefile (config-generated): Do not add
45982         $(unix-generated) to variable.
45983         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
45984         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
45985         Remove rule.
45986         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
45987         Likewise.
45988         [generic bits/local_lim.h] (before-compile): Do not append to
45989         variable.
45990         [generic bits/local_lim.h] (common-generated): Likewise.
45991         [generic sys/param.h] (before-compile): Do not append to variable.
45992         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
45993         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
45994         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
45995         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
45996         include.
45997         [generic sys/param.h] (sys/param.h-includes): Remove variable.
45998         [generic sys/param.h] (sys/param.h-includes): Remove rule.
45999         [generic sys/param.h] ($(addprefix
46000         $(common-objpfx),$(sys/param.h-includes))): Likewise.
46001         [generic sys/param.h] (common-generated): Do not append to
46002         variable.
46003         [generic sys/param.h] (sysdep_headers): Likewise.
46004         [generic bits/errno.h] (before-compile): Do not append to
46005         variable.
46006         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46007         rule.
46008         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46009         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46010         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46011         [generic bits/errno.h] (common-generated): Do not append to
46012         variable.
46013         [generic bits/ioctls.h] (before-compile): Do not append to
46014         variable.
46015         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46016         rule.
46017         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46018         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46019         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46020         rule.
46021         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46022         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46023         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46024         [generic bits/ioctls.h] (common-generated): Do not append to
46025         variable.
46026         [generic sys/syscall.h] (syscall.h): Remove variable.
46027         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46028         rule.
46029         [generic sys/syscall.h] (before-compile): Do not append to
46030         variable.
46031         [generic sys/syscall.h] (common-generated): Likewise.
46032         * sysdeps/unix/errnos-tmpl.c: Remove file.
46033         * sysdeps/unix/errnos.awk: Likewise.
46034         * sysdeps/unix/ioctls-tmpl.c: Likewise.
46035         * sysdeps/unix/ioctls.awk: Likewise.
46036         * sysdeps/unix/mk-local_lim.c: Likewise.
46037         * sysdeps/unix/snarf-ioctls: Likewise.
46039 2012-03-19  Richard Henderson  <rth@twiddle.net>
46041         * sysdeps/i386/fpu/fenv_private.h: New file.
46042         * sysdeps/i386/fpu/math_private.h: Use it.
46043         (math_opt_barrier, math_force_eval): Remove.
46044         (libc_feholdexcept_setround_53bit): Remove.
46045         (libc_feupdateenv_53bit): Remove.
46046         * sysdeps/x86_64/fpu/math_private.h: Likewise.
46047         (math_opt_barrier, math_force_eval): Remove.
46048         (libc_feholdexcept): Remove.
46049         (libc_feholdexcept_setround): Remove.
46050         (libc_fetestexcept, libc_fesetenv): Remove.
46051         (libc_feupdateenv_test): Remove.
46052         (libc_feupdateenv, libc_feholdsetround): Remove.
46053         (libc_feresetround): Remove.
46055         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46056         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46058         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46059         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46060         (libc_feupdateenv_testl): New.
46061         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46062         (libc_feupdateenv_testf): New.
46063         (libc_feupdateenv): Use libc_feupdateenv_test.
46064         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46065         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46067         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46068         (libc_feholdsetroundf, libc_feholdsetroundl): New.
46069         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46070         (libc_feresetround_noex): New.
46071         (libc_feresetround_noexf): New.
46072         (libc_feresetround_noexl): New.
46073         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46074         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46075         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46076         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46077         SET_RESTORE_ROUND.
46078         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46079         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46080         (__cos): Likewise.
46081         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46082         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46083         SET_RESTORE_ROUND_NOEX.
46084         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46085         SET_RESTORE_ROUND_NOEXF.
46086         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46087         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46088         (libc_feholdsetroundf): New.
46089         (libc_feresetround, libc_feresetroundf): New.
46091         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46092         (libc_feholdexcept_setround_53bit): Convert from macro to function.
46093         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
46095         * sysdeps/generic/math_private.h: Include <fenv.h>.
46096         (default_libc_feholdexcept): New.
46097         (default_libc_feholdexcept_setround): New.
46098         (default_libc_fesetenv, default_libc_feupdateenv): New.
46099         (libc_feholdexcept): Only define if undefined.
46100         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46101         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46102         (libc_feholdexcept_setroundl): Likewise.
46103         (libc_feholdexcept_setround_53bit): Likewise.
46104         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46105         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46106         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46107         (libc_feupdateenv_53bit): Likewise.
46108         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46109         (libc_feholdexcept): Convert from macro to inline function.
46110         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46111         (libc_fesetenv, libc_feupdateenv): Likewise.
46113         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46114         not previously defined.
46115         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46116         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46117         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46118         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46119         * sysdeps/ieee754/flt-32/math_private.h: New file.
46120         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46121         math_private.h below SET_FLOAT_WORD.
46122         (__isnan, __isinf_ns, __finite): Remove.
46123         (__isnanf, __isinf_nsf, __finitef): Remove.
46125 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
46127         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46129 2012-03-17  David S. Miller  <davem@davemloft.net>
46131         [BZ #6471]
46132         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46133         for 2.16.
46135 2012-03-16  David S. Miller  <davem@davemloft.net>
46137         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46138         warnings.
46140         [BZ #6471]
46141         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46142         properly.
46143         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46144         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46145         sysdep_routines when subdir is sysvipc.
46146         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46147         __getshmlba helper.
46149         * sysdeps/sparc/fpu/libm-test/ulps: Update.
46151 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46153         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46154         [__LP64__].
46156 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46158         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46159         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46160         (__lround): Renamed to ...
46161         (__llround): This.  Replace long int with long long int.
46162         Define lround functions as aliases of llround functions.
46163         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46165 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46167         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46168         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
46169         adresses to uintptr_t.  Replace "long int" and "unsigned long
46170         int" with "greg_t" on va_arg.
46172 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46174         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46175         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46177         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46178         Move e_machine check before EI_CLASS check.  Handle x32
46179         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46180         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46181         SKIP_EM_IA_64 and include
46182         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46184         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46185         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46186         (add_system_dir): New macro.
46188         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46189         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46191 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
46193         [BZ #2551]
46194         [BZ #2552]
46195         [BZ #2553]
46196         [BZ #2554]
46197         [BZ #2562]
46198         [BZ #2563]
46199         [BZ #2565]
46200         [BZ #2566]
46201         [BZ #2576]
46202         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46203         (y0): Likewise.
46204         * math/w_j0f.c (j0f): Likewise.
46205         (y0f): Likewise.
46206         * math/w_j0l.c (__j0l): Likewise.
46207         (__y0l): Likewise.
46208         * math/w_j1.c (j1): Likewise.
46209         (y1): Likewise.
46210         * math/w_j1f.c (j1f): Likewise.
46211         (y1f): Likewise.
46212         * math/w_j1l.c (__j1l): Likewise.
46213         (__y1l): Likewise.
46214         * math/w_jn.c (jn): Likewise.
46215         (yn): Likewise.
46216         * math/w_jnf.c (jnf): Likewise.
46217         (ynf): Likewise.
46218         * math/w_jnl.c (__jnl): Likewise.
46219         (__ynl): Likewise.
46220         * math/libm-test.inc (j0_test): Add more tests.
46221         (j1_test): Likewise.
46222         (jn_test): Likewise.  Add trailing semicolon to existing test.
46223         (y0_test): Likewise.
46224         (y1_test): Likewise.
46225         * sysdeps/i386/fpu/libm-test-ulps: Update.
46226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46228         [BZ #13851]
46229         [BZ #13854]
46230         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46231         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46232         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46233         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46234         (__tanl): Set errno for infinite argument.
46235         * sysdeps/i386/fpu/mptan.c: Remove.
46236         * sysdeps/i386/fpu/s_tan.S: Likewise.
46237         * sysdeps/i386/fpu/s_tanl.S: Likewise.
46238         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46239         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46240         * math/libm-test.inc (tan_test): Add more tests and enable more
46241         tests for double and long double.
46242         * sysdeps/i386/fpu/libm-test-ulps: Update.
46243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46245 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
46247         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46248         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46250 2012-03-16  Roland McGrath  <roland@hack.frob.com>
46252         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46253         * configure.in: Use it for both main tree and add-ons.
46254         * configure: Regenerated.
46256 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46258         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46260 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
46262         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46263         in comment.
46265         [BZ #13851]
46266         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46267         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46268         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46269         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46270         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46271         infinite argument.
46272         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46273         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46274         != 0 for prec == 2.
46275         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46276         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46277         * sysdeps/i386/fpu/s_cosl.S: Likewise.
46278         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46279         * sysdeps/i386/fpu/s_sinl.S: Likewise.
46280         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46281         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46282         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46283         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46284         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46285         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46286         * math/libm-test.inc (cos_test): Add more tests and enable more
46287         tests for long double.
46288         (sin_test): Likewise.
46289         (sincos_test): Likewise.
46290         * sysdeps/i386/fpu/libm-test-ulps: Update.
46291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46293 2012-03-16  David S. Miller  <davem@davemloft.net>
46295         * sysdeps/sparc/fpu/math_private.h: New file.
46297 2012-03-15  David S. Miller  <davem@davemloft.net>
46299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46300         file.
46301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
46302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46303         file.
46304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46305         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46306         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46307         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46308         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46309         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46310         sysdep routines.
46311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46313         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46314         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46316         * sysdeps/sparc/sparc-ifunc.h: New file.
46317         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46318         sparc-ifunc.h
46319         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
46320         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46321         Likewise.
46322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46323         Likewise.
46324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46326         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46328         Likewise.
46329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
46333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46334         Likewise.
46335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46336         Likewise.
46337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46341         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46342         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46343         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46344         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46345         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46346         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46347         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46348         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46349         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46350         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46351         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46352         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46353         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46354         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46355         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46356         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46357         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46358         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46359         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46360         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46362 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
46364         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46365         scaling.
46366         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46368 2012-03-15  Andreas Jaeger  <aj@suse.de>
46370         [BZ #13852]
46371         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46372         ieee754/flt-32 implementation for sin, cos and sincos.
46373         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46374         * sysdeps/i386/fpu/s_cosf.S: Likewise.
46375         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46376         * sysdeps/i386/fpu/s_sinf.S: Likewise.
46377         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46378         ieee754/flt-32 implementation for tan.
46380         * math/libm-test.inc (cos_test): Enable some large input tests for
46381         float as well
46382         (sin_test): Likewise.
46383         (sincos_test): Likewise.
46384         (tan_test): Add tests for large input.
46386         * sysdeps/i386/fpu/libm-test-ulps: Update.
46388 2012-03-15  Andreas Jaeger  <aj@suse.de>
46390         [BZ #13658]
46391         * math/libm-test.inc (cos_test): Add more test cases.
46392         (sin_test): Likewise.
46393         (sincos_test): Likewise.
46395 2012-03-15  Andreas Jaeger  <aj@suse.de>
46397         [BZ #13837]
46398         * math/libm-test.inc (cos_test): Add a test case for large input
46399         value.
46400         (sin_test): Likewise.
46401         (sincos_test): Likewise.
46403 2012-03-15  Andreas Jaeger  <aj@suse.de>
46404             Joseph Myers  <joseph@codesourcery.com>
46406         [BZ #13658]
46407         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
46408         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46409         * sysdeps/i386/fpu/branred.c: Likewise.
46410         * sysdeps/i386/fpu/dosincos.c: Likewise.
46411         * sysdeps/i386/fpu/mpa.c: Likewise.
46412         * sysdeps/i386/fpu/s_cos.S: Likewise.
46413         * sysdeps/i386/fpu/s_sin.S: Likewise.
46414         * sysdeps/i386/fpu/s_sincos.S: Likewise.
46415         * sysdeps/i386/fpu/sincos32.c: Likewise.
46417         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46418         Define.
46419         (libc_feupdateenv_53bit): Define.
46420         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46421         Define.
46422         (libc_feupdateenv_53bit): Define.
46424         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46425         53 bit (without extend i386 double precision).
46427         * math/libm-test.inc (sincos_test): Add tests for large input.
46428         (sin): Likewise.
46429         (cos): Likewise.
46431         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46433 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
46435         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46437 2012-03-15  David S. Miller  <davem@davemloft.net>
46439         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46440         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46441         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46442         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46443         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46444         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46445         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46446         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46447         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46448         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46449         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46450         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46451         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46452         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46453         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
46454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46455         file.
46456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
46457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46458         file.
46459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
46460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46461         file.
46462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
46463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46464         file.
46465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46466         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46467         fmin/fmax sysdep routines.
46468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46470 2012-03-14  David S. Miller  <davem@davemloft.net>
46472         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46473         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46474         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46475         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46476         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46477         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46478         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46479         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46480         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46481         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46482         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46483         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46484         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46485         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46486         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46487         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46488         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46489         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46490         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46491         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46492         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46493         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46494         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46495         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46496         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46497         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46498         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46499         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
46500         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46501         routines.
46502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46503         file.
46504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
46505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46506         file.
46507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
46508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46509         file.
46510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
46511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46512         file.
46513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
46514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46515         file.
46516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
46517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46518         file.
46519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46520         file.
46521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46522         file.
46523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46524         file.
46525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46526         New file.
46527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46528         file.
46529         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46530         file.
46531         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
46532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46533         file.
46534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
46535         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46536         file.
46537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
46538         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46539         file.
46540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
46541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46542         VIS3 routines.
46544         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46545         New file.
46547         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46549         * sysdeps/sparc/configure.in: New file.
46550         * sysdeps/sparc/configure: Generate.
46551         * configure.in (libc_cv_sparc_as_vis3): Substitute.
46552         * configure: Regenerate.
46553         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46554         * config.make.in (have-as-vis3): New.
46555         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46556         available use -Av9d instead of -Av9a.
46557         * sysdeps/sparc/sparc64/Makefile: Likewise.
46558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
46559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46560         New file.
46561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46562         file.
46563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46564         New file.
46565         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46566         file.
46567         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46568         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46569         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46570         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46571         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46573         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46574         fzeros/fnegs to load 0x80000000 into a float register instead of
46575         using the stack.
46576         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46578 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
46580         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46581         bits/syscall.h.
46582         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46583         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46584         ($(inst_includedir)/bits/syscall.h): Remove rule.
46585         ($(objpfx)bits/syscall.d): Include instead of
46586         $(objpfx)syscall-list.d.
46587         (generated): Change syscall-list.h and syscall-list.d to
46588         bits/syscall.h and bits/syscall.d.
46590 2012-03-14  Roland McGrath  <roland@hack.frob.com>
46592         [BZ #13846]
46593         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46595 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
46597         [BZ #13841]
46598         * math/s_csqrt.c: Include <float.h>.
46599         (__csqrt): Scale large or subnormal inputs.
46600         * math/s_csqrtf.c: Likewise.
46601         * math/s_csqrtl.c: Likewise.
46602         * math/libm-test.inc (csqrt_test): Add more tests.
46603         * sysdeps/i386/fpu/libm-test-ulps: Update.
46604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46606         [BZ #13840]
46607         * math/libm-test.inc (hypot_test): Add more tests.
46609 2012-03-13  David S. Miller  <davem@davemloft.net>
46611         [BZ #13840]
46612         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46613         double-precision for the calculation instead of scaling.
46615 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
46617         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46618         manipulate bits before adding and subtracting TWO52[sx].
46619         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46620         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46621         Likewise.
46622         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46624 2012-03-13  David S. Miller  <davem@davemloft.net>
46626         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46627         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46628         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46629         rtld-global-offsets.h
46630         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46632         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46633         large parameters.
46635         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46637         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46638         'err' in the ifdef scope in which it is actually used.
46640         * nss/nss_db/db-init.c: Include string.h
46642 2012-03-12  David S. Miller  <davem@davemloft.net>
46644         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46645         masking out of the most significant byte of random value used.
46646         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46647         Fix coding style in previous change.
46649         * sysdeps/unix/sysv/linux/kernel-features.h
46650         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46651         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46652         expression.
46653         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46654         later.
46656 2012-03-11  David S. Miller  <davem@davemloft.net>
46658         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46659         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46660         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46661         for 'resultvar' otherwise things get truncated on 64-bit.
46663         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46664         Fix masking out of the most significant byte of random value used.
46666         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46668 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
46670         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46672 2012-03-09  David S. Miller  <davem@davemloft.net>
46674         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46675         variables with appropriate CPP guards.
46676         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46677         from the frame pointer, not the stack pointer.  Correct layout
46678         comments.  Fix test on resulting framesize and the management of
46679         the outregs buffer for pltexit.  Preserve floating point return
46680         values across _dl_call_pltexit call.
46681         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46682         framesize and the management of the outregs buffer for pltexit.
46683         Preserve floating point return values across _dl_call_pltexit
46684         call.
46685         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46686         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46687         (la_sparc64_gnu_pltexit): New functions.
46688         (print_exit): Fix format string for return register value.
46690 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
46692         * sunrpc/Makefile (others): Add rpcgen.
46693         ($(objpfx)rpcgen): Remove special build rule and dependency on
46694         libc.
46695         * sunrpc/rpcgen.c: New file.
46697 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
46699         [BZ #13673]
46700         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46701         * stdio-common/bug-vfprintf-nargs.c: Likewise.
46702         * sysdeps/i386/crti.S: Likewise.
46703         * sysdeps/i386/crtn.S: Likewise.
46704         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46705         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46706         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46707         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46708         * sysdeps/sh/crti.S: Likewise.
46709         * sysdeps/sh/crtn.S: Likewise.
46710         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46712         [BZ #13673]
46713         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46714         with URL.
46715         * locale/programs/locfile-kw.gperf: Likewise.
46716         * locale/programs/charmap-kw.h: Regenerated.
46717         * locale/programs/locfile-kw.h: Likewise.
46719         [BZ #13673]
46720         * intl/plural.y: Replace FSF snail mail address with URL.
46721         * intl/plural.c: Regenerated.
46723 2012-03-09  Richard Henderson  <rth@twiddle.net>
46725         * include/math_private.h: Remove file.
46726         * math/math_private.h: Move file ...
46727         * sysdeps/generic/math_private.h: ... here.
46729         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46730         * sysdeps/powerpc/fpu/math_private.h: Likewise.
46731         * sysdeps/x86_64/fpu/math_private.h: Likewise.
46733         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
46734         and <math_private.h>.
46735         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46736         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46737         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46738         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46739         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46740         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
46741         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46742         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46743         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46744         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46745         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46746         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46747         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46748         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46749         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46750         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46751         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46752         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46753         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46754         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46755         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46756         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46757         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46758         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46759         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46760         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46761         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46762         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46763         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46764         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46765         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46766         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46767         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46768         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46769         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46770         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46771         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46772         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46773         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46774         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46775         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
46776         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46777         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46778         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46779         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46780         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46781         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
46782         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46783         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46784         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46785         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46786         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
46787         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46788         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46789         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46790         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46791         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46792         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46793         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46794         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
46795         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46796         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46797         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46798         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46799         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
46800         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46801         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46802         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46803         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
46804         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
46805         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46806         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46807         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46808         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46809         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
46810         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
46811         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
46812         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46813         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
46814         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
46815         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46816         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
46817         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46818         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46819         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46820         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46821         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
46822         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
46823         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46824         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46825         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46826         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46827         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46828         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46829         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46830         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46831         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46832         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46833         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46834         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46835         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46836         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46837         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46838         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46839         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46840         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46841         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46842         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46843         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46844         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46845         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46846         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46847         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46848         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46849         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
46850         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46851         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46852         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46853         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46854         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46855         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46856         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46857         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46858         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
46859         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46860         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46861         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46862         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
46863         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46864         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
46865         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
46866         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46867         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46868         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
46869         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
46870         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46871         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46872         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46873         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
46874         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46875         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46876         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46877         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46878         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
46879         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
46880         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46881         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46882         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46883         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
46884         * sysdeps/ieee754/k_standard.c: Likewise.
46885         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46886         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46887         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46888         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46889         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46890         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46891         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46892         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46893         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46894         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46895         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46896         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46897         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46898         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46899         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46900         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46901         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46902         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46903         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46904         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
46905         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
46906         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
46907         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46908         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46909         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46910         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
46911         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46912         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46913         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46914         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46915         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46916         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46917         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46918         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46919         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46920         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46921         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46922         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
46923         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
46924         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46925         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46926         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46927         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46928         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46929         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46930         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46931         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46932         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46933         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46934         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46935         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46936         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46937         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46938         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
46939         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46940         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46941         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
46942         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
46943         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46944         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46945         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46946         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46947         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46948         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46949         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46950         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46951         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46952         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46953         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46954         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46955         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46956         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46957         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46958         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46959         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46960         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46961         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
46962         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46963         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46964         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46965         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46966         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46967         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46968         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46969         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
46970         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46971         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46972         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
46973         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46974         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46975         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
46976         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46977         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
46978         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46979         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46980         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46981         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
46982         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
46983         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
46984         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
46985         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46986         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46987         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46988         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46989         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
46990         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46991         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46992         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
46993         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
46994         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
46995         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
46996         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
46997         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
46998         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
46999         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47000         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47001         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47002         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47003         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47004         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47005         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47006         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47007         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47008         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47009         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47010         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47011         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47012         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47013         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47014         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47015         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47016         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47017         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47018         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47019         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47020         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47021         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47022         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47023         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47024         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47025         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47026         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47027         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47028         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47029         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47030         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47031         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47032         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47033         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47034         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47035         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47036         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47037         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47038         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47039         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47040         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47041         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47042         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47043         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47044         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47045         * sysdeps/ieee754/s_lib_version.c: Likewise.
47046         * sysdeps/ieee754/s_matherr.c: Likewise.
47047         * sysdeps/ieee754/s_signgam.c: Likewise.
47048         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47049         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47050         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47051         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47052         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47053         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47054         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47055         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47056         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47057         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47058         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47059         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47060         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47061         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47062         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47063         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47064         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47065         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47066         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47067         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47068         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47070 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
47072         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47073         * sunrpc/rpc_main.c: Likewise.
47074         * sunrpc/rpc_svcout.c: Likewise.
47076 2012-03-09  David S. Miller  <davem@davemloft.net>
47078         * include/math_private.h: New file.
47080 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
47082         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47083         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47084         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47085         from <bits/socket_type.h>.
47086         (enum __socket_type): Don't define here.
47087         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47088         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47089         bits/socket_type.h.
47091         [BZ #13566]
47092         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47093         checking __USE_GNU.
47095         * Makerules ($(inst_includedir)/%.h): New rule.
47096         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47097         (install-others): Remove variable setting.
47098         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47100 2012-03-08  Richard Henderson  <rth@twiddle.net>
47102         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47103         from macro to inline function; merge with the
47104         !__LIBC_INTERNAL_MATH_INLINES version.
47105         (__ieee754_sqrtf): Likewise.
47107         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47108         to inline function.
47109         (__rintf, __floor, __floorf): Likewise.
47111         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47112         macro to inline function.
47113         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47115         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47116         not <math/math_private.h>.
47118 2012-03-08  David S. Miller  <davem@davemloft.net>
47120         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47121         copyright year.
47122         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47124 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
47126         * resolv/gai_misc.c (handle_requests): Fix struct timespec
47127         normalization.
47128         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47129         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47131 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
47133         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
47134         be defined individually, they must be defined as a block.  Define
47135         S for printing a string instead of hidint the different by using a
47136         macro for adding the 'l'.
47137         * stdio-common/tst-fphex-wide.c: Adjust.
47139 2012-03-07  Marek Polacek  <polacek@redhat.com>
47141         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47143 2012-03-08  Marek Polacek  <polacek@redhat.com>
47145         [BZ #13806]
47146         * stdio-common/Makefile (tests): Add tst-fphex-wide.
47147         * stdio-common/tst-fphex.c: Define a few macros to make the
47148         test reusable.  Use them.
47149         * stdio-common/tst-fphex-wide.c: New file.
47151 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
47153         [BZ #6911]
47154         * manual/macros.texi (gnusystems): New macro.
47155         (nongnusystems): Likewise.
47156         (gnulinuxhurdsystems): Likewise.
47157         (gnuhurdsystems): Likewise..
47158         (gnulinuxsystems): Likewise.
47159         * manual/charset.texi: Use new macros or @theglibc{} to refer to
47160         variants of the GNU system, not "GNU system".
47161         * manual/conf.texi: Likewise.
47162         * manual/errno.texi: Likewise.  Update example of errno macro
47163         expansion.
47164         * manual/filesys.texi: Likewise.
47165         (getumask): Document as specific to GNU/Hurd.
47166         * manual/install.texi: Likewise.  Reword some references to
47167         GNU/Linux.
47168         * manual/intro.texi: Likewise.
47169         * manual/io.texi: Likewise.
47170         (File Name Portability): Detail which constraints are inapplicable
47171         to all GNU systems and which are only inapplicable to GNU/Hurd.
47172         * manual/job.texi: Likewise.
47173         * manual/llio.texi: Likewise.
47174         (O_NOCTTY): Document as present on GNU/Linux.
47175         * manual/maint.texi: Likewise.
47176         * manual/memory.texi: Likewise.
47177         * manual/pattern.texi: Likewise.
47178         * manual/pipe.texi: Likewise.
47179         * manual/process.texi: Likewise.
47180         * manual/resource.texi: Likewise.
47181         (RUSAGE_CHILDREN): Remove statement about specifying a particular
47182         child on GNU/Hurd.
47183         * manual/setjmp.texi: Likewise.
47184         * manual/signal.texi: Likewise.
47185         * manual/startup.texi: Likewise.
47186         * manual/stdio.texi: Likewise.
47187         * manual/terminal.texi: Likewise.
47188         (ONLCR): Document as POSIX.
47189         (OXTABS): Document availability on GNU/Linux as XTABS.
47190         (ONOEOT): Document availability separately from other bits.
47191         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47192         * manual/time.texi: Likewise.
47193         * manual/users.texi: Likewise.
47194         * INSTALL: Regenerated.
47195         * sysdeps/gnu/errlist.c: Regenerated.
47197         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47198         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47199         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
47200         puts.
47201         * configure: Regenerated.
47203 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
47205         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47206         default includes instead of AC_HEADER_CHECK.
47207         * sysdeps/i386/configure: Regenerated.
47209         [BZ #10716]
47210         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47211         * math/s_cacoshf.c (__cacoshf): Likewise.
47212         * math/s_cacoshl.c (__cacoshl): Likewise.
47213         * math/s_casinh.c (__casinh): Set signs of result from argument.
47214         * math/s_casinhf.c (__casinhf): Likewise.
47215         * math/s_casinhl.c (__casinhl): Likewise.
47216         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47217         (casinh_test): Add more tests.
47218         * sysdeps/i386/fpu/libm-test-ulps: Update.
47219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47221 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
47223         * po/zh_TW.po: Update from translation team.
47225         * login/Makefile (distribute): Remove variable.
47226         * catgets/Makefile: Likewise.
47227         * mach/Makefile: Likewise.
47228         * malloc/Makefile: Likewise.
47229         * misc/Makefile: Likewise.
47230         * iconv/Makefile: Likewise.
47231         * nscd/Makefile: Likewise.
47232         * hurd/Makefile: Likewise.
47233         * manual/Makefile: Likewise.
47234         * locale/Makefile: Likewise.
47235         * intl/Makefile: Likewise.
47236         * conform/Makefile: Likewise.
47237         * nss/Makefile: Likewise.
47238         * time/Makefile: Likewise.
47239         * soft-fp/Makefile: Likewise.
47240         * dirent/Makefile: Likewise.
47241         * gmon/Makefile: Likewise.
47242         * po/Makefile: Likewise.
47243         * rt/Makefile: Likewise.
47244         * socket/Makefile: Likewise.
47245         * math/Makefile: Likewise.
47246         * signal/Makefile: Likewise.
47247         * debug/Makefile: Likewise.
47248         * elf/Makefile: Likewise.
47249         * timezone/Makefile: Likewise.
47250         * stdlib/Makefile: Likewise.
47251         * iconvdata/Makefile: Likewise.
47252         * sunrpc/Makefile: Likewise.
47253         * io/Makefile: Likewise.
47254         * argp/Makefile: Likewise.
47255         * inet/Makefile: Likewise.
47256         * hesiod/Makefile: Likewise.
47257         * grp/Makefile: Likewise.
47258         * csu/Makefile: Likewise.
47259         * wctype/Makefile: Likewise.
47260         * crypt/Makefile: Likewise.
47261         * libio/Makefile: Likewise.
47262         * string/Makefile: Likewise.
47263         * nis/Makefile: Likewise.
47264         * resolv/Makefile: Likewise.
47265         * stdio-common/Makefile: Likewise.
47266         * wcsmbs/Makefile: Likewise.
47267         * dlfcn/Makefile: Likewise.
47268         * posix/Makefile: Likewise.
47270         [BZ #6959]
47271         * timezone/Makefile: Don't install timezone files, just the programs
47272         and scripts.
47274 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
47276         * nss/databases.def: Add missing gshadow entry.
47278         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
47280 2012-03-06  Marek Polacek  <polacek@redhat.com>
47282         [BZ #13726]
47283         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47284         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47285         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47286         * stdio-common/tst-long-dbl-fphex.c: New file.
47288 2012-03-06  David S. Miller  <davem@davemloft.net>
47290         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47291         (set_obp_int): New function.
47292         (get_obp_int): New function.
47293         (__get_clockfreq_via_dev_openprom): Likewise.
47294         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47295         Avoid unused variable warnings on 'val' and use builtin_expect.
47296         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47297         __builtin_expect.
47298         (INLINE_CLONE_SYSCALL): Likewise.
47300 2012-03-05  David S. Miller  <davem@davemloft.net>
47302         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47304 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
47306         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47308         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47309         only for |x| >= 40.
47310         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47312 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
47314         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47315         Replace gettimeofday with __vdso_gettimeofday.
47317         * sysdeps/unix/sysv/linux/x86_64/init-first.c
47318         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47319         __vdso_clock_gettime and __vdso_getcpu.
47321         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47322         time with __vdso_time.
47324 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
47326         * manual/lang.texi (size_t): Note types to which size_t may be
47327         equivalent with the GNU C Library, but do not describe when
47328         differences between them are significant.
47330 2012-03-05  Andreas Jaeger  <aj@suse.de>
47332         * sysdeps/i386/fpu/libm-test-ulps: Update.
47334 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
47336         [BZ #3976]
47337         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47338         (__ieee754_pow): Save and restore rounding mode and use
47339         round-to-nearest for main computations.
47340         * math/libm-test.inc (pow_test_tonearest): New function.
47341         (pow_test_towardzero): Likewise.
47342         (pow_test_downward): Likewise.
47343         (pow_test_upward): Likewise.
47344         (main): Call the new functions.
47345         * sysdeps/i386/fpu/libm-test-ulps: Update.
47346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47348         [BZ #3976]
47349         * math/libm-test.inc (cosh_test_tonearest): New function.
47350         (cosh_test_towardzero): Likewise.
47351         (cosh_test_downward): Likewise.
47352         (cosh_test_upward): Likewise.
47353         (sinh_test_tonearest): Likewise.
47354         (sinh_test_towardzero): Likewise.
47355         (sinh_test_downward): Likewise.
47356         (sinh_test_upward): Likewise.
47357         (main): Call the new functions.
47358         * sysdeps/i386/fpu/libm-test-ulps: Update.
47359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47361 2012-03-05  Tom de Vries  <tom@codesourcery.com>
47363         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47364         default stack guard is set in last bytes.
47365         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47367 2012-03-05  Kees Cook  <keescook@chromium.org>
47369         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
47371         [BZ #13656]
47372         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47373         possibly allocate from heap instead of stack.
47374         * stdio-common/bug-vfprintf-nargs.c: New file.
47375         * stdio-common/Makefile (tests): Add nargs overflow test.
47377 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
47379         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47381 2012-03-03  Marek Polacek  <polacek@redhat.com>
47383         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47384         * math/math_private.h: Likewise.
47385         * stdlib/tst-strtod.c: Likewise.
47386         * sysdeps/i386/i486/bits/atomic.h: Likewise.
47387         * sysdeps/x86_64/bits/atomic.h: Likewise.
47389 2012-03-02  David S. Miller  <davem@davemloft.net>
47391         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47392         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47393         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47394         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47395         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47396         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47397         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47398         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47400 2012-03-02  Roland McGrath  <roland@hack.frob.com>
47402         [BZ #13792]
47403         * manual/examples/README: New file, says the example source files
47404         can be used under GPL>=2.
47405         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47406         line containing just "*/".
47407         * manual/examples/add.c: Add copyright header (GPL>=2).
47408         * manual/examples/argp-ex1.c: Likewise.
47409         * manual/examples/argp-ex2.c: Likewise.
47410         * manual/examples/argp-ex3.c: Likewise.
47411         * manual/examples/argp-ex4.c: Likewise.
47412         * manual/examples/atexit.c: Likewise.
47413         * manual/examples/db.c: Likewise.
47414         * manual/examples/dir.c: Likewise.
47415         * manual/examples/dir2.c: Likewise.
47416         * manual/examples/execinfo.c: Likewise.
47417         * manual/examples/filecli.c: Likewise.
47418         * manual/examples/filesrv.c: Likewise.
47419         * manual/examples/fmtmsgexpl.c: Likewise.
47420         * manual/examples/genpass.c: Likewise.
47421         * manual/examples/inetcli.c: Likewise.
47422         * manual/examples/inetsrv.c: Likewise.
47423         * manual/examples/isockad.c: Likewise.
47424         * manual/examples/longopt.c: Likewise.
47425         * manual/examples/memopen.c: Likewise.
47426         * manual/examples/memstrm.c: Likewise.
47427         * manual/examples/mkfsock.c: Likewise.
47428         * manual/examples/mkisock.c: Likewise.
47429         * manual/examples/mygetpass.c: Likewise.
47430         * manual/examples/pipe.c: Likewise.
47431         * manual/examples/popen.c: Likewise.
47432         * manual/examples/rprintf.c: Likewise.
47433         * manual/examples/search.c: Likewise.
47434         * manual/examples/select.c: Likewise.
47435         * manual/examples/setjmp.c: Likewise.
47436         * manual/examples/sigh1.c: Likewise.
47437         * manual/examples/sigusr.c: Likewise.
47438         * manual/examples/stpcpy.c: Likewise.
47439         * manual/examples/strdupa.c: Likewise.
47440         * manual/examples/strftim.c: Likewise.
47441         * manual/examples/strncat.c: Likewise.
47442         * manual/examples/subopt.c: Likewise.
47443         * manual/examples/swapcontext.c: Likewise.
47444         * manual/examples/termios.c: Likewise.
47445         * manual/examples/testopt.c: Likewise.
47446         * manual/examples/testpass.c: Likewise.
47447         * manual/examples/timeval_subtract.c: Likewise.
47449         [BZ #13792]
47450         * manual/time.texi (Elapsed Time): Move timeval_subtract example
47451         function to ...
47452         * manual/timeval_subtract.c.texi: ... here, new file.
47454 2012-03-02  David S. Miller  <davem@davemloft.net>
47456         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47458 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
47460         [BZ #3976]
47461         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47462         (__sin): Save and restore rounding mode and use round-to-nearest
47463         for all computations.
47464         (__cos): Save and restore rounding mode and use round-to-nearest
47465         for all computations.
47466         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47467         <fenv.h>.
47468         (tan): Save and restore rounding mode and use round-to-nearest for
47469         all computations.
47470         * math/libm-test.inc (cos_test_tonearest): New function.
47471         (cos_test_towardzero): Likewise.
47472         (cos_test_downward): Likewise.
47473         (cos_test_upward): Likewise.
47474         (sin_test_tonearest): Likewise.
47475         (sin_test_towardzero): Likewise.
47476         (sin_test_downward): Likewise.
47477         (sin_test_upward): Likewise.
47478         (tan_test_tonearest): Likewise.
47479         (tan_test_towardzero): Likewise.
47480         (tan_test_downward): Likewise.
47481         (tan_test_upward): Likewise.
47482         (main): Call the new functions.
47483         * sysdeps/i386/fpu/libm-test-ulps: Update.
47484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47486         [BZ #10135]
47487         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47488         small n, then large n, before computing and testing k+n.
47489         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47490         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47491         Likewise.
47492         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47493         Likewise.
47494         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47495         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47496         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47497         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47498         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47499         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47500         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47501         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47502         * math/libm-test.inc (scalbn_test): Add more tests.
47503         (scalbln_test): Likewise.
47505         * manual/filesys.texi (mode_t): Describe constraints on size and
47506         signedness, not exact equivalence to a particular type.
47507         (ino_t): Likewise.
47508         (ino64_t): Likewise.
47509         (dev_t): Likewise.
47510         (nlink_t): Likewise.
47511         (blkcnt_t): Likewise.
47512         (blkcnt64_t): Likewise.
47513         * manual/llio.texi (off_t): Likewise.
47515         [BZ #3976]
47516         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47517         (__ieee754_exp): Save and restore rounding mode and use
47518         round-to-nearest for all computations.
47519         * math/libm-test.inc (exp_test_tonearest): New function.
47520         (exp_test_towardzero): Likewise.
47521         (exp_test_downward): Likewise.
47522         (exp_test_upward): Likewise.
47523         (main): Call the new functions.
47524         * sysdeps/i386/fpu/libm-test-ulps: Update.
47525         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47527 2012-03-01  Chris Demetriou  <cgd@google.com>
47529         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47530         have predictable order.
47532 2012-03-01  David S. Miller  <davem@davemloft.net>
47534         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47536         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47537         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47538         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47539         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47541         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47542         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47543         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47544         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47545         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47546         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47547         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47548         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47549         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47551         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47553         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47554         * sysdeps/sparc/fpu/libm-test-ulps: to here.
47555         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47557         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47558         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47559         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47560         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47561         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47562         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47563         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47564         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47565         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47566         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47567         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47568         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47569         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47570         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47571         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47572         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47573         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47574         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47575         * sysdeps/sparc/elf/configure: Regenerated.
47577 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
47579         * configure.in (AS, LD): Require binutils 2.20 or later.
47580         * configure: Regenerated.
47581         * manual/install.texi (Tools for Compilation): Give binutils 2.20
47582         as required minimum version.
47583         * INSTALL: Regenerated.
47585         [BZ #2541]
47586         [BZ #4108]
47587         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47588         before squaring exponent.
47589         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47590         bottom long double and 27 bits of top long double before squaring
47591         exponent.
47592         * math/libm-test.inc (erfc_test): Add more tests.
47593         * sysdeps/i386/fpu/libm-test-ulps: Update.
47594         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47597 2012-03-01  Kai Tietz  <ktietz@redhat.com>
47599         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47600         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47601         containing bit-fields.
47602         * soft-fp/extended.h (_FP_UNION_E): Likewise.
47603         * soft-fp/single.h (_FP_UNION_S): Likewise.
47604         * soft-fp/double.h (_FP_UNION_D): Likewise.
47606 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
47608         [BZ #13786]
47609         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47610         not include ../strcmp.S.
47611         [USE_AS_STRNCASECMP_L]: Likewise.
47612         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47613         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47614         * sysdeps/i386/i686/multiarch/strncase_l-c.c
47615         (__strncasecmp_l_ia32): Define as alias to
47616         __strncasecmp_l_nonascii.
47618         [BZ #5794]
47619         * math/libm-test.inc (expm1_test): Add test for bug 5794.
47620         * sysdeps/i386/fpu/libm-test-ulps: Update.
47621         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47623         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47624         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47626 2012-02-29  Jeff Law  <law@redhat.com>
47628         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47629         out of bounds read.
47631 2012-02-29  Marek Polacek  <polacek@redhat.com>
47633         [BZ #13706]
47634         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47635         * elf/Makefile: Add rules to run tst-unused-dep.out.
47637 2012-02-28  David S. Miller  <davem@davemloft.net>
47639         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47640         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47641         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47642         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47643         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47644         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47646 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
47648         * math/libm-test.inc (llround_test): Move one test from
47649         lround_test.  Use TEST_f_L in moved test.
47650         (lround_test): Move misplaced test to llround_test.  Add testcase
47651         from bug 2561.
47653 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
47655         * sysdeps/x86_64/fpu/e_expf.S: New file.
47656         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47658 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
47660         [BZ #13637]
47661         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47662         of remain_len that may cause incomplete multi-byte character and
47663         false match.
47664         * posix/bug-regex33.c: New file.
47665         * posix/Makefile (tests): Add bug-regex33.
47667 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
47669         * manual/macros.texi: New file.
47670         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47671         * manual/libc.texinfo: Include macros.texi.
47672         * manual/creatute.texi: Likewise.
47673         * manual/install.texi: Likewise.
47674         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47675         @glibcadj{} in references to the GNU C Library.
47676         * manual/charset.texi: Likewise.
47677         * manual/conf.texi: Likewise.
47678         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
47679         when not using those macros.
47680         * manual/creature.texi: Likewise.
47681         * manual/crypt.texi: Likewise.
47682         * manual/errno.texi: Likewise.
47683         * manual/filesys.texi: Likewise.
47684         * manual/header.texi: Likewise.
47685         * manual/install.texi: Likewise.
47686         * manual/intro.texi: Likewise.
47687         * manual/io.texi: Likewise.
47688         * manual/job.texi: Likewise.
47689         * manual/lang.texi: Likewise.
47690         * manual/libc.texiinfo: Likewise.
47691         * manual/llio.texi: Likewise.
47692         * manual/locale.texi: Likewise.
47693         * manual/maint.texi: Likewise.
47694         * manual/math.texi: Likewise.
47695         * manual/memory.texi: Likewise.
47696         * manual/message.texi: Likewise.
47697         * manual/nss.texi: Likewise.
47698         * manual/pattern.texi: Likewise.
47699         * manual/process.texi: Likewise.
47700         * manual/resource.texi: Likewise.
47701         * manual/search.texi: Likewise.
47702         * manual/setjmp.texi: Likewise.
47703         * manual/signal.texi: Likewise.
47704         * manual/socket.texi: Likewise.
47705         * manual/startup.texi: Likewise.
47706         * manual/stdio.texi: Likewise.
47707         * manual/string.texi: Likewise.
47708         * manual/sysinfo.texi: Likewise.
47709         * manual/syslog.texi: Likewise.
47710         * manual/terminal.texi: Likewise.
47711         * manual/time.texi: Likewise.
47712         * manual/users.texi: Likewise.
47713         * INSTALL: Regenerated.
47714         * NOTES: Regenerated.
47715         * sysdeps/gnu/errlist.c: Regenerated.
47717 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
47719         * include/dirent.h: Include <dirstream.h> before
47720         <dirent/dirent.h>.
47722 2012-02-28  David S. Miller  <davem@davemloft.net>
47724         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47725         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47726         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47727         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47729 2012-02-27  David S. Miller  <davem@davemloft.net>
47731         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
47732         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
47733         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
47734         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
47736         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
47737         frame pointer instead of stack pointer relative arg slot.
47738         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47739         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47740         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47742 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
47744         [BZ #3992]
47745         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
47747 2012-02-27  David S. Miller  <davem@davemloft.net>
47749         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
47750         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47751         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47752         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
47753         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47754         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47755         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
47756         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
47758 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
47760         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
47761         later.  Allow versions 5-9.
47762         * configure: Regenerated.
47763         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
47764         required minimum version and 4.6 as recommended version.  Do not
47765         mention bugs in GCC 2.7 and 2.8.
47766         * INSTALL: Regenerated.
47768 2012-02-27  David S. Miller  <davem@davemloft.net>
47770         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
47771         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
47772         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
47773         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
47774         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
47775         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
47776         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
47777         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
47779         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
47780         manipulate bits before adding and subtracting TWO112[sx].
47781         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47783 2012-02-27  Roland McGrath  <roland@hack.frob.com>
47785         [BZ #13775]
47786         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
47787         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
47788         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
47789         being in POSIX, because they are in 1003.1-2008.
47791         * rt/tst-aio.c: Include <fcntl.h>.
47792         * rt/tst-aio7.c: Likewise.
47793         * rt/tst-aio64.c: Likewise.
47795         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
47797 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
47799         * manual/install.texi (--with-headers): Describe headers as
47800         interface headers, not private headers.
47801         (Specific advice for GNU/Linux systems): Describe use of headers
47802         from "make headers_install", not private headers from older
47803         kernels.
47804         * INSTALL: Regenerated.
47805         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
47806         Change to 2.6.19.
47807         * sysdeps/unix/sysv/linux/configure: Regenerated.
47809         * manual/llio.texi (fclean): Remove documentation.
47811         * manual/Makefile (libc-texi-generated): New variable.  Include
47812         version.texi.
47813         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
47814         $(libc-texi-generated), not duplicated list of files.
47815         (version.texi, stamp-version): New rules.
47816         (realclean): Remove $(libc-texi-generated), not individual files
47817         from that list.  Do not remove dir-add.texinfo.
47818         * manual/libc.texinfo: Comment out uses of edition numbers and
47819         references to printed manual.  Remove last-updated dates.
47820         (EDITION): Comment out.
47821         (ISBN): Likewise.
47822         (VERSION, UPDATED): Remove.
47823         (version.texi): Include.
47825 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
47827         * sysdeps/posix/spawni.c: Include <signal.h>.
47828         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
47829         * sysdeps/pthread/aio_fsync.c: Likewise.
47831 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
47833         * conform/Makefile (tests): Run only when not cross-compiling and
47834         when fast-check is not defined.
47836         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
47837         * conform/data/limits.h-data: Fixes for POSIX2008.
47838         * conform/run-conformtest.sh: Run all tests.
47839         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
47840         headers.
47841         * include/bits/dlfcn.h: Likewise.
47842         * include/langinfo.h: Likewise.
47843         * include/monetary.h: Likewise.
47844         * include/sys/poll.h: Likewise.
47846         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
47847         for __USE_GNU.
47848         * posix/spawn.h: Define __need_sigset_t.
47849         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
47850         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
47851         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
47852         to get sigevent_t only.
47853         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
47854         only for __USE_GNU.
47855         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47856         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47857         process_vm_writev only for __USE_GNU.
47858         * termios/termios.h: Declare tcgetsid also for POSIX2008.
47860         * conform/Makefile: For now ignore errors from run-conformtest.
47861         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
47862         POSIX to avoid namespace pollution.  Don't prepend headers.
47863         * conform/data/aio.h-data: Fixes for POSIX testing.
47864         * conform/data/fcntl.h-data: Likewise.
47865         * conform/data/glob.h-data: Likewise.
47866         * conform/data/grp.h-data: Likewise.
47867         * conform/data/pthread.h-data: Likewise.
47868         * conform/data/pwd.h-data: Likewise.
47869         * conform/data/signal.h-data: Likewise.
47870         * conform/data/spawn.h-data: Likewise.
47871         * conform/data/stdio.h-data: Likewise.
47872         * conform/data/stdlib.h-data: Likewise.
47873         * conform/data/stropts.h-data: Likewise.
47874         * conform/data/sys/mman.h-data: Likewise.
47875         * conform/data/sys/stat.h-data: Likewise.
47876         * conform/data/sys/types.h-data: Likewise.
47877         * conform/data/sys/wait.h-data: Likewise.
47878         * conform/data/time.h-data: Likewise.
47879         * conform/data/unistd.h-data: Likewise.
47880         * conform/data/utime.h-data: Likewise.
47882         * io/sys/stat.h: fchmod was always in POSIX.
47883         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
47884         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
47885         * rt/aio.h: Define __need_timespec before including <time.h>.
47886         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
47887         struct.  Add forward declaration of pthread_attr_t and use it in
47888         sigevent.
47889         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47890         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47891         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
47892         always remove CLK_TCK definition.
47894 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
47896         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
47898 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
47900         * conform/run-conformtest.sh: New file.
47901         * conform/Makefile: Run run-conformtest for tests.
47902         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
47903         support.
47905         * conform/data/uchar.h-data: New file.
47906         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
47907         * conform/data/arpa/inet.h-data: Likewise.
47908         * conform/data/assert.h-data: Likewise.
47909         * conform/data/complex.h-data: Likewise.
47910         * conform/data/cpio.h-data: Likewise.
47911         * conform/data/ctype.h-data: Likewise.
47912         * conform/data/dirent.h-data: Likewise.
47913         * conform/data/dlfcn.h-data: Likewise.
47914         * conform/data/errno.h-data: Likewise.
47915         * conform/data/fcntl.h-data: Likewise.
47916         * conform/data/float.h-data: Likewise.
47917         * conform/data/fmtmsg.h-data: Likewise.
47918         * conform/data/fnmatch.h-data: Likewise.
47919         * conform/data/ftw.h-data: Likewise.
47920         * conform/data/glob.h-data: Likewise.
47921         * conform/data/grp.h-data: Likewise.
47922         * conform/data/iconv.h-data: Likewise.
47923         * conform/data/inttypes.h-data: Likewise.
47924         * conform/data/langinfo.h-data: Likewise.
47925         * conform/data/libgen.h-data: Likewise.
47926         * conform/data/limits.h-data: Likewise.
47927         * conform/data/locale.h-data: Likewise.
47928         * conform/data/math.h-data: Likewise.
47929         * conform/data/monetary.h-data: Likewise.
47930         * conform/data/mqueue.h-data: Likewise.
47931         * conform/data/ndbm.h-data: Likewise.
47932         * conform/data/net/if.h-data: Likewise.
47933         * conform/data/netdb.h-data: Likewise.
47934         * conform/data/netinet/in.h-data: Likewise.
47935         * conform/data/nl_types.h-data: Likewise.
47936         * conform/data/poll.h-data: Likewise.
47937         * conform/data/pthread.h-data: Likewise.
47938         * conform/data/pwd.h-data: Likewise.
47939         * conform/data/regex.h-data: Likewise.
47940         * conform/data/sched.h-data: Likewise.
47941         * conform/data/search.h-data: Likewise.
47942         * conform/data/semaphore.h-data: Likewise.
47943         * conform/data/setjmp.h-data: Likewise.
47944         * conform/data/signal.h-data: Likewise.
47945         * conform/data/spawn.h-data: Likewise.
47946         * conform/data/stdarg.h-data: Likewise.
47947         * conform/data/stdio.h-data: Likewise.
47948         * conform/data/stdlib.h-data: Likewise.
47949         * conform/data/string.h-data: Likewise.
47950         * conform/data/strings.h-data: Likewise.
47951         * conform/data/stropts.h-data: Likewise.
47952         * conform/data/sys/ipc.h-data: Likewise.
47953         * conform/data/sys/mman.h-data: Likewise.
47954         * conform/data/sys/msg.h-data: Likewise.
47955         * conform/data/sys/resource.h-data: Likewise.
47956         * conform/data/sys/select.h-data: Likewise.
47957         * conform/data/sys/sem.h-data: Likewise.
47958         * conform/data/sys/shm.h-data: Likewise.
47959         * conform/data/sys/socket.h-data: Likewise.
47960         * conform/data/sys/stat.h-data: Likewise.
47961         * conform/data/sys/statvfs.h-data: Likewise.
47962         * conform/data/sys/time.h-data: Likewise.
47963         * conform/data/sys/timeb.h-data: Likewise.
47964         * conform/data/sys/times.h-data: Likewise.
47965         * conform/data/sys/types.h-data: Likewise.
47966         * conform/data/sys/uio.h-data: Likewise.
47967         * conform/data/sys/un.h-data: Likewise.
47968         * conform/data/sys/utsname.h-data: Likewise.
47969         * conform/data/sys/wait.h-data: Likewise.
47970         * conform/data/syslog.h-data: Likewise.
47971         * conform/data/tar.h-data: Likewise.
47972         * conform/data/termios.h-data: Likewise.
47973         * conform/data/utime.h-data: Likewise.
47974         * conform/data/utmpx.h-data: Likewise.
47975         * conform/data/varargs.h-data: Likewise.
47976         * conform/data/wchar.h-data: Likewise.
47977         * conform/data/wctype.h-data: Likewise.
47978         * conform/data/wordexp.h-data: Likewise.
47980         * include/stropts.h: New file.
47981         * include/uchar.h: New file.
47982         * include/aio.h: Changes to allow conformtest.pl to use the headers.
47983         * include/assert.h: Likewise.
47984         * include/ctype.h: Likewise.
47985         * include/dirent.h: Likewise.
47986         * include/dlfcn.h: Likewise.
47987         * include/fcntl.h: Likewise.
47988         * include/fnmatch.h: Likewise.
47989         * include/glob.h: Likewise.
47990         * include/grp.h: Likewise.
47991         * include/libio.h: Likewise.
47992         * include/locale.h: Likewise.
47993         * include/math.h: Likewise.
47994         * include/net/if.h: Likewise.
47995         * include/netdb.h: Likewise.
47996         * include/netinet/in.h: Likewise.
47997         * include/pthread.h: Likewise.
47998         * include/pwd.h: Likewise.
47999         * include/regex.h: Likewise.
48000         * include/sched.h: Likewise.
48001         * include/search.h: Likewise.
48002         * include/setjmp.h: Likewise.
48003         * include/signal.h: Likewise.
48004         * include/stdio.h: Likewise.
48005         * include/stdlib.h: Likewise.
48006         * include/string.h: Likewise.
48007         * include/sys/cdefs.h: Likewise.
48008         * include/sys/mman.h: Likewise.
48009         * include/sys/msg.h: Likewise.
48010         * include/sys/resource.h: Likewise.
48011         * include/sys/select.h: Likewise.
48012         * include/sys/socket.h: Likewise.
48013         * include/sys/stat.h: Likewise.
48014         * include/sys/statvfs.h: Likewise.
48015         * include/sys/time.h: Likewise.
48016         * include/sys/times.h: Likewise.
48017         * include/sys/uio.h: Likewise.
48018         * include/sys/utsname.h: Likewise.
48019         * include/sys/wait.h: Likewise.
48020         * include/termios.h: Likewise.
48021         * include/time.h: Likewise.
48022         * include/ulimit.h: Likewise.
48023         * include/unistd.h: Likewise.
48024         * include/utime.h: Likewise.
48025         * include/wchar.h: Likewise.
48026         * include/wctype.h: Likewise.
48027         * include/wordexp.h: Likewise.
48029         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48031         * time/time.h: TIME_UTC must be a macro.
48032         Make timespec_get available for ISO C11 only as well.
48034 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
48036         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48037         Reported by Peng Haitao <penght@cn.fujitsu.com>.
48039 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48041         * configure.in: Use -o not -a in test for unsupported multi-arch.
48043 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48045         * manual/texinfo.tex: Update to version 2012-01-19.16.
48047 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48049         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48051 2012-02-24  Roland McGrath  <roland@hack.frob.com>
48053         [BZ #13738]
48054         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48055         * manual/fdl-1.3.texi: New file.
48056         * manual/fdl-1.1.texi: File removed.
48058         [BZ #13738]
48059         * manual/libc.texinfo (FDL_VERSION): New @set.
48060         Use it for mention of FDL in cover text.
48061         (Documentation License): Use it in @include file name.
48063 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48064             Roland McGrath  <roland@hack.frob.com>
48066         [BZ #5461]
48067         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48068         (not LONG_LONG_MAX and LONG_LONG_MIN.
48069         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48070         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
48071         name.
48072         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48074 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48076         [BZ #2547]
48077         [BZ #11365]
48078         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48079         manipulate bits before adding and subtracting TWO23[sx].
48080         * math/libm-test.inc (nearbyint_test): Add more tests.
48082 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48084         [BZ #2548]
48085         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48086         bits before adding and subtracting TWO23[sx].
48087         * math/libm-test.inc (rint_test): Add more tests.
48088         (rint_test_tonearest): Likewise.
48089         (rint_test_towardzero): Likewise.
48090         (rint_test_downward): Likewise.
48091         (rint_test_upward: Likewise.
48093 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48095         [BZ #10110]
48096         * include/stdc-predef.h: New file.  Extracted from features.h.
48097         * include/features.h: Include stdc-predef.h.
48098         * Makefile (headers): Add stdc-predef.h.
48099         * CONFORMANCE (Compiler limitations): Update.
48101 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48103         * manual/libc.texinfo (VERSION, UPDATED): Revert.
48105 2012-02-21  David S. Miller  <davem@davemloft.net>
48107         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48108         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48110 2012-02-20  David S. Miller  <davem@davemloft.net>
48112         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48113         using a normal save/restore sequence, rather than allocating a
48114         dummy stack frame just to store a frame pointer and restore.
48115         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48117 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48119         * manual/install.texi: Fix stray word in line-wrapped comment.
48121 2012-02-20  David S. Miller  <davem@davemloft.net>
48123         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48124         both binutils and gcc support GOTDATA.
48126         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48127         "rd %pc" in the PIC register setup sequences.
48129         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48130         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48131         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48132         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48133         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48134         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48135         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48136         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48137         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48138         (SYSCALL_ERROR_HANDLER): Likewise.
48139         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48140         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48141         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48142         (SYSCALL_ERROR_HANDLER): Likewise.
48144         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48145         (HAVE_GCC_GOTDATA): New.
48146         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48147         relocation support in both binutils and gcc.
48148         * sysdeps/sparc/elf/configure: Regenerate.
48150         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48151         * sysdeps/sparc/sparc32/elf/configure: Delete.
48152         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48153         * sysdeps/sparc/sparc64/elf/configure: Delete.
48154         * sysdeps/sparc/elf/configure.in: New file.
48155         * sysdeps/sparc/elf/configure: Generate.
48157         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48158         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48159         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48160         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48161         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48163 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48165         * manual/install.texi: Do not mention specific glibc version
48166         numbers.
48167         * manual/libc.texinfo (VERSION, UPDATED): Update.
48168         (@copying): Use @copyright{} and range of years.
48170 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48172         [BZ #13695]
48173         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48174         [crti.S not in sysdirs] (generated): Do not append.
48175         [crti.S not in sysdirs] (omit-deps): Likewise.
48176         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48177         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48178         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48179         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48180         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48181         Likewise.
48182         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48183         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48184         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48185         * csu/defs.awk: Remove file.
48186         * sysdeps/generic/initfini.c: Likewise.
48187         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48188         variable.
48189         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48190         Likewise.
48192 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
48194         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48195         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48196         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48197         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48198         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48199         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48200         <bits/epoll.h>.
48201         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48202         (__EPOLL_PACKED): Define to empty if not defined by
48203         <bits/epoll.h>.
48204         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48205         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48206         bits/epoll.h.
48208 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
48210         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48211         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48212         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48213         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48214         <bits/timerfd.h>.
48215         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48216         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48217         bits/timerfd.h.
48219 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
48221         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48222         in C locale.
48223         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48224         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48225         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48228 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
48230         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48231         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48233 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
48235         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48236         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48237         defined.
48238         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48239         Likewise.
48240         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48241         entry for 2.16.
48243 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
48245         * math/w_acos.c: Use non-signaling floating-point comparisons.
48246         * math/w_acosf.c: Likewise.
48247         * math/w_acosh.c: Likewise.
48248         * math/w_acoshf.c: Likewise.
48249         * math/w_acoshl.c: Likewise.
48250         * math/w_acosl.c: Likewise.
48251         * math/w_asin.c: Likewise.
48252         * math/w_asinf.c: Likewise.
48253         * math/w_asinl.c: Likewise.
48254         * math/w_atanh.c: Likewise.
48255         * math/w_atanhf.c: Likewise.
48256         * math/w_atanhl.c: Likewise.
48257         * math/w_exp2.c: Likewise.
48258         * math/w_exp2f.c: Likewise.
48259         * math/w_exp2l.c: Likewise.
48260         * math/w_j0.c: Likewise.
48261         * math/w_j0f.c: Likewise.
48262         * math/w_j0l.c: Likewise.
48263         * math/w_j1.c: Likewise.
48264         * math/w_j1f.c: Likewise.
48265         * math/w_j1l.c: Likewise.
48266         * math/w_jn.c: Likewise.
48267         * math/w_jnf.c: Likewise.
48268         * math/w_log.c: Likewise.
48269         * math/w_log10.c: Likewise.
48270         * math/w_log10f.c: Likewise.
48271         * math/w_log10l.c: Likewise.
48272         * math/w_log2.c: Likewise.
48273         * math/w_log2f.c: Likewise.
48274         * math/w_log2l.c: Likewise.
48275         * math/w_logf.c: Likewise.
48276         * math/w_logl.c: Likewise.
48277         * math/w_sqrt.c: Likewise.
48278         * math/w_sqrtf.c: Likewise.
48279         * math/w_sqrtl.c: Likewise.
48280         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48281         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48282         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48283         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48284         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48286 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48288         [BZ #9739]
48289         * manual/string.texi (strnlen): Use correct parameter name in
48290         equivalent expression.
48292 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48294         [BZ #11174]
48295         * manual/users.texi (seteuid): Consistently use neweuid for
48296         argument name.
48298 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48300         [BZ #13704]
48301         * manual/nss.texi (Services in the NSS configuration): Correct
48302         list of services in example configuration file.
48304 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
48306         [BZ #11322]
48307         * manual/arith.texi: Remove statements about negative zero
48308         behaving identically to zero.
48310 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
48312         [BZ #5993]
48313         * manual/install.texi: Do not document upgrading from libc5.
48315 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
48317         [BZ #4596]
48318         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48320 2012-02-18  David S. Miller  <davem@davemloft.net>
48322         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48323         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48324         %o7 across the call.
48325         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48326         instead.
48327         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48328         SETUP_PIC_REG_LEAF.
48329         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48330         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48331         * sysdeps/sparc/crtn.S: Likewise.
48333 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
48335         * aout/Makefile: Remove.
48337 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
48339         [BZ #13058]
48340         * manual/examples/argp-ex1.c (main): Format definition in GNU
48341         style.
48342         * manual/examples/argp-ex2.c (main): Likewise.
48343         * manual/examples/argp-ex3.c (main): Likewise.
48344         * manual/examples/argp-ex4.c (main): Likewise.
48345         * manual/examples/longopt.c (main): Use new-style prototype
48346         definition.
48347         * manual/examples/strncat.c (main): Specify return type and use
48348         (void) for arguments.
48349         * manual/examples/subopt.c (main): Use char **argv argument.
48351 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48353         [BZ #5077]
48354         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48355         rounding modes.
48357 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
48359         [BZ #6907]
48360         * manual/string.texi (strchr): Change when strchrnul is
48361         recommended.
48363 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
48365         [BZ #174]
48366         * manual/locale.texi (setlocale): Document LOCPATH.
48368 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48370         [BZ #10210]
48371         * manual/process.texi (execle): Move @dots{} before last argument.
48373 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
48375         [BZ #12047]
48376         * manual/charset.texi (Generic Charset Conversion): Fix typo
48377         (LC_TYPE -> LC_CTYPE).
48379 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
48381         [BZ #5805]
48382         * manual/arith.texi (scalbn): Use @var{} on parameter names.
48383         (scalbnf): Likewise.
48384         (scalbnl): Likewise.
48385         (scalbln): Likewise.
48386         (scalblnf): Likewise.
48387         (scalblnl): Likewise.
48388         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48389         (vwarnx): Likewise.
48390         (verr): Likewise.
48391         (verrx): Likewise.
48392         * manual/filesys.texi (telldir): Use braces around return type.
48393         * manual/llio.texi (mmap): Add space after comma.
48394         (mmap64): Likewise.
48395         * manual/math.texi (jn): Use @var{} on parameter names.
48396         (jnf): Likewise.
48397         (jnl): Likewise.
48398         (yn): Likewise.
48399         (ynf): Likewise.
48400         (ynl): Likewise.
48401         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48402         line.
48403         * manual/resource.texi (ulimit): Use @dots{} instead of literal
48404         "...".
48405         (sched_get_priority_min): Remove semicolon on @deftypefun line.
48406         (sched_get_priority_max): Likewise.
48407         * manual/signal.texi (sigvec): Add space after comma.
48408         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48409         names.
48410         (if_indextoname): Likewise.
48411         (if_freenameindex): Likewise.
48412         (sendto): Use ',' instead of '.' in prototype.
48413         * manual/startup.texi (syscall): Use @dots{} instead of literal
48414         "...".
48415         * manual/stdio.texi (__fpending): Separate initial words of
48416         paragraph from @deftypefun line.
48417         * manual/syslog.texi (syslog): Use @dots{} instead of literal
48418         "...".
48419         (vsyslog): Use @var{} on parameter names.
48420         * manual/terminal.texi (stty): Use @var{} on parameter names.
48421         * manual/users.texi (getutmp): Use @var{} on parameter names.
48422         (getutmpx): Likewise.
48424 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48426         [BZ #6884]
48427         * manual/stdio.texi (fopen): Fix typos in description of
48428         ",ccs=STRING".
48430 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
48432         [BZ #4026]
48433         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48434         get clock_id definition.
48436 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
48438         [BZ #4822]
48439         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48440         (madvise): Cast every argument to void on its own.
48442 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48444         [BZ #9902]
48445         * manual/startup.texi (Exit Status): Fix typo.
48447 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48449         [BZ #10140]
48450         * manual/examples/argp-ex1.c: Include <stdlib.h>.
48451         * manual/examples/argp-ex2.c: Likewise.
48452         * manual/examples/argp-ex3.c: Likewise.
48454 2012-02-16  Richard Henderson  <rth@redhat.com>
48456         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48457         * sysdeps/s390/s390-32/initfini.c: Remove.
48458         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48459         * sysdeps/s390/s390-64/initfini.c: Remove.
48461 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48463         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48464         compiler output for sysdeps/generic/initfini.c.
48465         * sysdeps/sh/elf/initfini.c: Remove file.
48467 2012-02-16  David S. Miller  <davem@davemloft.net>
48469         [BZ #11494]
48470         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48472         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48473         * sysdeps/sparc/crti.S: New file.
48474         * sysdeps/sparc/crtn.S: New file.
48475         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48476         * sysdeps/sparc/sparc64/Makefile: Likewise.
48478 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
48480         [BZ #3335]
48481         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48483 2012-02-15  Roland McGrath  <roland@hack.frob.com>
48485         [BZ #4822]
48486         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48488         * mach/devstream.c (cookie_io_functions_t): Macro removed.
48489         (write, read, close): Likewise.
48490         Patch by Aurelien Jarno <aurelien@aurel32.net>.
48492 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
48494         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48495         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48496         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48497         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48498         <bits/signalfd.h>.
48499         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48500         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48501         bits/signalfd.h.
48503 2012-02-14  Marek Polacek  <polacek@redhat.com>
48505         * sysdeps/x86_64/crti.S: New file.
48506         * sysdeps/x86_64/crtn.S: New file.
48507         * sysdeps/x86_64/elf/initfini.c: Remove file.
48509 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
48511         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48512         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48513         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48514         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48515         <bits/inotify.h>.
48516         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48517         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48518         bits/inotify.h.
48520 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
48522         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48523         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48524         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48525         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48526         <bits/eventfd.h>.
48527         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48528         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48529         bits/eventfd.h.
48531 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
48533         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48534         __feraiseexcept instead of feraiseexcept.
48536         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48537         nanosleep invocations.
48538         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48539         strings, and add error checking for a nanosleep invocations.
48541 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
48543         Replace FSF snail mail address with URLs, as per GNU coding standards.
48544         Most of the snail mail addresses were wrong anyway, and omitting
48545         them makes the source code easier to maintain.  Almost all of the
48546         changes are to license notices and to locale LC_IDENTIFICATION
48547         addresses, except for this one:
48548         * manual/libc.texinfo: In "Published by", give the FSF's URL,
48549         not its snail mail address.
48551 2012-02-09  Richard Henderson  <rth@twiddle.net>
48553         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48554         of kernel-features.h.
48556         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48558 2012-02-08  Marek Polacek  <polacek@redhat.com>
48560         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48561         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48562         * sysdeps/gnu/_G_config.h: Likewise.
48563         * sysdeps/generic/_G_config.h: Likewise.
48565 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
48567         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48568         tests.
48569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48571         * sysdeps/powerpc/powerpc32/crti.S: New file.
48572         * sysdeps/powerpc/powerpc32/crtn.S: New file.
48573         * sysdeps/powerpc/powerpc64/crti.S: New file.
48574         * sysdeps/powerpc/powerpc64/crtn.S: New file.
48576         * Makeconfig (have-initfini): Don't set.
48577         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48578         * configure.in (nopic_initfini): Don't substitute.
48579         * config.h.in (HAVE_INITFINI): Don't #undef.
48580         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48581         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48583 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
48585         Support crti.S and crtn.S provided directly by architectures.
48586         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48587         [crti.S in sysdirs] (omit-deps): Likewise.
48588         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48589         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48590         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48591         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48592         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48593         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48594         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48595         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48596         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48597         compiler output for sysdeps/generic/initfini.c.
48598         * sysdeps/i386/elf/Makefile: Remove file.
48599         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48601 2012-02-07  Marek Polacek  <polacek@redhat.com>
48603         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48604         * sysdeps/gnu/_G_config.h: Likewise.
48605         * sysdeps/mach/hurd/_G_config.h: Likewise.
48607 2012-02-07  Marek Polacek  <polacek@redhat.com>
48609         * math/Makefile (tests): Add tst-CMPLX2.
48610         * math/tst-CMPLX2.c: New file.
48612 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
48614         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48616         * math/libm-test.inc (jn_test): Add missing L suffix.
48618 2012-02-06  Marek Polacek  <polacek@redhat.com>
48620         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48621         * sysdeps/i386/fpu/e_powf.S: Likewise.
48622         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48623         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48624         * sysdeps/i386/fpu/e_acosh.S: Likewise.
48625         * sysdeps/i386/fpu/e_pow.S: Likewise.
48626         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48627         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48628         * sysdeps/i386/fpu/s_expm1.S: Likewise.
48629         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48630         * sysdeps/i386/fpu/e_log2.S: Likewise.
48631         * sysdeps/i386/fpu/e_log2l.S: Likewise.
48632         * sysdeps/i386/fpu/e_scalb.S: Likewise.
48633         * sysdeps/i386/fpu/e_powl.S: Likewise.
48634         * sysdeps/i386/fpu/s_log1p.S: Likewise.
48635         * sysdeps/i386/fpu/e_log10f.S: Likewise.
48636         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48637         * sysdeps/i386/fpu/e_logl.S: Likewise.
48638         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48639         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48640         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48641         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48642         * sysdeps/i386/fpu/e_log2f.S: Likewise.
48643         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48644         * sysdeps/i386/fpu/e_log.S: Likewise.
48645         * sysdeps/i386/fpu/s_cexp.S: Likewise.
48646         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48647         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48648         * sysdeps/i386/fpu/e_logf.S: Likewise.
48649         * sysdeps/i386/fpu/e_log10l.S: Likewise.
48650         * sysdeps/i386/fpu/e_atanh.S: Likewise.
48651         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48652         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48653         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48654         * sysdeps/i386/fpu/e_log10.S: Likewise.
48655         * sysdeps/i386/fpu/s_frexp.S: Likewise.
48656         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48657         * sysdeps/i386/fpu/s_asinh.S: Likewise.
48658         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48659         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48660         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48661         * sysdeps/i386/asm-syntax.h: Likewise.
48662         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48663         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48664         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48665         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48666         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48667         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48668         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48669         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48670         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48671         * sysdeps/powerpc/sysdep.h: Likewise.
48672         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48673         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48675 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
48677         [BZ #411]
48678         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48680 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
48682         * sysdeps/i386/sysdep.h: Include <features.h>.
48683         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48684         version.
48686 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
48688         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48689         Define.
48690         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48691         LOAD_PIC_REG_STR.
48693 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48695         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48696         (SETUP_PIC_REG): Use GET_PC_THUNK.
48697         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48698         macro.
48700 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48702         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48703         for non-PIC compilation.
48704         (SETUP_PIC_REG): Add .p2align directive.
48705         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48706         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48707         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48708         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48709         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48710         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48711         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48712         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48713         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48714         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48715         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48716         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48717         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48718         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48719         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48720         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48721         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48722         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48723         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48724         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48725         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48726         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48727         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48728         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48729         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48730         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48731         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48732         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48733         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48734         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48735         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48736         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48737         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48738         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48739         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48740         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48741         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48742         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48743         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48744         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48745         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48747 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48749         * math/tst-CMPLX.c: Include <stdio.h>.
48751 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
48753         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
48754         float.
48755         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48756         * sysdeps/sparc/bits/mathdef.h: Likewise.
48758 2012-01-31  Marek Polacek  <polacek@redhat.com>
48760         * libio/libio.h: Don't define _PARAMS.
48761         * locale/programs/config.h: Don't define PARAMS.
48762         * stdlib/strtol_l.c: Likewise.
48763         (__strtol_l): Remove PARAMS from the prototype.
48765 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
48767         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
48768         names.  Just use the correct names.  Remove unnecessary wrapper
48769         functions.
48770         * malloc/arena.c: Likewise.
48771         * malloc/hooks.c: Likewise.
48773         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
48774         ARENA_TEST says not to.  Simplify test for creation of a new arena.
48775         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
48777 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
48779         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
48780         into tail calls.
48781         (update_get_addr): New function.
48782         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
48783         GET_ADDR_MODULE parameter.
48785 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
48787         * crypt/cert.c: Remove __STDC__ conditionals.
48788         * crypt/crypt-entry.c: Likewise.
48789         * crypt/crypt_util.c: Likewise.
48790         * libio/filedoalloc.c: Likewise.
48791         * libio/fileops.c: Likewise.
48792         * libio/genops.c: Likewise.
48793         * libio/iofclose.c: Likewise.
48794         * libio/iofdopen.c: Likewise.
48795         * libio/iofopen.c: Likewise.
48796         * libio/iofopen64.c: Likewise.
48797         * libio/iogetdelim.c: Likewise.
48798         * libio/iopopen.c: Likewise.
48799         * libio/obprintf.c: Likewise.
48800         * libio/oldfileops.c: Likewise.
48801         * libio/oldiofclose.c: Likewise.
48802         * libio/oldiofdopen.c: Likewise.
48803         * libio/oldiofopen.c: Likewise.
48804         * libio/oldiopopen.c: Likewise.
48805         * libio/wfiledoalloc.c: Likewise.
48806         * libio/wgenops.c: Likewise.
48807         * locale/programs/xmalloc.c: Likewise.
48808         * misc/syslog.c: Likewise.
48809         * stdio-common/xbug.c: Likewise.
48810         * string/memchr.c: Likewise.
48811         * string/memcmp.c: Likewise.
48812         * string/memrchr.c: Likewise.
48813         * string/rawmemchr.c: Likewise.
48814         * sysdeps/posix/getcwd.c: Likewise.
48815         * time/strftime_l.c: Likewise.
48817 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
48819         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
48820         * config.make.in (config-cflags-sse2avx): Define.
48821         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
48822         Fix typo.
48824 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
48826         * scripts/config.guess: Update from upstream config git repository.
48827         * scripts/config.sub: Likewise.
48829 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
48831         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
48832         (EM_NUM): Update.
48833         (R_TILEPRO_*, R_TILEGX_*): New macros.
48835         * scripts/firstversions.awk: Fix bug in version range handling.
48837         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
48839         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
48841         * include/sys/epoll.h: New file.
48842         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
48843         libc_hidden_def.
48845 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
48847         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
48848         Avoid unnecessary __WORDSIZE == 64 test.
48849         (fmaxf): Use VEX format if possible.
48850         (fmax): Likewise.
48851         (fminf): Likewise.
48852         (fmin): Likewise.
48854         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
48855         * math/math_private.h: Remove libc_fegetround* and
48856         libc_fesetround*.
48857         * sysdeps/i386/configure.in: Check for -msse2avx.
48858         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
48859         also if SSE2AVX is defined.
48860         Remove libc_fegetround* and libc_fesetround*.
48861         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
48862         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
48863         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
48864         of HAS_YMM_USABLE.
48865         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48866         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48867         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48868         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48869         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48871         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
48873 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48875         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
48876         size is not set.
48877         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48879 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
48881         [BZ #13618]
48882         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
48883         relocation.
48884         * Makeconfig (libm): Define.
48885         * elf/Makefile: Add rules to build and run tst-relsort1.
48886         * elf/tst-relsort1.c: New file.
48887         * elf/tst-relsort1mod1.c: New file.
48888         * elf/tst-relsort1mod2.c: New file.
48890 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
48892         * math/s_ldexp.c: Remove __STDC__ conditionals.
48893         * math/s_ldexpf.c: Likewise.
48894         * math/s_ldexpl.c: Likewise.
48895         * math/s_nextafter.c: Likewise.
48896         * math/s_nexttowardf.c: Likewise.
48897         * math/s_significand.c: Likewise.
48898         * math/s_significandf.c: Likewise.
48899         * math/s_significandl.c: Likewise.
48900         * math/w_jnl.c: Likewise.
48901         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48902         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48903         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48904         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48905         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48906         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48907         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
48908         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48909         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48910         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48911         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48912         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48913         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48914         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48915         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48916         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48917         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48918         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48919         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48920         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48921         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48922         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48923         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48924         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48925         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48926         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48927         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48928         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48929         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48930         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48931         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48932         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48933         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48934         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48935         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48936         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48937         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48938         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48939         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48940         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48941         * sysdeps/ieee754/k_standard.c: Likewise.
48942         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48943         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48944         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48945         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48946         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48947         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48948         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48949         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48950         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48951         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48952         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48953         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48954         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48955         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48956         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48957         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48958         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48959         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48960         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48961         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48962         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48963         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48964         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48965         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48966         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48967         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48968         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48969         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48970         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48971         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48972         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48973         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
48974         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48975         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48976         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48977         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48978         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
48979         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48980         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48981         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
48982         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
48983         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48984         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
48985         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
48986         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48987         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48988         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48989         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48990         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48991         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
48992         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
48993         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48994         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48995         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
48996         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
48997         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
48998         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
48999         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49000         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49001         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49002         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49003         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49004         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49005         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49006         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49007         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49008         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49009         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49010         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49011         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49012         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49013         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49014         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49015         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49016         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49017         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49018         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49019         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49020         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49021         * sysdeps/ieee754/s_matherr.c: Likewise.
49022         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49023         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49024         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49025         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49027 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
49029         * crypt/md5.h: Remove __STDC__ conditionals.
49030         * libio/libioP.h: Likewise.
49031         * locale/programs/config.h: Likewise.
49032         * sysdeps/generic/sysdep.h: Likewise.
49033         * sysdeps/i386/asm-syntax.h: Likewise.
49034         * sysdeps/s390/asm-syntax.h: Likewise.
49035         * sysdeps/unix/sysdep.h: Likewise.
49036         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49039 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
49041         * libio/libio.h: Remove __STDC__ conditionals.
49042         * malloc/obstack.h: Likewise.
49043         * math/complex.h: Likewise.
49044         * math/math.h: Likewise.
49045         * sysdeps/generic/_G_config.h: Likewise.
49046         * sysdeps/gnu/_G_config.h: Likewise.
49047         * sysdeps/mach/hurd/_G_config.h: Likewise.
49048         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49049         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49050         * sysdeps/sparc/bits/mathdef.h: Likewise.
49052 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
49054         [BZ #13583]
49055         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
49056         Clean up HAS_* macros.
49057         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
49058         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49059         possible.
49060         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49061         HAS_AVX.
49062         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49063         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49064         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49065         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49066         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49068 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
49070         * elf/tst-unique3.cc (gets): Remove declaration.
49071         * elf/tst-unique3lib.cc (gets): Likewise.
49072         * elf/tst-unique3lib2.cc (gets): Likewise.
49073         * elf/tst-unique4.cc (gets): Likewise.
49075 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
49077         * include/stdio.h: Add C++ protection.  Add gets declarations and
49078         definitions.
49079         * debug/tst-chk1.c: Don't declare gets here.
49080         * stdio-common/tst-gets.c: Likewise.
49082 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
49084         * posix/glob: Remove directory.
49086 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
49088         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49090 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
49092         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49093         of the non-standard EPFNOSUPPORT.
49095 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49097         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49098         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49099         ANYWHERE set to 1 only on KERN_NO_SPACE error.
49101 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
49103         * wcsmbs/uchar.h: Test __STDC_VERSION__.
49105 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
49107         * nscd/aicache.c (addhstaiX): Do not cache negative results of
49108         transient errors.
49109         * nscd/grpcache.c (cache_addgr): Likewise.
49110         * nscd/hstcache.c (cache_addhst): Likewise.
49111         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49112         * nscd/pwdcache.c (cache_addpw): Likewise.
49113         * nscd/servicescache.c (cache_addserv): Likewise.
49115 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
49117         * malloc/malloc.c: Various cleanups.
49118         * malloc/hooks.c: Likewise.
49120         * stdlib/Makefile (tests): Add bug-fmtmsg1.
49121         * stdlib/bug-fmtmsg1.c: New file.
49123         * stdlib/fmtmsg.c (init): Add missing unlock.
49124         Patch by Peng Haitao <penght@cn.fujitsu.com>.
49126 2012-01-12  Marek Polacek  <polacek@redhat.com>
49128         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49129         and _GNU_SOURCE.
49131 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
49133         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49134         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49135         macro to ensure uniqueness of label name.
49136         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49137         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49139 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
49141         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49143         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49144         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49145         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49146         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49148 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
49150         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49152         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49153         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49154         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49156         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49158         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
49159         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49160         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49161         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
49163         * math/bits/math-finite.h: Add ldexp support.
49165 2012-01-10  Marek Polacek  <polacek@redhat.com>
49167         * locale/programs/localedef.h (show_archive_content): Add noreturn
49168         attribute.
49170 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
49172         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49174 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
49176         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49178         * io/Makefile (headers): Add bits/poll2.h.
49180 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
49182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49183         typo #include statement.
49185 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
49187         * include/sys/cdefs.h: Define __attribute_alloc_size.
49188         * catgets/gencat.c: Add alloc_size attribute and apply consistently
49189         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49190         * elf/pldd.c: Likewise.
49191         * iconv/iconv_charmap.c: Likewise.
49192         * iconv/iconvconfig.c: Likewise.
49193         * iconv/strtab.c: Likewise.
49194         * locale/programs/locale.c: Likewise.
49195         * locale/programs/localedef.h: Likewise.
49196         * locale/programs/simple-hash.c: Likewise.
49197         * nscd/nscd.h: Likewise.
49198         * nss/makedb.c: Likewise.
49199         * sysdeps/generic/ldconfig.h: Likewise.
49200         * locale/programs/localedef.c: Remove xmalloc prototype.
49201         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49203 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
49205         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49206         appropriate.
49208 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
49210         * math/Makefile (tests): Add tst-CMPLX.
49211         * math/tst-CMPLX.c: New file.
49213         * math/complex.h (CMPLXL): Fix typo.
49215         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49216         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49217         GLIBC_2.16.
49218         * debug/tst-chk1.c: Add poll and ppoll tests.
49219         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49220         * include/sys/poll.h: Add hidden proto for ppoll.
49221         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49222         * sysdeps/mach/hurd/ppoll.c: Likewise.
49223         * io/ppoll.c: Likewise.
49224         * debug/poll_chk.c: New file.
49225         * debug/ppoll_chk.c: New file.
49226         * include/bits/poll2.h: New file.
49227         * io/bits/poll2.h: New file.
49229         [BZ #1350]
49230         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49232         * configure.in: static is always set to yes.  Remove.
49233         * config.make.in: Don't set build-static.
49234         * Makeconfig: Remove use of build-static.
49235         * dlfcn/Makefile: Likewise.
49236         * elf/Makefile: Likewise.
49237         * math/Makefile: Likewise.
49238         * misc/Makefile: Likewise.
49239         * nptl/Makefile: Likewise.
49240         * sysdeps/mach/hurd/Makefile: Likewise.
49242         * configure.in: PWD_P is not used anymore.
49243         * config.make.in: Remove PWD_P entry.
49245         * configure.in: Remove last remnants of RANLIB.
49246         No need to check for signed size_t anymore.
49247         Don't set libc_commonpagesize and libc_relro_required here for Alpha
49248         and IA-64.
49249         Remove __builtin_expect test because we require at least gcc 3.4.
49250         * aclocal.m4: Likewise.
49252         * wcsmbs/mbrtoc16.c: Implement using towc function.
49253         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49254         * wcsmbs/wcsmbsload.c: Likewise.
49255         * iconv/gconv_simple.c: Likewise.
49256         * iconv/gconv_int.h: Likewise.
49257         * iconv/gconv_builtin.h: Likewise.
49258         * iconv/iconv_prog.c: Remove CHAR16 handling.
49260         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49262         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49264         * configure.in: Remove --with-elf and --enable-bounded options.
49265         Dont set base_machine for ia64.  More non-ELF conditions removed.
49266         Remove testing and setting of leading underscore information.
49267         * config.make.in (build-bounded): Set to no.
49268         * config.h.in: Remove NO_UNDERSCORES entry.
49269         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
49270         them.
49271         * csu/start.c: Remove !NO_UNDERSCORE code.
49272         * locale/localeinfo.h: Likewise.
49273         * sysdeps/generic/machine-gmon.h: Likewise.
49274         * sysdeps/generic/sysdep.h: Likewise.
49275         * sysdeps/i386/sysdep.h: Likewise.
49276         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49277         * sysdeps/mach/sysdep.h: Likewise.
49278         * sysdeps/s390/s390-32/sysdep.h: Likewise.
49279         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49280         * sysdeps/sh/sysdep.h: Likewise.
49281         * sysdeps/sparc/sparc32/alloca.S: Likewise.
49282         * sysdeps/unix/i386/sysdep.S: Likewise.
49283         * sysdeps/unix/sparc/start.c: Likewise.
49284         * sysdeps/unix/sparc/sysdep.S: Likewise.
49285         * sysdeps/unix/sparc/sysdep.h: Likewise.
49286         * sysdeps/unix/start.c: Likewise.
49287         * sysdeps/unix/x86_64/sysdep.S: Likewise.
49288         * sysdeps/x86_64/sysdep.h: Likewise.
49290 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
49292         [BZ #13553]
49293         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49294         for non-gcc.
49295         * argp/argp-fmtstream.h: Use const instead __const.
49296         * argp/argp.h: Likewise.
49297         * assert/assert.h: Likewise.
49298         * bits/fenv.h: Likewise.
49299         * bits/sched.h: Likewise.
49300         * bits/sigset.h: Likewise.
49301         * bits/sigthread.h: Likewise.
49302         * catgets/nl_types.h: Likewise.
49303         * conform/data/pthread.h-data: Likewise.
49304         * crypt/crypt-private.h: Likewise.
49305         * crypt/crypt.h: Likewise.
49306         * crypt/crypt_util.c: Likewise.
49307         * ctype/ctype.h: Likewise.
49308         * debug/execinfo.h: Likewise.
49309         * debug/mbsnrtowcs_chk.c: Likewise.
49310         * debug/mbsrtowcs_chk.c: Likewise.
49311         * debug/wcsnrtombs_chk.c: Likewise.
49312         * debug/wcsrtombs_chk.c: Likewise.
49313         * debug/wcstombs_chk.c: Likewise.
49314         * dirent/dirent.h: Likewise.
49315         * dlfcn/dlfcn.h: Likewise.
49316         * elf/neededtest4.c: Likewise.
49317         * grp/grp.h: Likewise.
49318         * gshadow/gshadow.h: Likewise.
49319         * iconv/gconv.h: Likewise.
49320         * iconv/gconv_int.h: Likewise.
49321         * iconv/gconv_simple.c: Likewise.
49322         * iconv/iconv.h: Likewise.
49323         * iconv/loop.c: Likewise.
49324         * iconv/skeleton.c: Likewise.
49325         * include/aio.h: Likewise.
49326         * include/aliases.h: Likewise.
49327         * include/argz.h: Likewise.
49328         * include/arpa/inet.h: Likewise.
49329         * include/assert.h: Likewise.
49330         * include/dirent.h: Likewise.
49331         * include/dlfcn.h: Likewise.
49332         * include/execinfo.h: Likewise.
49333         * include/fcntl.h: Likewise.
49334         * include/fenv.h: Likewise.
49335         * include/glob.h: Likewise.
49336         * include/grp.h: Likewise.
49337         * include/libintl.h: Likewise.
49338         * include/mntent.h: Likewise.
49339         * include/netdb.h: Likewise.
49340         * include/pwd.h: Likewise.
49341         * include/rpc/netdb.h: Likewise.
49342         * include/sched.h: Likewise.
49343         * include/search.h: Likewise.
49344         * include/shadow.h: Likewise.
49345         * include/signal.h: Likewise.
49346         * include/stdio.h: Likewise.
49347         * include/stdlib.h: Likewise.
49348         * include/string.h: Likewise.
49349         * include/sys/socket.h: Likewise.
49350         * include/sys/stat.h: Likewise.
49351         * include/sys/statfs.h: Likewise.
49352         * include/sys/statvfs.h: Likewise.
49353         * include/sys/syslog.h: Likewise.
49354         * include/sys/time.h: Likewise.
49355         * include/sys/uio.h: Likewise.
49356         * include/time.h: Likewise.
49357         * include/unistd.h: Likewise.
49358         * include/utmp.h: Likewise.
49359         * include/wchar.h: Likewise.
49360         * include/wctype.h: Likewise.
49361         * inet/aliases.h: Likewise.
49362         * inet/arpa/inet.h: Likewise.
49363         * inet/netinet/ether.h: Likewise.
49364         * inet/netinet/in.h: Likewise.
49365         * intl/libintl.h: Likewise.
49366         * io/bits/fcntl2.h: Likewise.
49367         * io/fcntl.h: Likewise.
49368         * io/ftw.h: Likewise.
49369         * io/sys/poll.h: Likewise.
49370         * io/sys/stat.h: Likewise.
49371         * io/sys/statfs.h: Likewise.
49372         * io/sys/statvfs.h: Likewise.
49373         * io/utime.h: Likewise.
49374         * libio/bits/stdio.h: Likewise.
49375         * libio/bits/stdio2.h: Likewise.
49376         * libio/libio.h: Likewise.
49377         * libio/libioP.h: Likewise.
49378         * libio/stdio.h: Likewise.
49379         * locale/lc-ctype.c: Likewise.
49380         * locale/locale.h: Likewise.
49381         * login/utmp.h: Likewise.
49382         * malloc/arena.c: Likewise.
49383         * malloc/malloc.c: Likewise.
49384         * malloc/malloc.h: Likewise.
49385         * malloc/mcheck.c: Likewise.
49386         * malloc/mtrace.c: Likewise.
49387         * math/bits/mathcalls.h: Likewise.
49388         * math/fenv.h: Likewise.
49389         * math/math_private.h: Likewise.
49390         * misc/bits/error.h: Likewise.
49391         * misc/bits/syslog.h: Likewise.
49392         * misc/err.h: Likewise.
49393         * misc/error.h: Likewise.
49394         * misc/fstab.h: Likewise.
49395         * misc/mntent.h: Likewise.
49396         * misc/regexp.h: Likewise.
49397         * misc/search.h: Likewise.
49398         * misc/sgtty.h: Likewise.
49399         * misc/sys/mman.h: Likewise.
49400         * misc/sys/syslog.h: Likewise.
49401         * misc/sys/uio.h: Likewise.
49402         * misc/sys/xattr.h: Likewise.
49403         * misc/ttyent.h: Likewise.
49404         * nis/rpcsvc/ypclnt.h: Likewise.
49405         * nss/nss.h: Likewise.
49406         * posix/bits/unistd.h: Likewise.
49407         * posix/fnmatch.h: Likewise.
49408         * posix/glob.h: Likewise.
49409         * posix/sched.h: Likewise.
49410         * posix/spawn.h: Likewise.
49411         * posix/sys/wait.h: Likewise.
49412         * posix/unistd.h: Likewise.
49413         * posix/wordexp.h: Likewise.
49414         * pwd/pwd.h: Likewise.
49415         * resolv/netdb.h: Likewise.
49416         * resource/sys/resource.h: Likewise.
49417         * rt/aio.h: Likewise.
49418         * rt/bits/mqueue2.h: Likewise.
49419         * rt/mqueue.h: Likewise.
49420         * shadow/shadow.h: Likewise.
49421         * signal/signal.h: Likewise.
49422         * socket/send.c: Likewise.
49423         * socket/sendto.c: Likewise.
49424         * socket/sys/socket.h: Likewise.
49425         * stdio-common/printf.h: Likewise.
49426         * stdlib/bits/stdlib.h: Likewise.
49427         * stdlib/fmtmsg.h: Likewise.
49428         * stdlib/monetary.h: Likewise.
49429         * stdlib/stdlib.h: Likewise.
49430         * stdlib/ucontext.h: Likewise.
49431         * streams/stropts.h: Likewise.
49432         * string/argz.h: Likewise.
49433         * string/bits/string2.h: Likewise.
49434         * string/string.h: Likewise.
49435         * string/strings.h: Likewise.
49436         * sunrpc/rpc/auth.h: Likewise.
49437         * sunrpc/rpc/auth_des.h: Likewise.
49438         * sunrpc/rpc/clnt.h: Likewise.
49439         * sunrpc/rpc/netdb.h: Likewise.
49440         * sunrpc/rpc/pmap_clnt.h: Likewise.
49441         * sunrpc/rpc/xdr.h: Likewise.
49442         * sysdeps/generic/inttypes.h: Likewise.
49443         * sysdeps/generic/net/if.h: Likewise.
49444         * sysdeps/generic/sys/swap.h: Likewise.
49445         * sysdeps/gnu/net/if.h: Likewise.
49446         * sysdeps/gnu/utmpx.h: Likewise.
49447         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49448         * sysdeps/i386/i486/bits/string.h: Likewise.
49449         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49450         * sysdeps/s390/bits/string.h: Likewise.
49451         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49452         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49453         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49454         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49455         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49456         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49457         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49458         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49459         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49460         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49461         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49462         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49463         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49464         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49465         * sysdeps/unix/sysv/linux/readv.c: Likewise.
49466         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49467         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49468         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49469         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49470         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49471         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49472         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49473         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49474         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49475         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49476         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49477         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49478         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49479         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49480         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49481         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49482         * sysvipc/sys/ipc.h: Likewise.
49483         * sysvipc/sys/msg.h: Likewise.
49484         * sysvipc/sys/sem.h: Likewise.
49485         * sysvipc/sys/shm.h: Likewise.
49486         * termios/termios.h: Likewise.
49487         * time/sys/time.h: Likewise.
49488         * time/time.h: Likewise.
49489         * wcsmbs/bits/wchar2.h: Likewise.
49490         * wcsmbs/uchar.h: Likewise.
49491         * wcsmbs/wchar.h: Likewise.
49492         * wctype/wctype.h: Likewise.
49494         [BZ #13551]
49495         * Makeconfig: Remove all but ELF support including AIX support.
49496         * Makerules: Likewise.
49497         * config.h.in: Likewise.
49498         * config.make.in: Likewise.
49499         * configure: Likewise.
49500         * configure.in: Likewise.
49501         * csu/Makefile: Likewise.
49502         * csu/version.c: Likewise.
49503         * debug/Makefile: Likewise.
49504         * dlfcn/Makefile: Likewise.
49505         * elf/Makefile: Likewise.
49506         * extra-lib.mk: Likewise.
49507         * iconv/Makefile: Likewise.
49508         * include/libc-symbols.h: Likewise.
49509         * include/shlib-compat.h: Likewise.
49510         * resolv/Makefile: Likewise.
49511         * resolv/res_libc.c: Likewise.
49512         * rt/Makefile: Likewise.
49513         * sysdeps/i386/asm-syntax.h: Likewise.
49514         * sysdeps/i386/sysdep.h: Likewise.
49515         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49516         * sysdeps/mach/sysdep.h: Likewise.
49517         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49518         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49519         * sysdeps/s390/asm-syntax.h: Likewise.
49520         * sysdeps/s390/s390-32/sysdep.h: Likewise.
49521         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49522         * sysdeps/sh/sysdep.h: Likewise.
49523         * sysdeps/unix/sparc/sysdep.h: Likewise.
49524         * sysdeps/wordsize-32/divdi3.c: Likewise.
49525         * sysdeps/x86_64/sysdep.h: Likewise.
49527         * argp/Versions: Remove _argp_unlock_xxx.
49529         [BZ #13559]
49530         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
49531         * abilist/libBrokenLocale.abilist: Likewise.
49532         * abilist/libanl.abilist: Likewise.
49533         * abilist/libc.abilist: Likewise.
49534         * abilist/libcrypt.abilist: Likewise.
49535         * abilist/libdl.abilist: Likewise.
49536         * abilist/libm.abilist: Likewise.
49537         * abilist/libnsl.abilist: Likewise.
49538         * abilist/libpthread.abilist: Likewise.
49539         * abilist/libresolv.abilist: Likewise.
49540         * abilist/librt.abilist: Likewise.
49541         * abilist/libthread_db.abilist: Likewise.
49542         * abilist/libutil.abilist: Likewise.
49543         * abilist/libnss_db.abilist: New file.
49545         * scripts/abilist.awk: Add support for indirect functions.
49547         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49549         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49551         * shlib-versions: Remove entries for ports architectures.
49553         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
49554         files in ports.
49555         * elf/stackguard-macros.h: Remove support for IA-64.
49556         * elf/tst-auditmod1.c: Likewise.
49557         * sysdeps/generic/ldsodefs.h: Likewise.
49559         * sysdeps/unix/sysv/linux/configure.in: Ports should define
49560         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49561         configure files.
49563         [BZ #13552]
49564         * configure.in: Remove --enable-omitfp support.
49565         * FAQ.in: Adjust.
49566         * config.make.in: Likewise.
49567         * Makeconfig: Likewise.
49568         * manual/install.texi: Likewise.
49570         In case anyone cares, the IA-64 architecture could move to ports.
49571         * sysdeps/ia64/*: Removed.
49572         * sysdeps/unix/sysv/linux/ia64/*: Removed.
49573         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
49575         [BZ #13555]
49576         * configure.in: Remove entries for unsupported architectures.
49578         [BZ #13533]
49579         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49580         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
49581         routines.
49582         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49583         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49584         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
49585         fall back to using wcrtomb.
49586         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49587         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
49588         renaming.
49589         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49590         * wcsmbs/tst-c16c32-1.c: New file.
49592         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49593         local variable.
49595         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49597         * elf/tst-unique3.cc: Add explicit declaration of gets.
49598         * elf/tst-unique3lib.cc: Likewise.
49599         * elf/tst-unique3lib2.cc: Likewise.
49600         * elf/tst-unique4.cc: Likewise.
49602         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49604 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
49606         [BZ #13566]
49607         * assert/assert.h (static_assert): Don't define for C++.
49608         * libio/stdio.h (gets): Do declare for C++ <= C++11.
49609         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49611 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
49613         * iconv/loop.c (single loop): Fix assertion in storing of
49614         remaining bytes.
49616         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49618 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
49620         * posix/getconf.c: Update copyright year.
49621         * nss/getent.c: Likewise.
49622         * nss/makedb.c: Likewise.
49623         * iconv/iconvconfig.c: Likewise.
49624         * iconv/iconv_prog.c: Likewise.
49625         * elf/ldconfig.c: Likewise.
49626         * elf/pldd.c: Likewise.
49627         * elf/sotruss.ksh: Likewise.
49628         * catgets/gencat.c: Likewise.
49629         * csu/version.c: Likewise.
49630         * elf/ldd.bash.in: Likewise.
49631         * elf/sprof.c (print_version): Likewise.
49632         * locale/programs/locale.c: Likewise.
49633         * locale/programs/localedef.c: Likewise.
49634         * login/programs/pt_chown.c: Likewise.
49635         * nscd/nscd.c (print_version): Likewise.
49636         * debug/xtrace.sh: Likewise.
49637         * malloc/memusage.sh: Likewise.
49638         * malloc/mtrace.pl: Likewise.
49639         * debug/catchsegv.sh: Likewise.
49641 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
49643         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49644         pure attribute.
49646 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
49648         [BZ #13533]
49649         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49650         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49651         transformations.
49652         * iconv/gconv_int.h: Likewise.
49653         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49654         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49655         from libc for GLIBC_2.16.
49656         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49657         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49658         * wcsmbs/uchar.h: Really define mbstate_t.
49659         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49660         * wcsmbs/c16rtomb.c: New file.
49661         * wcsmbs/mbrtoc16.c: New file.
49662         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49663         for C/POSIX locale.
49664         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49665         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49667         * wcsmbs/wchar.h: Add missing __restrict.
49669 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
49671         [BZ #13532]
49672         * time/Makefile (routines): Add timespec_get.
49673         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49674         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
49675         timespec for ISO C11.
49676         * time/timespec_get.c: New file.
49677         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49678         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49680         [BZ #13531]
49681         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49682         * stdlib/stdlib.h: Declare aligned_alloc.
49683         * Versions.def: Add GLIBC_2.16 for libc.
49684         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49686         [BZ 13527]
49687         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49688         ISO C11.
49690         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
49691         code.
49693         [BZ #13528]
49694         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49696         [BZ #13529]
49697         * assert/assert.h (static_assert): Define.
49699         * version.h: Update for 2.16 development version.
49701         [BZ #13526]
49702         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49703         _ISOC11_SOURCE.
49705         * version.h (RELEASE): Bump for 2.15 release.
49706         * include/features.h (__GLIBC_MINOR__): Bump to 15.
49708         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49709         Patch by Marek Polacek <mpolacek@redhat.com>.
49711         * bits/byteswap.h: Protect long long constants with __extension__.
49712         * sysdeps/i386/bits/byteswap.h: Likewise.
49713         * sysdeps/ia64/bits/byteswap.h: Likewise.
49714         * sysdeps/s390/bits/byteswap.h: Likewise.
49715         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49717 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49719         [BZ #13540]
49720         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49721         destination buffer.
49722         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49724 2011-12-23  Marek Polacek  <polacek@redhat.com>
49726         * elf/dl-addr.c (determine_info): Add inline keyword.
49727         * elf/tst-auditmod4b.c (check_avx): Likewise.
49728         * elf/tst-auditmod6b.c (check_avx): Likewise.
49729         * elf/tst-auditmod6c.c (check_avx): Likewise.
49730         * elf/tst-auditmod7b.c (check_avx): Likewise.
49732 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
49734         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
49735         !__SSE_MATH__.
49737 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49739         [BZ #13540]
49740         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
49741         processing for last bytes.
49743 2011-08-06  Bruno Haible  <bruno@clisp.org>
49745         [BZ #13061]
49746         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
49747         U+0385, not to U+1FEE.
49749         [BZ #13062]
49750         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
49751         entry for U+00A5 U+0301.
49753 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
49755         [BZ #13166]
49756         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
49757         buffer for the output is too small.
49759         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
49760         optimization.
49762         [BZ #13185]
49763         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
49764         SSE flags if possible.
49766 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49768         [BZ #13540]
49769         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
49770         processing for last bytes.
49772 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
49774         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
49775         (syscall-list-default-options, syscall-list-default-condition)
49776         (syscall-list-includes): Define.
49777         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
49778         list of ABIs and options and #if conditions for each ABI.  Do not
49779         handle common syscalls between ABIs specially.
49780         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
49781         Remove.
49782         (syscall-list-variants, syscall-list-32bit-options)
49783         (syscall-list-32bit-condition, syscall-list-64bit-options)
49784         (syscall-list-64bit-condition): Define.
49785         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
49786         (syscall-list-variants, syscall-list-32bit-options)
49787         (syscall-list-32bit-condition, syscall-list-64bit-options)
49788         (syscall-list-64bit-condition): Define.
49789         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
49790         Remove.
49791         (syscall-list-variants, syscall-list-32bit-options)
49792         (syscall-list-32bit-condition, syscall-list-64bit-options)
49793         (syscall-list-64bit-condition): Define.
49794         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
49795         Remove.
49796         (syscall-list-variants, syscall-list-32bit-options)
49797         (syscall-list-32bit-condition, syscall-list-64bit-options)
49798         (syscall-list-64bit-condition): Define.
49800 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
49802         * locale/iso-639.def: Add brx entry.
49804         [BZ #13328]
49805         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
49806         Proposed by Mariusz_Cukr <marcukr@op.pl>.
49808         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
49809         __feraiseexcept_renamed.
49811 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
49813         [BZ #13538]
49814         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
49815         EPOLLET with unsigned values.
49816         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49817         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49819         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
49820         to large cancellation.
49821         * math/s_cacoshf.c: Likewise.
49822         * math/s_cacoshl.c: Likewise.
49824 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
49826         [BZ #13305]
49827         [BZ #12786]
49828         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
49829         * math/s_cacoshf.c: Likewise.
49830         * math/s_cacoshl.c: Likewise.
49832 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
49834         [BZ #13439]
49835         * iconv/gconv.h: Define __GCONV_SWAP.
49836         * iconvdata/unicode.c: The swap bit must be stored in __flags.
49837         * iconvdata/utf-16.c: Likewise.
49838         * iconvdata/utf-32.c: Likewise.
49840 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
49842         [BZ #13524]
49843         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
49844         numerator after shifting it by one limb.
49846 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
49848         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
49849         under [__USE_EXTERN_INLINES].
49851 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
49853         [BZ #13446]
49854         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
49856 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49858         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
49859         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
49860         optimized code.
49861         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
49862         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
49863         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
49864         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
49865         for strncasecmp/strncasecmp_l compilation.
49866         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
49867         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
49869 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
49871         [BZ #13484]
49872         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
49873         of __asm__.
49875 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
49877         [BZ #13506]
49878         * time/tzfile.c (__tzfile_read): Check values from file header.
49880 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
49882         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
49883         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
49884         * powerpc/powerpc32/dl-start.S: Likewise.
49885         * powerpc/powerpc32/elf/start.S: Likewise.
49886         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49887         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
49888         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
49889         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
49890         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49891         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
49892         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
49893         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49894         * powerpc/powerpc32/fpu/s_round.S: Likewise.
49895         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49896         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49897         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49898         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
49899         * powerpc/powerpc32/memset.S: Likewise.
49900         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49901         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49902         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49903         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49904         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49905         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49906         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49907         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49908         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
49909         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
49910         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
49911         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49912         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49914 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49916         * math/libm-test.inc: Added more nearbyint tests.
49917         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
49918         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
49919         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
49920         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
49922 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
49924         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
49925         FD_CLOEXEC.
49927 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49929         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
49930         Add wcscpy-ssse3 wcscpy-c.
49931         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
49932         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
49933         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
49934         * sysdeps/x86_64/wcschr.S: New file.
49935         * sysdeps/x86_64/wcsrchr.S: New file.
49936         * string/test-strcmp.c: Remove checking of wcscmp function for
49937         wrong alignments.
49938         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
49939         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
49940         wcsrchr-sse2 wcsrchr-c.
49941         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
49942         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
49943         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
49944         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
49945         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
49946         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
49947         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
49948         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
49949         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
49950         * wcsmbc/wcschr.c (WCSCHR): New macro.
49952 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49954         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
49955         * wcsmbs/test-wcsrchr.c: New file.
49956         * string/test-strrchr.c: Add wcsrchr support.
49957         (WIDE): New macro.
49958         * wcsmbs/test-wcscpy.c: New file.
49959         * string/test-strcpy.c: Add wcscpy support.
49960         (WIDE): New macro.
49962 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
49964         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
49965         the inner loop.
49967 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
49969         [BZ #13472]
49970         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
49972 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
49974         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
49975         Minor optimizations.
49977         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
49978         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
49979         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
49981 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
49983         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
49984         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
49985         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
49986         for gcc to avoid warnings.
49987         * inet/Makefile (tests): Add tst-checks.
49988         * inet/tst-checks.c: New file.
49990         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
49991         warning.
49993         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
49994         __wmemcmp_sse2.
49996         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
49997         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
49999         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50001 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
50003         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50004         problem.
50006         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50008 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
50010         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50011         conditional on GCC version.
50012         (__arch_compare_and_exchange_val_8_acq)
50013         (__arch_compare_and_exchange_val_16_acq)
50014         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50015         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50016         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50018 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
50020         * sysdeps/sh/backtrace.c: New file.
50022 2011-12-02  Andreas Schwab  <schwab@redhat.com>
50024         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
50025         parenthesis.
50027 2011-12-01  Andreas Schwab  <schwab@redhat.com>
50029         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50030         falling back to utime.
50032 2011-11-30  Andreas Schwab  <schwab@redhat.com>
50034         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50035         expectations for float.
50037 2011-11-29  Andreas Schwab  <schwab@redhat.com>
50039         * locale/weight.h (findidx): Add parameter len.
50040         * locale/weightwc.h (findidx): Likewise.
50041         * posix/fnmatch_loop.c (FCT): Adjust caller.
50042         * posix/regcomp.c (build_equiv_class): Likewise.
50043         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50044         * posix/regexec.c (check_node_accept_bytes): Likewise.
50045         * string/strcoll_l.c (STRCOLL): Likewise.
50046         * string/strxfrm_l.c (STRXFRM): Likewise.
50048 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
50050         * Makefile.in: Remove CVSOPT handling.
50051         * configure.in: Remove use of AC_REVISION.
50052         * iconvdata/Makefile (distribute): No need to filter out CVS.
50053         * scripts/list-sources.sh: Remove CVS, subversion and monotone
50054         handling.
50056 2011-11-16  Andreas Schwab  <schwab@redhat.com>
50058         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50059         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50060         [USE_AS_STRNCASECMP_L]: Likewise.
50061         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50062         NO_TLS_DIRECT_SEG_REFS.
50063         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50064         Fix argument offsets for non-PIC.
50065         [USE_AS_STRNCASECMP_L]: Likewise.
50066         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50067         NO_TLS_DIRECT_SEG_REFS.
50069 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
50071         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
50072         O_CLOEXEC.
50073         * locale/loadlocale.c (_nl_load_locale): Likewise.
50075 2011-11-15  Andreas Schwab  <schwab@redhat.com>
50077         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50078         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50079         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50080         (SYSCALL_GETTIME): Set errno on error.
50082         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50083         count references to noai6ai_cached.
50085 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
50087         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50089         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50090         FD_CLOEXEC for /proc/self/maps.
50092         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50093         FD_CLOEXEC for /proc/meminfo.
50095         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50096         gai.conf.
50098         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
50099         FD_CLOEXEC for given file.
50101         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50103         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50104         FD_CLOEXEC for /etc/hosts.
50105         (_gethtent): Likewise.
50107         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50109         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50110         cancellation and set FD_CLOEXEC for /etc/netgroup.
50112         * nss/nss_files/files-key.c (search): Don't allow cancellation when
50113         reading /etc/publickey.
50115         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50116         allow cancellation when reading /etc/group.
50118         * nss/nss_files/files-alias.c (internal_setent): Don't allow
50119         cancellation.
50120         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
50122         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50123         when using data file.
50125         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50127         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50128         (write_nis_obj): Use "c" and "e" in fopen.
50130         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50132         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50134         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50136         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50138         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50139         locale.alias.
50141         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50143         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50145         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50147         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50148         file parsing and set FD_CLOEXEC.
50150 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
50152         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50154 2011-11-14  Andreas Schwab  <schwab@redhat.com>
50156         * malloc/arena.c (arena_get2): Don't call reused_arena when
50157         _int_new_arena failed.
50159 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
50161         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50162         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50163         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50164         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50165         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50166         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50167         to compile strcasecmp and strncasecmp.
50168         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50169         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50171         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50173 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
50175         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50176         locale-defines.sym to gen-as-const-headers.
50177         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50178         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50179         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50180         to compile strcasecmp and strncasecmp.
50181         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50182         strcasecmp_l and strncasecmp_l.
50183         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50184         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50185         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50186         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50187         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50188         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50189         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50190         * sysdeps/i386/i686/multiarch/strncase.S: New file.
50191         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50192         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50193         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50195 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
50197         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50198         result of SYSDEP_GETTIME_CPU to retval.
50199         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50200         parameter list to macro.  Remove trailing semicolon.  Adjust users.
50202         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50203         variable.
50205         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50206         mantissa words.
50207         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50209         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50210         from unused variable.
50212         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50213         DWARF definitions.
50214         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50215         for assembling.
50217         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50218         over namespaces.
50220         * sunrpc/rpc_prot.c (rejected): Fix case value.
50222         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50223         unsigned long long int to avoid warnings in shift.
50225         * posix/regex_internal.c (re_string_reconstruct): Actually use result
50226         of use of trans.
50227         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50228         variable tmp.
50230         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50231         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50232         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50234         * nis/nis_table.c (nis_list): Use variable of correct type for
50235         result of __follow_path call.
50237 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50239         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50240         of math functions ceil, trunc, floor, round, and sqrt, when
50241         avaliable on the platform.
50242         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50243         name clash.
50244         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50245         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50246         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50248 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
50250         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50251         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50253 2011-11-11  Roland McGrath  <roland@hack.frob.com>
50255         * include/unistd.h: Fix __readlink return type.
50256         Reported by Chris Metcalf <cmetcalf@tilera.com>.
50258 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
50260         * stdlib/ucontext.h: Undo last change for makecontext.
50262 2011-11-11  Andreas Schwab  <schwab@redhat.com>
50264         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50266         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50267         * setjmp/setjmp.h: Mark functions as non-leaf.
50268         * setjmp/bits/setjmp2.h: Likewise.
50269         * stdlib/ucontext.h: Likewise.
50271 2011-11-10  Andreas Schwab  <schwab@redhat.com>
50273         * malloc/arena.c (_int_new_arena): Don't increment narenas.
50274         (reused_arena): Don't check arena limit.
50275         (arena_get2): Atomically check arena limit.
50277 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
50279         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50280         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50282         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50283         instructions.
50285 2011-11-07  Andreas Schwab  <schwab@redhat.com>
50287         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50288         handler when locking.
50290         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50291         Fix size of allocated buffer.
50293 2011-11-04  Andreas Schwab  <schwab@redhat.com>
50295         [BZ #10103]
50296         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50297         declarations for long double functions.
50298         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50300         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50302 2011-11-03  Andreas Schwab  <schwab@redhat.com>
50304         * nscd/nscd.c (main): Don't start AVC thread until credentials are
50305         installed.
50307         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50308         is disabled.
50310 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50312         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50314 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
50316         * include/alloca.h (stackinfo_alloca_round): Define.
50317         (extend_alloca): Use it.
50318         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50319         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50320         here.
50322         * scripts/check-local-headers.sh: Ignore libaudit.h.
50324         * nscd/Makefile (extra-objs): Make recursively expanded.
50326 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
50328         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50329         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50331         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50332         * posix/tst-rfc3484-2.c: Likewise.
50333         * posix/tst-rfc3484-3.c: Likewise.
50335         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50336         process_vm_writev.
50337         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50338         process_vm_writev.
50339         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50340         process_vm_writev from libc using GLIBC_2.15 version.
50342         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50344 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
50346         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50347         stack usage.
50349 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
50351         [BZ #13367]
50352         * nss/getent.c (initgroups_keys): Show error message in case no group
50353         names are given.
50355         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50356         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50357         __bump_nl_timestamp.
50358         * nscd/connections (nscd_init): When host database is served open
50359         netlink socket and request notification about configuration changes.
50360         (main_loop_poll): Track netlink file descriptor and bump timestamp
50361         in case data becomes available.
50362         (main_loop_epoll): Likewise.
50363         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50364         (database_pers_head): Add extra_data fileds.
50365         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50366         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50367         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50368         Adjust caller.
50369         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50370         in6ai data, call __free_in6ai.
50371         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50372         Add -DHAVE_NETLINK.
50373         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
50374         interface information.  Reuse previous data if netlink timestamp
50375         is not changed.
50376         (__bump_nl_timestamp): New function.
50377         (__free_in6ai): New function.
50379 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
50381         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50382         close_not_cancel_no_status here.
50383         (__check_pf): Reorganize code a bit to not call close twice if OOM.
50385 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
50387         [BZ #13276]
50388         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50389         return value.
50391         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
50392         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50393         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50395 2011-07-03  Andreas Jaeger  <aj@suse.de>
50397         [BZ #10709]
50398         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50399         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50400         * math/libm-test.inc (sin_test): Add test case.
50402 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
50404         [BZ #13337]
50405         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50406         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50408         * elf/chroot_canon.c (chroot_canon): Cleanups.
50410         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50412         [BZ #13335]
50413         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50414         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50416         * string/test-strchr.c: Make usable for strchrnul testing.
50417         * string/test-strchrnul.c: New file.
50418         * string/Makefile (strop-tests): Add strchrnul.
50420         * po/it.po: Update from translation team.
50421         * po/es.po: Likewise.
50423 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
50425         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50426         the three constants needed as parameters.  Drop the others.
50427         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50428         __m128i_strloadu_tolower.
50429         Create and initialize variable zero and use it in all the places
50430         where _mm_setzero_si128 was used.
50432         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50433         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50434         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50435         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50436         anymore.
50437         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50438         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50439         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50440         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50441         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50442         __mpranred, __mptan.
50443         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50444         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50445         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50446         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50447         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50448         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50449         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50450         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50451         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50453 2011-10-28  Andreas Schwab  <schwab@redhat.com>
50455         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50456         redefine if SHARED.
50457         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50459         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50460         wide char related routines to wcsmbs subdir.
50462 2011-10-27  Andreas Schwab  <schwab@redhat.com>
50464         [BZ #13344]
50465         * misc/sys/cdefs.h (__THROWNL): Define.
50466         * posix/unistd.h: Use __THREADNL instead of __THREAD
50467         for memory synchronization functions.
50469 2011-10-26  Roland McGrath  <roland@hack.frob.com>
50471         [BZ #13349]
50472         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50473         doesn't exist.
50474         * manual/stdio.texi (Obstack Streams): Node removed.
50476 2011-10-26  Andreas Schwab  <schwab@redhat.com>
50478         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50479         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50480         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50482         * math/math_private.h (math_force_eval): Allow non-addressable
50483         arguments.
50484         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50486 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50488         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50489         file is not needed.
50491         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50492         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50493         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50494         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50495         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50496         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50497         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50498         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50499         Add AVX variants.
50500         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50501         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50502         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50503         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50504         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50505         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50506         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50507         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50508         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50509         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50510         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50511         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50512         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50513         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50514         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50515         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50516         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50517         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50518         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50520         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50521         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
50523         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50524         place.  Use VEX encoding when compiling for AVX.
50526 2011-10-25  Andreas Schwab  <schwab@redhat.com>
50528         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50529         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50531         * string/test-strchr.c (do_test): Don't generate NUL bytes.
50533 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50535         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
50536         useless if() expression.
50537         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50538         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50539         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50540         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50541         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50542         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50543         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50544         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50545         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50546         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50547         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50548         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50549         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50550         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50551         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50552         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50553         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50554         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50555         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50557         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50559 2011-10-25  Andreas Schwab  <schwab@redhat.com>
50561         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50562         condition.
50563         * elf/dl-fini.c (_dl_sort_fini): Likewise.
50565 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50567         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50568         .text section.  Avoid duplicate constants.
50569         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50570         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50571         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50572         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50573         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50574         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50575         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50576         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50577         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50578         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50579         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50580         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50581         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50582         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50583         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50584         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50585         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50586         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50587         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50588         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50589         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50590         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50591         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50592         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50593         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50594         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50595         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50596         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50597         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50598         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50599         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50600         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50601         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50602         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50603         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50604         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50605         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50606         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50607         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50608         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50609         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50610         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50611         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50612         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50613         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50615 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
50617         * sysdeps/x86_64/dla.h: Move to ...
50618         * sysdeps/x86_64/fpu/dla.h: ...here.
50619         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50620         situations.  Use __builtin_fma only for gcc 4.6 and up.
50622         * config.make.in: Add have-mfma4 entry.
50623         * configure.in: Substitute libc_cv_cc_fma4.
50624         * math/Makefile (dbl-only-routines): Add sincostab.
50625         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50626         Use __sincostab not sincos.
50627         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50628         name is a macro.
50629         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50630         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50631         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50632         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
50633         using __copysign.
50634         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
50635         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
50636         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50637         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50638         and __inv.
50639         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50640         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50641         __copysign.
50642         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
50643         define aliases when function name is a macro.
50644         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50645         sysdeps/ieee754/dbl-64/sincos.tbl.
50646         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50647         fma4-enabled routines.
50648         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50649         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50650         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50651         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50652         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50653         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50654         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50655         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50656         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50657         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50658         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50659         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50660         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50661         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50662         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50663         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50664         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50665         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50666         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50667         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50668         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50669         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50670         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50671         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50672         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50673         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50674         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50675         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50676         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50677         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50679         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50680         rename.
50681         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50682         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50683         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50684         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50685         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50686         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50687         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50688         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50690 2011-10-24  Andreas Schwab  <schwab@redhat.com>
50692         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50694 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50696         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50698         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50699         prediction.
50700         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50702         * string/strnlen.c: Don't define STRNLEN, reverse logic.
50703         Remove unused variable magic_bits.
50704         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50706         * string/strnlen.c: Define and use STRNLEN macro.
50707         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50708         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50709         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50710         * wcsmbs/wcslen.c: Define and use WCSLEN.
50711         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50712         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50713         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50714         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50715         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50716         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50717         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50719 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50721         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50722         strnlen-sse2-no-bsf.
50723         Rename strlen-no-bsf to strlen-sse2-no-bsf.
50724         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50725         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50726         Add strnlen support.
50727         (USE_AS_STRNLEN): New macro.
50728         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50729         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50730         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50731         * sysdeps/x86_64/wcslen.S: New file.
50733 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
50735         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50736         XMM-moves are used for copying on small sizes.
50738 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50740         * wcsmbs/Makefile (strop-tests): Add wcschr.
50741         * wcsmbs/test-wcschr.c: New file.
50742         * string/test-strchr.c: Update.
50743         Add wcschr support.
50744         (WIDE): New macro.
50746 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50748         * wcsmbs/Makefile (strop-tests): Add wcslen.
50749         * wcsmbs/test-wcslen.c: New file.
50750         * string/test-strlen.c: Update.
50751         Add wcslen support.
50752         (WIDE): New macro.
50754 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50756         * po/it.po: Update from translation team.
50758 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50760         * sysdeps/x86_64/wcscmp.S: Update.
50761         Fix wrong comparison semantics.
50762         wcscmp shall use signed comparison not unsigned.
50763         Don't use substraction to avoid overflow bug.
50764         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
50765         * wcsmbc/wcscmp.c: Likewise.
50766         * string/test-strcmp.c: Likewise.
50767         Add new tests to check cases with negative values.
50769 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50771         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
50772         * sysdeps/x86_64/dla.h: ...here.  New file.
50773         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
50774         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50775         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50776         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50777         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50778         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50779         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50780         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50781         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50783 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
50785         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
50786         __ynl_finite aliases.
50788 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
50790         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50792         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
50793         define DLA_FMA.
50794         [DLA_FMA] (EMULV): Use DLA_FMA.
50795         [DLA_FMA] (MUL12): Use EMULV.
50796         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
50797         that are not needed.
50798         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50799         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50800         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50801         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50802         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50803         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50804         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50806 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
50808         * math/s_nan.c: Undef __nan.
50809         * math/s_nanf.c: Undef __nanf.
50810         * math/s_nanl.c: Undef __nanl.
50811         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
50812         "math_private.h".
50814 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
50816         * math/s_catan.c: Add branch predictions.
50817         * math/s_catanf.c: Likewise.
50818         * math/s_catanh.c: Likewise.
50819         * math/s_catanhf.c: Likewise.
50820         * math/s_catanhl.c: Likewise.
50821         * math/s_catanl.c: Likewise.
50822         * math/s_cexp.c: Likewise.
50823         * math/s_cexpf.c: Likewise.
50824         * math/s_cexpl.c: Likewise.
50825         * math/s_clog.c: Likewise.
50826         * math/s_clog10.c: Likewise.
50827         * math/s_clog10f.c: Likewise.
50828         * math/s_clog10l.c: Likewise.
50829         * math/s_clogf.c: Likewise.
50830         * math/s_clogl.c: Likewise.
50831         * math/s_csqrt.c: Likewise.
50832         * math/s_csqrtf.c: Likewise.
50833         * math/s_csqrtl.c: Likewise.
50834         * math/s_ctanf.c: Likewise.
50835         * math/s_ctanh.c: Likewise.
50836         * math/s_ctanhf.c: Likewise.
50837         * math/s_ctanhl.c: Likewise.
50838         * math/s_ctanl.c: Likewise.
50840         * math/math_private.h: Define __nan, __nanf, __nanl.
50841         * math/s_cacosh.c: Include <math_private.h>.
50842         * math/s_cacoshl.c: Likewise.
50843         * math/s_casinh.c: Likewise.
50844         * math/s_casinhf.c: Likewise.
50845         * math/s_casinhl.c: Likewise.
50846         * math/s_ccos.c: Rely entire on ccosh.
50847         * math/s_ccosf.c: Rely entire on ccoshf.
50848         * math/s_ccosl.c: Rely entirely on ccoshl.
50849         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
50850         Remove tests for FE_INVALID.
50851         * math/s_ccoshf.c: Likewise.
50852         * math/s_ccoshl.c: Likewise.
50853         * math/s_csin.c: Likewise.
50854         * math/s_csinf.c: Likewise.
50855         * math/s_csinh.c Likewise.
50856         * math/s_csinhf.c: Likewise.
50857         * math/s_csinhl.c: Likewise.
50858         * math/s_csinl.c: Likewise.
50859         * math/s_ctan.c: Likewise.
50860         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
50861         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
50862         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
50864 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
50866         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
50867         compilation problems.
50869         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
50870         __builtin_expect.
50872 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
50874         * sysdeps/i386/configure.in: Test for -mfma4 option.
50875         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
50876         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
50877         COMMON_CPUID_INDEX_80000001.
50878         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
50879         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
50880         use it if FMA3 is not supported.
50881         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
50883         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
50884         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50886 2011-10-20  Andreas Schwab  <schwab@redhat.com>
50888         [BZ #12892]
50889         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
50890         it would create a cycle with a link time dependency.
50892 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
50894         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
50895         instruction.
50896         * string/Makefile (strop-tests): Add rawmemchr.
50897         * string/test-rawmemchr.c: New file.
50899         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
50900         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
50901         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
50902         when compiling str{,n}casecmp and when AVX is available.  Hook up
50903         new optimized code in initializers.
50905 2011-10-19  Andreas Schwab  <schwab@redhat.com>
50907         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
50908         __feraiseexcept instead of feraiseexcept.
50910 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
50912         * math/math_private.h: Define defaults for libc_fetestexcept and
50913         libc_feupdateenv.
50914         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
50915         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
50916         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50917         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50918         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50919         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50920         libc_fetestexcept and libc_feupdateenv.
50922         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
50923         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
50924         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
50925         * sysdeps/x86_64/fpu/math_private.h: Define special version of
50926         libc_feholdexcept_setround.
50928         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
50929         Add s_nearbyint-c and s_nearbyintf-c.
50930         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
50931         nearbyintf inlines.
50932         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
50933         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
50934         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
50935         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
50937         * math/math_private.h: Define defaults for libc_fegetround,
50938         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
50939         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
50940         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
50941         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
50942         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
50943         standard functions.
50944         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50945         Remove comments and hacks for old compiler versions.
50946         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50947         libc_fegetround, libc_fesetround, libc_feholdexcept, and
50948         libc_feholdexceptl.
50950 2011-10-18  Andreas Schwab  <schwab@redhat.com>
50952         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
50953         (__feraiseexcept_renamed): Add __NTH.
50954         (feraiseexcept): Add __NTH.  Rename local variables to fix
50955         namespace violations.
50957 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
50959         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
50961         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
50963         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
50964         recently added interfaces.
50965         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
50967         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
50968         about macro parameter expansion.
50970         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
50971         __NO_MATH_INLINES is defined.  Cleanups.
50973         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
50974         and __floorf is target has SSE4.1.
50975         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
50976         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
50977         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
50978         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
50980         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
50981         name.
50982         (floorf): Likewise.
50984         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
50986 2011-10-17  Andreas Schwab  <schwab@redhat.com>
50988         * misc/sys/cdefs.h: Fix last change.
50990         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
50991         database lookup.
50993 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
50995         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
50997         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
50998         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50999         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51000         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51001         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51002         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51003         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51004         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51005         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51006         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51007         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51008         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51009         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51010         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51011         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51012         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51013         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51014         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51015         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51016         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51017         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51018         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51020         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51021         ceil, ceilf, floor, floorf.
51023         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51024         Perform IRELATIVE relocations last.
51026         * elf/do-rel.h: Add another parameter nrelative, replacing the
51027         local variable with the same name.  Change name of the function
51028         to end in Rel or Rela (uppercase).
51029         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51030         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
51031         elf_dynamic_do_##reloc function.
51033 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
51035         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51036         is sufficient, at least on modern CPUs.
51038         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51040         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51041         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51043         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51044         __expl_finite.
51045         * math/bits/math-finite.h: Add entries for exp.
51046         * math/e_expl.c: Add __*_finite alias.
51047         * sysdeps/i386/fpu/e_exp.S: Likewise.
51048         * sysdeps/i386/fpu/e_expf.S: Likewise.
51049         * sysdeps/i386/fpu/e_expl.c: Likewise.
51050         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51051         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51052         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51053         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51054         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51055         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51056         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51058         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51059         is sufficient, at least on modern CPUs.
51061         * ctype/ctype-info.c (__ctype_init): Define.
51062         * include/ctype.h (__ctype_init): Declare.
51063         (__ctype_b_loc): The variable is always initialized.
51064         (__ctype_toupper_loc): Likewise.
51065         (__ctype_tolower_loc): Likewise.
51066         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51067         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51069 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
51071         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51073         * configure.in: Also look in $cxxmachine/include for C++ system
51074         headers.
51076 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51078         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51079         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51080         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51081         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
51082         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51083         (USE_AS_WMEMCMP): New macro.
51084         Fixing indents.
51085         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51086         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51087         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51088         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51089         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51090         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51091         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51092         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51093         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51094         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51095         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51096         (USE_AS_WMEMCMP): New macro.
51097         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51098         * sysdeps/string/test-memcmp.c: Update.
51099         Fix simple_wmemcmp.
51100         Add new tests.
51101         * wcsmbs/wmemcmp.c: Update.
51102         (WMEMCMP): New macro.
51103         Fix overflow bug.
51105 2011-10-12  Andreas Jaeger  <aj@suse.de>
51107         [BZ #13268]
51108         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51110 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
51112         * libio/iofwide.c (do_length): Avoid warning.
51114         * ctype/ctype.h (__isctype_f): Add missing __THROW.
51116 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
51118         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51120         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51121         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51122         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51123         * sysdeps/i386/i686/fpu/e_log.S: New file.
51124         * sysdeps/i386/i686/fpu/e_logf.S: New file.
51125         * sysdeps/i386/i686/fpu/e_logl.S: New file.
51127         * ctype/ctype.h: Add support for inlined isXXX functions when
51128         compiling C++ code.
51130 2011-10-14  Andreas Schwab  <schwab@redhat.com>
51132         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51134         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51136 2011-10-13  Roland McGrath  <roland@hack.frob.com>
51138         [BZ #13291]
51139         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51141 2011-10-13  Andreas Schwab  <schwab@redhat.com>
51143         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51144         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51145         feraiseexcept.
51147         * sysdeps/x86_64/memrchr.S: Check for zero size.
51149         * string/stratcliff.c: Add memrchr tests.
51151 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51153         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51154         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51155         rawmemchr-sse2 rawmemchr-sse2-bsf.
51156         * sysdeps/i386/i686/multiarch/memchr.S: New file.
51157         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51158         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51159         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51160         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51161         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51162         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51163         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51164         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51165         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51166         * string/memrchr.c (MEMRCHR): New macro.
51168 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
51170         Add integration with gcc's -ffinite-math-only and optimize wrapper
51171         functions in libm.
51172         * Versions.def: Define GLIBC_2.15 version for libm.
51173         * math/Makefile (headers): Add bits/math-finite.h.
51174         * math/bits/math-finite.h: New file.
51175         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51176         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51177         * math/e_acoshl.c: Add __*_finite alias.
51178         * math/e_acosl.c: Likewise.
51179         * math/e_asinl.c: Likewise.
51180         * math/e_atan2l.c: Likewise.
51181         * math/e_atanhl.c: Likewise.
51182         * math/e_coshl.c: Likewise.
51183         * math/e_exp10.c: Likewise.
51184         * math/e_exp10f.c: Likewise.
51185         * math/e_exp10l.c: Likewise.
51186         * math/e_exp2l.c: Likewise.
51187         * math/e_fmodl.c: Likewise.
51188         * math/e_gammal_r.c: Likewise.
51189         * math/e_hypotl.c: Likewise.
51190         * math/e_j0l.c: Likewise.
51191         * math/e_j1l.c: Likewise.
51192         * math/e_jnl.c: Likewise.
51193         * math/e_lgammal_r.c: Likewise.
51194         * math/e_log10l.c: Likewise.
51195         * math/e_log2l.c: Likewise.
51196         * math/e_logl.c: Likewise.
51197         * math/e_powl.c: Likewise.
51198         * math/e_sinhl.c: Likewise.
51199         * math/e_sqrtl.c: Likewise.
51200         * math/e_scalb.c: Completely rewritten and optimized.
51201         * math/e_scalbf.c: Likewise.
51202         * math/e_scalbl.c: Likewise.
51203         * math/w_acos.c: Likewise.
51204         * math/w_acosf.c: Likewise.
51205         * math/w_acosl.c: Likewise.
51206         * math/w_acosh.c: Likewise.
51207         * math/w_acoshf.c: Likewise.
51208         * math/w_acoshl.c: Likewise.
51209         * math/w_asin.c: Likewise.
51210         * math/w_asinf.c: Likewise.
51211         * math/w_asinl.c: Likewise.
51212         * math/w_atan2.c: Likewise.
51213         * math/w_atan2f.c: Likewise.
51214         * math/w_atan2l.c: Likewise.
51215         * math/w_atanh.c: Likewise.
51216         * math/w_atanhf.c: Likewise.
51217         * math/w_atanhl.c: Likewise.
51218         * math/w_exp10.c: Likewise.
51219         * math/w_exp10f.c: Likewise.
51220         * math/w_exp10l.c: Likewise.
51221         * math/w_fmod.c: Likewise.
51222         * math/w_fmodf.c: Likewise.
51223         * math/w_fmodl.c: Likewise.
51224         * math/w_j0.c: Likewise.
51225         * math/w_j0f.c: Likewise.
51226         * math/w_j0l.c: Likewise.
51227         * math/w_j1.c: Likewise.
51228         * math/w_j1f.c: Likewise.
51229         * math/w_j1l.c: Likewise.
51230         * math/w_jn.c: Likewise.
51231         * math/w_jnf.c: Likewise.
51232         * math/w_log.c: Likewise.
51233         * math/w_logf.c: Likewise.
51234         * math/w_logl.c: Likewise.
51235         * math/w_log10.c: Likewise.
51236         * math/w_log10f.c: Likewise.
51237         * math/w_log10l.c: Likewise.
51238         * math/w_log2.c: Likewise.
51239         * math/w_log2f.c: Likewise.
51240         * math/w_log2l.c: Likewise.
51241         * math/w_pow.c: Likewise.
51242         * math/w_powf.c: Likewise.
51243         * math/w_powl.c: Likewise.
51244         * math/w_remainder.c: Likewise.
51245         * math/w_remainderf.c: Likewise.
51246         * math/w_remainderl.c: Likewise.
51247         * math/w_scalb.c: Likewise.
51248         * math/w_scalbf.c: Likewise.
51249         * math/w_scalbl.c: Likewise.
51250         * math/w_sqrt.c: Likewise.
51251         * math/w_sqrtf.c: Likewise.
51252         * math/w_sqrtl.c: Likewise.
51253         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51254         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
51255         used.
51256         * math/math_private.h: Declare __kernel_standard_f.
51257         * math/w_cosh.c: Remove cruft and optimize a bit.
51258         * math/w_coshf.c: Likewise.
51259         * math/w_coshl.c: Likewise.
51260         * math/w_exp2.c: Likewise.
51261         * math/w_exp2f.c: Likewise.
51262         * math/w_exp2l.c: Likewise.
51263         * math/w_hypot.c: Likewise.
51264         * math/w_hypotf.c: Likewise.
51265         * math/w_hypotl.c: Likewise.
51266         * math/w_lgamma.c: Likewise.
51267         * math/w_lgamma_r.c: Likewise.
51268         * math/w_lgammaf.c: Likewise.
51269         * math/w_lgammaf_r.c: Likewise.
51270         * math/w_lgammal.c: Likewise.
51271         * math/w_lgammal_r.c: Likewise.
51272         * math/w_sinh.c: Likewise.
51273         * math/w_sinhf.c: Likewise.
51274         * math/w_sinhl.c: Likewise.
51275         * math/w_tgamma.c: Likewise.
51276         * math/w_tgammaf.c: Likewise.
51277         * math/w_tgammal.c: Likewise.
51278         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51279         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51280         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51281         Minor optimizations.  Pretty printing.  Remove cruft.
51282         * sysdeps/i386/fpu/e_acosf.S: Likewise.
51283         * sysdeps/i386/fpu/e_acosh.S: Likewise.
51284         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51285         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51286         * sysdeps/i386/fpu/e_acosl.c: Likewise.
51287         * sysdeps/i386/fpu/e_asin.S: Likewise.
51288         * sysdeps/i386/fpu/e_asinf.S: Likewise.
51289         * sysdeps/i386/fpu/e_atan2.S: Likewise.
51290         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51291         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51292         * sysdeps/i386/fpu/e_atanh.S: Likewise.
51293         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51294         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51295         * sysdeps/i386/fpu/e_exp10.S: Likewise.
51296         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51297         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51298         * sysdeps/i386/fpu/e_exp2.S: Likewise.
51299         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51300         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51301         * sysdeps/i386/fpu/e_fmod.S: Likewise.
51302         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51303         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51304         * sysdeps/i386/fpu/e_hypot.S: Likewise.
51305         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51306         * sysdeps/i386/fpu/e_log.S: Likewise.
51307         * sysdeps/i386/fpu/e_log10.S: Likewise.
51308         * sysdeps/i386/fpu/e_log10f.S: Likewise.
51309         * sysdeps/i386/fpu/e_log10l.S: Likewise.
51310         * sysdeps/i386/fpu/e_log2.S: Likewise.
51311         * sysdeps/i386/fpu/e_log2f.S: Likewise.
51312         * sysdeps/i386/fpu/e_log2l.S: Likewise.
51313         * sysdeps/i386/fpu/e_logf.S: Likewise.
51314         * sysdeps/i386/fpu/e_logl.S: Likewise.
51315         * sysdeps/i386/fpu/e_pow.S: Likewise.
51316         * sysdeps/i386/fpu/e_powf.S: Likewise.
51317         * sysdeps/i386/fpu/e_powl.S: Likewise.
51318         * sysdeps/i386/fpu/e_remainder.S: Likewise.
51319         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51320         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51321         * sysdeps/i386/fpu/e_scalb.S: Likewise.
51322         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51323         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51324         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51325         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51326         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51327         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51328         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51329         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51330         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51331         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51332         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51333         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51334         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51335         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51336         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51337         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51338         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51339         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51340         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51341         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51342         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51343         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51344         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51345         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51346         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51347         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51348         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51349         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51350         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51351         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51352         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51353         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51354         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51355         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51356         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51357         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51358         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51359         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51360         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51361         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51362         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51363         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51364         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51365         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51366         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51367         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51368         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51369         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51370         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51371         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51372         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51373         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51374         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51375         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51376         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51377         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51378         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51379         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51380         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51381         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51382         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51383         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51384         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51385         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51386         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51387         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51388         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51389         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51390         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51391         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51392         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51393         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51394         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51395         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51396         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51397         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51398         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51399         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51400         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51401         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51402         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51403         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51404         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51405         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51406         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51407         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51408         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51409         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51410         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51411         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51412         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51413         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51414         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51415         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51416         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51417         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51418         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51419         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51420         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51421         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51422         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51423         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51424         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51425         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51426         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51427         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51428         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51429         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51430         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51431         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51432         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51433         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51434         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51435         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51436         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51437         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
51438         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51439         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51440         (__isnanf): Likewise.
51441         (__isinf_ns): Likewise.
51442         (__isinf_nsf): Likewise.
51443         (__finite): Likewise.
51444         (__finitef): Likewise.
51445         (__ieee754_sqrt): Define as macro.
51446         (__ieee754_sqrtf): Define as macro.
51447         (__ieee754_sqrtl): Define as macro.
51448         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51449         inlined copy.
51450         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51451         __FINITE_MATH_ONLY__ consistent.
51452         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51454 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
51456         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51457         of rawmemchr.
51459         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51461 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
51463         * po/ja.po: Update from translation team.
51465 2011-10-08  Roland McGrath  <roland@hack.frob.com>
51467         * locale/programs/locarchive.c (prepare_address_space): New function.
51468         (create_archive, enlarge_archive, open_archive): Use it.
51470         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51471         inside [SHARED], where it is used.
51473         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51475         * nss/getent.c (netgroup_keys): Remove unused variable.
51476         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51478 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
51480         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51481         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51482         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51483         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51484         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51485         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51486         * math/Makefile (libm-calls): Add s_isinf_ns.
51487         * math/divtc3.c: Use __isinf_nsl instead of isinf.
51488         * math/multc3.c: Likewise.
51489         * math/s_casin.c: Likewise.
51490         * math/s_casinf.c: Likewise.
51491         * math/s_casinl.c: Likewise.
51492         * math/s_ccos.c: Likewise.
51493         * math/s_ccosf.c: Likewise.
51494         * math/s_ccosl.c: Likewise.
51495         * math/s_ctan.c: Likewise.
51496         * math/s_ctanf.c: Likewise.
51497         * math/s_ctanh.c: Likewise.
51498         * math/s_ctanhf.c: Likewise.
51499         * math/s_ctanhl.c: Likewise.
51500         * math/s_ctanl.c: Likewise.
51501         * math/w_fmod.c: Likewise.
51502         * math/w_fmodf.c: Likewise.
51503         * math/w_fmodl.c: Likewise.
51504         * math/w_remainder.c: Likewise.
51505         * math/w_remainderf.c: Likewise.
51506         * math/w_remainderl.c: Likewise.
51507         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51508         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51509         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51510         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51511         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51512         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51513         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51514         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51516         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51517         of the number.
51518         * stdio-common/printf_fphex.c: Likewise.
51519         * stdio-common/printf_size.c: Likewise.
51521         * math/e_exp10.c: Include math_private.h using <...> not "...".
51522         * math/e_exp10f.c: Likewise.
51523         * math/e_exp10l.c: Likewise.
51524         * math/e_exp2l.c: Likewise.
51525         * math/e_j0l.c: Likewise.
51526         * math/e_j1l.c: Likewise.
51527         * math/e_jnl.c: Likewise.
51528         * math/e_lgammal_r.c: Likewise.
51529         * math/e_rem_pio2l.c: Likewise.
51530         * math/e_scalb.c: Likewise.
51531         * math/e_scalbf.c: Likewise.
51532         * math/e_scalbl.c: Likewise.
51533         * math/k_cosl.c: Likewise.
51534         * math/k_sinl.c: Likewise.
51535         * math/k_tanl.c: Likewise.
51536         * math/s_cacoshf.c: Likewise.
51537         * math/s_catan.c: Likewise.
51538         * math/s_catanf.c: Likewise.
51539         * math/s_catanh.c: Likewise.
51540         * math/s_catanhf.c: Likewise.
51541         * math/s_catanhl.c: Likewise.
51542         * math/s_catanl.c: Likewise.
51543         * math/s_ccosh.c: Likewise.
51544         * math/s_ccoshf.c: Likewise.
51545         * math/s_ccoshl.c: Likewise.
51546         * math/s_cexp.c: Likewise.
51547         * math/s_cexpf.c: Likewise.
51548         * math/s_cexpl.c: Likewise.
51549         * math/s_clog.c: Likewise.
51550         * math/s_clog10.c: Likewise.
51551         * math/s_clog10f.c: Likewise.
51552         * math/s_clog10l.c: Likewise.
51553         * math/s_clogf.c: Likewise.
51554         * math/s_clogl.c: Likewise.
51555         * math/s_csin.c: Likewise.
51556         * math/s_csinf.c: Likewise.
51557         * math/s_csinh.c: Likewise.
51558         * math/s_csinhf.c: Likewise.
51559         * math/s_csinhl.c: Likewise.
51560         * math/s_csinl.c: Likewise.
51561         * math/s_csqrt.c: Likewise.
51562         * math/s_csqrtf.c: Likewise.
51563         * math/s_csqrtl.c: Likewise.
51564         * math/s_ctan.c: Likewise.
51565         * math/s_ctanf.c: Likewise.
51566         * math/s_ctanh.c: Likewise.
51567         * math/s_ctanhf.c: Likewise.
51568         * math/s_ctanhl.c: Likewise.
51569         * math/s_ctanl.c: Likewise.
51570         * math/s_ldexp.c: Likewise.
51571         * math/s_ldexpf.c: Likewise.
51572         * math/s_ldexpl.c: Likewise.
51573         * math/s_significand.c: Likewise.
51574         * math/s_significandf.c: Likewise.
51575         * math/s_significandl.c: Likewise.
51576         * math/w_acos.c: Likewise.
51577         * math/w_acosf.c: Likewise.
51578         * math/w_acosh.c: Likewise.
51579         * math/w_acoshf.c: Likewise.
51580         * math/w_acoshl.c: Likewise.
51581         * math/w_acosl.c: Likewise.
51582         * math/w_asin.c: Likewise.
51583         * math/w_asinf.c: Likewise.
51584         * math/w_asinl.c: Likewise.
51585         * math/w_atan2.c: Likewise.
51586         * math/w_atan2f.c: Likewise.
51587         * math/w_atan2l.c: Likewise.
51588         * math/w_atanh.c: Likewise.
51589         * math/w_atanhf.c: Likewise.
51590         * math/w_atanhl.c: Likewise.
51591         * math/w_cosh.c: Likewise.
51592         * math/w_coshf.c: Likewise.
51593         * math/w_coshl.c: Likewise.
51594         * math/w_dremf.c: Likewise.
51595         * math/w_exp10.c: Likewise.
51596         * math/w_exp10f.c: Likewise.
51597         * math/w_exp10l.c: Likewise.
51598         * math/w_exp2.c: Likewise.
51599         * math/w_exp2f.c: Likewise.
51600         * math/w_fmod.c: Likewise.
51601         * math/w_fmodf.c: Likewise.
51602         * math/w_fmodl.c: Likewise.
51603         * math/w_hypot.c: Likewise.
51604         * math/w_hypotf.c: Likewise.
51605         * math/w_hypotl.c: Likewise.
51606         * math/w_j0.c: Likewise.
51607         * math/w_j0f.c: Likewise.
51608         * math/w_j0l.c: Likewise.
51609         * math/w_j1.c: Likewise.
51610         * math/w_j1f.c: Likewise.
51611         * math/w_j1l.c: Likewise.
51612         * math/w_jn.c: Likewise.
51613         * math/w_jnf.c: Likewise.
51614         * math/w_jnl.c: Likewise.
51615         * math/w_lgamma.c: Likewise.
51616         * math/w_lgamma_r.c: Likewise.
51617         * math/w_lgammaf.c: Likewise.
51618         * math/w_lgammaf_r.c: Likewise.
51619         * math/w_lgammal.c: Likewise.
51620         * math/w_lgammal_r.c: Likewise.
51621         * math/w_log.c: Likewise.
51622         * math/w_log10.c: Likewise.
51623         * math/w_log10f.c: Likewise.
51624         * math/w_log10l.c: Likewise.
51625         * math/w_log2.c: Likewise.
51626         * math/w_log2f.c: Likewise.
51627         * math/w_log2l.c: Likewise.
51628         * math/w_logf.c: Likewise.
51629         * math/w_logl.c: Likewise.
51630         * math/w_pow.c: Likewise.
51631         * math/w_powf.c: Likewise.
51632         * math/w_powl.c: Likewise.
51633         * math/w_remainder.c: Likewise.
51634         * math/w_remainderf.c: Likewise.
51635         * math/w_remainderl.c: Likewise.
51636         * math/w_scalb.c: Likewise.
51637         * math/w_scalbf.c: Likewise.
51638         * math/w_scalbl.c: Likewise.
51639         * math/w_sinh.c: Likewise.
51640         * math/w_sinhf.c: Likewise.
51641         * math/w_sinhl.c: Likewise.
51642         * math/w_sqrt.c: Likewise.
51643         * math/w_sqrtf.c: Likewise.
51644         * math/w_sqrtl.c: Likewise.
51645         * math/w_tgamma.c: Likewise.
51646         * math/w_tgammaf.c: Likewise.
51647         * math/w_tgammal.c: Likewise.
51649         * po/ja.po: Update from translation team.
51651 2011-09-29  Andreas Jaeger  <aj@suse.de>
51653         [BZ #13179]
51654         * sunrpc/netname.c (netname2host): Fix logic.
51656         [BZ #6779]
51657         [BZ #6783]
51658         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51659         correctly.
51660         * math/w_remainder.c (__remainder): Likewise.
51661         * math/w_remainderf.c (__remainderf): Likewise.
51662         * math/libm-test.inc (remainder_test): Add test cases.
51664 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51666         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
51667         sdiv_qrnnd.
51669 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
51671         * string/test-memcmp.c: Avoid unncessary #defines.
51672         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51674 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51676         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51677         Use new sse2 version for core i3 - i7 as it's faster
51678         than sse42 version.
51679         (bit_Prefer_PMINUB_for_stringop): New.
51680         * sysdeps/x86_64/rawmemchr.S: Update.
51681         Replace with faster SSE2 version.
51682         * sysdeps/x86_64/memrchr.S: New file.
51683         * sysdeps/x86_64/memchr.S: Update.
51684         Replace with faster SSE2 version.
51686 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
51688         * elf/dl-load.c (lose): Add cast to avoid warning.
51690 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
51692         * po/ca.po: Update from translation team.
51694         * inet/getnetgrent_r.c: Hook up nscd.
51695         * nscd/Makefile (routines): Add nscd_netgroup.
51696         (nscd-modules): Add netgroupcache.
51697         (CFLAGS-netgroupcache.c): Define.
51698         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51699         (cache_search): Add const to second parameter.
51700         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51701         INNETGR.
51702         (dbs): Add netgrdb entry.
51703         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51704         (verify_persistent_db): Handle netgrdb.
51705         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51706         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51707         GETFDNETGR.
51708         (netgroup_response_header): Define.
51709         (innetgroup_response_header): Define.
51710         (datahead): Add netgroup_response_header and innetgroup_response_header
51711         elements.
51712         * nscd/nscd.conf: Add entries for netgroup cache.
51713         * nscd/nscd.h (dbtype): Add netgrdb.
51714         (_PATH_NSCD_NETGROUP_DB): Define.
51715         (netgroup_iov_disabled): Declare.
51716         (xmalloc, xcalloc, xrealloc): Move declarations here.
51717         (cache_search): Adjust prototype.
51718         Add netgroup-related prototypes.
51719         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51720         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51721         (__nscd_innetgr): Declare.
51722         * nscd/selinux.c (perms): Use access_vector_t as element type and
51723         add netgroup-related initializers.
51724         * nscd/netgroupcache.c: New file.
51725         * nscd/nscd_netgroup.c: New file.
51726         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51727         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51728         For four parameters use innetgr.
51729         * nss/nss_files/files-init.c: Add definition and callback for netgr.
51730         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51731         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
51732         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
51734         * nscd/connections.c (register_traced_file): Don't register file
51735         for disabled databases.
51737 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
51739         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
51741         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
51742         from tree and freeing node.
51744 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
51746         * nss/nsswitch.c (__nss_database_lookup): Handle
51747         nss_parse_service_list out of memory case.
51749 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
51751         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
51752         out of memory case.
51754 2011-10-04  Andreas Schwab  <schwab@redhat.com>
51756         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
51757         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
51758         pass it down.
51759         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
51760         elf_machine_rela, elf_machine_lazy_rel.
51761         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
51762         (ELF_DYNAMIC_DO_REL): Likewise.
51763         (ELF_DYNAMIC_DO_RELA): Likewise.
51764         (ELF_DYNAMIC_RELOCATE): Likewise.
51765         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
51766         to ELF_DYNAMIC_DO_REL.
51767         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
51768         (dl_main): In trace mode always set __RTLD_NOIFUNC.
51769         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
51770         elf_machine_rela.
51771         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
51772         skip_ifunc, don't call ifunc function if non-zero.
51773         (elf_machine_rela): Likewise.
51774         (elf_machine_lazy_rel): Likewise.
51775         (elf_machine_lazy_rela): Likewise.
51776         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
51777         (elf_machine_lazy_rel): Likewise.
51778         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
51779         Likewise.
51780         (elf_machine_lazy_rel): Likewise.
51781         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51782         Likewise.
51783         (elf_machine_lazy_rel): Likewise.
51784         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
51785         (elf_machine_lazy_rel): Likewise.
51786         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
51787         (elf_machine_lazy_rel): Likewise.
51788         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51789         (elf_machine_lazy_rel): Likewise.
51790         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
51791         (elf_machine_lazy_rel): Likewise.
51792         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
51793         (elf_machine_lazy_rel): Likewise.
51794         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51795         (elf_machine_lazy_rel): Likewise.
51797 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
51799         * nss/nss_files/files-init.c (_nss_files_init): Use static
51800         initialization for all the *_traced_file variables.
51802 2011-09-28  Andreas Schwab  <schwab@redhat.com>
51804         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51806 2011-09-27  Roland McGrath  <roland@hack.frob.com>
51808         [BZ #13226]
51809         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
51811 2011-09-27  Andreas Schwab  <schwab@redhat.com>
51813         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51814         Reread the line before reparsing it.
51816 2011-09-26  Andreas Schwab  <schwab@redhat.com>
51818         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
51820 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
51821             Maxim Kuvyrkov  <maxim@codesourcery.com>
51822             Joseph Myers  <joseph@codesourcery.com>
51824         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
51825         if needed for __stack_chk_guard.
51827 2011-09-19  Roland McGrath  <roland@hack.frob.com>
51829         * sysdeps/posix/spawni.c (script_execute): Always define it.
51830         It will be optimized away if unused.
51831         (maybe_script_execute): New function.
51832         (__spawni): Call it.
51834         * Makerules: Don't include tls.make.
51835         (config-tls): Always set to thread.
51836         * tls.make.c: File removed.
51838 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
51840         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
51841         * config.make.in (CPPFLAGS-config): New substituted variable.
51843 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
51845         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
51847         [BZ #13192]
51848         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
51849         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
51851 2011-09-15  Roland McGrath  <roland@hack.frob.com>
51853         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
51854         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
51855         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51856         (CALL_FAIL): Likewise.
51857         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
51858         (CALL_FAIL): Macro removed.
51859         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
51861 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
51863         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
51864         for __FINITE_MATH_ONLY__ == 1.
51866 2011-09-15  Andreas Schwab  <schwab@redhat.com>
51868         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
51869         __ieee754_sqrt instead of sqrt.
51870         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
51871         __ieee754_sqrtf instead of sqrtf.
51872         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
51873         __floorf instead of floorf.
51874         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
51875         __floorf, __truncf instead of floorf, truncf.
51877 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
51879         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
51881         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
51882         __extern_always_inline.
51883         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
51884         32-bit.
51886 2011-09-14  Andreas Schwab  <schwab@redhat.com>
51888         * elf/rtld.c (dl_main): Also relocate in dependency order when
51889         doing symbol dependency testing.
51891 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
51893         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51894         Always define `refsym'.
51896 2011-09-13  Andreas Schwab  <schwab@redhat.com>
51898         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
51899         (__FD_ELT): Renamed from __FDELT.
51900         * misc/bits/select2.h (__FD_ELT): Likewise.
51901         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
51902         __FD_MASK instead of __FDELT, __FDMASK.
51903         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51904         Likewise.
51905         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51906         Likewise.
51908         * elf/Makefile (gen-ldd): Fix pattern.
51910         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
51911         (init_tls): Likewise.
51913 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
51915         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
51917 2011-09-12  Andreas Schwab  <schwab@redhat.com>
51919         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
51920         `struct cmsghdr *' instead of `void *'.
51921         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
51922         Likewise.
51924 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
51926         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
51927         if non-absolute.
51928         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
51929         ldd_rewrite_script.
51931 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
51933         * configure.in: Remove --with-tls option.
51934         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
51935         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
51936         out in case it is missing.
51937         * sysdeps/ia64/elf/configure.in: Likewise.
51938         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
51939         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
51940         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
51941         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
51942         * sysdeps/sh/elf/configure.in: Likewise.
51943         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
51944         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51945         * sysdeps/x86_64/elf/configure.in: Likewise.
51946         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
51947         * sysdeps/mach/hurd/tls.h: Likewise.
51949         [BZ #13067]
51950         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
51952         [BZ #13090]
51953         * configure.in: Fix use of AC_INIT.
51955         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
51957 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
51959         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
51960         __set_errno.
51961         * malloc/hooks.c: Likewise.
51963         [BZ #11929]
51964         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
51965         variables statically.
51966         (narenas): Initialize.
51967         (list_lock): Initialize.
51968         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
51969         initializtion of main_arena and list_lock.  Small cleanups.
51970         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
51971         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
51972         Add initializers to main_arena and mp_.
51973         (malloc_state): Remove pagesize member.  Change all users to use
51974         GLRO(dl_pagesize).
51976         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
51977         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
51978         is always initialized.
51980         * malloc/malloc.c: Removed unused configurations and dead code.
51981         * malloc/arena.c: Likewise.
51982         * malloc/hooks.c: Likewise.
51983         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
51985         * include/tls.h: Removed.  USE___THREAD must always be defined.
51986         * bits/libc-tsd.h: Don't handle !USE___THREAD.
51987         * elf/dl-libc.c: Likewise.
51988         * elf/dl-tsd.c: Likewise.
51989         * include/errno.h: Likewise.
51990         * include/netdb.h: Likewise.
51991         * include/resolv.h: Likewise.
51992         * inet/herrno-loc.c: Likewise.
51993         * inet/herrno.c: Likewise.
51994         * malloc/arena.c: Likewise.
51995         * malloc/hooks.c: Likewise.
51996         * malloc/malloc.c: Likewise.
51997         * resolv/res-state.c: Likewise.
51998         * resolv/res_libc.c: Likewise.
51999         * sysdeps/i386/dl-machine.h: Likewise.
52000         * sysdeps/ia64/dl-machine.h: Likewise.
52001         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52002         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52003         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52004         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52005         * sysdeps/sh/dl-machine.h: Likewise.
52006         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52007         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52008         * sysdeps/unix/i386/sysdep.S: Likewise.
52009         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52010         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52011         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52012         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52013         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52014         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52015         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52016         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52017         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52018         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52019         * sysdeps/unix/x86_64/sysdep.S: Likewise.
52020         * sysdeps/x86_64/dl-machine.h: Likewise.
52021         * tls.make.c: Likewise.
52023         * configure.in: Remove --with-__thread option.  Make tests for
52024         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52025         tls_model attribute fail if no support is available.  Remove
52026         USE_IN_LIBIO.
52027         * Makeconfig: Adjust for dropped configure option.  All features are
52028         now mandatory.
52029         * Makerules: Likewise.
52030         * Versions.def: Likewise.
52031         * argp/argp-fmtstream.c: Likewise.
52032         * argp/argp-fmtstream.h: Likewise.
52033         * argp/argp-help.c: Likewise.
52034         * assert/assert.c: Likewise.
52035         * config.h.in: Likewise.
52036         * config.make.in: Likewise.
52037         * configure: Likewise.
52038         * configure.in: Likewise.
52039         * csu/Versions: Likewise.
52040         * csu/init.c: Likewise.
52041         * elf/tst-audit2.c: Likewise.
52042         * elf/tst-tls10.c: Likewise.
52043         * elf/tst-tls10.h: Likewise.
52044         * elf/tst-tls11.c: Likewise.
52045         * elf/tst-tls12.c: Likewise.
52046         * elf/tst-tls14.c: Likewise.
52047         * elf/tst-tlsmod11.c: Likewise.
52048         * elf/tst-tlsmod12.c: Likewise.
52049         * elf/tst-tlsmod13.c: Likewise.
52050         * elf/tst-tlsmod13a.c: Likewise.
52051         * elf/tst-tlsmod14a.c: Likewise.
52052         * elf/tst-tlsmod15b.c: Likewise.
52053         * elf/tst-tlsmod16a.c: Likewise.
52054         * elf/tst-tlsmod16b.c: Likewise.
52055         * elf/tst-tlsmod7.c: Likewise.
52056         * elf/tst-tlsmod8.c: Likewise.
52057         * elf/tst-tlsmod9.c: Likewise.
52058         * gmon/gmon.c: Likewise.
52059         * grp/fgetgrent_r.c: Likewise.
52060         * grp/putgrent.c: Likewise.
52061         * hurd/fopenport.c: Likewise.
52062         * include/libc-symbols.h: Likewise.
52063         * include/tls.h: Likewise.
52064         * intl/gettextP.h: Likewise.
52065         * intl/loadinfo.h: Likewise.
52066         * locale/global-locale.c: Likewise.
52067         * locale/localeinfo.h: Likewise.
52068         * mach/devstream.c: Likewise.
52069         * malloc/arena.c: Likewise.
52070         * malloc/set-freeres.c: Likewise.
52071         * misc/err.c: Likewise.
52072         * misc/getttyent.c: Likewise.
52073         * misc/mntent_r.c: Likewise.
52074         * posix/getopt.c: Likewise.
52075         * posix/wordexp.c: Likewise.
52076         * pwd/fgetpwent_r.c: Likewise.
52077         * resolv/Versions: Likewise.
52078         * resolv/res_hconf.c: Likewise.
52079         * shadow/fgetspent_r.c: Likewise.
52080         * shadow/putspent.c: Likewise.
52081         * stdio-common/printf_fphex.c: Likewise.
52082         * stdio-common/tmpfile.c: Likewise.
52083         * stdlib/abort.c: Likewise.
52084         * stdlib/fmtmsg.c: Likewise.
52085         * sunrpc/auth_unix.c: Likewise.
52086         * sunrpc/clnt_perr.c: Likewise.
52087         * sunrpc/clnt_tcp.c: Likewise.
52088         * sunrpc/clnt_udp.c: Likewise.
52089         * sunrpc/clnt_unix.c: Likewise.
52090         * sunrpc/openchild.c: Likewise.
52091         * sunrpc/svc_simple.c: Likewise.
52092         * sunrpc/svc_tcp.c: Likewise.
52093         * sunrpc/svc_udp.c: Likewise.
52094         * sunrpc/svc_unix.c: Likewise.
52095         * sunrpc/xdr.c: Likewise.
52096         * sunrpc/xdr_array.c: Likewise.
52097         * sunrpc/xdr_rec.c: Likewise.
52098         * sunrpc/xdr_ref.c: Likewise.
52099         * sunrpc/xdr_stdio.c: Likewise.
52101 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52103         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52105 2011-07-03  Andreas Jaeger  <aj@suse.de>
52107         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52108         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52109         regenerate with gen-libm-tests.pl.
52111 2010-05-12  Petr Baudis  <pasky@suse.cz>
52113         [BZ #11589]
52114         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52115         around j0() zero points by switching to j1().
52116         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52117         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52118         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52119         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52121 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52123         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52124         instead of 0.
52125         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
52126         instead of 0.
52127         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52128         Patch in part by Pavel Roskin <proski@gnu.org>.
52130         [BZ #13138]
52131         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52132         realloc.
52133         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
52134         Free memory block if necessary.
52136         [BZ #12847]
52137         * libio/genops.c (INTDEF): For string streams the _lock pointer can
52138         be NULL.  Don't lock in this case.
52140 2011-09-09  Roland McGrath  <roland@hack.frob.com>
52142         * elf/elf.h (ELFOSABI_GNU): New macro.
52143         (ELFOSABI_LINUX): Define to that.
52145 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
52147         * string/strncat.c (strncat): Undef the symbol in case it has been
52148         defined in bits/string.h.
52150 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52152         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52154         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
52155         link map.
52157 2011-08-17  Andreas Jaeger  <aj@suse.de>
52159         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52161 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
52162             Ian Lance Taylor  <iant@google.com>
52164         * math/libm-test.inc (lround_test): New testcase.
52165         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52167 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
52169         * Makefile: Remove support for automatic cvs check-ins.
52170         * Makerules: Likewise.
52171         * config.make.in: Likewise.
52172         * configure.in: Likewise.
52173         * intl/Makefile: Likewise.
52174         * locale/Makefile: Likewise.
52175         * po/Makefile: Likewise.
52176         * posix/Makefile: Likewise.
52177         * sysdeps/gnu/Makefile: Likewise.
52178         * sysdeps/mach/hurd/Makefile: Likewise.
52179         * sysdeps/sparc/sparc32/Makefile: Likewise.
52181         [BZ #13118]
52182         * posix/Makefile (bug-regex32-ENV): Define.
52183         Patch by John Stanley <jpsinthemix@verizon.net>.
52185         * misc/Makefile (headers): Add bits/select2.h.
52186         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52187         * misc/bits/select2.h: New file.
52188         * include/bits/select2.h: New file.
52189         * debug/Makefile (routines): Add fdelt_chk.
52190         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52191         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52192         FD_ISSET.
52193         * debug/fdelt_chk.c: New file.
52195         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
52196         * wcsmbs/test-wmemcmp.c: Likewise.
52197         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
52198         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
52200 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52202         * string/Makefile (strop-tests): Add memcmp.
52203         * string/test-wmemcmp.c: New file.
52204         * string/test-memcmp.c: Add wmemcmp support.
52206 2011-09-08  Roland McGrath  <roland@hack.frob.com>
52208         [BZ #13153]
52209         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52210         2011-07-19 change.
52212         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52213         garbage value in a __mach_port_mod_refs call in the cases of the
52214         task-self and thread-self ports.
52216 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52218         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52220 2011-09-08  Andreas Schwab  <schwab@redhat.com>
52222         * elf/dl-load.c (lose): Check for non-null L.
52224 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
52226         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52228         * elf/dl-libc.c (dlerror_run): Pass back error code from
52229         dl_catch_error.
52231         [BZ #13123]
52232         * elf/dl-load.c (lose): Free l_origin if it is valid.
52234         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52235         names.
52236         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52237         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52238         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52239         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52240         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52241         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52243 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52245         * sysdeps/powerpc/fpu/e_hypot.c: New file.
52246         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52247         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52248         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52249         * sysdeps/powerpc/fpu/k_cosf.c: New file.
52250         * sysdeps/powerpc/fpu/k_sinf.c: New file.
52251         * sysdeps/powerpc/fpu/s_cosf.c: New file.
52252         * sysdeps/powerpc/fpu/s_sinf.c: New file.
52253         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52254         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52256 2011-08-15  Alan Modra  <amodra@gmail.com>
52258         [BZ #13092]
52259         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52260         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52261         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
52262         ppc_mcount to static-only-routines.
52263         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52264         __mcount_internal.
52265         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52266         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
52268 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
52270         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52271         for finite and infinity parameters.
52273 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
52275         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52276         and add nop instructions for throughput optimization.
52277         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52279 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
52281         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52282         aligned copy for power7 with vector-scalar instructions.
52283         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52285 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
52287         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52288         AVX check.
52290 2011-09-07  Andreas Schwab  <schwab@redhat.com>
52292         [BZ #13144]
52293         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52294         last change.
52296 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
52298         * sysdeps/unix/sysv/linux/x86_64/init-first.c
52299         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52300         syscall wrapper around clock_gettime in __vdso_clock_gettime.
52301         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52302         clock_gettime.
52304 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
52306         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52307         Forgot to demangle the pointer.
52309         * sysdeps/i386/sysdep.h: Define atom_text_section.
52310         * sysdeps/x86_64/sysdep.h: Likewise.
52311         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52312         section with atom_text_section.
52313         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52314         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52315         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52316         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52317         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52319         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52320         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52321         already be defined.  Change to take two parameters and don't assign
52322         result to variable.  Adjust all users.
52323         Define INTERNAL_GETTIME if not already defined.
52324         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52325         call.
52326         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52327         HAVE_CLOCK_GETTIME_VSYSCALL.
52328         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52330         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52331         gettimeofday vsyscall, just use time.
52333 2011-09-06  Andreas Schwab  <schwab@redhat.com>
52335         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52336         <errno.h>.
52338 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
52340         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52341         syscall on x86-64.
52342         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52343         syscall.
52344         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52345         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52346         syscall if possible.
52348 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52350         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52351         e_ident.  Don't pass to find_mapsXX.
52352         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52354 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52356         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52357         strchr-sse2-no-bsf strrchr-sse2-no-bsf
52358         * sysdeps/x86_64/multiarch/strchr.S: Update.
52359         Check bit_slow_BSF bit.
52360         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52361         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52362         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52364 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52366         [BZ #13134]
52367         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52368         before glibc 2.15.
52369         (tryshell): Define.
52370         (__spawni): Change last parameter to be flag.  Test
52371         SPAWN_XFLAGS_USE_PATH flag to use path or not.
52372         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52373         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52374         * posix/spawni.c: Likewise.
52375         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52376         * posix/spawnp.c: Likewise.  Change normal version to use
52377         SPAWN_XFLAGS_USE_PATH.
52378         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52379         SPAWN_XFLAGS_TRY_SHELL.
52381         [BZ #13150]
52382         * posix/glob.h: Remove gcc 1.x support.
52384         [BZ #13068]
52385         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52387 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52389         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52390         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52391         strrchr-sse2-bsf
52392         * sysdeps/i386/i686/multiarch/strchr.S: New file.
52393         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52394         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52395         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52396         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52397         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52399 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52401         * sysdeps/x86_64/wcscmp.S: New file.
52403         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52404         wcscmp-c wcscmp-sse2
52405         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52406         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52407         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52408         * wcsmbs/wcscmp.c: Allow renaming.
52410 2011-09-05  David S. Miller  <davem@davemloft.net>
52412         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52413         stack slot, rather than the struct return pointer slot.
52414         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52415         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52416         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52417         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52419 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52421         * po/ja.po: Update from translation team.
52423         [BZ #13144]
52424         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52425         kernel in 64-bit binaries.
52427 2011-09-01  David S. Miller  <davem@davemloft.net>
52429         * elf/elf.h (HWCAP_SPARC_*): Move to..
52430         * sysdeps/sparc/sysdep.h: this new file and add new values.
52431         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52432         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52433         _DL_HWCAP_COUNT to 24.
52434         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52435         entries.
52436         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52437         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52438         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52439         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52440         instead of magic constants.
52441         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52443 2011-08-31  David S. Miller  <davem@davemloft.net>
52445         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52446         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52447         Reimplement to do errno handling inline.
52448         (SYSCALL_ERROR_HANDLER): New macro.
52449         (__SYSCALL_STRING): Do not do errno handling in asm.
52450         (__CLONE_SYSCALL_STRING): Delete.
52451         (__INTERNAL_SYSCALL_STRING): Delete.
52452         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52453         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52454         (PSEUDO): Reimplement to do errno handling inline.
52455         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52456         (SYSCALL_ERROR_HANDLER): New macro.
52457         (__SYSCALL_STRING): Do not do errno handling in asm.
52458         (__CLONE_SYSCALL_STRING): Delete.
52459         (__INTERNAL_SYSCALL_STRING): Delete.
52460         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52461         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52462         i386.
52463         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52464         (inline_syscall*): Add 'err' argument.
52465         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52466         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52467         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52468         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52470         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52471         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52473 2011-08-30  Andreas Schwab  <schwab@redhat.com>
52475         * elf/rtld.c (dl_main): Relocate objects in dependency order.
52477 2011-08-29  Jiri Olsa <jolsa@redhat.com>
52479         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52480         directive.
52482 2011-08-24  David S. Miller  <davem@davemloft.net>
52484         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52486 2011-08-24  Andreas Schwab  <schwab@redhat.com>
52488         * elf/Makefile: Add rules to build and run unload8 test.
52489         * elf/unload8.c: New file.
52490         * elf/unload8mod1.c: New file.
52491         * elf/unload8mod1x.c: New file.
52492         * elf/unload8mod2.c: New file.
52493         * elf/unload8mod3.c: New file.
52495         * elf/dl-close.c (_dl_close_worker): Reset private search list if
52496         it wasn't used.
52498 2011-08-23  David S. Miller  <davem@davemloft.net>
52500         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52501         subtract stack bias.
52502         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52503         %sp not %fp in calculations.
52504         (_JMPBUF_UNWINDS_ADJ): Likewise.
52506         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52507         (aio_suspend): Call it to force an exception region around the
52508         AIO_MISC_WAIT() invocation.
52510 2011-08-23  Andreas Schwab  <schwab@redhat.com>
52512         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52513         backslash.
52515 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
52517         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52518         protection macro.
52519         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52520         and <dl-machine.h>.
52521         (Elf64_FuncDesc): Remove.
52523 2011-08-22  David S. Miller  <davem@davemloft.net>
52525         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52526         sigaltstack check, add missing cfi directives.
52527         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52528         missing cfi directives, and sigaltstack handling.
52530 2011-08-16  Andreas Schwab  <schwab@redhat.com>
52532         [BZ #11724]
52533         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52534         object is seen twice.
52535         * elf/dl-fini.c (_dl_sort_fini): Likewise.
52537         * elf/Makefile (distribute): Add tst-initorder2.c.
52538         (tests): Add tst-initorder2.
52539         (modules-names): Add tst-initorder2a tst-initorder2b
52540         tst-initorder2c tst-initorder2d.  Add rules to build them.
52541         ($(objpfx)tst-initorder2.out): New rule.
52542         * elf/tst-initorder2.c: New file.
52543         * elf/tst-initorder2.exp: New file.
52545 2011-08-22  Andreas Schwab  <schwab@redhat.com>
52547         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52549         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52550         dependencies back to end of function.
52552         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52553         $(elfobjdir)/ld.so.
52555 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
52557         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52558         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52559         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52560         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52561         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52562         of __vdso_gettimeofday.
52563         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52564         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
52565         attribute_hidden.
52566         (_libc_vdso_platform_setup): Remove initialization of
52567         __vdso_gettimeofday and __vdso_time.
52569 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
52571         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52572         and fgetc_unlocked.
52573         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52574         getc_unlocked.
52576         * elf/dl-open.c (add_to_global): Report additions to the global scope
52577         for LD_DEBUG=scopes.
52578         (dl_open_worker): Also print scope of newly loaded dependencies.
52579         (_dl_show_scope): Indicate if there is no scope.
52581         [BZ #13114]
52582         * stdio-common/Makefile (tests): Add bug24.
52583         * stdio-common/bug24.c: New file.
52585 2011-08-19  Andreas Jaeger  <aj@suse.de>
52587         [BZ #13114]
52588         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52589         non-existant file when using close-on-exec mode.
52591 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
52593         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52594         the very first instruction.
52596         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52597         the CFI state in the end.
52598         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52599         inclusion of dl-trampoline.h.
52600         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52602 2011-08-19  Andreas Schwab  <schwab@redhat.com>
52604         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52605         expectations for long double.
52607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52608         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52610 2011-08-14  David S. Miller  <davem@davemloft.net>
52612         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52613         artificual limit depends upon the system page size.
52615 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
52617         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52618         * resolv/Makefile: Define CFLAGS-libresolv.
52620 2011-08-17  Andreas Schwab  <schwab@redhat.com>
52622         * nss/makedb.c (compute_tables): Make variables used in nested
52623         function static.
52625 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
52627         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52628         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52629         if buffer was too small.
52631         * elf/pldd.c (main): Attach to all threads in the process.
52632         Rewrite /proc handling to use *at functions.
52634 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
52636         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52637         specifies first scope to show.
52638         (dl_open_worker): Update callers.  Move printing scope of new
52639         object to before the relocation.
52640         * elf/rtld.c (dl_main): Update _dl_show_scope call.
52641         * sysdeps/generic/ldsodefs.h: Update declaration.
52643         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52644         string for the scope number.
52646 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
52648         * nscd/servicescache.c (cache_addserv): Make sure written is always
52649         initialized.
52651 2011-08-14  Roland McGrath  <roland@hack.frob.com>
52653         * sysdeps/i386/i486/bits/atomic.h
52654         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52655         statement expression, so as to suppress "set but not used" warning.
52656         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52658         * string/strncat.c (STRNCAT): Use prototype definition.
52660         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52661         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52662         -Iprograms here.
52663         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52664         (localedef-modules): Add localedef.
52665         (locale-modules): Add locale.
52667         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52668         * elf/rtld.c (dl_main): Invert order of assignment in last change,
52669         to avoid a warning.
52671 2011-08-14  David S. Miller  <davem@davemloft.net>
52673         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52674         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52676 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
52678         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
52679         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52680         * elf/rtld.c (dl_main): Set l_name of vDSO.
52681         Call _dl_show_scope when DL_DEBUG_SCOPES.
52682         (process_dl_debug): Recognize scopes flag and also set it for all.
52683         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52684         Declare _dl_show_scope.
52686         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52687         (do_dlopen): Pass caller_dlopen to dl_open.
52688         (__libc_dlopen_mode): Initialize caller_dlopen.
52690         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52691         of libc.  Make tolower call locale-independent.  Optimize a bit by
52692         using isdigit instead of isalnum.
52693         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52695 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
52697         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52698         was a dependency or dynamically loaded.
52700 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
52702         * intl/l10nflist.c: Allow architecture-specific pop function.
52703         * sysdeps/x86_64/l10nflist.c: New file.
52705         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52706         classification.
52708 2011-08-10  Andreas Schwab  <schwab@redhat.com>
52710         * include/dirent.h: Add libc_hidden_proto for scandirat and
52711         scandirat64.  Don't declare __scandirat64.
52712         * dirent/scandirat.c: Add libc_hidden_def.
52713         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52714         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52716 2011-08-10  David S. Miller  <davem@davemloft.net>
52718         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52719         enum.
52720         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52721         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52722         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52724 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
52726         * Versions.def [libc]: Add GLIBC_2.15.
52727         * dirent/Makefile (routines): Add scandirat and scandirat64.
52728         * dirent/Versions [libc]: Export scandirat and scandirat64 for
52729         GLIBC_2.15.
52730         * dirent/dirent.h: Declare scandirat and scandirat64.
52731         * dirent/scandirat.c: New file.
52732         * dirent/scandirat64.c: New file.
52733         * sysdeps/wordsize-64/scandirat.c: New file.
52734         * sysdeps/wordsize-64/scandirat64.c: New file.
52735         * dirent/opendir.c: Define opendirat.
52736         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
52737         using scandirat.
52738         * dirent/scandir64.c: Adjust for scandir.c change.
52739         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
52740         __scandirat64, and __scandir_cancel_handler.
52741         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
52742         additional parameter and use openat instead of open (outside of ld.so).
52743         Add new __opendir as wrapper around __opendirat.
52744         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
52745         here without requiring old scandirat implementation.
52747 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
52749         * dirent/scandir.c (cancel_handler): Renamed to
52750         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
52751         defined.  Adjust users.
52752         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
52753         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
52755 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
52757         * string/test-string.h (IMPL): Use __STRING to expand name and then
52758         stringify it.
52760         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
52761         of cleanups.
52763 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52765         * string/Makefile: Update.
52766         (strop-tests): Append strncat.
52767         * string/test-wcscmp.c: New file.
52768         New comprehensive test for wcscmp.
52769         * string/test-strcmp.c: Update.
52770         (WIDE): New define.
52772 2011-07-22  Andreas Schwab  <schwab@redhat.com>
52774         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
52775         line.
52777 2011-07-26  Andreas Schwab  <schwab@redhat.com>
52779         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52780         encoding to ACE if AI_IDN.
52782 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
52784         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
52785         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
52787 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52789         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
52790         Fix overflow bug in strncat.
52791         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
52793         * string/test-strncat.c: Update.
52794         Add new tests for checking overflow bugs.
52796 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52798         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52799         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
52800         * sysdeps/i386/i686/multiarch/strcat.S: New file.
52801         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
52802         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
52803         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
52804         * sysdeps/i386/i686/multiarch/strncat.S: New file.
52805         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
52806         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
52808         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
52809         (USE_AS_STRCAT): Define.
52810         Add strcat and strncat support.
52811         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52813 2011-07-25  Andreas Schwab  <schwab@redhat.com>
52815         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
52816         __n bigger than INT_MAX+1.
52817         (__strncmp_g): Likewise.
52819 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
52821         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
52822         * libio/stido.h: Likewise.
52824         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
52825         (AF_NFC): Define.
52826         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
52827         (AF_NFC): Define.
52829         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
52830         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52831         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52832         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
52833         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52835         [BZ #13021]
52836         * scripts/test-installation.pl: Don't expect libnss_test1 to be
52837         installed.
52839         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
52840         typo.
52841         (_dl_x86_64_save_sse): Likewise.
52843 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
52845         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
52846         OSXSAVE.
52847         (_dl_x86_64_save_sse): Likewise.
52849         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
52851         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
52853 2011-07-21  Andreas Schwab  <schwab@redhat.com>
52855         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
52856         change.
52857         (_dl_x86_64_save_sse): Use correct AVX check.
52859 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52861         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
52862         bug in strncpy/strncat.
52863         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
52865 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
52867         * string/tester.c (test_strcat): Add tests for different alignments
52868         of source and destination.
52869         (test_strncat): Likewise.
52871 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
52873         [BZ #12852]
52874         * posix/glob.c (glob): Check passed in values before using them in
52875         expressions to avoid some overflows.
52876         (glob_in_dir): Likewise.
52878         [BZ #13007]
52879         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
52880         check for AVX enablement so that we don't crash with old kernels and
52881         new hardware.
52882         * elf/tst-audit4.c: Add same checks here.
52883         * elf/tst-audit6.c: Likewise.
52885         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
52887 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
52889         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
52891 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
52893         * po/cs.po: Update from translation team.
52894         * po/bg.po: Likewise.
52896 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
52898         * misc/sys/cdefs.h: Add support for const attribute.
52899         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
52900         to gnu_dev_{major,minor,makedev} functions.
52902 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
52904         * intl/dcigettext.c (get_output_charset): Add missing bracket.
52906 2011-07-20  Andreas Schwab  <schwab@redhat.com>
52908         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
52909         strlen results.
52911 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52913         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
52914         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
52915         register in order to avoid conflicts with the soft frame pointer
52916         being held in r11 when necessary.
52917         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
52918         (INTERNAL_VSYSCALL_NCS): Likewise.
52920 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
52922         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
52923         * elf/dl-fini.c (_dl_fini): Adjust caller.
52924         * elf/dl-close.c (_dl_close_worker): Likewise.
52925         * sysdeps/generic/ldsodefs.h: Adjust declaration.
52927 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
52929         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
52930         "aux_cache->nlibs < 0".
52932         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
52933         in the reload-count case.
52935 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52937         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52938         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
52939         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
52940         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
52941         * sysdeps/x86_64/multiarch/strcat.S: New file.
52942         * sysdeps/x86_64/multiarch/strncat.S: New file.
52943         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
52944         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
52945         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
52946         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
52947         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
52948         (USE_AS_STRCAT): Define.
52949         Add strcat and strncat support.
52950         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52951         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52952         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
52953         * string/strncat.c: Update.
52954         (USE_AS_STRNCAT): Define.
52955         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52956         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
52957         and i7.
52958         * sysdeps/x86_64/multiarch/init-arch.h
52959         (bit_Prefer_PMINUB_for_stringop): New.
52960         (index_Prefer_PMINUB_for_stringop): Likewise.
52961         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
52962         bit_Prefer_PMINUB_for_stringop.
52964 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
52966         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
52967         buffer64.
52968         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
52969         of casting of buffer.
52970         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
52971         buffer32 and buffer64.
52972         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
52973         writes instead of casting of buffer.
52974         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
52975         buffer32.
52976         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
52977         casting of buffer.
52979 2011-07-19  Andreas Schwab  <schwab@redhat.com>
52981         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
52983 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
52985         * nscd/nscd.c (termination_handler): Don't do anything for a database
52986         if it has not yet been initialized.
52988 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
52990         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52992 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
52994         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52996 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
52998         * po/nl.po: Update from translation team.
52999         * po/sv.po: Likewise.
53001 2011-07-16  Roland McGrath  <roland@hack.frob.com>
53003         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53004         now disallowed by GCC.
53006         * configure.in (use-default-link): Default to yes if a test -shared
53007         link meets our qualifications.
53008         * configure: Regenerated.
53010         * config.make.in (output-format): New variable.
53011         * configure.in: Check for ld --print-output-format support.
53012         * configure: Regenerated.
53013         * Makerules ($(common-objpfx)format.lds)
53014         [$(output-format) != unknown]: Just use $(output-format),
53015         instead of the linker-script munging.
53017 2011-07-14  Roland McGrath  <roland@hack.frob.com>
53019         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53020         of $(common-objpfx)shlib.lds.
53021         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53023         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53024         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53026         * configure.in (-z relro check): Adjust test code to add a large
53027         writable data section after it.
53028         * configure: Regenerated.
53030 2011-07-11  Roland McGrath  <roland@hack.frob.com>
53032         * configure.in (-z relro check): Fix test code to make the variable
53033         truly const.
53034         * configure: Regenerated.
53036 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
53038         * nscd/nscd.h (struct traced_file): Define.
53039         (struct database_dyn): Remove inotify_descr, reset_res, and filename
53040         elements.  Add traced_files.
53041         (inotify_fd): Declare.
53042         (register_traced_file): Declare.
53043         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53044         (inotify_fd): Export.
53045         (resolv_conf_descr): Remove.
53046         (nscd_init): Move inotify descriptor creation to main.
53047         Don't register files for notification here.
53048         (register_traced_file): New function.
53049         (invalidate_cache): Don't use reset_res to determine whether to call
53050         res_init, go through the list of registered files.
53051         (main_loop_poll): The inotify descriptors are now stored in the
53052         structures for the traced files.
53053         (main_loop_epoll): Likewise
53054         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
53055         to __nss_disable_nscd.
53056         * nscd/cache.c (prune_cache): There is no single inotify descriptor
53057         for a database anymore.  Check the records for all the registered
53058         files instead.
53059         * nss/Makefile (libnss_files-routines): Add files-init.
53060         (libnss_db-routines): Add db-init.
53061         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53062         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53063         * nss/nss_db/db-init.c: New file.
53064         * nss/nss_files/files-init.c: New file.
53065         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
53066         __nss_lookup_function.
53067         (__nss_lookup_function): Call nss_load_library.
53068         (nss_load_all_libraries): New function.
53069         (__nss_disable_nscd): Take parameter with callback function for files
53070         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
53071         used for the cached services.
53072         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53073         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53074         options for features to all the files in nscd.
53076         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53078 2011-07-10  Roland McGrath  <roland@hack.frob.com>
53080         * csu/elf-init.c (__libc_csu_init): Comment typo.
53082 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
53084         * po/pl.po: Update from translation team.
53085         * po/ja.po: Likewise.
53086         * po/ru.po: Likewise.
53087         * po/ko.po: Likewise.
53088         * po/fr.po: Likewise.
53090 2011-07-09  Roland McGrath  <roland@hack.frob.com>
53092         * configure.in (.ctors/.dtors header and trailer check):
53093         Use an empirical test on a built program.
53094         * configure: Regenerated.
53096         * configure.in (-z relro check): Use an empirical test on a built DSO.
53097         Detect, but do not require, on ia64.
53098         * configure: Regenerated.
53100         * configure.in (READELF): Find it with AC_CHECK_TOOL.
53101         Update tests that use readelf to use $READELF instead.
53102         * configure: Regenerated.
53104 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
53106         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53107         if the result is not used.
53109 2011-07-05  Andreas Jaeger  <aj@suse.de>
53111         [BZ#9696]
53112         * stdlib/tst-strtod.c: Add testcase.
53114 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
53116         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
53117         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
53118         The latter has a higher limit.  Take additional parameter to pass to
53119         the new function.
53120         (__pathconf): Pass file to __statfs_link_max.
53121         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53122         __statfs_link_max.
53123         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53124         __statfs_link_max.
53126         [BZ #12868]
53127         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53128         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53129         Handle Lustre.
53130         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53131         (__statfs_filesize_max): Likewise.
53132         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53134 2011-07-05  Andreas Jaeger  <aj@suse.de>
53136         * resolv/res_comp.c (dn_skipname): Remove unused variable.
53138 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
53140         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53141         `status' variable.
53142         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53143         Likewise.
53145 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
53147         * Makefile (strop-tests): Add strncat.
53148         * string/test-strncat.c: New file.
53150 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
53152         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53154 2011-06-21  Andreas Jaeger  <aj@suse.de>
53156         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53157         Copy rule from iconvdata/Makefile.
53159 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
53161         [BZ #12922]
53162         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53163         but no long options are defined, just return 'W'.
53165 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
53167         [BZ #9696]
53168         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53170 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
53172         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53173         netgroups to read.
53174         (innetgr): Likewise.
53176 2011-07-05  Roland McGrath  <roland@hack.frob.com>
53178         * config.make.in (install_root): Default to $(DESTDIR).
53180 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
53182         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53184 2011-07-02  Roland McGrath  <roland@hack.frob.com>
53186         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53188         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53189         containing directory rather than embedding absolute directory names.
53191         * scripts/check-local-headers.sh: Rewritten using awk.
53192         Match by word, not by line.  Print error messages for matches.
53193         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53195         * Makerules [shlib-lds-flags empty]:
53196         ($(common-objpfx)libc_pic.opts): New target.
53197         ($(common-objpfx)libc_pic.os.clean): New target.
53198         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53200         * config.make.in (OBJCOPY): New variable.
53201         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53202         * configure: Regenerated.
53204         * config.make.in (use-default-link): New variable.
53205         * configure.in (use_default_link): Grok --with-default-link to set it.
53206         * configure: Regenerated.
53207         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53208         (shlib-lds, shlib-lds-flags): Define to empty.
53210         * Makerules (shlib-lds): New variable.
53211         (shlib-lds-flags): New variable.
53212         (build-shlib, build-moduile, build-module-asneeded): Use it.
53213         ($(common-objpfx)libc.so): Use $(shlib-lds).
53214         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53215         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53217         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53218         DT_FLAGS/DT_FLAGS_1 with zero flags.
53220         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53221         linker script munging.
53223 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
53225         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53226         as 128-bit value.
53227         * crypt/sha512.c (sha512_process_block): Perform total addition using
53228         128-bit if possible.
53229         (__sha512_finish_ctx): Likewise.
53230         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53231         as 64-bit value.
53232         * crypt/sha256.c (SWAP64): Define.
53233         (sha256_process_block): Perform total addition using 64-bit if
53234         possible.
53235         (__sha256_finish_ctx): Likewise.
53237 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
53239         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
53240         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53241         * nscd/hstcache.c (cache_addhst): Likewise.
53242         * nscd/grpcache.c (cache_addgr): Likewise.
53243         * nscd/aicache.c (addhstaiX): Likewise
53244         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53246 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
53248         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53249         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53250         * nscd/hstcache.c (cache_addhst): Likewise.
53251         * nscd/grpcache.c (cache_addgr): Likewise.
53252         * nscd/aicache.c (addhstaiX): Likewise
53254 2011-07-01  Andreas Schwab  <schwab@redhat.com>
53256         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53257         domain only when needed.
53259 2011-06-30  Andreas Schwab  <schwab@redhat.com>
53261         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53262         is always restored.
53264 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
53266         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53267         are re-adding the entry.
53268         * nscd/servicescache.c (cache_addserv): Likewise.
53270 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
53272         * sysdeps/generic/dl-irel.h: fix protection against multiple
53273         inclusions.
53274         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53276 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
53278         [BZ #12935]
53279         * malloc/memusage.sh: Fix quoting in message.
53280         * debug/xtrace.sh: Likewise.
53282         * configure.in: Remove support for --experimental-malloc option, make
53283         it the default.
53284         * config.make.in: Likewise.
53285         * malloc/Makefile: Likewise.
53287 2011-06-27  Andreas Schwab  <schwab@redhat.com>
53289         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53290         two-byte characters.
53292 2011-06-27  Roland McGrath  <roland@hack.frob.com>
53294         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53295         AC_CACHE_CHECK invocation.
53296         * configure: Regenerated.
53298         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53300 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
53302         [BZ #12350]
53303         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
53304         bit from old_res_options.
53306         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53308         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53309         value type for setfct.
53311 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
53313         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53314         __gettimeofday instead of gettimeofday.
53316 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
53318         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53320 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
53322         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53324         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53325         info.
53327 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
53329         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53330         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53331         strcpy-sse2-unaligned strncpy-sse2-unaligned
53332         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53333         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53334         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53335         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53336         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53337         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53338         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53339         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53340         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53341         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53342         (STRCPY): Support SSE2 and SSSE3 versions.
53344 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
53346         [BZ #12874]
53347         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53348         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53349         kernels which artificially limit size of requests.
53351 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
53353         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53354         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53355         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53356         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53357         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53358         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53359         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53360         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53361         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53362         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53363         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53364         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53365         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53366         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53367         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53368         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53369         Enable unaligned load optimization for Intel Core i3, i5 and i7
53370         processors.
53371         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53372         Define.
53373         (index_Fast_Unaligned_Load): Define.
53374         (HAS_FAST_UNALIGNED_LOAD): Define.
53376 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
53378         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53380 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
53382         [BZ #12907]
53383         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53384         until it is clear that the information is realy needed.
53385         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53387 2011-06-22  Andreas Schwab  <schwab@redhat.com>
53389         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53391 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
53393         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53394         /sys/devices/system/cpu/online if it is usable.
53396         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53397         reading the information from the /proc filesystem to once a second.
53399 2011-06-21  Andreas Jaeger  <aj@suse.de>
53401         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53402         NULL after inclusion of kernel headers.
53404 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
53406         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53407         calls to internal_setent.
53409         [BZ #12885]
53410         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53411         addresses using gethostbyname4_r ignore IPv4 addresses.
53413         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53414         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
53416         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53418 2011-06-20  David S. Miller  <davem@davemloft.net>
53420         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53421         inclusions.
53422         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53424         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53425         (elf_irel): Use it.
53426         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53427         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53428         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53429         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53430         * sysdeps/x86_64/dl-irel.h: Likewise.
53432         * elf/dl-runtime.c: Use elf_ifunc_invoke.
53433         * elf/dl-sym.c: Likewise.
53435 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
53437         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
53438         need to dereference resplen2.
53440 2011-06-14  Andreas Schwab  <schwab@redhat.com>
53442         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53444 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
53446         * Makeconfig: Define vardbdir and inst_vardbdir.
53447         * nss/Makefile: Add rules to install db-Makefile.
53449         * nss/nss_db/db-XXX.c: Cleanup.
53451         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53452         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53453         GLIBC_PRIVATE.
53454         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53455         * nss/makedb.c: Implement -g option to specify that value strings
53456         are generated and should not be added to table iterated over for
53457         get*ent calls.
53458         * nss/nss_db/db-initgroups.c: New file.
53460         * nss/getent.c: Add support for initgroups lookups through getgrouplist
53461         interface.
53463         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53464         (internal_getgrouplist): Adjust to name change.
53465         Update use_initgroups_entry if this is not the first call.
53466         * nss/databases.def: Add initgroups entry.
53468         * nss/makedb.c (compute_tables): Check result of multiple hash table
53469         sizes to minimize maximum chain length.
53471 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
53473         * Versions.def: Add entry for libnss_db.
53474         * shlib-versions: Likewise.
53475         * nss/Makefile: Add rules to build libnss_db.
53476         * nss/Versions: Add libnss_db information.  Organize libnss_files
53477         entries better.
53478         * nss/db-Makefile: Add gshadow support.  Change rules for the new
53479         makedb progra.  Some minor improvements to generate smaller files.
53480         * nss/nss_db/nss_db.h: Move NSS database header data structures to
53481         here from...
53482         * nss/makedb.c: ...here.
53483         Improve database format to be smaller and require less memory at
53484         runtime.
53485         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
53486         db anymore.
53487         * nss/nss_db/db-netgrp.c: Likewise.
53488         * nss/nss_db/db-open.c: Likewise.
53489         * nss/nss_files/flies-XXX.x: Adjust comments.
53490         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53491         * nss/nss_files/files-grp.c: Likewise.
53492         * nss/nss_files/files-hosts.c: Likewise.
53493         * nss/nss_files/files-network.c: Likewise.
53494         * nss/nss_files/files-proto.c: Likewise.
53495         * nss/nss_files/files-pwd.c: Likewise.
53496         * nss/nss_files/files-rpc.c: Likewise.
53497         * nss/nss_files/files-service.c: Likewise.
53498         * nss/nss_files/files-sgrp.c: Likewise.
53499         * nss/nss_files/files-spwd.c: Likewise.
53500         * nss/nss_db/db-alias.c: Removed.
53501         * nss/nss_db/dummy-db.h: Removed.
53503 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
53505         * nss/makedb.c: Rewritten to not use database library.
53506         * nss/Makefile: Update to build new makedb program.
53508 2011-06-14  Andreas Jaeger  <aj@suse.de>
53510         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53511         memset declaration.
53513 2011-06-10  Andreas Schwab  <schwab@redhat.com>
53515         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53516         tmpbuf.
53518 2011-06-10  Roland McGrath  <roland@hack.frob.com>
53520         * Makerules (shlib.lds): Fail if the linker script comes out empty.
53521         * elf/Makefile ($(objpfx)ld.so): Likewise.
53523         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53524         Don't list ld.so twice in dependencies.
53526         * posix/bug-regex31.c: Include <stdlib.h>.
53528         * nscd/hstcache.c (cache_addhst): Remove unused variable.
53530         * nis/nss_compat/compat-spwd.c
53531         (getspent_next_nss_netgr): Remove unused variable.
53532         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53534         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53535         nonmembers" output to use the right array.
53537         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53539         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53541         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53542         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53543         * catgets/gencat.c (read_input_file): Likewise.
53544         * locale/programs/locarchive.c (enlarge_archive): Likewise.
53546         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53547         variable definition inside #if's controlling its use.
53549         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53551         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53553         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53555         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53556         unreachable code.
53558         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53560         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53561         * configure: Regenerated.
53563         * Makerules: Revert last change.
53564         * elf/Makefile: Likewise.
53566 2011-06-09  Roland McGrath  <roland@hack.frob.com>
53568         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53569         * elf/Makefile ($(objpfx)librtld.os): Likewise.
53570         (reloc-link): Likewise.
53572 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
53574         * elf/Makefile: Add rules to build pldd.
53575         * elf/pldd.c: New file.
53576         * elf/pldd-xx.c: New file.
53578 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
53580         * version.h: Update for 2.15 development version.
53582 2011-06-07  David S. Miller  <davem@davemloft.net>
53584         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53585         ifuncs.
53586         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53587         elf_machine_lazy_rel): Likewise.
53588         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53589         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53590         elf_machine_lazy_rel): Likewise.
53591         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53592         dl_hwcap via passed in argument.
53593         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53594         Likewise.
53596 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53598         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
53600 2011-06-06  Roland McGrath  <roland@hack.frob.com>
53602         [BZ #12849]
53603         * manual/fdl-1.1.texi: New file, verbatim from:
53604         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53605         * manual/lgpl-2.1.texi: New file, verbatim from:
53606         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53607         * manual/Makefile (licenses): New variable, list those new file names.
53608         (texis): Use it.
53609         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53611         * manual/fdl.texi: File removed.
53612         * manual/lesser.texi: File removed.
53613         * manual/libc.texinfo (Copying, Documentation License):
53614         Use new @include file names, put @appendix directive before @include.
53616 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
53618         [BZ #12841]
53619         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53620         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53621         (mq_open): Add __NTH.
53623 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
53625         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53626         Assume Intel Core i3/i5/i7 processor if AVX is available.
53628 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
53630         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53631         typo.
53633 2011-05-31  Andreas Schwab  <schwab@redhat.com>
53635         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53636         memory.  Use alloca_account.  Fix memory leak when retrying.
53638 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
53640         * version.h (RELEASE): Bump for 2.14 release.
53641         * include/features.h (__GLIBC_MINOR__): Bump to 14.
53643         * config.make.in (RANLIB): Remove entry.
53645 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
53647         * po/Makefile (po-sed-cmd): Add ksh to extensions.
53648         (libc.pot): Work around missing support for .ksh extension in xgettext.
53650         [BZ #12684]
53651         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53652         if both request failed.
53653         (send_dg): In case of server errors clear resplen or *resplen2.
53655         [BZ #12454]
53656         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53657         when there are multiple maps.
53658         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53659         (_dl_fini): Remove test here.
53661         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53663 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
53665         [BZ #12350]
53666         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53667         bit from old_res_options.
53668         (gaih_inet): Likewise.
53670         [BZ #11099]
53671         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
53672         as signed.
53674         * resolv/res_init.c (res_setoptions): Make the code more compact.
53676         [BZ #11558]
53677         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53678         set RES_USEVC.
53680         [BZ #11634]
53681         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53683         * malloc/malloc.h: Mark malloc hook variables as deprecated.
53685         [BZ #11781]
53686         * malloc/malloc.h: Declare malloc hook variables as volatile.
53688         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53689         in last patch.
53691         [BZ #11799]
53692         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
53693         raise in the comment.
53694         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53695         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53696         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
53698 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
53700         [BZ #12811]
53701         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53702         grow the buffers more if it already has to be sufficient.
53703         (build_wcs_upper_buffer): Likewise.
53704         * posix/regexec.c (check_matching): Likewise.
53705         (clean_state_log_if_needed): Likewise.
53706         (extend_buffers): Don't enlarge buffers beyond size of the input
53707         buffer.
53708         Patches mostly by Emil Wojak <emil@wojak.eu>.
53709         * posix/bug-regex32.c: New file.
53710         * posix/Makefile (tests): Add bug-regex32.
53712         * locale/findlocale.c (_nl_find_locale): Return right away if
53713         _nl_explode_name failed.
53714         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53716         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53718         * debug/xtrace.sh: Unify messages.
53719         * malloc/memusage.sh: Likewise.
53721         [BZ #12813]
53722         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53723         time symbol from vDSO.  Substitute with vsyscall if not available.
53724         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53725         __vdso_time.
53727         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53728         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53729         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53730         Add sendmmsg and internal_sendmmsg.
53731         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
53732         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
53733         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
53735         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
53736         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
53737         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
53739 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
53741         [BZ #12813]
53742         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
53743         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
53744         available.
53745         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
53746         __vdso_getcpu.
53748         [BZ #12814]
53749         * iconvdata/Makefile (tests): Add bug-iconv9.
53750         * iconvdata/bug-iconv9.c: New file.
53752 2011-05-27  Andreas Schwab  <schwab@redhat.com>
53754         [BZ #12814]
53755         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
53757 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
53759         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53760         (struct user_regs_struct): Change intcs field back to cs.
53762 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
53764         * po/ja.po: Update from translation team.
53766 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
53768         [BZ #12795]
53769         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
53770         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
53772 2011-05-20  Andreas Schwab  <schwab@redhat.com>
53774         * stdlib/longlong.h: Update from GCC.
53776 2011-05-23  Andreas Schwab  <schwab@redhat.com>
53778         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
53779         parameter name.
53780         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
53781         Add parameter name.
53782         (__sysconf): Pass it down.
53784 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
53786         [BZ #12671]
53787         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
53788         some situations.
53789         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53790         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
53791         add in in __libc_use_alloca calls.  Adjust callers.
53792         (glob): Use malloc in some situations.
53794         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
53795         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
53796         pltexit.
53798 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
53800         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
53801         and CLOCK_BOOTTIME_ALARM.
53803         [BZ #12782]
53804         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
53805         is returned.
53807         * string/_strerror.c (__strerror_r): Print negative errors as signed
53808         numbers.
53810         [BZ #12777]
53811         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
53812         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
53813         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
53815         * configure.in: Fix typo in redirection and correct removal of test
53816         files in two cases.
53818         [BZ #12788]
53819         * locale/setlocale.c (new_composite_name): Fix test to check for
53820         identical name of all categories.
53822         [BZ #12792]
53823         * libio/filedoalloc.c (local_isatty): New function.
53824         (_IO_file_doallocate): Use local_isatty.
53825         * stdio-common/perror.c (perror): In case a new stream is used
53826         forward the stream error.
53827         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
53828         error flag.
53830 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
53832         [BZ #11869]
53833         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
53834         alloca.
53835         * include/alloca.h (extend_alloca_account): Define.
53837         [BZ #11857]
53838         * posix/regex.h: Fix comments with documentation of user-accessible
53839         fields after compilation and describe correct free'ing of pattern
53840         after re_compile_pattern.
53841         Patch by Reuben Thomas <rrt@sc3d.org>.
53843 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
53845         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
53846         and -mno-altivec to prevent the compiler from using Altivec and/or
53847         VSX instructions when the corresponding registers are not available.
53849 2011-05-19  Andreas Schwab  <schwab@redhat.com>
53851         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
53853 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
53855         * libio/freopen.c (freopen): Use __dup2, not dup2.
53856         * libio/freopen64.c (freopen64): Likewise.
53858 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
53860         [BZ #12775]
53861         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
53862         * math/Makefile (tests): Add test-powl.
53863         (CFLAGS-test-powl.c): Define.
53864         * math/test-powl.c: New file.
53866 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
53868         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
53870 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
53872         [BZ #11837]
53873         * iconvdata/gb18030.c: Update to GB18020-2005.
53875 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
53877         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
53878         RE_SYNTAX_POSIX_AWK): Update to match recent development.
53879         Patch by Aharon Robbins <arnold@skeeve.com>.
53881         [BZ #11892]
53882         * stdlib/putenv.c (putenv): Don't always create copy of the variable
53883         on the stack.
53885         [BZ #11895]
53886         * misc/pselect.c (__pselect): Handle timeout value errors hidden
53887         through underflows.
53889         [BZ #12766]
53890         * misc/error.c (error_at_line): Ensure file_name and old_file_name
53891         point to strings before performing equality test for error_one_per_line
53892         mode.
53894         [BZ #11697]
53895         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
53897         [BZ #11820]
53898         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53899         (struct user_fpregs_struct): Avoid __uint*_t types.
53901         [BZ #6420]
53902         * malloc/mtrace.c (tr_where): Add additional parameter to point to
53903         symbol info.  Use it instead of calling _dl_addr locally.
53904         (lock_and_info): New function.
53905         (tr_freehook): Call lock_and_info and pass symbol info as additional
53906         parameter to tr_where.
53907         (tr_mallochook): Likewise.
53908         (tr_reallochook): Likewise.
53909         (tr_memalignhook): Likewise.
53911         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
53912         used and couldn't be at all thread-safe.
53914 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
53916         * libio/freopen.c (freopen): Don't close old file descriptor
53917         before the new one is opened.  Instead dup the new file descriptor
53918         to the old one after the new stream is created.
53919         * libio/freopen64.c (freopen64): Likewise.
53920         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
53921         * libio/fileops.c (_IO_new_file_close_it): Handle new
53922         _IO_FLAGS2_NOCLOSE flag.
53923         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
53924         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
53925         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
53926         _IO_FLAGS2_NOCLOSE flag.
53927         * include/unistd.h: Add hidden_proto for dup3.
53928         Define __have_dup3.
53929         * io/dup3.c: Define hidden symbol.
53930         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
53932         [BZ #7101]
53933         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
53934         when an incomplete long option is used.
53935         * posix/tst-getopt_long1.c: New file.
53936         * posix/Makefile (tests): Add tst-getopt_long1.
53938         [BZ #10138]
53939         * scripts/config.guess: Update from autoconf-2.68.
53940         * scripts/config.sub: Likewise.
53942         [BZ #10157]
53943         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
53944         tests into ...
53945         (has_cpuclock): ...this.  New function.
53946         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
53947         macro here based on has_cpuclock code.
53949         [BZ #10149]
53950         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53951         First byte (not low byte) is now always NUL.
53952         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
53954         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53955         Use non-cancelable interfaces.
53957         [BZ #9809]
53958         * locale/iso-639.def: Add entry for Sorani.
53960         [BZ #11901]
53961         * include/stdlib.h: Move include protection to the right place.
53962         Define abort_msg_s.  Declare __abort_msg with it.
53963         * stdlib/abort.c (__abort_msg): Adjust type.
53964         * assert/assert.c (__assert_fail_base): New function.  Majority
53965         of code from __assert_fail.  Allocate memory for __abort_msg with
53966         mmap.
53967         (__assert_fail): Now call __assert_fail_base.
53968         * assert/assert-perr.c: Remove bulk of implementation.  Use
53969         __assert_fail_base.
53970         * include/assert.hL Declare __assert_fail_base.
53971         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
53972         mmap.
53973         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
53975 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
53977         [BZ #11952]
53978         [BZ #12453]
53979         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
53980         until all modules are registered in the DTV.
53981         * elf/Makefile: Add rules to build and run tst-tls19.
53982         * elf/tst-tls19.c: New file.
53983         * elf/tst-tls19mod1.c: New file.
53984         * elf/tst-tls19mod2.c: New file.
53985         * elf/tst-tls19mod3.c: New file.
53986         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
53988         [BZ #12083]
53989         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
53990         correctly.
53992         [BZ #12601]
53993         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
53994         two-byte sequence errors.
53995         * iconvdata/Makefile (tests): Add bug-iconv8.
53996         * iconvdata/bug-iconv8.c: New file.
53998         [BZ #12626]
53999         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54000         buf2 definition.
54002         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54004         [BZ #12432]
54005         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54006         (dummy_getcfa): New function.
54007         (init): Get _Unwind_GetCFA address, use dummy if not found.
54008         (backtrace_helper): In recursion check, also check whether CFA changes.
54009         (__backtrace): Completely initialize arg.
54011         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
54012         storing incomplete byte sequence in state object.  Avoid testing for
54013         guaranteed too small input if we know there is enough data available.
54015 2011-05-11  Andreas Schwab  <schwab@redhat.com>
54017         * Makeconfig (+link-pie): Indent.
54018         * Rules (binaries-pie): Define if $(have-fpie) and
54019         $(build-shared).
54020         (binaries-shared): Also filter out $(binaries-pie).
54021         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54022         * nscd/Makefile (others-pie): Add nscd.
54023         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54024         ($(objpfx)nscd): Remove command override.
54025         * login/Makefile (others-pie): Add pt_chown.
54026         ($(objpfx)pt_chown): Remove command override.
54027         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54028         remove command overrides.
54030 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
54032         * libio/tst_putwc.c: Fix error messages.
54034         [BZ #12724]
54035         * libio/fileops.c (_IO_new_file_close_it): Always flush when
54036         currently writing and seek to current position when not.
54037         * libio/Makefile (tests): Add bug-fclose1.
54038         * libio/bug-fclose1.c: New file.
54040 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
54042         [BZ #12511]
54043         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54044         don't set DF_1_NODELETE here.
54045         (do_lookup_x): When entering new entry test for copy relocation
54046         and if necessary set DF_1_NODELETE flag.
54047         * elf/tst-unique4.cc: New file.
54048         * elf/tst-unique4.h: New file.
54049         * elf/tst-unique4lib.cc: New file.
54050         * elf/Makefile: Add rules to build and run tst-unique4.
54051         Patch by Piotr Bury <pbury@goahead.com>.
54053 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
54055         [BZ #12052]
54056         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54058         [BZ #12625]
54059         * misc/mntent_r.c (addmntent): Flush the stream after the output
54061         [BZ #12393]
54062         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54063         (is_trusted_path_normalize): Skip initial colon.  Append slash
54064         to empty buffer.  Duplicate is_trusted_path code but allow
54065         constructed patch to be prefix.
54066         (is_dst): Allow $ORIGIN followed by /.
54067         (_dl_dst_substitute): Correct clearing of check_for_trusted.
54068         Correct testing of result of is_trusted_path_normalize
54069         (decompose_rpath): Fix warning.
54071 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
54073         [BZ #11257]
54074         * grp/initgroups.c (internal_getgrouplist): When we found the service
54075         list through the initgroups entry in nsswitch.conf do not always
54076         continue on a successful lookup.  Don't always use the
54077         __nss_group_database value if it is set.
54078         * nss/nsswitch.conf (initgroups): Change action for successful db
54079         lookup to continue for compatibility.
54081 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
54083         [BZ #11532]
54084         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54085         and CP774 modules.
54086         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54087         and CP774 modules.
54088         * iconvdata/tst-tables.sh: Likewise.
54089         * iconvdata/cp770.c: New file.
54090         * iconvdata/cp771.c: New file.
54091         * iconvdata/cp772.c: New file.
54092         * iconvdata/cp773.c: New file.
54093         * iconvdata/cp774.c: New file.
54094         * iconvdata/testdata/CP770: New file.
54095         * iconvdata/testdata/CP770..UTF8: New file.
54096         * iconvdata/testdata/CP771: New file.
54097         * iconvdata/testdata/CP771..UTF8: New file.
54098         * iconvdata/testdata/CP772: New file.
54099         * iconvdata/testdata/CP772..UTF8: New file.
54100         * iconvdata/testdata/CP773: New file.
54101         * iconvdata/testdata/CP773..UTF8: New file.
54102         * iconvdata/testdata/CP774: New file.
54103         * iconvdata/testdata/CP774..UTF8: New file.
54105         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54106         END CHARMAP line.
54107         * iconvdata/gen-8bit-gap.sh: Likewise.
54108         * iconvdata/gen-8bit.sh: Likewise.
54110         * locale/iso-639.def: Add ary entry.
54112         [BZ #11258]
54113         * locale/C-translit.h.in: Add U20A1 transliteration.
54115         [BZ #12178]
54116         * locale/iso-639.def: Add wae entry.
54117         Patch by Kevin Bortis <bortis@translate-wae.ch>.
54119         [BZ #12545]
54120         * locale/programs/localedef.c (construct_output_path): Use ssize_t
54121         for n.
54123         [BZ #12711]
54124         * locale/C-translit.h.in: Add entry for U20B9.
54125         Patch by pravin.d.s@gmail.com.
54127 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
54129         [BZ #12713]
54130         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54131         ENAMETOOLONG use generic getcwd.
54132         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
54133         in rtld.  Use *stat64.
54134         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
54135         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
54136         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
54137         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54138         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54139         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54140         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54141         __fstatat64 macros.
54142         * include/dirent.h: Add libc_hidden_proto for rewinddir.
54143         * dirent/rewinddir.c: Add libc_hidden_def.
54144         * sysdeps/mach/hurd/rewinddir.c: Likewise.
54145         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
54147         * include/dirent.h (__alloc_dir): Add flags parameter.
54148         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54149         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54150         __alloc_dir.
54151         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
54152         from fdopendir if O_CLOEXEC is already set.
54154 2011-03-15  Alan Modra  <amodra@gmail.com>
54156         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54157         l_tls_firstbyte_offset non-zero.  Save padding offset in
54158         l_tls_firstbyte_offset for later use.
54159         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54160         freeing static tls block.
54162 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
54164         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54165         where #ifdef was intended.  The intent is to prevent ARG_MAX from
54166         being defined by the kernel headers.
54168 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
54170         [BZ #12734]
54171         * resolv/resolv.h: Define RES_NOTLDQUERY.
54172         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54173         no-tld-query and set RES_NOTLDQUERY.
54174         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54175         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54176         modern BIND to search name as TLD unless forbidden.
54178 2011-05-07  Petr Baudis  <pasky@suse.cz>
54179             Ulrich Drepper  <drepper@gmail.com>
54181         [BZ #12393]
54182         * elf/dl-load.c (fillin_rpath): Move trusted path check...
54183         (is_trusted_path): ...to here.
54184         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
54185         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
54186         using is_trusted_path_normalize() in setuid scripts.
54188 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
54190         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54191         __BEGIN/__END_DECLS.
54193 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
54195         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54196         NSS_STATUS_NOTFOUND if no record was found.
54198 2011-05-05  Andreas Schwab  <schwab@redhat.com>
54200         * sunrpc/Makefile (headers): Add rpc/netdb.h.
54201         (headers-not-in-tirpc): Remove rpc/netdb.h
54202         * resolv/netdb.h: Revert last change.
54204 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54206         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54207         circular dependency between libgcc.a and libc.a.
54209 2011-05-05  Andreas Schwab  <schwab@redhat.com>
54211         * resolv/netdb.h: Don't include <rpc/netdb.h>.
54212         * nis/Makefile: Don't install rpcsvc/*.
54213         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54214         instead of <rpc/types.h>.
54215         (MAXHOSTNAMELEN): Define.
54217 2011-05-03  Andreas Schwab  <schwab@redhat.com>
54219         * elf/ldconfig.c (add_dir): Don't crash on empty path.
54221 2011-04-28  Maciej Babinski  <mbabinski@google.com>
54223         [BZ #12714]
54224         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54225         gethostbyname4_r when IPv6 results are possible.
54227 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
54229         [BZ #12723]
54230         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54231         _PC_PIPE_BUF handling.
54233 2011-04-30  Bruno Haible  <bruno@clisp.org>
54235         [BZ #12717]
54236         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54237         * resolv/netdb.h (getnameinfo): Change type of flags parameter
54238         to 'int'.
54239         * inet/getnameinfo.c (getnameinfo): Likewise.
54241 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
54243         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54244         to groups setting in database lookup.
54245         * nss/nsswitch.conf: Add initgroups entry.
54247 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
54249         [BZ #12685]
54250         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54251         mode string.
54252         Patch by Eric Blake <eblake@redhat.com>.
54254 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
54256         * sunrpc/Makefile (need-export-routines): Add svc_run.
54257         (routines): Remove svc_run.
54258         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54259         * sunrpc/clnt_perr.c (clnt_perrno): Export.
54260         * sunrpc/svc_run.c (svc_run): Likewise.
54261         * sunrpc/svc_udp.c (svcudp_create): Likewise.
54263 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
54265         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54266         problem in reallocation in last patch.
54268 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
54270         * sunrpc/Makefile: Move inclusion of Rules.
54272 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
54274         * nss/nss_files/files-initgroups.c: New file.
54275         * nss/Makefile (libnss_files-routines): Add files-initgroups.
54276         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54277         _nss_files_initgroups_dyn.
54279 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
54281         * elf/elf.h (R_ARM_IRELATIVE): Define.
54283 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
54285         * po/ru.po: Update from translation team.
54287 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
54289         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54290         dependencies.
54292 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
54294         [BZ #12653]
54295         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54296         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54297         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54298         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54299         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54301 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
54303         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54304         differing bytes.
54305         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54306         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54307         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54309 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
54311         [BZ #12420]
54312         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54313         storing it.
54314         * stdlib/bug-getcontext.c: New file.
54315         * stdlib/Makefile: Add rules to build and run bug-getcontext.
54317 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54319         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54320         instructions into .machine "z9-109".
54321         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54322         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54324 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54326         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54327         between environment variables and auxiliary vector.
54329 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
54331         * Makefile: Add rules to build linkobj/libc.so.
54332         * include/libc-symbols.h: Define libc_hidden_nolink.
54333         * include/rpc/auth.h: Mark functions which are to be hidden.
54334         * include/rpc/auth_des.h: Likewise.
54335         * include/rpc/auth_unix.h: Likewise.
54336         * include/rpc/clnt.h: Likewise.
54337         * include/rpc/des_crypt.h: Likewise.
54338         * include/rpc/key_prot.h: Likewise.
54339         * include/rpc/pmap_clnt.h: Likewise.
54340         * include/rpc/pmap_prot.h: Likewise.
54341         * include/rpc/pmap_rmt.h: Likewise.
54342         * include/rpc/rpc_msg.h: Likewise.
54343         * include/rpc/svc.h: Likewise.
54344         * include/rpc/svc_auth.h: Likewise.
54345         * include/rpc/xdr.h: Likewise.
54346         * nis/Makefile: Link all DSOs against linkobj/libc.so.
54347         * nss/Makefile: Likewise.
54348         * sunrpc/Makefile: Don't install headers.  Build library with normal
54349         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
54350         * sunrpc/auth_des.c: Hide exported symbols by default, export some
54351         for the compat linking library.  Remove use of INTDEF/INTUSE.
54352         * sunrpc/auth_none.c: Likewise.
54353         * sunrpc/auth_unix.c: Likewise.
54354         * sunrpc/authdes_prot.c: Likewise.
54355         * sunrpc/authuxprot.c: Likewise.
54356         * sunrpc/clnt_gen.c: Likewise.
54357         * sunrpc/clnt_perr.c: Likewise.
54358         * sunrpc/clnt_raw.c: Likewise.
54359         * sunrpc/clnt_simp.c: Likewise.
54360         * sunrpc/clnt_tcp.c: Likewise.
54361         * sunrpc/clnt_udp.c: Likewise.
54362         * sunrpc/clnt_unix.c: Likewise.
54363         * sunrpc/des_crypt.c: Likewise.
54364         * sunrpc/des_soft.c: Likewise.
54365         * sunrpc/get_myaddr.c: Likewise.
54366         * sunrpc/key_call.c: Likewise.
54367         * sunrpc/key_prot.c: Likewise.
54368         * sunrpc/netname.c: Likewise.
54369         * sunrpc/pm_getmaps.c: Likewise.
54370         * sunrpc/pm_getport.c: Likewise.
54371         * sunrpc/pmap_clnt.c: Likewise.
54372         * sunrpc/pmap_prot.c: Likewise.
54373         * sunrpc/pmap_prot2.c: Likewise.
54374         * sunrpc/pmap_rmt.c: Likewise.
54375         * sunrpc/publickey.c: Likewise.
54376         * sunrpc/rpc_cmsg.c: Likewise.
54377         * sunrpc/rpc_common.c: Likewise.
54378         * sunrpc/rpc_dtable.c: Likewise.
54379         * sunrpc/rpc_prot.c: Likewise.
54380         * sunrpc/rpc_thread.c: Likewise.
54381         * sunrpc/rtime.c: Likewise.
54382         * sunrpc/svc.c: Likewise.
54383         * sunrpc/svc_auth.c: Likewise.
54384         * sunrpc/svc_authux.c: Likewise.
54385         * sunrpc/svc_raw.c: Likewise.
54386         * sunrpc/svc_run.c: Likewise.
54387         * sunrpc/svc_simple.c: Likewise.
54388         * sunrpc/svc_tcp.c: Likewise.
54389         * sunrpc/svc_udp.c: Likewise.
54390         * sunrpc/svc_unix.c: Likewise.
54391         * sunrpc/svcauth_des.c: Likewise.
54392         * sunrpc/xcrypt.c: Likewise.
54393         * sunrpc/xdr.c: Likewise.
54394         * sunrpc/xdr_array.c: Likewise.
54395         * sunrpc/xdr_float.c: Likewise.
54396         * sunrpc/xdr_intXX_t.c: Likewise.
54397         * sunrpc/xdr_mem.c: Likewise.
54398         * sunrpc/xdr_rec.c: Likewise.
54399         * sunrpc/xdr_ref.c: Likewise.
54400         * sunrpc/xdr_sizeof.c: Likewise.
54401         * sunrpc/xdr_stdio.c: Likewise.
54403 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
54405         [BZ #12650]
54406         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54407         * sysdeps/ia64/dl-tls.h: Likewise.
54408         * sysdeps/powerpc/dl-tls.h: Likewise.
54409         * sysdeps/s390/dl-tls.h: Likewise.
54410         * sysdeps/sh/dl-tls.h: Likewise.
54411         * sysdeps/sparc/dl-tls.h: Likewise.
54412         * sysdeps/x86_64/dl-tls.h: Likewise.
54413         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54415 2011-03-14  Andreas Schwab  <schwab@redhat.com>
54417         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54418         rpath element also skip the following colon.
54419         (expand_dynamic_string_token): Add is_path parameter and pass
54420         down to DL_DST_REQUIRED and _dl_dst_substitute.
54421         (decompose_rpath): Call expand_dynamic_string_token with
54422         non-zero is_path.  Ignore empty rpaths.
54423         (_dl_map_object_from_fd): Call expand_dynamic_string_token
54424         with zero is_path.
54426 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
54428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54429         Make cancelable.
54431 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
54433         [BZ #12655]
54434         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54435         Patch by Filipe David Manana <fdmanana@apache.org>.
54437 2011-04-07  Andreas Schwab  <schwab@redhat.com>
54439         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54440         Maintain aligned stack.
54441         (CHECK_RSP): Remove unused macro.
54443 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
54445         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54446         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54448 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
54450         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54452         * include/features.h: Mention __USE_XOPEN2K8 in comment.
54454 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
54456         [BZ #12518]
54457         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54458         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54459         * sysdeps/x86_64/memmove.c: New file.
54460         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54461         (memcpy): Renamed to ...
54462         (__new_memcpy): This.
54463         (memcpy): Provide GLIBC_2_14 memcpy.
54464         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54465         (memcpy): Provide GLIBC_2_2_5 memcpy.
54467 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54469         [BZ #12631]
54470         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54472 2011-03-30  Andreas Schwab  <schwab@redhat.com>
54474         * misc/syncfs.c: New file.
54475         * misc/Makefile (routines): Add syncfs.
54476         * posix/unistd.h: Declare syncfs.
54477         * sysdeps/unix/syscalls.list: Add syncfs.
54479 2011-04-01  Andreas Schwab  <schwab@redhat.com>
54481         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54482         open_by_handle_at.
54483         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54484         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54485         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54486         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54487         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54488         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54489         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54491 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54493         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54494         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54495         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54496         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54497         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54498         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54499         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54501         * io/Makefile: Compile fallocate.c, fallocate64.c, and
54502         sync_file_range.c with -fexceptions.
54503         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54504         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54505         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54506         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54507         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54508         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54509         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
54510         sync_file_range as cancellation point
54511         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
54512         now a wrapper around __call_sync_file_range with cancellation handling.
54513         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54514         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
54515         function name to __call_sync_file_range.
54516         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54517         Add call_sync_file_range.
54519 2011-04-01  Andreas Schwab  <schwab@redhat.com>
54521         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54522         bits/timex.h.
54524 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54526         * iconv/iconv.h: Fix typo in comment.
54527         * io/fcntl.h: Likewise.
54528         * libio/stdio.h: Likewise.
54529         * posix/spawn.h: Likewise.
54530         * posix/unistd.h: Likewise.
54531         * stdlib/stdlib.h: Likewise.
54532         * time/time.h: Likewise.
54533         * wcsmbs/wchar.h: Likewise.
54535         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54536         open_by_handle): Add.
54537         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54538         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
54539         Augment a few comments.
54540         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54541         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54542         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54543         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54544         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54545         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54546         open_by_handle.
54548         * io/fcntl.h (AT_EMPTY_PATH): Define.
54550 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
54552         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54553         * sysdeps/unix/sysv/linux/bits/time.h: New file.
54554         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54555         to...
54556         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
54557         * Versions.def: Add GLIBC_2.14.
54558         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54559         Export.
54561 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
54563         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54564         round counter.
54565         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54567 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
54569         [BZ #12597]
54570         * string/test-strncmp.c (do_page_test): New function.
54571         (check2): Likewise.
54572         (test_main): Call check2.
54573         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54575 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
54577         [BZ #12587]
54578         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54579         Handle cache information in CPU leaf 4.
54580         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54582 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
54584         [BZ #12583]
54585         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54586         character representation.
54587         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54589 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
54591         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54592         END(__isnan) to END(__isnanf) to match function entry point/label
54593         EALIGN(__isnanf,...).
54595 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
54597         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54599 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
54601         [BZ #12510]
54602         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54603         copy from the symbol referenced in the relocation to initialize the
54604         used variable.
54605         Patch by Piotr Bury <pbury@goahead.com>.
54606         * elf/Makefile: Add rules to build and tst-unique3.
54607         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54608         * elf/tst-unique3.cc: New file.
54609         * elf/tst-unique3.h: New file.
54610         * elf/tst-unique3lib.cc: New file.
54611         * elf/tst-unique3lib2.cc: New file.
54613         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54615 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
54617         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54618         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
54619         to _start.
54621 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
54623         * elf/dl-load.c (_dl_map_object): If we are looking for the first
54624         to-be-loaded object along a path to loader is ld.so.
54626 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
54627             Ulrich Drepper  <drepper@gmail.com>
54629         * sysdeps/x86_64/memset.S: After aligning destination, code
54630         branches to different locations depending on the value of
54631         misalignment, when multiarch is enabled. Fix this.
54633 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
54635         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54636         Set _x86_64_preferred_memory_instruction for AMD processsors.
54637         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54638         Set bit_Prefer_SSE_for_memop for AMD processors.
54640 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
54642         * libio/fmemopen.c (fmemopen): Optimize a bit.
54644 2011-03-03  Andreas Schwab  <schwab@redhat.com>
54646         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54648 2011-03-03  Roland McGrath  <roland@redhat.com>
54650         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54652 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
54654         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
54655         __bzero_ultra1 instead of __memset_ultra1.
54657 2011-02-23  Andreas Schwab  <schwab@redhat.com>
54658             Ulrich Drepper  <drepper@gmail.com>
54660         [BZ #12509]
54661         * include/link.h (struct link_map): Add l_orig_initfini.
54662         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54663         returning unsuccessfully.
54664         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54665         close of a file loaded at startup, restore the original l_initfini
54666         list.
54667         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54668         list, store the pointer.
54669         * elf/Makefile ($(objpfx)noload-mem): New rule.
54670         (noload-ENV): Define.
54671         (tests): Add $(objpfx)noload-mem.
54672         * elf/noload.c: Include <memcheck.h>.
54673         (main): Call mtrace.  Close all opened handles.
54675 2011-02-17  Andreas Schwab  <schwab@redhat.com>
54677         [BZ #12454]
54678         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54679         dependencies are missing.
54681 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54683         Fix __if_freereq crash: Unlike the generic version which uses free,
54684         Hurd needs munmap.
54685         * sysdeps/mach/hurd/ifreq.h: New file.
54687 2011-01-27  Petr Baudis  <pasky@suse.cz>
54688             Ulrich Drepper  <drepper@gmail.com>
54690         [BZ 12445]#
54691         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54692         to extend_alloca().
54693         * stdio-common/bug23.c: New file.
54694         * stdio-common/Makefile (tests): Add bug23.
54696 2010-09-28  Andreas Schwab  <schwab@redhat.com>
54697             Ulrich Drepper  <drepper@gmail.com>
54699         [BZ #12489]
54700         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54701         before performing relro protection.  At old place add assertion
54702         to make sure nothing changed.
54704 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
54705             Glauber de Oliveira Costa  <glommer@gmail.com>
54707         * elf/elf.h: Add new ARM TLS relocs.
54709 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
54711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54712         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54713         cast from r3.
54714         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
54715         'tests' variable.
54716         * sysdeps/wordsize-64/tst-writev.c: New file.
54718 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
54720         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54721         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54722         insns in _dl_start to prevent a TOC reference before relocs are
54723         resolved.
54725 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
54727         [BZ #12469]
54728         * Makeconfig: Remove RANLIB definition.
54729         * Makerules: Don't use RANLIB.
54730         * aclocal.m4: Remove ranlib test.
54731         * configure.in: No need to check for ranlib.
54732         * elf/rtld-Rules: Don't use RANLIB.
54734 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54736         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
54737         protection macro.
54738         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
54739         inclusion protection macro.
54741         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
54742         SIGRTMIN and SIGRTMAX and print information in that case only when
54743         SIGRTMIN is defined.
54745 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
54747         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
54748         arginfo fn returning -1.
54750         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
54751         and thousands string is zero terminated.
54753 2011-02-03  Andreas Schwab  <schwab@redhat.com>
54755         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
54756         sysdeps/unix/sysv/linux/bits/socket.h.
54758 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54760         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
54761         (__CPU_COUNT): Remove old macros.
54762         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
54763         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
54764         (__CPU_ALLOC, __CPU_FREE): Add macros.
54765         (__sched_cpualloc, __sched_cpufree): Add declarations.
54767 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
54769         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
54770         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
54771         * nscd/aicache.c (addhstaiX): Return timeout of added value.
54772         (readdhstai): Return value of addhstaiX call.
54773         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
54774         (addgrbyX): Return value returned by cache_addgr.
54775         (readdgrbyname): Return value returned by addgrbyX.
54776         (readdgrbygid): Likewise.
54777         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
54778         (addpwbyX): Return value returned by cache_addpw.
54779         (readdpwbyname): Return value returned by addhstbyX.
54780         (readdpwbyuid): Likewise.
54781         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
54782         (addservbyX): Return value returned by cache_addserv.
54783         (readdservbyname): Return value returned by addservbyX:
54784         (readdservbyport): Likewise.
54785         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
54786         (addhstbyX): Return value returned by cache_addhst.
54787         (readdhstbyname): Return value returned by addhstbyX.
54788         (readdhstbyaddr): Likewise.
54789         (readdhstbynamev6): Likewise.
54790         (readdhstbyaddrv6): Likewise.
54791         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
54792         (readdinitgroups): Return value returned by addinitgroupsX.
54793         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
54794         (prune_cache): Keep track of timeout value of re-added entries.
54795         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
54796         * nscd/nscd.h: Adjust prototypes of readd* functions.
54798 2011-02-04  Roland McGrath  <roland@redhat.com>
54800         * nis/nis_server.c (nis_servstate): Use the right name for 0.
54801         (nis_stats): Likewise.
54802         * nis/nis_modify.c (nis_modify): Likewise.
54803         * nis/nis_remove.c (nis_remove): Likewise.
54804         * nis/nis_add.c (nis_add): Likewise.
54806         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
54808         * posix/fnmatch_loop.c: Add some consts.
54810         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
54812 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
54814         [BZ #12460]
54815         * config.make.in (config-cflags-novzeroupper): Define.
54816         * configure.in: Substitute libc_cv_cc_novzeroupper.
54817         * elf/Makefile (AVX-CFLAGS): Define.
54818         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
54819         (CFLAGS-tst-auditmod4a.c): Likewise.
54820         (CFLAGS-tst-auditmod4b.c): Likewise.
54821         (CFLAGS-tst-auditmod6b.c): Likewise.
54822         (CFLAGS-tst-auditmod6c.c): Likewise.
54823         (CFLAGS-tst-auditmod7b.c): Likewise.
54824         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
54826 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
54828         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
54829         function to the callback.
54830         Patch partly by Jiri Olsa <jolsa@redhat.com>.
54832 2011-02-02  Andreas Schwab  <schwab@redhat.com>
54834         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
54835         of errno.
54837 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
54839         [BZ #11724]
54840         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
54841         of constructors.
54842         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
54843         of destructors.
54844         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
54846         [BZ #11724]
54847         * elf/Makefile: Add rules to build and run new test.
54848         * elf/tst-initorder.c: New file.
54849         * elf/tst-initorder.exp: New file.
54850         * elf/tst-initordera1.c: New file.
54851         * elf/tst-initordera2.c: New file.
54852         * elf/tst-initordera3.c: New file.
54853         * elf/tst-initordera4.c: New file.
54854         * elf/tst-initorderb1.c: New file.
54855         * elf/tst-initorderb2.c: New file.
54856         * elf/tst-order-a1.c: New file.
54857         * elf/tst-order-a2.c: New file.
54858         * elf/tst-order-a3.c: New file.
54859         * elf/tst-order-a4.c: New file.
54860         * elf/tst-order-b1.c: New file.
54861         * elf/tst-order-b2.c: New file.
54862         * elf/tst-order-main.c: New file.
54863         New test case by George Gensure <werkt0@gmail.com>.
54865 2010-10-01  Andreas Schwab  <schwab@redhat.com>
54867         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54868         decoding ACE if AI_CANONIDN.
54870 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
54872         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
54874 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
54876         * version.h (RELEASE): Bump for 2.13 release.
54877         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
54879         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
54881         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
54882         MADV_NOHUGEPAGE.
54883         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
54884         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54885         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54886         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54887         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54888         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54890         * posix/getconf.c: Update copyright year.
54891         * catgets/gencat.c: Likewise.
54892         * csu/version.c: Likewise.
54893         * debug/catchsegv.sh: Likewise.
54894         * debug/xtrace.sh: Likewise.
54895         * elf/ldconfig.c: Likewise.
54896         * elf/ldd.bash.in: Likewise.
54897         * elf/sprof.c (print_version): Likewise.
54898         * iconv/iconv_prog.c: Likewise.
54899         * iconv/iconvconfig.c: Likewise.
54900         * locale/programs/locale.c: Likewise.
54901         * locale/programs/localedef.c: Likewise.
54902         * malloc/memusage.sh: Likewise.
54903         * malloc/mtrace.pl: Likewise.
54904         * nscd/nscd.c (print_version): Likewise.
54905         * nss/getent.c: Likewise.
54907         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
54908         PF_CAIF, and PF_ALG.
54909         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54911 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
54913         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
54914         (modules-names): Use them.
54915         (ifunc-test-modules, ifunc-pie-tests): Define.
54916         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
54917         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
54918         (test-extras): Likewise.
54919         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
54920         $(compile-command.c).
54921         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
54922         (all-built-dso): Define.
54923         (check-textrel.out, check-execstack.out): Depend on it.
54925         * configure.in: Don't override --enable-multi-arch.
54927 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
54929         [BZ #6812]
54930         * nscd/hstcache.c (tryagain): Define.
54931         (cache_addhst): Return tryagain not notfound for temporary errors.
54932         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
54933         failed.
54935 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
54937         [BZ #10563]
54938         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
54939         to make the syscall.
54940         * sysdeps/unix/sysv/linux/setgroups.c: New file.
54942         [BZ #12378]
54943         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
54944         and fall back to matching as normal character if the string ends before
54945         the matching ']' is found.  This is what POSIX requires.
54946         * posix/testfnm.c: Adjust test result.
54947         * posix/globtest.sh: Adjust test result.  Add new test.
54948         * posix/tst-fnmatch.input: Likewise.
54949         * posix/tst-fnmatch2.c: Add new test.
54951 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
54953         * elf/Makefile (check-execstack): Revert last change.  Depend on
54954         check-execstack.h.
54955         (check-execstack.h): New target.
54956         (generated): Add check-execstack.h.
54957         * elf/check-execstack.c: Include "check-execstack.h".
54958         (main): Revert last change.
54959         (handle_file): Return zero if GNU_STACK is absent and
54960         DEFAULT_STACK_PERMS doesn't include PF_X.
54962 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
54964         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
54965         in child fails because the descriptor is already closed.
54966         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
54967         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
54968         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
54970         [BZ #12397]
54971         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
54972         syscall.
54974         [BZ #10484]
54975         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
54976         temporary buffer used to handle multi lookups locally.
54977         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
54979 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
54981         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
54982         loader is ld.so.
54984 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
54986         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
54987         alignment for SSE2.
54989 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
54991         [BZ #12394]
54992         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
54993         characters.  When rounding increased number of integer digits recompute
54994         number of groups.
54995         * stdio-common/tst-grouping.c: New file.
54996         * stdio-common/Makefile: Add rules to build and run tst-grouping.
54998 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
55000         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55001         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
55003         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55004         void.
55005         * bits/select.h: Likewise.
55007 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
55009         * po/ja.po: Update from translation team.
55011 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
55013         [BZ #11155]
55014         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55015         implementation just like for lxstat, fxstatat, et al.
55017 2010-12-27  Jim Meyering  <meyering@redhat.com>
55019         [BZ #12348]
55020         * posix/regexec.c (build_trtable): Return failure indication upon
55021         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
55023 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
55025         [BZ #12201]
55026         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55027         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55028         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55029         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55031         [BZ #12207]
55032         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55034         [BZ #12204]
55035         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55036         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55038 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
55040         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55041         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55042         script has SORT_BY_INIT_PRIORITY.
55043         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55044         NO_CTORS_DTORS_SECTIONS is defined.
55045         * elf/soinit.c: Likewise.
55046         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55047         NO_CTORS_DTORS_SECTIONS is defined.
55048         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55049         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55050         * sysdeps/sh/init-first.c: Likewise.
55051         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55053 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
55055         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55056         always use the slow path.
55058 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
55060         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55061         similar rule which adds the sysdep directories to the header search in
55062         order to pick up the correct platform stackinfo.h.
55063         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55064         perform test if it is, otherwise return successfully without testing.
55065         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55066         DEFAULT_STACK_PERMS define in stackinfo.h.
55067         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55068         defined in stackinfo.h.
55069         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55070         DEFAULT_STACK_PERMS defined in stackinfo.h.
55071         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55072         * sysdeps/ia64/stackinfo.h: Likewise.
55073         * sysdeps/s390/stackinfo.h: Likewise.
55074         * sysdeps/sh/stackinfo.h: Likewise.
55075         * sysdeps/sparc/stackinfo.h: Likewise.
55076         * sysdeps/x86_64/stackinfo.h: Likewise.
55077         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55078         PF_X for powerpc64.  Retain PF_X for powerpc32.
55080 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
55082         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55083         accurately.
55084         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55085         GETDENTS_64BIT_ALIGNED.
55087 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
55089         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
55091 2010-12-10  Andreas Schwab  <schwab@redhat.com>
55093         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55094         _GNU_SOURCE.
55096         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55097         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55098         Remove __restrict.
55099         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55100         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55102 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
55104         [BZ #11655]
55105         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55106         are initialized.
55108 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
55110         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55112 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
55114         * po/it.po: Update from translation team.
55116 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
55118         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55119         unused codes.
55121 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
55123         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55125 2010-11-24  Andreas Schwab  <schwab@redhat.com>
55127         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55128         specially.
55129         (gaih_getanswer_slice): Likewise.
55131 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
55133         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55135 2010-05-31  Petr Baudis  <pasky@suse.cz>
55137         [BZ #11149]
55138         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55139         silently even in the chroot mode.
55141 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
55143         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55144         last patch a bit.  Pretty printing
55146 2010-05-31  Petr Baudis <pasky@suse.cz>
55148         [BZ #10085]
55149         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55150         initialization of skip_initgroups_dyn.
55152 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
55154         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55155         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55157 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
55159         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55161 2010-11-11  Andreas Schwab  <schwab@redhat.com>
55163         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55164         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55165         (tst-fnmatch-ENV): Set MALLOC_TRACE.
55166         ($(objpfx)tst-fnmatch-mem): New rule.
55167         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55168         * posix/tst-fnmatch.c (main): Call mtrace.
55170 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
55172         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55173         Support Intel processor model 6 and model 0x2c.
55175 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
55177         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55178           signed comparison.
55180 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
55182         [BZ #12205]
55183         * string/test-strncasecmp.c (check_result): New function.
55184         (do_one_test): Use it.
55185         (check1): New function.
55186         (test_main): Use it.
55187         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55188         Support strcasecmp and strncasecmp.
55190 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
55192         [BZ #12194]
55193         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55194         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55196 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
55198         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55199         IFUNC support.
55200         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55201         memset-x86-64.
55202         * sysdeps/x86_64/multiarch/bzero.S: New file.
55203         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55204         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55205         * sysdeps/x86_64/multiarch/memset.S: New file.
55206         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55207         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55208         Set bit_Prefer_SSE_for_memop for Intel processors.
55209         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55210         Define.
55211         (index_Prefer_SSE_for_memop): Define.
55212         (HAS_PREFER_SSE_FOR_MEMOP): Define.
55214 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
55216         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55217         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55219 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
55221         [BZ #12191]
55222         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55223         (__x86_64_raw_data_cache_size_half): Likewise.
55224         (__x86_64_raw_shared_cache_size): Likewise.
55225         (__x86_64_raw_shared_cache_size_half): Likewise.
55227         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55228         (__x86_64_raw_data_cache_size_half): Likewise.
55229         (__x86_64_raw_shared_cache_size): Likewise.
55230         (__x86_64_raw_shared_cache_size_half): Likewise.
55231         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55232         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55233         and __x86_64_raw_shared_cache_size_half.  Round
55234         __x86_64_data_cache_size_half, __x86_64_data_cache_size
55235         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55236         to multiple of 256 bytes.
55238 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
55240         [BZ #12167]
55241         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55242         of inacessible symlinks.  Verify result of symlink before returning it.
55243         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55244         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55246 2010-10-28  Erich Ritz  <erichritz@gmail.com>
55248         * math/math.h (isinf): Fix typo in comment.
55250 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
55252         * po/da.po: Update from translation team.
55254 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
55256         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55257         is added to the list.
55259 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55260             Ulrich Drepper  <drepper@gmail.com>
55262         * elf/dl-object.c (_dl_new_object): Don't append the new object to
55263         the global list here.  Move code to...
55264         (_dl_add_to_namespace_list): ...here.  New function.
55265         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55266         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55267         * elf/dl-load.c (lose): Don't remove the element from the list.
55268         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55269         (_dl_map_object): Likewise.
55271 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
55273         [BZ #12159]
55274         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55275         into all bytes of SSE register.
55276         Patch by Richard Li <richardpku@gmail.com>.
55278 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
55280         [BZ #12140]
55281         * malloc/malloc.c (_int_free): Fill correct number of bytes when
55282         perturbing.
55284 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
55286         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55287         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55288         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55289         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55291         submachine.
55292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55294 2010-10-22  Andreas Schwab  <schwab@redhat.com>
55296         * include/dlfcn.h (__RTLD_SECURE): Define.
55297         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
55298         mode & __RTLD_SECURE instead.
55299         (open_path): Rename preloaded parameter to secure.
55300         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55301         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55302         * elf/dl-deps.c (openaux): Likewise.
55303         * elf/rtld.c (struct map_args): Remove is_preloaded.
55304         (map_doit): Don't use it.
55305         (dl_main): Likewise.
55306         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55307         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55309 2010-09-09  Andreas Schwab  <schwab@redhat.com>
55311         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55312         (sysd-rules-targets): Remove duplicates.
55313         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55314         rtld-%.$o dependency.
55316 2010-10-18  Andreas Schwab  <schwab@redhat.com>
55318         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55319         _dl_map_object do it.
55321 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
55323         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55324         fast fma builtins, define the macros in the C99 standard.
55325         (FP_FAST_FMAF): Likewise.
55326         (FP_FAST_FMAL): Likewise.
55327         * sysdeps/x86_64/bits/mathdef.h: Likewise.
55329         * bits/mathdef.h: Update copyright year.
55330         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55332 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
55334         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55335         builtins, define the macros in the C99 standard.
55336         (FP_FAST_FMAF): Likewise.
55337         (FP_FAST_FMAL): Likewise.
55338         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55339         multiply/add.
55340         (FP_FAST_FMAF): Likewise.
55342 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
55344         [BZ #3268]
55345         * math/libm-test.inc (fma_test): Some new testcases.
55346         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55347         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55348         y and infinite z.  Do multiplication by C already in long double.
55349         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55350         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55351         y and infinite z.  Do bitwise or of inexact bit into u.d.
55352         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55353         * sysdeps/i386/fpu/s_fmaf.S: Removed.
55354         * sysdeps/i386/fpu/s_fma.S: Removed.
55355         * sysdeps/i386/fpu/s_fmal.S: Removed.
55357 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
55359         [BZ #3268]
55360         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55361         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55362         computation is not scheduled after fetestexcept.  Fix value
55363         of minimum denormal long double.
55365 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
55367         [BZ #3268]
55368         * math/libm-test.inc (fma_test): Add some more tests.
55369         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55370         correctly.
55372 2010-10-15  Andreas Schwab  <schwab@redhat.com>
55374         * scripts/data/localplt-s390-linux-gnu.data: New file.
55375         * scripts/data/localplt-s390x-linux-gnu.data: New file.
55377 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
55379         [BZ #3268]
55380         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55381         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55382         instead of dbl-64.
55383         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55384         inlines.
55385         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55386         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55387         if one of x and y is very large and the other is subnormal.
55388         * sysdeps/s390/fpu/s_fmaf.c: New file.
55389         * sysdeps/s390/fpu/s_fma.c: New file.
55390         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55391         * sysdeps/powerpc/fpu/s_fma.S: New file.
55392         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55393         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55394         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55396 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
55398         [BZ #3268]
55399         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55400         fma tests.
55401         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55402         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55403         * sysdeps/i386/i686/multiarch/s_fma.c: Include
55404         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55405         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55406         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55407         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55409 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
55411         [BZ #12078]
55412         * posix/regcomp.c (parse_branch): One more memory leak plugged.
55413         * posix/bug-regex31.input: Add test case.
55415 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
55417         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55418         * posix/bug-regex31.input: New file.
55420         [BZ #12078]
55421         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55422         (parse_sub_exp): Fix last change, use postorder.
55424         * posix/bug-regex31.c: New file.
55425         * posix/Makefile: Add rules to build and run bug-regex31.
55427         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55429         [BZ #12078]
55430         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55432         [BZ #12108]
55433         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55434         to have entries in sys_siglist.
55436         [BZ #12093]
55437         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55438         be NULL.
55440 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
55442         [BZ #3268]
55443         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55444         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55445         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55446         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55447         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55448         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55449         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55450         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55451         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55452         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55453         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55454         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55455         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55456         * math/ftestexcept.c (fetestexcept): Likewise.
55457         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55458         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55459         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55460         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55461         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55462         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55463         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55465 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
55467         [BZ #12107]
55468         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55469         newline.
55471 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
55473         * string/bug-strstr1.c: New file.
55474         * string/Makefile: Add rules to build and run bug-strstr1.
55476 2010-10-05  Eric Blake  <eblake@redhat.com>
55478         [BZ #12092]
55479         * string/str-two-way.h (two_way_long_needle): Always clear memory
55480         when skipping input due to the shift table.
55482 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
55484         [BZ #12005]
55485         * malloc/mcheck.c: Handle large requests.
55487         [BZ #12077]
55488         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55489         for strncmp and strncasecmp.
55490         * string/stratcliff.c: Add tests for strcmp and strncmp.
55491         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55493 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55495         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55496         __set_fpscr.
55498 2010-09-30  Andreas Jaeger  <aj@suse.de>
55500         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55501         (CGROUP_SUPER_MAGIC): Define.
55502         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55503         Handle btrfs and cgroup file systems.
55504         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55505         Likewise.
55507 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
55509         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55510         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55512 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55514         [BZ #12067]
55515         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55516         trying to locate the ELF header.
55518 2010-09-27  Andreas Schwab  <schwab@redhat.com>
55520         [BZ #11611]
55521         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55522         Mask out sign-bit copies when constructing f_fsid.
55524 2010-09-24  Petr Baudis <pasky@suse.cz>
55526         * debug/stack_chk_fail_local.c: Add missing licence exception.
55527         * debug/warning-nop.c: Likewise.
55529 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
55531         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55532         implementing getdents64 using getdents syscall, set d_type if
55533         __ASSUME_GETDENTS32_D_TYPE.
55535 2010-09-16  Andreas Schwab  <schwab@redhat.com>
55537         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55538         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55540 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
55542         [BZ #12037]
55543         * posix/unistd.h: Undo change of feature selection for ftruncate from
55544         2010-01-11.
55546 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
55548         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
55549         detection.
55551 2010-09-20  Andreas Schwab  <schwab@redhat.com>
55553         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55554         fanotify_mark.
55555         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55557 2010-09-14  Andreas Schwab  <schwab@redhat.com>
55559         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55560         variables after CHECK_SP call.
55561         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55563 2010-09-13  Andreas Schwab  <schwab@redhat.com>
55564             Ulrich Drepper  <drepper@redhat.com>
55566         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55567         re-relocationg ld.so.
55568         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55569         _dl_init_paths call.
55570         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
55571         here anymore.
55573 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
55575         * resolv/res_init.c (__res_vinit): Count the default server we added.
55577 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
55578             Ulrich Drepper  <drepper@redhat.com>
55580         [BZ #11968]
55581         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55582         (____longjmp_chk): Use %ebx for saving value across system call.
55583         Add unwind info.
55585 2010-09-06  Andreas Schwab  <schwab@redhat.com>
55587         * manual/Makefile: Don't mix pattern rules with normal rules.
55589 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
55591         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55592         operation.
55593         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55594         * libio/iofopncook.c (_IO_cookie_init): Likewise.
55595         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55596         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55597         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55598         Likewise.
55600 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
55602         [BZ #11979]
55603         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55604         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55606 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
55608         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55609         * sysdeps/x86_64/addmul_1.S: Likewise.
55610         * sysdeps/x86_64/lshift.S: Likewise.
55611         * sysdeps/x86_64/mul_1.S: Likewise.
55612         * sysdeps/x86_64/rshift.S: Likewise.
55613         * sysdeps/x86_64/sub_n.S: Likewise.
55614         * sysdeps/x86_64/submul_1.S: Likewise.
55616 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55618         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55619         Define __sched_param instead of SCHED_* and sched_param when
55620         <bits/sched.h> is included with __need_schedparam defined.
55621         * bits/sched.h [__need_schedparam]
55622         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
55623         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55624         (__defined_schedparam): Define to 1.
55625         (__sched_param): New structure, identical to sched_param.
55626         (__need_schedparam): Undefine.
55628 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
55630         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55631         (epoll_create1): Declare.
55633         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55635 2010-08-31  Andreas Schwab  <schwab@redhat.com>
55637         [BZ #7066]
55638         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55639         shifting retval into place.
55641 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
55643         * nis/rpcsvc/nis.h: Update copyright notice.
55644         * nis/rpcsvc/nis.x: Likewise.
55645         * nis/rpcsvc/nis_callback.h: Likewise.
55646         * nis/rpcsvc/nis_callback.x: Likewise.
55647         * nis/rpcsvc/nis_object.x: Likewise.
55648         * nis/rpcsvc/nis_tags.h: Likewise.
55649         * nis/rpcsvc/yp.h: Likewise.
55650         * nis/rpcsvc/yp.x: Likewise.
55651         * nis/rpcsvc/ypupd.h: Likewise.
55652         * nis/yp_xdr.c: Likewise.
55653         * nis/ypupdate_xdr.c: Likewise.
55655         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
55656         mainly the body of pmap_getport.  Add parameters to specify timeouts.
55657         (pmap_getport): Use __libc_rpc_getport.
55658         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55659         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55660         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55662 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
55664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55665         fanotify_mark.
55667 2010-08-27  Roland McGrath  <roland@redhat.com>
55669         * sysdeps/i386/i686/multiarch/Makefile
55670         (CFLAGS-varshift.c): New variable.
55672 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
55674         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55675         * sysdeps/i386/i686/multiarch/varshift.c: New file.
55677         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55679         * sysdeps/x86_64/strlen.S: Minimal code improvement.
55681 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
55683         * sysdeps/x86_64/strlen.S: Unroll the loop.
55684         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55685         strlen-sse2 strlen-sse2-bsf.
55686         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55687         __strlen_no_bsf if bit_Slow_BSF is set.
55688         (__strlen_sse42): Removed.
55689         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55690         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55692 2010-08-25  Roland McGrath  <roland@redhat.com>
55694         * sysdeps/x86_64/multiarch/varshift.S: File removed.
55695         * sysdeps/x86_64/multiarch/varshift.c: New file.
55696         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55697         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55698         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55699         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55701 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
55703         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55704         strlen-sse2 strlen-sse2-bsf.
55705         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55706         __strlen_sse2_bsf if bit_Slow_BSF is unset.
55707         (__strlen_sse2): Removed.
55708         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55709         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55710         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55711         bit_Slow_BSF for Atom.
55712         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55713         (index_Slow_BSF): Define.
55714         (HAS_SLOW_BSF): Define.
55716 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
55718         [BZ #10851]
55719         * resolv/res_init.c (__res_vinit): When no server address at all
55720         is given default to loopback.
55722 2010-08-24  Roland McGrath  <roland@redhat.com>
55724         * configure.in: Remove config-name.h generation.
55725         * configure: Regenerated.
55726         * config-name.in: File removed.
55727         * scripts/config-uname.sh: New file.
55728         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55729         ($(objdir)config-name.h): New target.
55731         * sunrpc/rpc_parse.h: Avoid nested comment.
55733 2010-08-24  Richard Henderson  <rth@redhat.com>
55734             Ulrich Drepper  <drepper@redhat.com>
55735             H.J. Lu  <hongjiu.lu@intel.com>
55737         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
55738         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
55739         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
55740         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
55741         _mm_alignr_epi8 with _mm_loadu_si128.
55742         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
55743         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
55744         (__m128i_shift_right): Removed.
55745         * sysdeps/i386/i686/multiarch/varshift.h: New file.
55746         * sysdeps/i386/i686/multiarch/varshift.S: New file.
55747         * sysdeps/x86_64/multiarch/varshift.h: New file.
55748         * sysdeps/x86_64/multiarch/varshift.S: New file.
55750 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
55752         * configure.in: Move assembler checks to before sysdep dir checking.
55754 2010-08-20  Petr Baudis  <pasky@suse.cz>
55756         * LICENSES: Sync the sunrpc license.
55758 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
55760         * sunrpc/auth_des.c: Update copyright notice once again.
55761         * sunrpc/auth_none.c: Likewise.
55762         * sunrpc/auth_unix.c: Likewise.
55763         * sunrpc/authdes_prot.c: Likewise.
55764         * sunrpc/authuxprot.c: Likewise.
55765         * sunrpc/bindrsvprt.c: Likewise.
55766         * sunrpc/clnt_gen.c: Likewise.
55767         * sunrpc/clnt_perr.c: Likewise.
55768         * sunrpc/clnt_raw.c: Likewise.
55769         * sunrpc/clnt_simp.c: Likewise.
55770         * sunrpc/clnt_tcp.c: Likewise.
55771         * sunrpc/clnt_udp.c: Likewise.
55772         * sunrpc/clnt_unix.c: Likewise.
55773         * sunrpc/des_crypt.c: Likewise.
55774         * sunrpc/des_soft.c: Likewise.
55775         * sunrpc/get_myaddr.c: Likewise.
55776         * sunrpc/getrpcport.c: Likewise.
55777         * sunrpc/key_call.c: Likewise.
55778         * sunrpc/key_prot.c: Likewise.
55779         * sunrpc/openchild.c: Likewise.
55780         * sunrpc/pm_getmaps.c: Likewise.
55781         * sunrpc/pm_getport.c: Likewise.
55782         * sunrpc/pmap_clnt.c: Likewise.
55783         * sunrpc/pmap_prot.c: Likewise.
55784         * sunrpc/pmap_prot2.c: Likewise.
55785         * sunrpc/pmap_rmt.c: Likewise.
55786         * sunrpc/rpc/auth.h: Likewise.
55787         * sunrpc/rpc/auth_unix.h: Likewise.
55788         * sunrpc/rpc/clnt.h: Likewise.
55789         * sunrpc/rpc/des_crypt.h: Likewise.
55790         * sunrpc/rpc/key_prot.h: Likewise.
55791         * sunrpc/rpc/netdb.h: Likewise.
55792         * sunrpc/rpc/pmap_clnt.h: Likewise.
55793         * sunrpc/rpc/pmap_prot.h: Likewise.
55794         * sunrpc/rpc/pmap_rmt.h: Likewise.
55795         * sunrpc/rpc/rpc.h: Likewise.
55796         * sunrpc/rpc/rpc_des.h: Likewise.
55797         * sunrpc/rpc/rpc_msg.h: Likewise.
55798         * sunrpc/rpc/svc.h: Likewise.
55799         * sunrpc/rpc/svc_auth.h: Likewise.
55800         * sunrpc/rpc/types.h: Likewise.
55801         * sunrpc/rpc/xdr.h: Likewise.
55802         * sunrpc/rpc_clntout.c: Likewise.
55803         * sunrpc/rpc_cmsg.c: Likewise.
55804         * sunrpc/rpc_common.c: Likewise.
55805         * sunrpc/rpc_cout.c: Likewise.
55806         * sunrpc/rpc_dtable.c: Likewise.
55807         * sunrpc/rpc_hout.c: Likewise.
55808         * sunrpc/rpc_main.c: Likewise.
55809         * sunrpc/rpc_parse.c: Likewise.
55810         * sunrpc/rpc_parse.h: Likewise.
55811         * sunrpc/rpc_prot.c: Likewise.
55812         * sunrpc/rpc_sample.c: Likewise.
55813         * sunrpc/rpc_scan.c: Likewise.
55814         * sunrpc/rpc_scan.h: Likewise.
55815         * sunrpc/rpc_svcout.c: Likewise.
55816         * sunrpc/rpc_tblout.c: Likewise.
55817         * sunrpc/rpc_util.c: Likewise.
55818         * sunrpc/rpc_util.h: Likewise.
55819         * sunrpc/rpcinfo.c: Likewise.
55820         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
55821         * sunrpc/rpcsvc/key_prot.x: Likewise.
55822         * sunrpc/rpcsvc/klm_prot.x: Likewise.
55823         * sunrpc/rpcsvc/mount.x: Likewise.
55824         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
55825         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
55826         * sunrpc/rpcsvc/rex.x: Likewise.
55827         * sunrpc/rpcsvc/rstat.x: Likewise.
55828         * sunrpc/rpcsvc/rusers.x: Likewise.
55829         * sunrpc/rpcsvc/sm_inter.x: Likewise.
55830         * sunrpc/rpcsvc/spray.x: Likewise.
55831         * sunrpc/rpcsvc/yppasswd.x: Likewise.
55832         * sunrpc/rtime.c: Likewise.
55833         * sunrpc/svc.c: Likewise.
55834         * sunrpc/svc_auth.c: Likewise.
55835         * sunrpc/svc_authux.c: Likewise.
55836         * sunrpc/svc_raw.c: Likewise.
55837         * sunrpc/svc_run.c: Likewise.
55838         * sunrpc/svc_simple.c: Likewise.
55839         * sunrpc/svc_tcp.c: Likewise.
55840         * sunrpc/svc_udp.c: Likewise.
55841         * sunrpc/svc_unix.c: Likewise.
55842         * sunrpc/svcauth_des.c: Likewise.
55843         * sunrpc/xcrypt.c: Likewise.
55844         * sunrpc/xdr.c: Likewise.
55845         * sunrpc/xdr_array.c: Likewise.
55846         * sunrpc/xdr_float.c: Likewise.
55847         * sunrpc/xdr_mem.c: Likewise.
55848         * sunrpc/xdr_rec.c: Likewise.
55849         * sunrpc/xdr_ref.c: Likewise.
55850         * sunrpc/xdr_sizeof.c: Likewise.
55851         * sunrpc/xdr_stdio.c: Likewise.
55853         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
55854         handling.
55856 2010-08-19  Andreas Schwab  <schwab@redhat.com>
55858         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
55860 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
55862         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
55863         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
55864         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
55865         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
55866         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
55867         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
55868         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
55869         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
55870         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
55871         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
55872         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
55873         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
55874         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
55875         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
55877 2010-07-26  Anton Blanchard  <anton@samba.org>
55879         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
55880         * malloc/arena.c (heap_trim): Likewise.
55882 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
55884         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
55885         here.  Not...
55886         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
55887         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
55889 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
55891         * sysdeps/i386/elf/Makefile: New file.
55893 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
55895         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
55896         from fanotify_init.
55897         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
55898         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55900 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
55902         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
55903         of strncasecmp_l.
55904         * sysdeps/multiarch/strcmp.S: Likewise.
55906 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
55908         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55909         strncase_l-nonascii.
55910         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55911         Add strncase_l-ssse3.
55912         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
55913         * sysdeps/x86_64/strcmp.S: Likewise.
55914         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
55915         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
55916         * sysdeps/x86_64/strncase.S: New file.
55917         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
55918         * sysdeps/x86_64/strncase_l.S: New file.
55919         * string/Makefile (strop-tests): Add strncasecmp.
55920         * string/test-strncasecmp.c: New file.
55922         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
55923         warning.
55925         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
55926         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
55928 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
55930         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
55932 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
55934         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
55935         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
55936         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
55938 2010-05-01  Alan Modra  <amodra@gmail.com>
55940         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
55941         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
55942         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
55943         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
55944         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
55945         tidying.  Don't tail-call __sigjmp_save for static lib.
55946         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
55947         save location.
55948         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
55949         (CALL_MCOUNT): Add eh info, and nop after bl.
55950         (TAIL_CALL_SYSCALL_ERROR): New macro.
55951         (PSEUDO_RET): Use it.
55952         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55953         Correct save location of integer regs and cr.
55954         (_dl_profile_resolve): Correct cr save location.  Delete nops
55955         after bl when SHARED.  Reduce cfi size a little by better
55956         placement of cfi directives.
55957         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
55958         make a stack frame.  Instead use parm save area as a temp.
55959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
55960         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
55961         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55962         Don't make a stack frame for parent, use parm save area.
55963         Increase child stack frame to 112 bytes.  Don't save unused reg,
55964         and adjust reg usage.  Set up cfi on error recovery and
55965         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
55966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55967         (__makecontext): Add dummy nop after jump to exit.
55968         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
55969         Use correct parm save area and cr save, reduce stack frame.
55970         Correct cfi for possible PSEUDO_RET frame setup.
55971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
55972         Branch to local label emitted by PSEUDO_RET rather than
55973         __syscall_error.
55975 2010-08-12  Andreas Schwab  <schwab@redhat.com>
55977         [BZ #11904]
55978         * locale/programs/locale.c (print_assignment): New function.
55979         (show_locale_vars): Use it.
55981 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
55983         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
55984         field.
55985         (struct statfs64): Likewise.
55986         (_STATFS_F_FLAGS): Define.
55987         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
55988         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55989         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
55990         (ST_VALID): Define locally.
55991         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
55992         __statvfs_getflags, use the provided value.
55993         * sysdeps/unix/sysv/linux/kernel-features.h: Define
55994         __ASSUME_STATFS_F_FLAGS.
55996         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
55998         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
55999         Add sys/fanotify.h.
56000         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56001         fanotify_mask for GLIBC_2.13.
56002         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56003         fanotify_init and fanotify_mark.
56004         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56005         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56007         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56008         Add prlimit.
56009         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56010         prlimit64 for GLIBC_2.13.
56011         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56012         prlimit64.
56013         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56014         syscall.
56015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56016         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56017         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56018         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56019         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
56020         add prlimit alias.
56021         * sysdeps/unix/sysv/linux/prlimit.c: New file.
56023         [BZ #11903]
56024         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56025         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56027         * nss/Makefile: Add rules to build and run tst-nss-test1.
56028         * shlib-versions: Add entry for libnss_test1.
56029         * nss/nss_test1.c: New file.
56030         * nss/tst-nss-test1.c: New file.
56032         * nss/nsswitch.c (__nss_database_custom): Define new variable.
56033         (__nss_configure_lookup): Set appropriate entry in
56034         __nss_configure_lookup to true.
56035         * nss/nsswitch.h: Define enum with indeces of databases in
56036         databases and __nss_database_custom arrays.  Declare
56037         __nss_database_custom.
56038         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56039         to avoid using nscd when custom rules are installed.
56040         * nss/getXXbyYY_r.c: Likewise.
56041         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56043         * nss/nss_files/files-parse.c: Whitespace fixes.
56045 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
56047         [BZ #11883]
56048         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56049         * posix/fnmatch_loop.c: Likewise.
56051 2010-07-17  Andi Kleen  <ak@linux.intel.com>
56053         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56054         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56055         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56056         * Versions.def [GLIBC_2.13]: Add.
56058 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
56060         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56061         Also fail if tpwd after pwuid call is NULL.
56063 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56065         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56066         when converting to ms.
56068 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56070         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56071         EOPNOTSUPP errors with ENOTTY.
56072         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56073         EOPNOTSUPP errors with ENOTTY.
56075 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
56077         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56078         Add strcasecmp_l-ssse3.
56079         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56080         strcasecmp.
56081         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56082         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56083         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56085 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
56087         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56089         * string/Makefile (strop-tests): Add strcasecmp.
56090         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56091         strcasecmp_l-nonascii.
56092         (gen-as-const-headers): Add locale-defines.sym.
56093         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56094         * sysdeps/x86_64/strcasecmp.S: New file.
56095         * sysdeps/x86_64/strcasecmp_l.S: New file.
56096         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56097         * sysdeps/x86_64/locale-defines.sym: New file.
56098         * string/test-strcasecmp.c: New file.
56100         * string/test-strcasestr.c: Test both ends of the range of characters.
56101         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56103 2010-07-29  Roland McGrath  <roland@redhat.com>
56105         [BZ #11856]
56106         * manual/locale.texi (Yes-or-No Questions): Fix example code.
56108 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
56110         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56111         for ld.so.
56113 2010-07-27  Andreas Schwab  <schwab@redhat.com>
56115         * manual/memory.texi (Malloc Tunable Parameters): Document
56116         M_PERTURB.
56118 2010-07-26  Roland McGrath  <roland@redhat.com>
56120         [BZ #11840]
56121         * configure.in (-fgnu89-inline check): Set and substitute
56122         gnu89_inline, not libc_cv_gnu89_inline.
56123         * configure: Regenerated.
56124         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56126 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
56128         * string/test-strnlen.c: New file.
56129         * string/Makefile (strop-tests): Add strnlen.
56130         * string/tester.c (test_strnlen): Add a few more test cases.
56131         * string/tst-strlen.c: Better error reporting.
56133         * sysdeps/x86_64/strnlen.S: New file.
56135 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
56137         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56138         lower-latency instructions.
56140 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
56142         * string/test-strcasestr.c: New file.
56143         * string/test-strstr.c: New file.
56144         * string/Makefile (strop-tests): Add strstr and strcasestr.
56145         * string/str-two-way.h: Don't undefine MAX.
56146         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56148 2010-07-21  Andreas Schwab  <schwab@redhat.com>
56150         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56151         strcasestr-nonascii.
56152         (CFLAGS-strcasestr-nonascii.c): Define.
56153         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56154         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56155         Remove unused attribute.
56157 2010-07-20  Roland McGrath  <roland@redhat.com>
56159         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56160         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
56161         ld.so.cache was broken.  With it, there is no way to disable dsocaps
56162         like LD_HWCAP_MASK can disable hwcaps.
56164 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
56166         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56168 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
56170         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56171         call in strcasestr.
56172         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56173         __strcasestr_sse42_nonascii.
56174         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56175         strcasestr-nonascii.c.
56176         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56178 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
56180         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56181         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56182         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56183         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56185 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
56187         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56188         fcntl.
56190 2010-07-06  Andreas Schwab  <schwab@redhat.com>
56192         [BZ #11577]
56193         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56194         dl_signal_cerror.
56196 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
56198         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56199         _PC_PIPE_BUF using F_GETPIPE_SZ.
56201 2010-07-05  Roland McGrath  <roland@redhat.com>
56203         * manual/arith.texi (Rounding Functions): Fix rint description
56204         implicit in round description.
56206 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
56208         * elf/Makefile: Fix linking for a few tests to make recent linker
56209         happy.
56211 2010-06-30  Andreas Schwab  <schwab@redhat.com>
56213         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56214         $(common-objpfx)libc_nonshared.a.
56216 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
56218         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56219         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56220         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56221         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56222         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56223         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56224         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56225         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56227         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56229         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56233         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56234         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56237         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56240         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56241         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56242         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56243         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56244         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56245         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56246         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56247         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56248         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56249         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56250         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56251         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56252         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56256         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56267 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
56269         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56270         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
56271         * string/memmove.c (memmove): Renamed to ...
56272         (MEMMOVE): ...this.  Default to memmove.
56273         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56274         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56275         (END_CHK): Define.
56276         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56277         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56278         mempcpy-ssse3-back memmove-ssse3-back.
56279         * sysdeps/x86_64/multiarch/bcopy.S: New file .
56280         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56281         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56282         * sysdeps/x86_64/multiarch/memcpy.S: New file.
56283         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56284         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56285         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56286         * sysdeps/x86_64/multiarch/memmove.c: New file.
56287         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56288         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56289         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56290         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56291         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56292         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56293         Define.
56294         (index_Fast_Copy_Backward): Define.
56295         (HAS_ARCH_FEATURE): Define.
56296         (HAS_FAST_REP_STRING): Define.
56297         (HAS_FAST_COPY_BACKWARD): Define.
56299 2010-06-21  Andreas Schwab  <schwab@redhat.com>
56301         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56302         Restore proper fallback handling.
56304 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
56306         [BZ #11701]
56307         * posix/group_member.c (__group_member): Correct checking loop.
56309         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56310         OOM in getpwuid_r correctly.  Return error number when the caller
56311         should return, otherwise -1.
56312         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56313         call returning > 0 value.
56314         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56316 2010-06-07  Andreas Schwab  <schwab@redhat.com>
56318         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56319         libc_nonshared.a from targets in modules-names.
56321 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
56323         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56324         requires it.
56326 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
56328         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56329         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56330         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56331         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56333 2010-06-02  Andreas Schwab  <schwab@redhat.com>
56335         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56337 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
56339         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56340         and F_GETPIPE_SZ.
56341         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56342         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56343         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56344         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56345         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56346         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56348 2010-06-14  Roland McGrath  <roland@redhat.com>
56350         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56352 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
56354         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56355         __REDIRECT followed by __THROW.
56356         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56357         * posix/getopt.h (getopt): Likewise.
56359 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
56361         * hurd/lookup-at.c (__file_name_lookup_at): Accept
56362         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
56363         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56364         in AT_FLAGS.
56365         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56366         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56368 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
56370         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56372 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
56374         [BZ #11640]
56375         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56376         Properly check family and model.
56378 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
56380         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56382 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
56384         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56386 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
56388         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56389         symbol reference.
56391 2010-05-19  Andreas Schwab  <schwab@redhat.com>
56393         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56394         symbol reference.
56396 2010-05-21  Andreas Schwab  <schwab@redhat.com>
56398         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56399         and internal_recvmmsg.
56400         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56401         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56402         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56403         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56405         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56406         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56407         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56409 2010-05-20  Andreas Schwab  <schwab@redhat.com>
56411         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56413 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
56415         POWER7 optimizations.
56416         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56417         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56419 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
56421         * version.h: Update for 2.13 development version.
56423 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
56425         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56426         exceptions.  Return 0.
56428 2010-05-07  Roland McGrath  <roland@redhat.com>
56430         * elf/ldconfig.c (main): Add a const.
56432 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
56434         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56435         (args_options): Add no-idn option.
56436         (ahosts_keys_int): Add idn_flags to ai_flags.
56437         (parse_option): Handle 'i' option to clear idn_flags.
56439         * malloc/malloc.c (_int_free): Possible race in the most recently
56440         added check.  Only act on the data if no current modification
56441         happened.
56443 See ChangeLog.17 for earlier changes.