hurd: fix build with pthread aio
[glibc.git] / ChangeLog
blob331b1dc347aa2f732506e7e12335d350b4e70b4e
1 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
4         priority against unexistent AIO_PRIO_DELTA_MAX.
6 2015-02-06  Roland McGrath  <roland@hack.frob.com>
8         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
9         Use sfi_breg on ldr.
10         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
11         Likewise.
13         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
14         it's defined.
15         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
16         Test SIGSETXID only if it's defined.
18         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
20         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
21         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
23         * nptl/tst-align2.c: Moved ...
24         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
25         * nptl/Makefile (tests): Remove tst-align2.
26         * sysdeps/unix/sysv/linux/Makefile
27         [$(subdir) = nptl] (tests): Add tst-align-clone.
28         * nptl/tst-getpid1.c: Moved ...
29         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
30         * nptl/tst-getpid2.c: Moved ...
31         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
32         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
33         * sysdeps/unix/sysv/linux/Makefile
34         [$(subdir) = nptl] (tests): ... here.
35         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
36         * sysdeps/unix/sysv/linux/Makefile
37         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
39         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
40         Drop trailing \n from perror argument.  Use return rather than exit.
42         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
43         on [SA_SIGINFO].
44         * nptl/tst-cancel21.c (do_test): Likewise.
45         * debug/tst-backtrace6.c: Include <signal.h> first thing.
46         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
47         [!SA_SIGINFO]: Make it a stub test.
49         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
50         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
52         * posix/tst-getlogin.c: Move to ...
53         * login/tst-getlogin.c: ... here.
54         * posix/Makefile (tests): Move tst-getlogin to ...
55         * login/Makefile (tests): ... here.
57         * libio/tst-atime.c (do_test): Move local variables SV and E
58         inside [ST_NOATIME] conditional.
60         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
62         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
64         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
65         (wait_code): New function replaces macro.
66         Call nanosleep rather than syscall.
68         * nptl/pt-system.c: Rewritten.  Put everything under
69         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
70         Use IFUNC to redirect when possible.
72         * nptl/pt-longjmp.c: Rewritten.  Put everything under
73         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
74         Use IFUNC to redirect when possible.
76         * nptl/pt-fork.c: Rewritten.  Put everything under
77         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
78         Use IFUNC to redirect when possible.
79         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
81         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
82         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
83         unconditionally nowadays.  This included the only reference to
84         __vdso_clock_gettime that appears outside libc proper.
85         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
86         Remove version set (containing only __vdso_clock_gettime).
87         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
88         Add attribute_hidden.
89         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
90         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
91         libc_hidden_data_def.
92         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
93         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
95         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
96         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
97         setrpcent, and getrpcport to ...
98         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
99         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
100         getrpcbynumber_r, and getrpcent_r to ...
101         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
102         * inet/getrpcbyname.c: Moved ...
103         * sunrpc/getrpcbyname.c: ... here.
104         * inet/getrpcbyname_r.c: Moved ...
105         * sunrpc/getrpcbyname_r.c: ... here.
106         * inet/getrpcbynumber.c: Moved ...
107         * sunrpc/getrpcbynumber.c: ... here.
108         * inet/getrpcbynumber_r.c: Moved ...
109         * sunrpc/getrpcbynumber_r.c: ... here.
110         * inet/getrpcent.c: Moved ...
111         * sunrpc/getrpcent.c: ... here.
112         * inet/getrpcent_r.c: Moved ...
113         * sunrpc/getrpcent_r.c: ... here.
114         * inet/Makefile (routines): Move those to ...
115         * sunrpc/Makefile (routines): ... here.
116         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
117         the $(subdirs) list.
118         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
119         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
120         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
121         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
123         * elf/Makefile (routines): Include $(all-dl-routines), not just
124         $(dl-routines).
125         (rtld-routines): Likewise.  Use = rather than :=.
126         * sysdeps/aarch64/Makefile [$(subdir) = elf]
127         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
128         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
129         * sysdeps/arm/Makefile: Likewise.
130         * sysdeps/i386/Makefile: Likewise.
131         * sysdeps/x86_64/Makefile: Likewise.
132         * sysdeps/hppa/Makefile [$(subdir) = elf]
133         (sysdep_routines, sysdep-rtld-routines): Don't add
134         $(sysdep-dl-routines) to these.
135         * sysdeps/ia64/Makefile: Likewise.
136         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
137         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
138         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
139         Don't add dl-static to these; sysdep-dl-routines alone is enough.
140         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
141         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
142         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
143         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
144         * sysdeps/powerpc/Makefile [$(subdir) = elf]
145         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
146         these; sysdep-dl-routines alone is enough.
148 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
150         [BZ #17932]
151         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
152         where multiplication results in zero and third argument is finite
153         and nonzero.
154         * math/auto-libm-test-in: Add more tests of fma.
155         * math/auto-libm-test-out: Regenerated.
157         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
158         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
159         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
160         (_FP_CMP_EQ): Likewise.
161         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
163         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
164         extra argument CHECK_NAN.  Redefine as wrapper around
165         _FP_EXTEND_CNAN.
167 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
169         * version.h (RELEASE): Set to "stable".
170         (VERSION): Set to "2.21"
171         * include/features.h (__GLIBC_MINOR__): Set to 21.
173         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
175 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
176             Paul Eggert  <eggert@cs.ucla.edu>
178         [BZ #16618]
179         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
180         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
181         size in bytes. Store needed elements in wpmax. Use needed size
182         in bytes for extend_alloca.
184 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
186         * manual/install.texi: Latest tested versions are GCC 4.9.2,
187         binutls 2.25, and texinfo 5.2.
188         * INSTALL: Regenerate.
189         * sysdeps/nios2/configure: Regenerate.
190         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
191         * manual/contrib.texi: Update.
192         * po/be.po: Update.
193         * po/bg.po: Update.
194         * po/ca.po: Update.
195         * po/cs.po: Update.
196         * po/da.po: Update.
197         * po/de.po: Update.
198         * po/el.po: Update.
199         * po/eo.po: Update.
200         * po/es.po: Update.
201         * po/fi.po: Update.
202         * po/fr.po: Update.
203         * po/gl.po: Update.
204         * po/hr.po: Update.
205         * po/hu.po: Update.
206         * po/ia.po: Update.
207         * po/id.po: Update.
208         * po/it.po: Update.
209         * po/ja.po: Update.
210         * po/ko.po: Update.
211         * po/lt.po: Update.
212         * po/nb.po: Update.
213         * po/nl.po: Update.
214         * po/pl.po: Update.
215         * po/pt_BR.po: Update.
216         * po/ru.po: Update.
217         * po/rw.po: Update.
218         * po/sk.po: Update.
219         * po/sl.po: Update.
220         * po/sv.po: Update.
221         * po/tr.po: Update.
222         * po/uk.po: Update.
223         * po/vi.po: Update.
224         * po/zh_CN.po: Update.
225         * po/zh_TW.po: Update.
227         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
228         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
229         * sysdeps/hppa/dl-irel.h: Remove #warning.
230         * sysdeps/hppa/entry.h: Provide prototype for
231         __canonicalize_funcptr_for_compare and cast argument.
232         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
233         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
234         * sysdeps/hppa/sotruss-lib.c: New file.
235         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
236         (atomic_compare_and_exchange_val_acq): Use __typeof__.
237         (atomic_compare_and_exchange_bool_acq): Likewise.
238         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
239         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
241         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
242         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
243         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
245 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
247         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
248         called function in non-PIC case.
250 2015-01-31  David S. Miller  <davem@davemloft.net>
252         * sysdeps/sparc/sparc32/bits/atomic.h
253         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
254         unlock not after it.
255         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
256         volatile register usage warnings from the compiler.
258         * sysdeps/sparc/nptl/sem_init.c: Delete.
259         * sysdeps/sparc/nptl/sem_post.c: Delete.
260         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
261         * sysdeps/sparc/nptl/sem_wait.c: Delete.
262         * sysdeps/sparc/sparc32/sem_init.c: New file.
263         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
264         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
265         padding explicitly initialized.
266         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
267         padding for in-semaphore spinlock.
268         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
269         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
270         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
271         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
272         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
273         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
274         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
275         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
276         version.
277         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
278         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
280 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
282         [BZ #17801]
283         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
284         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
285         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
286         New.
287         (index_AVX_Fast_Unaligned_Load): Likewise.
288         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
289         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
290         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
291         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
292         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
293         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
294         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
295         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
296         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
298 2015-01-29  Andreas Schwab  <schwab@suse.de>
300         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
302 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
304         [BZ #17892]
305         * nscd/nscd_stat.c (send_stats): Initialize DATA.
307 2015-01-28  Martin Sebor  <msebor@redhat.com>
309         * math/README.libm-test: Clarify. Add "How to read the test output."
311 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
313         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
314         Define to 0.
316 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
318         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
319         (__HAVE_64B_ATOMICS): Define to 0.
321 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
323         [BZ #17885]
324         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
325         value to set as new flag.
327         [BZ #16576]
328         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
329         and use _ARCH_PPCSQ instead.
330         (__ieee754_sqrt): Likewise.
331         (__ieee754_sqrtf): Likewise.
332         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
333         _ARCH_PPCSQ is defined.
334         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
335         fsqrt instruction.
336         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
337         _ARCH_PPCSQ is defined.
338         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
339         fsqrts instruction.
340         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
342 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
344         * iconv/loop.c: Suppress array out of bound warning caused by GCC
345         bug (GCC BZ #64739).
347 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
349         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
350         Mark _retval as used.
351         (lll_futex_wake_unlock): Likewise.
352         (lll_futex_timed_wait_requeue_pi): Likewise.
354         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
355         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
356         register variables.
358         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
359         libm_hidden_def.
361         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
362         (__bswap_64): Mark as __always_inline.
364 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
366         [BZ #15378]
367         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
368         when none of the search directories exist.
370 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
372         [BZ #17869]
373         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
374         power8 in .machine directive.
376         [BZ #17868]
377         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
378         set dependency from opd value.
380 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
382         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
383         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
384         architecture.
386 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
388         [BZ #17870]
389         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
390         with uint64_t.
391         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
392         (uint64_t) 1.
393         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
394         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
395         Replace 1UL with (uint64_t) 1.
396         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
397         int with uint64_t.
399 2015-01-23  Roland McGrath  <roland@hack.frob.com>
401         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
402         (if_freenameindex): Likewise.
404         * resource/getrlimit64.c: Add missing libc_hidden_def.
406 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
408         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
409         __label__.
410         (_FP_FMA): Likewise.
411         (_FP_TO_INT_ROUND): Likewise.
412         (_FP_FROM_INT): Likewise.
414 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
416         [BZ #16418]
417         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
418         Make code racy and cancel safe.
420 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
422         * sysdeps/arm/unwind-resume.h: Fix copyright year.
423         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
424         attribution.
426         * pwd/tst-getpw.c: Rewrite.
428         [BZ #17702]
429         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
430         (modules-names): Add moddummy1 and moddummy2.
431         ($(objpfx)tst-rec-dlopen): Define.
432         * dlfcn/moddummy1.c: New file.
433         * dlfcn/moddummy2.c: New file.
434         * dlfcn/tst-rec-dlopen.c: New file.
435         * elf/dl-cache.c (_dl_load_cache_lookup):
436         Return char*. Copy result with alloca/strcpy/strdup.
437         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
438         returns char*. Free cached. If not saving realname
439         free cached.
440         * elf/dl-open.c (dl_open_worker): Do not assert that
441         _r_debug->r_state is RT_CONSISTENT.
442         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
443         returns char*.
445 2015-01-21  Torvald Riegel  <triegel@redhat.com>
446             Carlos O'Donell  <carlos@redhat.com>
448         [BZ #12674]
449         * nptl/sem_waitcommon.c: New file.
450         * nptl/sem_wait.c: Include sem_waitcommon.c.
451         (__sem_wait_cleanup, do_futex_wait): Remove.
452         (__new_sem_wait): Adapt.
453         (__new_sem_trywait): New function.
454         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
455         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
456         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
457         (sem_timedwait): Adapt.
458         * nptl/sem_post.c (__new_sem_post): Adapt.
459         (futex_wake): New function.
460         (__old_sem_post): Add release MO fence.
461         * nptl/sem_open.c (sem_open): Adapt.
462         * nptl/sem_init.c (__new_sem_init): Adapt.
463         (futex_private_if_supported): New function.
464         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
465         (__old_sem_getvalue): Add using previous code.
466         * sysdeps/nptl/internaltypes.h: Adapt.
467         * nptl/tst-sem13.c (do_test): Adapt.
468         * nptl/tst-sem11.c (main): Adapt.
469         * nptl/sem_trywait.c: Remove.
470         * nptl/DESIGN-sem.txt: Remove.
471         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
472         (gen-as-const-headers): Remove structsem.sym.
473         * nptl/structsem.sym: Remove.
474         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
475         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
476         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
477         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
478         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
479         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
480         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
481         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
482         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
483         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
484         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
485         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
486         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
487         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
488         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
489         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
490         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
491         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
492         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
493         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
494         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
495         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
497 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
499         * INSTALL: Regenerated.
501         * po/libc.pot: Regenerated.
503 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
504             Sandra Loosemore  <sandra@codesourcery.com>
505             Andrew Jenner  <andrew@codesourcery.com>
506             Joseph Myers  <joseph@codesourcery.com>
507             Nathan Sidwell  <nathan@codesourcery.com>
509         * NEWS: Mention new Nios II port.
510         * sysdeps/nios2/Implies: New file.
511         * sysdeps/nios2/Makefile: New file.
512         * sysdeps/nios2/Subdirs: New file.
513         * sysdeps/nios2/Versions: New file.
514         * sysdeps/nios2/__longjmp.S: New file.
515         * sysdeps/nios2/abort-instr.h: New file.
516         * sysdeps/nios2/backtrace.c: New file.
517         * sysdeps/nios2/bits/endian.h: New file.
518         * sysdeps/nios2/bits/fenv.h: New file.
519         * sysdeps/nios2/bits/link.h: New file.
520         * sysdeps/nios2/bits/setjmp.h: New file.
521         * sysdeps/nios2/bsd-_setjmp.S: New file.
522         * sysdeps/nios2/bsd-setjmp.S: New file.
523         * sysdeps/nios2/configure: New generated file.
524         * sysdeps/nios2/configure.ac: New file.
525         * sysdeps/nios2/crti.S: New file.
526         * sysdeps/nios2/crtn.S: New file.
527         * sysdeps/nios2/dl-init.c: New file.
528         * sysdeps/nios2/dl-machine.h: New file.
529         * sysdeps/nios2/dl-sysdep.h: New file.
530         * sysdeps/nios2/dl-tls.h: New file.
531         * sysdeps/nios2/dl-trampoline.S: New file.
532         * sysdeps/nios2/gccframe.h: New file.
533         * sysdeps/nios2/gmp-mparam.h: New file.
534         * sysdeps/nios2/jmpbuf-offsets.h: New file.
535         * sysdeps/nios2/jmpbuf-unwind.h: New file.
536         * sysdeps/nios2/ldsodefs.h: New file.
537         * sysdeps/nios2/libc-tls.c: New file.
538         * sysdeps/nios2/libm-test-ulps: New file.
539         * sysdeps/nios2/machine-gmon.h: New file.
540         * sysdeps/nios2/math-tests.h: New file.
541         * sysdeps/nios2/math_private.h: New file.
542         * sysdeps/nios2/memusage.h: New file.
543         * sysdeps/nios2/nptl/Makefile: New file.
544         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
545         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
546         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
547         * sysdeps/nios2/nptl/pthreaddef.h: New file.
548         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
549         * sysdeps/nios2/nptl/tls.h: New file.
550         * sysdeps/nios2/preconfigure: New file.
551         * sysdeps/nios2/s_fma.c: New file.
552         * sysdeps/nios2/s_fmaf.c: New file.
553         * sysdeps/nios2/setjmp.S: New file.
554         * sysdeps/nios2/sfp-machine.h: New file.
555         * sysdeps/nios2/sotruss-lib.c: New file.
556         * sysdeps/nios2/stackguard-macros.h: New file.
557         * sysdeps/nios2/stackinfo.h: New file.
558         * sysdeps/nios2/start.S: New file.
559         * sysdeps/nios2/sysdep.h: New file.
560         * sysdeps/nios2/tls-macros.h: New file.
561         * sysdeps/nios2/tst-audit.h: New file.
562         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
563         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
564         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
565         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
566         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
567         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
568         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
569         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
570         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
571         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
572         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
573         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
574         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
575         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
576         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
577         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
578         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
579         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
580         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
581         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
582         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
583         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
584         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
585         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
586         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
587         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
588         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
589         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
590         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
591         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
592         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
593         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
594         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
595         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
596         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
597         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
598         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
599         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
600         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
601         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
602         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
603         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
604         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
605         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
607 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
609         [BZ #17844]
610         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
611         (getutent): Use weak_alias in non SHARED case
612         and default_symbol_version in SHARED case.
613         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
614         (getutent_r, pututline): Likewise.
615         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
616         (getutid): Likewise.
617         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
618         (getutid_r): Likewise.
619         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
620         (getutline): Likewise.
621         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
622         (getutline_r): Likewise.
623         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
624         (updwtmp): Likewise.
626 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
628         [BZ #17848]
629         * sysdeps/s390/s390-32/memcmp.S
630         (memcmp_g5): Rename to __memcmp_g5.
631         * sysdeps/s390/s390-32/memcpy.S
632         (memcpy_g5): Rename to __memcpy_g5.
633         Jump to __memcpy_mvcle instead of memcpy_mvcle.
634         (memcpy_mvcle) Rename to __memcpy_mvcle.
635         * sysdeps/s390/s390-32/memset.S
636         (memset_g5): Rename to __memset_g5.
637         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
638         (IFUNC_RESOLVE): Prefix ifunc-resolve function
639         and use prefixed functions.
640         * sysdeps/s390/s390-32/multiarch/memcmp.S
641         (memcmp_z196): Rename to __memcmp_z196.
642         (memcmp_z10): Rename to __memcmp_z10.
643         (memcmp): Set alias to __memcmp_g5.
644         (bcmp): Set alias to __memcmp_g5.
645         * sysdeps/s390/s390-32/multiarch/memcpy.S
646         (memcpy_z196): Rename to __memcpy_z196.
647         Jump to __memcpy_mvcle instead of memcpy_mvcle.
648         (memcpy_z10): Rename to __memcpy_z10.
649         Jump to __memcpy_mvcle instead of memcpy_mvcle.
650         (memcpy): Set alias to __memcpy_g5.
651         * sysdeps/s390/s390-32/multiarch/memset.S
652         (memset_z196): Rename to __memset_z196.
653         Jump to __memset_mvcle instead of memset_mvcle.
654         (memset_z10): Rename to __memset_z10.
655         Jump to __memset_mvcle instead of memset_mvcle.
656         (memset_mvcle) Rename to __memset_mvcle.
657         (memset): Set alias to __memset_g5.
658         * sysdeps/s390/s390-64/memcmp.S
659         (memcmp_z900): Rename to __memcmp_z900.
660         * sysdeps/s390/s390-64/memcpy.S
661         (memcpy_z900): Rename to __memcpy_z900.
662         Jump to __memcpy_mvcle instead of memcpy_mvcle.
663         (memcpy_mvcle) Rename to __memcpy_mvcle.
664         * sysdeps/s390/s390-64/memset.S
665         (memset_z900): Rename to __memset_z900.
666         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
667         (IFUNC_RESOLVE): Prefix ifunc-resolve function
668         and use prefixed functions.
669         * sysdeps/s390/s390-64/multiarch/memcmp.S
670         (memcmp_z196): Rename to __memcmp_z196.
671         (memcmp_z10): Rename to __memcmp_z10.
672         (memcmp): Set alias to __memcmp_z900.
673         (bcmp): Set alias to __memcmp_z900.
674         * sysdeps/s390/s390-64/multiarch/memcpy.S
675         (memcpy_z196): Rename to __memcpy_z196.
676         Jump to __memcpy_mvcle instead of memcpy_mvcle.
677         (memcpy_z10): Rename to __memcpy_z10.
678         Jump to __memcpy_mvcle instead of memcpy_mvcle.
679         (memcpy): Set alias to __memcpy_z900.
680         * sysdeps/s390/s390-64/multiarch/memset.S
681         (memset_z196): Rename to __memset_z196.
682         Jump to __memset_mvcle instead of memset_mvcle.
683         (memset_z10): Rename to __memset_z10.
684         Jump to __memset_mvcle instead of memset_mvcle.
685         (memset_mvcle) Rename to __memset_mvcle.
686         (memset): Set alias to __memset_z900.
688 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
690         [BZ #17748]
691         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
692         __fesetenv instead of fesetenv.
694 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
696         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
697         macro.
699 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
701         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
702         regression on LE.
704         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
705         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
706         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
707         strncmp-power8 object.
708         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
709         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
710         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
711         * NEWS: Update.
713 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
714             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
716         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
717         trailing byte check.
719 2015-01-13  David S. Miller  <davem@davemloft.net>
721         * include/signal.h (__sigreturn): Guard with __USE_MISC.
723 2015-01-13  Roland McGrath  <roland@hack.frob.com>
725         * login/logout.c (logout): Use memset rather than bzero.
726         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
727         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
728         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
729         (_gethtbyaddr): Likewise.
730         * locale/programs/simple-hash.c (bcopy): Macro removed.
732 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
734         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
735         Add strcmp-power8 object.
736         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
737         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
738         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
739         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
740         __strcmp_power8 implementation.
741         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
742         * NEWS: Update.
744         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
745         Add strncpy-power8 and stpncpy-power8 objects.
746         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
747         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
748         implementations.
749         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
750         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
751         __stpncpy_power8 implementation.
752         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
753         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
754         __strncpy_power8 implementation.
755         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
756         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
757         * NEWS: Update.
759         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
760         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
761         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
763         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
764         strncat-power8 object.
765         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
766         __strcat_power8 implementation.
767         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
768         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
769         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
770         optimized strcat for power8.
772         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
773         strcpy-power8 and stpcpy-power8 objects.
774         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
775         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
776         implementations.
777         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
778         multiarch stpcpy implementation for POWER8.
779         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
780         multiarch strcpy implementation for POWER8.
781         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
782         __strcpy_power8 function.
783         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
784         stpcpy for POWER8.
785         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
786         strcpy for POWER8.
787         * NEWS: Update.
789 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
791         [BZ #16009]
792         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
793         weights and rules. Use do_xfrm_cached if data fits in cache,
794         do_xfrm otherwise.  Moved former main loop to...
795         * (do_xfrm_cached): New function.
796         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
797         find_idx, find_position and stack_push.
798         * (find_idx): New function.
799         * (find_position): Likewise.
800         * localedata/sort-test.sh: Added test run for do_xfrm.
801         * localedata/xfrm-test.c (main): Added command line option
802         -nocache to run the test with strings that are too large for
803         the STRXFRM cache.
805 2015-01-13  Torvald Riegel  <triegel@redhat.com>
807         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
808         variable to lll_futex_wake call, not the value itself.
810 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
812         [BZ #17803]
813         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
814         twom64.  Adjust value to 0x1p-64L.
815         (__scalblnl): Only return standard underflowing result for K <=
816         -64 not K <= -63; adjust exponent for underflowing result by 64
817         not 63.
818         * math/libm-test.inc (scalbn_test_data): Add more tests.
819         (scalbln_test_data): Likewise.
821         [BZ #17834]
822         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
823         0x1p63L.
824         (__scalblnl): Get new exponent of adjusted subnormal value from ES
825         not HX.
826         * math/libm-test.inc (scalbn_test_data): Add more tests.
827         (scalbln_test_data): Likewise.
829 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
830             Stefani Seibold  <stefani@seibold.net>
832         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
833         (sysdep_routines): Add dl-vdso here, ...
834         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
835         (sysdep_routines): ... not here.
836         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
837         fallback when vDSO is not presented.
838         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
839         Define with libc_hidden_proto/libc_hidden_data_def definitions.
840         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
841         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
842         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
843         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
844         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
845         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
846         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
847         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
848         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
849         fallback configurable symbol when vDSO is not available.
850         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
851         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
852         be able to redefine fallback symbol when vDSO is not available.
853         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
854         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
856 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
858         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
859         (TLS_INIT_TP): Add tm_capable initialization.
860         (TLS_DEFINE_INIT_TP): Likewise.
861         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
862         TCB.
863         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
864         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
865         calculation.
866         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
867         transactoion is lock elision is built and TCB tm_capable is set.
868         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
870         (INTERNAL_SYSCALL_NCS): Likewise.
871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
872         (INTERNAL_SYSCALL_NCS): Likewise.
873         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
875         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
876         for powerpc.
877         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
878         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
879         and remove it for 32 bits case.
880         [pthread_rwlock_t] (__rwelision): New field for lock elision.
881         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
882         initialization.
883         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
884         Disable lock elision with rdlocks if elision is not available.
886         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
887         (sysdep_routines): Add lock elision objects.
888         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
889         [pthread_mutex_t] (__spins): Rework to add lock elision field.
890         [pthread_mutex_t] (__elision): Add field.
891         [__PTHREAD_SPINS]: Adjust to init lock elision field.
892         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
893         elision definitions for powerpc.
894         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
895         implementation of lock elision for powerpc.
896         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
897         implementation of timed lock elision for powerpc.
898         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
899         implementation of trylock with lock elision for powerpc.
900         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
901         implementaion of unlock for lock elision for powerpc.
902         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
903         automatic enable lock elision for mutexes.
904         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
905         transaction execution definitions for powerpc.
906         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
907         definitions.
908         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
909         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
910         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
911         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
912         * NEWS: Update.
914 2015-01-09  Roland McGrath  <roland@hack.frob.com>
916         * sysdeps/posix/shm-directory.c: Use <> rather than ""
917         for #include of <shm-directory.h>.
919 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
921         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
922         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
924 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
926         [BZ #17791]
927         * NEWS: Mention bug fix.
928         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
929         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
930         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
932 2015-01-09  Torvald Riegel <triegel@redhat.com>
934         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
936 2015-01-09  Torvald Riegel <triegel@redhat.com>
938         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
940 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
942         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
943         pointer and cast to uintptr_t.
945 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
947         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
948         removed.
949         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
951 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
953         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
954         of 0.
956 2015-01-08  Roland McGrath  <roland@hack.frob.com>
958         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
959         <nptl/pthreadP.h> instead.
960         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
962         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
963         already defined.
964         [__SIGRTMIN] (init): Function removed.
965         [__SIGRTMIN] (initialized): Variable removed.
966         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
967         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
968         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
969         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
970         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
971         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
972         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
973         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
974         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
975         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
976         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
977         * sysdeps/nptl/allocrtsig.c: New file.
978         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
979         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
980         * sysdeps/generic/testrtsig.h: File removed.
982         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
983         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
985         * nptl/nptl-init.c (pthread_functions): Conditionalize
986         .ptr__nptl_setxid initialization on [SIGSETXID].
988         * sysdeps/nptl/sys/procfs.h: New file.
989         * nptl_db/Makefile (headers): Add it.
990         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
992         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
993         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
994         * nptl/pthread_attr_setaffinity.c: Include it.
995         * nptl/pthread_setattr_default_np.c: Likewise.
996         * nptl/check-cpuset.h: New file.
998 2015-01-08  Richard Henderson  <rth@redhat.com>
1000         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1001         (CFLAGS-tst-execstack-prog.c): Likewise.
1002         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1004 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
1005             Sandra Loosemore  <sandra@codesourcery.com>
1006             Andrew Jenner  <andrew@codesourcery.com>
1007             Joseph Myers  <joseph@codesourcery.com>
1008             Nathan Sidwell  <nathan@codesourcery.com>
1010         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1011         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1012         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1013         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1014         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1015         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1016         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
1017         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1018         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1019         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1020         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1021         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1022         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1023         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1024         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1025         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1026         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1028 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1030         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1031         timespec struct member in syscall macro.
1032         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1033         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1034         first timeval struct member in syscall macro.
1035         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1037 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
1039         [BZ #17748]
1040         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1041         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1042         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1043         __feupdateenv and define as weak alias of __feupdateenv.  Use
1044         libm_hidden_weak.
1045         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1046         libm_hidden_def.
1047         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1048         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
1049         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1050         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1051         libm_hidden_def.
1052         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1053         __feupdateenv and define as weak alias of __feupdateenv.  Use
1054         libm_hidden_weak.
1055         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1056         libm_hidden_def.
1057         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1058         __feupdateenv and define as weak alias of __feupdateenv.  Use
1059         libm_hidden_weak.
1060         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1061         libm_hidden_def.
1062         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1063         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1064         (__feupdateenv): Likewise.
1065         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1066         __feupdateenv and define as weak alias of __feupdateenv.  Use
1067         libm_hidden_weak.
1068         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1069         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1070         libm_hidden_def.
1071         * sysdeps/tile/math_private.h (__feupdateenv): New inline
1072         function.
1073         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1074         libm_hidden_def.
1075         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1076         __feupdateenv instead of feupdateenv.
1077         (default_libc_feupdateenv_test): Likewise.
1078         (libc_feresetround_ctx): Likewise.
1080 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1082         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1083         prototype.
1085 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
1087         * posix/regcomp.c (parse_bracket_exp): Initialize type to
1088         COLL_SYM in a couple of places to avoid uninitialized variable
1089         wanings on tilegx gcc 4.8.2.
1091 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
1093         * sysdeps/aarch64/strcpy.S: New file.
1094         * sysdeps/aarch64/stpcpy.S: New file.
1095         * NEWS: Updated.
1097 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
1099         * sysdeps/aarch64/strrchr.S: New file.
1100         * NEWS: Updated.
1102 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
1104         [BZ #17658]
1105         * stdlib/setenv.c: Fix memory leak when setting large,
1106         duplicate string.
1108 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
1110         [BZ #17273]
1111         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1112         and tabs from buffer before parsing fstab entry.
1113         * misc/tst-mntent.c (main): Add test for mount entry with
1114         trailing spaces and tabs.
1116 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
1118         [BZ #17748]
1119         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
1120         * math/fesetround.c (fesetround): Rename to __fesetround and
1121         define as weak alias of __fesetround.  Use libm_hidden_weak.
1122         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1123         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1124         * sysdeps/arm/fesetround.c (fesetround): Likewise.
1125         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1126         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1127         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1128         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1129         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1130         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1131         __fesetround_inline.
1132         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1133         __fesetround_inline instead of __fesetround.
1134         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1135         __fesetround and define as weak alias of __fesetround.  Use
1136         libm_hidden_weak.  Call __fesetround_inline instead of
1137         __fesetround.
1138         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1139         __fesetround and define as weak alias of __fesetround.  Use
1140         libm_hidden_weak.
1141         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1142         Likewise.
1143         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1144         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1145         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1146         * sysdeps/tile/math_private.h (__fesetround): New inline function.
1147         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1148         __fesetround and define as weak alias of __fesetround.  Use
1149         libm_hidden_weak.
1150         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1151         __fesetround instead of fesetround.
1152         (default_libc_feholdexcept_setround): Likewise.
1153         (libc_feholdsetround_ctx): Likewise.
1154         (libc_feholdsetround_noex_ctx): Likewise.
1156         [BZ #17748]
1157         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1158         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1159         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1160         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
1161         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1162         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1163         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1164         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1165         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1166         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1167         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1168         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1169         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1170         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1171         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1172         libm_hidden_def.
1173         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1174         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1175         Likewise.
1176         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1177         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1178         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1179         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1180         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1181         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1182         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
1183         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1184         __fesetenv instead of fesetenv.
1185         (libc_feresetround_noex_ctx): Likewise.
1186         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1187         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1188         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1189         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1190         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1191         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1192         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1193         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1194         (__feupdateenv): Likewise.
1195         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1196         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1197         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1198         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1200 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
1202         [BZ #17806]
1203         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1204         addresses have been freed.
1206 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
1208         * resolv/res_init.c (__res_vinit): Improve comments about nserv
1209         and nservall.
1211 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
1213         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1214         Clean up check_pf allocation pattern. addresses
1216 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1218         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1219         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1220         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1221         * nptl/pthread_exit.c (__pthread_exit): Likewise.
1222         * nptl/pthread_join.c (pthread_join): Likewise.
1223         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1224         * sysdeps/posix/waitid.c (__waitid): Likewise.
1225         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1226         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1227         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1228         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1229         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1230         Likewise.
1231         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1232         (__libc_pread64): Likewise.
1233         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1234         (__libc_pwrite): Likewise.
1235         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1236         (__libc_pwrite64): Likewsie.
1237         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1238         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1239         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1240         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1241         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1242         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1243         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1245         Likewise.
1246         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1247         (__libc_pread64): Likewise.
1248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1249         Likewise.
1250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1251         (__libc_pwrite64): Likewise.
1252         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1253         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1254         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1255         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1256         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1257         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1258         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1259         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1260         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1261         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1262         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1263         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1264         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1265         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1266         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1267         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1268         Likewise.
1270 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
1272         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1273         (CFLAGS-test-double.c): Likewise.
1274         (CFLAGS-test-ldouble.c): Likewise.
1275         (CPPFLAGS-test-ifloat.c): Likewise.
1276         (CPPFLAGS-test-idouble.c): Likewise.
1277         (CPPFLAGS-test-ildoubl.c): Likewise.
1278         (CFLAGS-test-test-fenv.c): Remove variable.
1279         (CFLAGS-test-misc.c): Likewise.
1281 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
1283         [BZ #17797]
1284         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1285         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1286         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1287         CLOCKS_PER_SEC == 1000000.
1288         * time/clocktest.c (main): Replace %ld with %jd and cast to
1289         intmax_t.
1291 2015-01-05  Roland McGrath  <roland@hack.frob.com>
1293         * sysdeps/generic/unwind-resume.h: New file.
1294         * sysdeps/gnu/unwind-resume.c: Include it.
1295         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1296         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1297         argument list.
1298         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1299         global rather than static.
1300         (_Unwind_Resume): Update user.
1301         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1302         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
1303         rather than static.  Add __attribute__ ((cold)).
1304         (_Unwind_Resume, __gcc_personality_v0): Update callers.
1305         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1306         * sysdeps/arm/arm-unwind-resume.S: New file.
1307         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1308         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1309         * sysdeps/arm/Makefile [$(subdir) = csu]
1310         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1311         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1312         Add rt-arm-unwind-resume.
1313         [$(subdir) = nptl]
1314         (libpthread-sysdep_routines, libpthread-shared-only-routines):
1315         Add pt-arm-unwind-resume.
1316         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1317         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1319 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1321         [BZ #17748]
1322         * include/fenv.h (__feholdexcept): Declare.  Use
1323         libm_hidden_proto.
1324         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1325         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
1326         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1327         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1328         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1329         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1330         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1331         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1332         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1333         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1334         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1335         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1336         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1337         (feholdexcept): Likewise.
1338         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1339         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1340         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1341         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1342         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1343         __feholdexcept instead of feholdexcept.
1344         (default_libc_feholdexcept_setround): Likewise.
1346 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1348         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1349         to avoid using stl/str to align destination.
1351 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1353         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1355 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1357         [BZ #17796]
1358         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1359         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1360         Define as weak alias not strong alias.
1362 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1364         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1365         bltzal with addiupc.
1366         (RTLD_START): Ditto.
1368 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
1370         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1371         for __vdso_* functions in declarations.
1372         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1373         definitions.
1374         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1375         INTERNAL_VSYSCALL): Use struct return types to check for error.
1377         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1378         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1379         function with cast from llround().
1380         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1381         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1382         Define.
1384 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1386         [BZ #17793]
1387         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1388         Define as weak alias not strong alias.
1390         [BZ #17635]
1391         * ctype/ctype-c99.c: New file.  isblank implementation moved from
1392         ...
1393         * ctype/ctype-extn.c: ... here.
1394         (__isblank_l): Move to ...
1395         * ctype/ctype-c99_l.c: ... here.  New file.
1396         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1397         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1398         Remove variable.
1399         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1400         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1401         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1402         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1403         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1405         [BZ #17777]
1406         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1407         (posix_fadvise64): Define as weak alias not strong alias.
1408         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1409         (posix_fallocate64): Likewise.
1410         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1411         Remove variable.
1412         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1413         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1414         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1415         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1416         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1418 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
1420         [BZ #16191]
1421         * NEWS: Mention bug fix.
1422         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
1423         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
1424         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
1425         (HOST_STACK_END_ADDR): Likewise.
1427 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
1429         [BZ #17748]
1430         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
1431         * math/fegetround.c (fegetround): Rename to __fegetround and
1432         define as weak alias of __fegetround.  Use libm_hidden_weak.
1433         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
1434         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
1435         * sysdeps/arm/fegetround.c (fegetround): Likewise.
1436         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
1437         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1438         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
1439         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
1440         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
1441         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1442         Undefine after rather than before function definition; use
1443         parentheses around function name in definition.
1444         (__fegetround): Also undefine macro after function definition.
1445         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
1446         __fegetround and define as weak alias of __fegetround.  Use
1447         libm_hidden_weak.  Do not undefine as macro.
1448         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1449         Likewise.
1450         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
1451         __fegetround and define as weak alias of __fegetround.  Use
1452         libm_hidden_weak.
1453         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1454         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1455         * sysdeps/tile/math_private.h (__fegetround): New inline function.
1456         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
1457         __fegetround and define as weak alias of __fegetround.  Use
1458         libm_hidden_weak.
1459         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
1460         __fegetround instead of fegetround.
1462         [BZ #17782]
1463         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
1464         Condition macro definition on [__USE_MISC].
1466         [BZ #17781]
1467         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
1468         (struct sigaction): Change type of sa_flags field to int.
1470         [BZ #17780]
1471         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
1472         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
1473         __glibc_reserved0.
1475         * nptl/version.c (banner): Use single year in copyright notice.
1477         * NEWS: Update copyright dates.
1478         * catgets/gencat.c (print_version): Likewise.
1479         * csu/version.c (banner): Likewise.
1480         * debug/catchsegv.sh: Likewise.
1481         * debug/pcprofiledump.c (print_version): Likewise.
1482         * debug/xtrace.sh (do_version): Likewise.
1483         * elf/ldconfig.c (print_version): Likewise.
1484         * elf/ldd.bash.in: Likewise.
1485         * elf/pldd.c (print_version): Likewise.
1486         * elf/sotruss.sh: Likewise.
1487         * elf/sprof.c (print_version): Likewise.
1488         * iconv/iconv_prog.c (print_version): Likewise.
1489         * iconv/iconvconfig.c (print_version): Likewise.
1490         * locale/programs/locale.c (print_version): Likewise.
1491         * locale/programs/localedef.c (print_version): Likewise.
1492         * login/programs/pt_chown.c (print_version): Likewise.
1493         * malloc/memusage.sh (do_version): Likewise.
1494         * malloc/memusagestat.c (print_version): Likewise.
1495         * malloc/mtrace.pl: Likewise.
1496         * manual/libc.texinfo: Likewise.
1497         * nptl/version.c (banner): Likewise.
1498         * nscd/nscd.c (print_version): Likewise.
1499         * nss/getent.c (print_version): Likewise.
1500         * nss/makedb.c (print_version): Likewise.
1501         * posix/getconf.c (main): Likewise.
1502         * scripts/test-installation.pl: Likewise.
1503         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1505 2015-01-02  Will Newton  <will.newton@linaro.org>
1507         * sysdeps/arm/armv7/configure: Removed.
1508         * sysdeps/arm/armv7/configure.ac: Likewise.
1510 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
1512         * All files with FSF copyright notices: Update copyright dates
1513         using scripts/update-copyrights.
1514         * intl/plural.c: Regenerated.
1515         * locale/programs/charmap-kw.h: Likewise.
1516         * locale/programs/locfile-kw.h: Likewise.
1518 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1520         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
1522 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
1524         [BZ #17748]
1525         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
1526         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
1527         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1528         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
1529         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1530         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
1531         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1532         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
1533         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1534         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1535         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1536         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1537         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1538         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1539         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
1540         libm_hidden_def.
1541         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
1542         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
1543         Likewise.
1544         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
1545         define as weak alias of __fegetenv.  Use libm_hidden_weak.
1546         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
1547         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
1548         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
1549         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
1550         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
1551         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
1552         __fegetenv instead of fegetenv.
1553         (libc_feholdsetround_noex_ctx): Likewise.
1555 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
1557         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
1558         (Elf_MIPS_ABIFlags_v0): New structure.
1559         (EF_MIPS_FP64): Define.
1560         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
1561         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
1562         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
1563         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
1564         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
1565         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
1566         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
1567         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
1568         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
1569         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
1570         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
1571         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
1572         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
1573         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
1574         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
1575         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
1576         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
1577         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
1578         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
1579         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
1580         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
1581         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
1582         field.
1583         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
1584         EF_MIPS_FP64.
1585         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
1586         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
1587         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
1588         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
1589         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
1590         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
1591         * sysdeps/mips/tst-abi-interlink.c: Likewise.
1592         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
1593         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
1594         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
1595         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
1596         record the current FP ABI extension.
1597         (mips-mode-switch): Define to show if kernel headers support mode
1598         switching.
1599         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
1600         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
1601         supported SYSV ABI version to 3.
1602         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
1603         feature.
1605 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1606             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1608         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
1609         path.
1610         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
1612 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
1614         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
1615         __fegetround and redefine to call __fegetround.  Remove condition
1616         on [!__NO_MATH_INLINES].
1617         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
1618         function.
1619         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
1620         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1621         Remove macro.
1622         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
1623         instead of <fenv_libc.h>.
1624         (__llrintl): Call fegetround instead of __fegetround.
1625         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
1626         instead of <fenv_libc.h>.
1627         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
1628         (__lrintl): Call fegetround instead of __fegetround.
1629         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
1630         instead of <fenv_libc.h>.
1631         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
1632         (__rintl): Call fegetround instead of __fegetround.
1634 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
1636         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
1637         arrays.
1639 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
1641         [BZ #17775]
1642         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
1643         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
1644         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
1646 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1648         * sysdeps/i386/tls-macros.h: Include <features.h>.
1649         (TLS_LE): Use non-PIC version for GCC >= 5.0.
1650         (TLS_IE): Likewise.
1651         (TLS_LD): Likewise.
1652         (TLS_GD): Likewise.
1653         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
1654         define for GCC >= 5.0.
1656 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
1658         * math/test-fenv.c (test_single_exception, set_single_exc,
1659         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
1660         feexcp_mask_test, feenable_test, fe_single_test): Add
1661         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
1662         case where they are not used.
1663         * math/libm-test.inc: Likewise.
1664         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
1665         unused in the absence of FP rounding/exception support.
1666         * stdio-common/tst-printf-round.c: Likewise.
1667         * stdlib/tst-strtod-round.c: Likewise.
1668         * stdlib/tst-strtod-underflow.c: Likewise.
1670 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
1672         [BZ #17723]
1673         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
1674         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
1675         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1676         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1677         libm_hidden_weak.
1678         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
1679         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1680         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
1681         libm_hidden_def.
1682         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1683         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1684         libm_hidden_weak.
1685         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
1686         Likewise.
1687         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
1688         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1689         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1690         libm_hidden_weak.
1691         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1692         libm_hidden_def.
1693         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1694         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
1695         (__feraiseexcept): Likewise.
1696         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
1697         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
1698         libm_hidden_weak.
1699         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
1700         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
1701         libm_hidden_def.
1702         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
1703         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
1704         Use libm_hidden_def.
1705         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
1706         libm_hidden_def.
1707         (feraiseexcept): Define as weak not strong alias.  Use
1708         libm_hidden_weak.
1709         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
1710         New inline function.  Factored out of ...
1711         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
1712         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
1713         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
1714         feraiseexcept.
1715         * math/w_acos.c (__acos): Likewise.
1716         * math/w_asin.c (__asin): Likewise.
1717         * math/w_ilogb.c (__ilogb): Likewise.
1718         * math/w_j0.c (y0): Likewise.
1719         * math/w_j1.c (y1): Likewise.
1720         * math/w_jn.c (yn): Likewise.
1721         * math/w_log.c (__log): Likewise.
1722         * math/w_log10.c (__log10): Likewise.
1723         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
1724         * sysdeps/aarch64/fpu/math_private.h
1725         (libc_feupdateenv_test_aarch64): Likewise.
1726         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1727         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
1728         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
1729         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1730         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1731         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1732         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
1733         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1734         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1735         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1737 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
1739         [BZ #17732]
1740         * io/test-utime.c (main): Replace %ld with %jd and cast to
1741         intmax_t.
1742         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
1743         * nptl/tst-mutex5.c: Include <stdint.h>.
1744         (do_test): Replace %ld with %jd and cast to intmax_t.
1745         * posix/tst-regex.c (run_test): Likewise.
1746         (run_test_backwards): Likewise.
1747         * rt/tst-clock.c: Include <stdint.h>.
1748         (clock_test): Replace %ld with %jd and cast to intmax_t.
1749         * rt/tst-cpuclock1.c: Include <stdint.h>.
1750         (do_test): Replace %lu with %ju and cast to uintmax_t.
1751         * rt/tst-cpuclock2.c: Include <stdint.h>.
1752         (do_test): Replace %lu with %ju and cast to uintmax_t.
1753         * rt/tst-mqueue1.c: Include <stdint.h>.
1754         (check_attrs): Replace %ld with %jd and cast to intmax_t.
1755         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
1756         intmax_t.
1757         * rt/tst-mqueue4.c (do_test): Likewise.
1758         * rt/tst-timer4.c: Include <stdint.h>.
1759         (check_ts): Replace %ld with %jd and cast to intmax_t.
1760         (do_test): Likewise.
1761         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
1762         and cast to intmax_t.
1763         * sysdeps/pthread/tst-timer.c (main): Likewise.
1764         * time/clocktest.c (main): Likewise.
1765         * time/tst-posixtz.c (do_test): Likewise.
1766         * timezone/tst-timezone.c (main): Likewise.
1768 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
1769             H.J. Lu  <hongjiu.lu@intel.com>
1771         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
1772         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
1773         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
1774         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
1775         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
1776         version if bit_Fast_Unaligned_Load is set.
1777         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1778         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1779         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1780         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1781         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1782         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1783         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
1784         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
1785         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
1786         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
1787         to 4.
1788         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
1789         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
1790         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
1791         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
1793 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
1795         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
1796         instead of #if to avoid a Wundef warning.
1797         * stdlib/tst-limits.c (do_test): Likewise.
1799         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
1800         parallel other exception macros.
1801         (fegetenv): Convert from macro to extern inline so that it applies
1802         retroactively to inline functions already seen by the compiler.
1803         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
1805         * posix/Makefile (before-compile): Use $(objpfx) for
1806         posix-conf-vars-def.h.
1808 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1810         * posix/getconf.c (main): Use size_t for type of I.
1811         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
1812         NSPEC.
1814         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
1815         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
1816         * posix/posix-envs.def: Likewise.
1817         * sysdeps/posix/sysconf.c: Likewise.
1818         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
1819         (specs): Remove array.
1820         * scripts/gen-posix-conf-vars.awk: Support generation of specs
1821         array.
1823         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
1824         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
1825         (__sysconf): Use CONF_IS_* macros.
1827         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
1828         ($(objpfx)posix-conf-vars-def.h): New target.
1829         * posix/posix-conf-vars.list: New file.
1830         * posix/posix-conf-vars.h: New file.
1831         * posix/confstr.c: Include posix-conf-vars.h.
1832         (confstr): Use CONF_IS_* macros.
1833         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
1834         CONF_IS_* macros.
1835         * scripts/gen-posix-conf-vars.awk: New file.
1837 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
1839         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
1840         fegetround): Add no-op macros to avoid linknamespace issues.
1842         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
1843         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
1845         * sysdeps/unix/sysv/linux/tile/sysdep.h
1846         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
1847         assembly-specific section to avoid a redefinition warning.
1849         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
1850         long before casting to pointer to avoid a cast warning.
1852 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
1854         * sysdeps/tile/tilegx/Implies: New file.
1856 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
1858         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
1860 2014-12-23  Florian Weimer  <fweimer@redhat.com>
1862         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
1864 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
1866         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
1867         not define.
1868         * sysdeps/unix/sysv/linux/utimes.c: Do not include
1869         <kernel-features.h>.
1870         (__utimes) [__NR_utimes]: Make code unconditional.
1871         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
1872         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
1873         (__ASSUME_UTIMES): Do not undefine.
1874         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1875         (__ASSUME_UTIMES): Likewise.
1876         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
1877         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
1878         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
1879         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
1881 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
1883         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
1885 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
1887         [BZ #17747]
1888         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
1889         alias to weak alias for j0l, y0l.
1890         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
1891         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
1893         [BZ #17746]
1894         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
1895         conversion.
1897 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
1899         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
1900         to zero if not already defined.
1902 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
1904         [BZ #17724]
1905         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
1906         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
1907         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
1908         (char *) casts added.
1909         * sysdeps/ieee754/k_standardf.c: New file.
1910         * sysdeps/ieee754/k_standardl.c: Likewise.
1911         * math/Makefile (libm-support): Remove k_standard.
1912         (libm-calls): Add k_standard.
1914 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1916         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
1917         Optimize to avoid an unnecessary FPCR read.
1919 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1921         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
1922         Optimize to reduce FPCR/FPSR accesses.
1924 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1926         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
1927         Call libc_fetestexcept_aarch64.
1929 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
1931         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
1932         Call libc_fesetround_aarch64.
1934 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
1936         [BZ #17733]
1937         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
1938         (__bind): Do not define as weak alias.
1939         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
1940         define.
1941         (__getsockname): Do not define as weak alias.
1943 2014-12-22  Will Newton  <will.newton@linaro.org>
1945         * manual/install.texi: Document that we require bison 2.7
1946         or above.
1947         * INSTALL: Regenerate.
1948         * configure.ac: Use AC_CHECK_PROG_VER instead of
1949         AC_PATH_PROG when checking for bison and check for
1950         version 2.7 or above.
1951         * configure: Regenerate.
1953 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
1955         [BZ #17745]
1956         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
1957         * sysdeps/tile/ffsll.c (ffsll): To here.
1959         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
1961 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
1963         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
1964         if not defined.
1965         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
1966         definition.
1967         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1968         hidden ___tls_get_addr.
1969         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
1970         hidden __tls_get_addr.
1971         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
1972         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
1973         Likewise.
1975 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
1977         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
1978         _dl_init call.
1980 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
1982         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
1983         from "call _dl_init@PLT".
1984         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
1986 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
1988         * manual/search.texi: (Array Sort Function): Clarify stable sorting
1989         guarantees.
1991 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
1993         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
1995 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
1997         [BZ #17744]
1998         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
1999         strnlen.
2001 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
2003         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2004         of multu on MIPSr6.
2005         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2006         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2007         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2008         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2009         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2011 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
2013         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2014         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2015         (PTR_SUBU): Use subu for mips32r6/mips64r6.
2016         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
2017         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2018         mips32r6/mips64r6.
2019         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2021 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
2023         * string/strncat.c (STRNCAT): Simplify implementation.
2025 2014-12-19  David S. Miller  <davem@davemloft.net>
2027         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2028         access the quad as both a long double and as a series of 4 words.
2030         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2031         link_map->l_info array access.
2033 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
2035         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2037         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2038         * math/atest-exp2.c (TIMEOUT): Likewise.
2039         * math/atest-sincos.c (TIMEOUT): Likewise.
2041 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2043         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2044         -Wno-error with -fno-builtin-lround.
2046 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2048         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2049         Contains futex constants and functions moved over from ...
2050         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
2051         <lowlevellock-futex.h>.
2052         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2053         (lll_timedwait_tid): Add comments and parentheses around macro
2054         arguments.
2056 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2058         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2059         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
2060         (__lll_private_flag): Remove.
2061         (lll_futex_wait): Likewise.
2062         (lll_futex_timed_wait): Likewise.
2063         (lll_futex_wake): Likewise.
2064         (lll_futex_requeue): Likewise.
2065         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2066         (__lll_timedwait_tid): Spell out argument names.
2067         (lll_timedwait_tid): Add comments and parentheses around macro
2068         arguments.
2069         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2070         LLL_SHARED and LLL_PRIVATE usable from assembly code.
2072 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2074         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2075         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2076         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2077         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2078         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2079         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2080         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2081         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2082         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2083         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2084         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2085         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2086         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2087         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2088         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2089         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2090         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2091         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2092         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2094 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2096         * sysdeps/x86_64/x32/Makefile: New file.
2098 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2100         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2101         1L with (mp_limb_t) 1.
2103 2014-12-17  Roland McGrath  <roland@hack.frob.com>
2105         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2106         * nptl/libc_pthread_init.c: ... here.
2107         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2108         * nptl/register-atfork.c: ... here.
2110         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2111         Use pthread_sigmask rather than INTERNAL_SYSCALL.
2112         Use assert_perror to check its return value.
2113         (__gai_create_helper_thread): Likewise.
2115         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2117         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2119 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
2121         [BZ #17725]
2122         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2123         __profil_counter.
2124         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2125         Likewise.
2126         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2127         Likewise.
2128         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2129         Likewise.
2130         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2131         (profil_counter): Likewise.
2132         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2133         (profil_counter): Likewise.
2134         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2135         Likewise.
2136         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2137         Likewise.
2138         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2139         (profil_counter): Likewise.
2140         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2141         Likewise.
2142         [!__profil_counter] (profil_counter): Define as weak alias of
2143         __profil_counter.
2144         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2145         (profil_counter): Rename to __profil_counter.
2146         [!__profil_counter] (profil_counter): Define as weak alias of
2147         __profil_counter.
2148         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2149         (profil_counter): Rename to __profil_counter.
2150         [!__profil_counter] (profil_counter): Define as weak alias of
2151         __profil_counter.
2152         * sysdeps/posix/profil.c: Update comment referring to
2153         profil_counter.
2154         (__profil): Use __profil_counter instead of profil_counter.
2155         * sysdeps/posix/sprofil.c (profil_counter): Rename to
2156         __profil_counter.  Use __profil_counter_ushort and
2157         __profil_counter_uint in definitions.
2158         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2159         instead of profil_counter_uint and profil_counter_ushort.
2161         [BZ #17722]
2162         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2163         define as weak alias of __inet_makeaddr.
2164         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2165         as weak alias of __inet_addr.
2166         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2167         as weak alias of __inet_pton.  Use libc_hidden_weak.
2168         * include/arpa/inet.h (__inet_pton): Declare.  Use
2169         libc_hidden_proto.
2170         (inet_makeaddr): Don't use libc_hidden_proto.
2171         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
2172         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2173         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
2174         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2175         Remove variable.
2176         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2177         (test-xfail-POSIX/time.h/linknamespace): Likewise.
2179 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
2181         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2183 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2185         * stdio-common/bug-vfprintf-nargs.c (do_test):
2186         Cast value to intptr_t to avoid format warning
2187         for usage with PRIdPTR printing macro.
2189 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2191         * libio/tst-widetext.c (do_test):
2192         Use format type %td instead of %Zd for ptrdiff_t
2193         in order to avoid format warning.
2195 2014-12-17  Andreas Schwab  <schwab@suse.de>
2197         * nscd/mem.c (gc): Add size_t cast to match printf format.
2199 2014-12-16  Roland McGrath  <roland@hack.frob.com>
2201         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2202         (init): Apply PTR_MANGLE to pointers before storing them.
2203         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2204         before using them.
2206 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
2208         [BZ #17719]
2209         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2210         define as weak alias of __memrchr.
2211         (__memrchr): Do not define as strong alias of memrchr.
2212         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2213         Remove variable.
2214         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2215         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2216         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2218         [BZ #17717]
2219         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2220         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
2221         (if_indextoname): Rename to __if_indextoname and define as weak
2222         alias of __if_indextoname.  Use libc_hidden_weak.
2223         (if_freenameindex): Rename to __if_freenameindex and define as
2224         weak alias of __if_freenameindex.
2225         (if_nameindex): Rename to __if_nameindex and define as weak alias
2226         of __if_nameindex.
2227         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2228         __if_nametoindex and define as weak alias of __if_nametoindex.
2229         Use libc_hidden_weak.
2230         (if_freenameindex): Rename to __if_freenameindex and define as
2231         weak alias of __if_freenameindex.
2232         (if_nameindex): Rename to __if_nameindex and define as weak alias
2233         of __if_nameindex.
2234         (if_indextoname): Rename to __if_indextoname and define as weak
2235         alias of __if_indextoname.  Use libc_hidden_weak.
2236         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2237         __if_nametoindex and define as weak alias of __if_nametoindex.
2238         Use libc_hidden_weak.
2239         (if_freenameindex): Rename to __if_freenameindex and define as
2240         weak alias of __if_freenameindex.  Use libc_hidden_weak.
2241         (if_nameindex_netlink): Use __if_freenameindex instead of
2242         if_freenameindex.
2243         (if_nameindex): Rename to __if_nameindex and define as weak alias
2244         of __if_nameindex.  Use libc_hidden_weak.
2245         (if_indextoname): Rename to __if_indextoname and define as weak
2246         alias of __if_indextoname.  Use libc_hidden_weak.
2247         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2248         libc_hidden_proto.
2249         [!_ISOMAC] (__if_freenameindex): Likewise.
2250         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2251         if_nametoindex.
2252         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2253         variable.
2254         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2255         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2256         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2257         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2258         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2259         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2260         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2262         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2263         Remove variable.
2264         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2265         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2267 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2269         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2270         subscript above bounds'
2272         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2273         bounds.
2275 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
2277         * libio/tst-fopenloc.c: Use test-skeleton.c.
2279         * stdlib/tst-bsearch.c: Use test-skeleton.c.
2280         (entry): Rename to ITEM.
2281         (do_test, comp): Adjust.
2283         * stdio-common/tst-fseek.c: Use test-skeleton.c.
2285 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2287         * string/tester.c: Include <libc-internal.h>.
2288         (test_memset): Ignore -Wmemset-transposed-args.
2290 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2292         * misc/tst-mntent2.c (do_test): Fix warning.
2294 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2296         * elf/tst-unique4lib.cc(a): Mark as used.
2298 2014-12-16  Florian Weimer  <fweimer@redhat.com>
2300         [BZ #17630]
2301         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2302         names.
2304 2014-12-16  Allan McRae  <allan@archlinux.org>
2306         * stdio-common/Makefile (tests): Re-add bug26.
2308 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
2310         [BZ #17657]
2311         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2312         static array.
2314 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
2316         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2317         (__lll_lock_wait): Likewise.
2318         (__lll_timedlock_wait): Likewise.
2319         (__lll_timedwait_tid): Likewise.
2320         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2321         (__lll_robust_timedlock_wait): Likewise.
2322         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2323         (lll_cond_trylock): Likewise.
2324         (__lll_lock): Likewise.
2325         (__lll_robust_lock): Likewise.
2326         (__lll_cond_lock): Likewise.
2327         (lll_robust_cond_lock): Likewise.
2328         (__lll_timedlock): Likewise.
2329         (__lll_robust_timedlock): Likewise.
2330         (__lll_unlock): Likewise.
2331         (__lll_robust_unlock): Likewise.
2332         (lll_wait_tid): Likewise.
2333         (lll_timedwait_tid): Likewise.
2335 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2337         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2339 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2341         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2343 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
2345         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2346         * stdio-common/tst-sprintf.c: Likewise.
2348 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2350         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2352 2014-12-15  Jeff Law  <law@redhat.com>
2354         [BZ #16617]
2355         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2356         on the heap.  (CVE-2012-3406)
2357         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2358         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
2359         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2361 2014-12-15  Will Newton  <will.newton@linaro.org>
2363         * manual/install.texi: Bump required version of texinfo
2364         to 4.7 from 4.5.
2365         * INSTALL: Regenerated.
2366         * configure.ac: Check for makeinfo version 4.7 and above.
2367         * configure: Regenerated.
2369 2014-12-12  Roland McGrath  <roland@hack.frob.com>
2371         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2372         PREFIX, string constant to insert between directory and name.
2373         * sysdeps/posix/shm_open.c: Update caller.
2374         * sysdeps/posix/shm_unlink.c: Likewise.
2375         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2376         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2377         (SEM_SHM_PREFIX): New macro.
2378         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2379         [$(have-thread-library) = no].
2380         * nptl/Makefile (libpthread-routines): Add shm-directory.
2381         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2382         * sysdeps/nptl/shm-directory.h: New file.
2383         * sysdeps/posix/shm-directory.c
2384         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2385         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2386         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2387         INTERNAL_SYSCALL.
2388         (__where_is_shmfs): Function removed.
2389         (mountpoint, defaultmount, defaultdir, __namedsem_once):
2390         Variables removed.
2391         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2392         Use SHM_GET_NAME.
2393         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
2395         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2396         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2397         unconditional for use inside libpthread.
2398         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2400 2014-12-12  Roland McGrath  <roland@hack.frob.com>
2402         * nptl/pthread_getaffinity.c: New file.
2403         * nptl/pthread_setaffinity.c: New file.
2404         * nptl/pthread_getname.c: New file.
2405         * nptl/pthread_setname.c: New file.
2407         * nptl/pthread_create.c (START_THREAD_DEFN)
2408         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2410 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2411             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2413         * resolv/res_send.c (send_vc): Disable warning resplen may
2414         be used uninitialized.
2416 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2418         * nptl/tst-mutex6.c
2419         (ATTR_NULL): New define checks ATTR against NULL.
2420         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
2421         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
2423 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
2425         [BZ #17581]
2426         * malloc/hooks.c
2427         (mem2mem_check): Revert my previous change.
2428         (malloc_check_get_size): Revert my previous change.
2429         (mem2chunk_check): Revert my previous change.
2431 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2433         * sysdeps/posix/shm-directory.c: New file.
2434         * sysdeps/posix/shm-directory.h: New file.
2435         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
2436         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
2437         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
2438         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
2439         Transmute EPERM to EACCES.
2440         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
2441         from ...
2442         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
2443         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
2445 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
2447         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
2448         pointer and cast to uintptr_t.
2449         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
2450         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
2451         Add cast to avoid warning.
2452         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
2454 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
2456         * nptl/semaphore.h: Move to ...
2457         * sysdeps/pthread/semaphore.h: ... here.
2458         * Makefile (installed-headers): Change nptl/semaphore.h to
2459         sysdeps/pthread/semaphore.h.
2461 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2463         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
2464         generated error format strings.
2466         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
2467         -Wformat-extra-args warnings for scanf formats.
2468         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
2469         test of zero-length format (duh).
2470         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
2471         corner-case scanf format test.
2472         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
2473         generated fprintf format string.
2474         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
2475         corner-case sprintf format tests.
2476         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
2477         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
2478         -Wformat-extra-args warnings throughout.
2479         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
2480         (CFLAGS-scanf4.c): Likewise.
2481         (CFLAGS-scanf7.c): Likewise.
2482         (CFLAGS-tst-sprintf.c): Likewise.
2483         (CFLAGS-tst-printf.c): Likewise.
2484         (CFLAGS-tst-printfsz.c): Likewise.
2486 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
2488         * include/cpio.h: New file.
2489         * include/fmtmsg.h: Likewise.
2491         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
2492         corresponding format argument to size_t.
2493         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
2494         arguments.
2495         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
2496         corresponding format argument to size_t.
2497         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
2498         arguments.
2499         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
2500         corresponding format argument to size_t.
2501         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
2502         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
2503         (CFLAGS-tst-mbswcs2.c): Likewise.
2504         (CFLAGS-tst-mbswcs3.c): Likewise.
2505         (CFLAGS-tst-mbswcs4.c): Likewise.
2506         (CFLAGS-tst-mbswcs5.c): Likewise.
2507         (CFLAGS-tst-trans.c): Likewise
2509 2014-12-11  Roland McGrath  <roland@hack.frob.com>
2511         * posix/regexbug1.c (main): Use "%s" format with regerror results,
2512         rather than assuming they won't contain any '%'s.
2514 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
2516         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
2517         inhibit_loop_to_libcall to avoid recursive calls.
2518         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
2519         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
2521 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
2523         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
2524         prototype.
2526 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
2528         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
2529         integer value instead of boolean.
2531 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
2533         * malloc/malloc.c: Fix powerof2 check.
2535 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2537         * locale/programs/locfile.h (maybe_swap_uint32):
2538         Remove inline and add unused attribute.
2540 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
2542         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2543         Truncating assembler expression to a .long expression.
2545 2014-12-11  Andreas Schwab  <schwab@suse.de>
2547         * elf/rtld.c (struct map_args): Constify str member.
2548         (do_preload): Constify fname argument.
2550 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2552         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
2553         constants definition.
2555 2014-12-11  Andreas Schwab  <schwab@suse.de>
2557         [BZ #16657]
2558         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
2559         FORCE_ELISION instead of DO_ELISION.
2560         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
2561         Remove.
2562         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
2563         Likewise.
2565         * iconvdata/gconv-modules: Remove duplicate entry.
2567 2014-12-11  Will Newton  <will.newton@linaro.org>
2569         Merge gettext 0.19.3 into intl/.
2571         This involves a number of cosmetic changes to comments
2572         and ANSI function definitions and prototypes throughout
2573         all the files. The gettext copyright header is used but
2574         with the date ranges taken from the glibc copy.
2576         * NEWS: Add gettext merge to 2.21.
2577         * intl/bindtextdom.c: Switch to gettext copyright.
2578         Use ANSI definitions and prototypes.
2579         Use gl_* locking primitives rather than __libc_* ones.
2580         Use __builtin_expect rather than __glibc_likely/unlikely.
2581         * intl/dcgettext.c: Switch to gettext copyright.
2582         Use ANSI definitions and prototypes.
2583         * intl/dcigettext.c: Switch to gettext copyright.
2584         Use ANSI definitions and prototypes.
2585         (INTDIV0_RAISES_SIGFPE): New define.
2586         Use gl_* locking primitives rather than __libc_* ones.
2587         Include eval-plural.h instead of plural-eval.c.
2588         Use __builtin_expect rather than __glibc_likely/unlikely.
2589         * intl/dcngettext.c: Switch to gettext copyright.
2590         Use ANSI definitions and prototypes.
2591         * intl/dgettext.c: Likewise.
2592         * intl/dngettext.c: Likewise.
2593         * intl/plural-eval.c: Renamed to...
2594         * intl/eval-plural.h: ...this.
2595         * intl/explodename.c: Switch to gettext copyright.
2596         Use ANSI definitions and prototypes.
2597         (_nl_explode_name): Use strchr instead of __rawmemchr.
2598         * intl/finddomain.c: Switch to gettext copyright.
2599         Use ANSI definitions and prototypes.
2600         Use gl_* locking primitives rather than __libc_* ones.
2601         (_nl_find_domain): Use malloc rather than alloca for
2602         allocation of temporary locale name.
2603         * intl/gettext.c: Switch to gettext copyright.
2604         Use ANSI definitions and prototypes.
2605         * intl/gettextP.h: Switch to gettext copyright.
2606         Use ANSI definitions and prototypes.
2607         Use gl_* locking primitives rather than __libc_* ones.
2608         * intl/gmo.h: Switch to gettext copyright.
2609         (struct sysdep_string): Move struct segment_pair outside of
2610         struct definition.
2611         * intl/hash-string.c: Use ANSI definitions and prototypes.
2612         * intl/hash-string.h: Switch to gettext copyright.
2613         Use ANSI definitions and prototypes.
2614         * intl/l10nflist.c: Switch to gettext copyright.
2615         Use ANSI definitions and prototypes.
2616         (_nl_normalize_codeset): Avoid integer overflow.
2617         * intl/loadinfo.h: Switch to gettext copyright.
2618         Use ANSI definitions and prototypes.
2619         (LIBINTL_DLL_EXPORTED): New define.
2620         (PATH_SEPARATOR): New define.
2621         * intl/loadmsgcat.c: Switch to gettext copyright.
2622         * intl/localealias.c: Switch to gettext copyright.
2623         Use ANSI definitions and prototypes.
2624         (_nl_expand_alias): Use PATH_SEPARATOR.
2625         * intl/ngettext.c: Switch to gettext copyright.
2626         Use ANSI definitions and prototypes.
2627         * intl/plural-exp.c: Likewise.
2628         * intl/plural-exp.h: Switch to gettext copyright.
2629         Use ANSI definitions and prototypes.
2630         (struct expression): Move definition of enum operator outside
2631         of struct definition.
2632         * intl/plural.c: Regenerate.
2633         * intl/plural.y: Switch to gettext copyright.
2634         Use ANSI definitions and prototypes.
2635         Port to bison 3.0.
2636         * intl/textdomain.c: Switch to gettext copyright.
2637         Use ANSI definitions and prototypes.
2638         Use gl_* locking primitives rather than __libc_* ones.
2640 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
2642         * debug/warning-nop.c: Add used atrribute.
2644 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2646         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
2648         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
2649         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
2650         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
2652 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2653             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2655         [BZ #17634]
2656         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
2657         Undefine after defining function.  Define as weak alias of
2658         __wcschr.  Use libc_hidden_weak.
2659         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
2660         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
2661         (libc_hidden_def): Also define __GI___wcschr alias.
2662         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
2663         __wcschr and define as weak alias of __wcschr.
2664         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
2665         __wcschr.
2666         [!WCSCHR] (DEFAULT_WCSCHR): Define.
2667         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
2668         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
2669         libc_hidden_weak.  Do not use libc_hidden_def.
2670         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
2671         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
2672         __GI___wcschr alias.
2673         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
2674         [IS_IN (libc)] (wcschr): Define as macro expanding to
2675         __redirect_wcschr.
2676         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
2677         [IS_IN (libc)] (__wcschr_power6): Likewise.
2678         [IS_IN (libc)] (__wcschr_power7): Likewise.
2679         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
2680         instead of wcschr.
2681         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
2682         __libc_wcschr.
2683         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
2684         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
2685         __wcschr and define as weak alias of __wcschr.  Use
2686         libc_hidden_builtin_def.
2687         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
2688         as weak alias of __wcschr.  Use libc_hidden_weak.
2689         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
2690         wcschr.
2691         * time/era.c (_nl_init_era_entries): Likewise.
2692         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
2693         variable.
2694         (test-xfail-XPG3/time.h/linknamespace): Likewise.
2695         (test-xfail-XPG4/time.h/linknamespace): Likewise.
2697 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2699         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
2700         format for long int variable.
2702 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
2704         [BZ #10672]
2705         * manual/search.texi: (Array Sort Function): Remove claim how to make
2706         qsort stable.
2708 2014-12-10  Andreas Schwab  <schwab@suse.de>
2710         [BZ #12847]
2711         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
2712         user-controlled locks.
2714 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
2716         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
2717         register.
2719 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
2721         * configure.ac (--disable-werror): New configure option.
2722         (enable_werror): New AC_SUBST.
2723         * configure: Regenerated.
2724         * config.make.in (enable-werror): New variable.
2725         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
2726         -Wno-error=undef.
2727         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
2728         * manual/install.texi (Configuring and compiling): Document
2729         --disable-werror.
2730         * INSTALL: Regenerated.
2731         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
2732         (CFLAGS-tst-chk2.c): Likewise.
2733         (CFLAGS-tst-chk3.c): Likewise.
2734         (CFLAGS-tst-chk4.cc): Likewise.
2735         (CFLAGS-tst-chk5.cc): Likewise.
2736         (CFLAGS-tst-chk6.cc): Likewise.
2737         (CFLAGS-tst-lfschk1.c): Likewise.
2738         (CFLAGS-tst-lfschk2.c): Likewise.
2739         (CFLAGS-tst-lfschk3.c): Likewise.
2740         (CFLAGS-tst-lfschk4.cc): Likewise.
2741         (CFLAGS-tst-lfschk5.cc): Likewise.
2742         (CFLAGS-tst-lfschk6.cc): Likewise.
2744         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
2745         (main): Disable -Wdeprecated-declarations around calls to
2746         register_printf_function.
2748         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
2749         (do_test): Disable -Wdiv-by-zero around some calls to
2750         fwrite_unlocked and fread_unlocked.
2752         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
2753         (DIAG_POP_NEEDS_COMMENT): Likewise.
2754         (_DIAG_STR1): Likewise.
2755         (_DIAG_STR): Likewise.
2756         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
2757         * stdio-common/bug21.c: Include <libc-internal.h>.
2758         (do_test): Disable -Wformat around call to sscanf.
2759         * stdio-common/scanf14.c: Include <libc-internal.h>.
2760         (main): Disable -Wformat around some calls to scanf functions.
2762 2014-12-09  Torvald Riegel  <triegel@redhat.com>
2764         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
2766 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2768         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
2769         stack variable alignment.
2771 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
2773         [BZ #17682]
2774         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
2775         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
2776         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
2777         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
2778         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
2779         __getrlimit instead of getrlimit.
2780         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
2781         __gettimeofday instead of gettimeofday.
2782         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
2783         Likewise.
2784         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
2785         Likewise.
2786         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
2787         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
2788         Remove variable.
2789         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2790         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2792 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2794         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
2795         for wide-character tests.
2797 2014-12-04  Roland McGrath  <roland@hack.frob.com>
2799         * io/openat64.c: #include <libc-internal.h>
2800         (__openat64): Prototypify.  Use ignore_value on MODE.
2801         * io/openat.c: Likewise.
2802         * misc/reboot.c: #include <libc-internal.h>
2803         (reboot): Prototypify.  Use ignore_value on HOWTO.
2804         * misc/ptrace.c: #include <libc-internal.h>
2805         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
2807 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
2809         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
2810         XPG4, UNIX98 and XOPEN2K.
2811         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
2812         Remove variable.
2813         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2815 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
2817         * libio/fileops.c: Use ISO C style for function definitions.
2818         * libio/iofopen.c: Likewise.
2819         * libio/wfileops.c: Likewise.
2821         [BZ #17653]
2822         * libio/fileops.c (_IO_new_file_underflow): Unset cached
2823         offset on EOF.
2824         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
2825         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
2826         (fgets_func): Function pointer to fgets and fgetws.
2827         (do_ftell_test): Add test to verify ftell value after read
2828         EOF.
2829         (do_test): Set fgets_func.
2831         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
2832         O_TRUNC flag for w and w+ modes.
2833         (do_rewind_test): Likewise.
2834         (do_ftell_test): Likewise.
2835         (do_write_test): Likewise.
2837         [BZ #17647]
2838         * libio/fileops.c (do_ftell): Seek only when there are
2839         unflushed writes.
2840         * libio/wfileops.c (do_ftell_wide): Likewise.
2841         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
2842         test case.
2843         (do_one_test): Call it.
2845 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
2847         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
2848         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
2849         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
2850         Remove variable.
2851         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2852         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2853         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2855 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
2857         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
2858         Remove variable.
2859         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2861         [BZ #17668]
2862         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
2863         as weak alias of __getifaddrs.  Use libc_hidden_weak.
2864         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2865         __freeifaddrs.  Use libc_hidden_weak.
2866         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
2867         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
2868         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2869         __freeifaddrs.  Use libc_hidden_weak.
2870         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
2871         __getifaddrs and define as weak alias of __getifaddrs.  Use
2872         libc_hidden_weak.
2873         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
2874         __freeifaddrs.  Use libc_hidden_weak.
2875         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
2876         Remove variable.
2877         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2878         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2880 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
2882         [BZ #17601]
2883         * sysdeps/mips/start.S (__start): Use indirect jump to call
2884         __libc_start_main.
2886 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
2888         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
2890         * nptl/tst-mutex1.c: Include <stdbool.h>.
2891         [!ATTR] (ATTR_NULL): New macro.
2892         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
2893         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
2894         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
2896         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
2897         to char *.
2899         [BZ #17665]
2900         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
2901         Change conditional to [__USE_MISC].
2903         [BZ #17664]
2904         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
2905         fgets_unlocked.
2906         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
2907         __fgets_unlocked.
2908         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
2909         fgets_unlocked.
2910         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
2911         Remove variable.
2912         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2913         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2914         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2915         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2916         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2917         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2918         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2919         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2920         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2922         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
2924 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2926         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2927         Remove strpbrk objects.
2928         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2929         (__libc_ifunc_impl_list): Remove strpbrk implementation.
2930         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
2931         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
2932         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
2933         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
2935         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2936         Remove strcspn objects.
2937         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2938         (__libc_ifunc_impl_list): Remove strcspn implementation.
2939         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
2940         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
2941         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
2942         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
2944         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
2945         Remove strspn objetcs.
2946         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2947         (__libc_ifunc_impl_list): Remove strspn implementation.
2948         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
2949         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
2950         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
2951         * sysdeps/powerpc/powerpc64/strspn.S: New file.
2953 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
2955         [BZ #17581]
2956         * malloc/hooks.c
2957         (mem2mem_check): Add a terminator to the chain of checking blocks.
2958         (malloc_check_get_size): Use it here.
2959         (mem2chunk_check): Ditto.
2961 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2963         * sysdeps/powerpc/powerpc64/strtok.S: New file.
2964         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
2966 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
2968         * bits/ioctl-types.h: Indent preprocessor directives correctly.
2970         * nptl/nptl-init.c: Include libc-internal.h.
2971         (__pthread_initialize_minimal_internal): Use ROUND_UP.
2973         * elf/ldconfig.c (search_dir): Expand comment.
2975 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
2977         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
2978         variable.
2979         (linknamespace-symlist-stdlibs-tests): Likewise.
2980         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
2981         instead of $(objpfx)symlist-stdlibs.
2982         (linknamespace-libs-isoc): New variable.
2983         (linknamespace-libs): Use $(linknamespace-libs-isoc).
2984         (linknamespace-libs-ISO): New variable.
2985         (linknamespace-libs-ISO99): Likewise.
2986         (linknamespace-libs-ISO11): Likewise.
2987         (linknamespace-libs-XPG3): Likewise.
2988         (linknamespace-libs-XPG4): Likewise.
2989         (linknamespace-libs-POSIX): Likewise.
2990         (linknamespace-libs-UNIX98): Likewise.
2991         (linknamespace-libs-XOPEN2K): Likewise.
2992         (linknamespace-libs-POSIX2008): Likewise.
2993         (linknamespace-libs-XOPEN2K8): Likewise.
2994         ($(objpfx)symlist-stdlibs): Replace by
2995         $(linknamespace-symlist-stdlibs-tests).  Use
2996         $(linknamespace-libs-$*) as set of libraries.
2997         ($(linknamespace-header-tests)): Update dependencies.  Use
2998         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
2999         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3000         * conform/linknamespace.pl: Remove comment about considering
3001         definitions of symbols from irrelevant libraries.
3003 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
3005         [BZ #13862]
3006         * elf/dl-tls.c: Include <atomic.h>.
3007         (oom): Remove #ifdef SHARED/#endif.
3008         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3009         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
3010         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3011         big enough.
3012         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3013         * nptl/Makefile (tests): Add tst-stack4.
3014         (modules-names): Add tst-stack4mod.
3015         ($(objpfx)tst-stack4): New.
3016         (tst-stack4mod.sos): Likewise.
3017         ($(objpfx)tst-stack4.out): Likewise.
3018         ($(tst-stack4mod.sos)): Likewise.
3019         (clean): Likewise.
3020         * nptl/tst-stack4.c: New file.
3021         * nptl/tst-stack4mod.c: Likewise.
3023 2014-11-27  J. Brown  <jb999@gmx.de>
3025         * sysdeps/x86/bits/string.h: Add recent CPUs.
3027 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
3029         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3030         sigblock.
3032         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3033         feof.
3035         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3036         variable.
3038 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
3040         * nscd/connections.c: Include libc-internal.h because of macro
3041         usage ignore_value.
3043 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3045         * string/bits/string3.h (__warn_memset_zero_len): Don't
3046         declare for gcc newer than 5.0.
3047         (memset): Don't test for zero-length __LEN for gcc newer than
3048         5.0.
3050 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
3052         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3053         size_t for %zu format.
3055         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3056         difference, not %ju.
3058 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
3060         * include/libc-internal.h (ignore_value): New macro.
3061         * nscd/connections.c (restart): Wrap calls to setuid and setgid
3062         with ignore_value.
3064         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3065         definition.
3067         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3068         pthread_cleanup_push to void *.
3070         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3071         Undefine.
3073         [BZ #16619]
3074         [BZ #16740]
3075         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3076         instead of 1L << 52.
3078         * libio/bug-rewind.c (do_test): Check fwscanf return values.
3079         * libio/bug-rewind2.c (do_test): Likewise.
3081         * debug/test-stpcpy_chk-ifunc.c: Remove file.
3082         * debug/test-strcpy_chk-ifunc.c: Likewise.
3083         * wcsmbs/test-wcschr-ifunc.c: Likewise.
3084         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3085         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3086         * wcsmbs/test-wcslen-ifunc.c: Likewise.
3087         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3088         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3089         * Rules [$(multi-arch) = no] (tests): Do not filter out
3090         $(tests-ifunc).
3091         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3092         * debug/Makefile (tests-ifunc): Remove variable.
3093         (tests): Do not add $(tests-ifunc).
3094         * wcsmbs/Makefile (tests-ifunc): Remove variable.
3095         (tests): Do not add $(tests-ifunc).
3096         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3097         [TEST_IFUNC]: Remove conditionals.
3098         * string/test-string.h (TEST_IFUNC): Remove macro.
3099         [TEST_IFUNC]: Remove conditionals.
3101         * string/test-strchr.c [!WIDE] (L): New macro.
3102         [WIDE] (L): Likewise.
3103         (check1): Use CHAR instead of char.  Use L on string and character
3104         constants.
3106 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
3108         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3109         tests.
3110         * sysdeps/powerpc/bits/atomic.h
3111         (__arch_atomic_exchange_and_add_32_acq): Add definition.
3112         (__arch_atomic_exchange_and_add_32_rel): Likewise.
3113         (atomic_exchange_and_add_acq): Likewise.
3114         (atomic_exchange_and_add_rel): Likewise.
3115         * sysdeps/powerpc/powerpc32/bits/atomic.h
3116         (__arch_atomic_exchange_and_add_64_acq): Add definition.
3117         (__arch_atomic_exchange_and_add_64_rel): Likewise.
3118         * sysdeps/powerpc/powerpc64/bits/atomic.h
3119         (__arch_atomic_exchange_and_add_64_acq): Add definition.
3120         (__arch_atomic_exchange_and_add_64_rel): Likewise.
3122 2014-11-26  Torvald Riegel  <triegel@redhat.com>
3124         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3125         Change synchronization of __sched_fifo_min_prio and
3126         __sched_fifo_max_prio.
3127         * nptl/pthread_mutexattr_getprioceiling.c
3128         (pthread_mutexattr_getprioceiling): Likewise.
3129         * nptl/pthread_mutexattr_setprioceiling.c
3130         (pthread_mutexattr_setprioceiling): Likewise.
3131         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3132         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3133         Likewise.
3135 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
3137         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3138         void.
3140 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
3142         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3143         third argument const.
3145 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
3147         fnmatch: work around GCC compiler warning bug with uninit var
3148         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3149         This works around a bug with x86-64 GCC 4.9.2 and earlier
3150         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3151         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3152         used uninitialized in this function [-Wmaybe-uninitialized]".
3154 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
3156         * posix/bug-regex31.c (main): Return RES not 0.
3158 2014-11-25  Anton Blanchard <anton@samba.org>
3160         * sysdeps/powerpc/bits/atomic.h
3161         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3163 2014-11-24  Sterling Augustine  <saugustine@google.com>
3165         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3167 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
3169         [BZ #17608]
3170         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3172 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
3174         [BZ #17633]
3175         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3176         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3177         variable.
3178         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3179         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3181 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
3183         * string/strncpy.c (strncpy): Improve performance by using memset.
3185 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
3187         * string/strcpy.c (strcpy):
3188         Improve performance by using strlen and memcpy.
3190 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
3192         * string/strcoll_l.c (get_next_seq): __always_inline.
3193         * string/strcoll_l.c (do_compare): __always_inline.
3195 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3197         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3198         defined.
3199         * include/mqueue.h: Likewise.
3200         * include/stdlib.h: Likewise.
3202         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3203         (get_null_defines): Adjust.
3204         * sunrpc/Makefile: Adjust comment.
3205         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3206         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3207         (CFLAGS-interp.c): Likewise.
3208         (CFLAGS-ldconfig.c): Likewise.
3209         (CPPFLAGS-.os): Likewise.
3210         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3211         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3212         * extra-modules.mk (extra-modules.mk): Likewise.
3213         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3214         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3215         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3216         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3217         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3218         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3219         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3220         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3221         * iconvdata/Makefile (CPPFLAGS): Likewise.
3222         (cpp-srcs-left): Add libof for all iconvdata routines.
3223         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3224         * include/assert.h: Likewise.
3225         * include/ctype.h: Likewise.
3226         * include/errno.h: Likewise.
3227         * include/libc-symbols.h: Likewise.
3228         * include/math.h: Likewise.
3229         * include/netdb.h: Likewise.
3230         * include/resolv.h: Likewise.
3231         * include/stdio.h: Likewise.
3232         * include/stdlib.h: Likewise.
3233         * include/string.h: Likewise.
3234         * include/sys/stat.h: Likewise.
3235         * include/wctype.h: Likewise.
3236         * intl/l10nflist.c: Likewise.
3237         * libidn/idn-stub.c: Likewise.
3238         * libio/libioP.h: Likewise.
3239         * nptl/libc_multiple_threads.c: Likewise.
3240         * nptl/pthreadP.h: Likewise.
3241         * posix/regex_internal.h: Likewise.
3242         * resolv/res_hconf.c: Likewise.
3243         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3244         * sysdeps/arm/memmove.S: Likewise.
3245         * sysdeps/arm/sysdep.h: Likewise.
3246         * sysdeps/generic/_itoa.h: Likewise.
3247         * sysdeps/generic/symbol-hacks.h: Likewise.
3248         * sysdeps/gnu/errlist.awk: Likewise.
3249         * sysdeps/gnu/errlist.c: Likewise.
3250         * sysdeps/i386/i586/memcpy.S: Likewise.
3251         * sysdeps/i386/i586/memset.S: Likewise.
3252         * sysdeps/i386/i686/memcpy.S: Likewise.
3253         * sysdeps/i386/i686/memmove.S: Likewise.
3254         * sysdeps/i386/i686/mempcpy.S: Likewise.
3255         * sysdeps/i386/i686/memset.S: Likewise.
3256         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3257         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3258         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3259         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3260         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3261         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3262         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3263         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3264         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3265         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3266         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3267         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3268         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3269         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3270         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3271         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3272         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3273         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3274         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3275         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3276         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3277         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3278         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3279         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3280         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3281         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3282         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3283         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3284         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3285         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3286         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3287         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3288         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3289         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3290         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3291         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3292         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3293         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3294         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3295         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3296         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3297         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3298         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3299         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3300         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3301         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3302         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3303         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3304         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3305         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3306         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3307         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3308         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3309         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3310         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3311         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3312         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3313         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3314         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3315         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3316         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3317         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3318         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3319         * sysdeps/nptl/bits/libc-lock.h: Likewise.
3320         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3321         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3322         * sysdeps/posix/closedir.c: Likewise.
3323         * sysdeps/posix/opendir.c: Likewise.
3324         * sysdeps/posix/readdir.c: Likewise.
3325         * sysdeps/posix/rewinddir.c: Likewise.
3326         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3327         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3328         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3329         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3330         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3331         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3332         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3333         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3334         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3335         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3336         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3337         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3338         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3339         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3340         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3341         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3342         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3343         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3344         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3345         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3346         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3347         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3348         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3349         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3350         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3351         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3352         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3353         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3354         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3355         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3356         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3357         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3358         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3359         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3360         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3361         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3362         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3363         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3364         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3365         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3366         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3367         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3368         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3369         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3370         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3371         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3372         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3373         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3374         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3375         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3376         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3377         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3378         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3379         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3380         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3381         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3382         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3383         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3384         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3385         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3386         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3387         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3388         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3389         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3390         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3391         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3392         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3393         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3394         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3395         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3396         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3397         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3398         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3399         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3400         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3401         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3402         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3403         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3404         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3405         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3406         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3407         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3408         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3409         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3410         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3411         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3412         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3413         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3414         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3415         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3416         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3417         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3418         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3419         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
3420         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
3421         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
3422         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
3423         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
3424         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
3425         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
3426         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
3427         * sysdeps/unix/alpha/sysdep.S: Likewise.
3428         * sysdeps/unix/alpha/sysdep.h: Likewise.
3429         * sysdeps/unix/make-syscalls.sh: Likewise.
3430         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3431         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3432         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3433         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3434         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3435         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
3436         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
3437         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3438         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3439         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
3440         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3441         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3442         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3443         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3444         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3445         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
3446         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3447         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3448         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3449         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3450         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
3451         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3452         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3453         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3454         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3455         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3456         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3459         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
3460         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3461         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3462         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
3463         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3464         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3465         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3466         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
3467         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3468         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3469         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
3470         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3471         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3472         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3473         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3474         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3475         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3476         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3477         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
3478         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3479         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3480         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3481         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3482         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3483         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3484         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
3485         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3486         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3487         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3488         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
3489         * sysdeps/x86_64/memcpy.S: Likewise.
3490         * sysdeps/x86_64/memmove.c: Likewise.
3491         * sysdeps/x86_64/memset.S: Likewise.
3492         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
3493         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3494         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3495         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
3496         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3497         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3498         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3499         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
3500         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
3501         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3502         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
3503         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
3504         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
3505         * sysdeps/x86_64/multiarch/memset.S: Likewise.
3506         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
3507         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
3508         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
3509         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
3510         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
3511         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
3512         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
3513         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
3514         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
3515         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
3516         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
3517         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
3518         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
3519         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
3520         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
3521         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
3522         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
3523         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
3524         * sysdeps/x86_64/strcmp.S: Likewise.
3526         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
3528         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
3529         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
3530         * elf/rtld-Rules: Likewise.
3531         * elf/setup-vdso.h: Likewise.
3532         * include/assert.h: Likewise.
3533         * include/bits/stdlib-float.h: Likewise.
3534         * include/errno.h: Likewise.
3535         * include/sys/stat.h: Likewise.
3536         * include/unistd.h: Likewise.
3537         * sysdeps/aarch64/setjmp.S: Likewise.
3538         * sysdeps/alpha/setjmp.S: Likewise.
3539         * sysdeps/arm/__longjmp.S: Likewise.
3540         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
3541         * sysdeps/arm/setjmp.S: Likewise.
3542         * sysdeps/arm/sysdep.h: Likewise.
3543         * sysdeps/generic/_itoa.h: Likewise.
3544         * sysdeps/generic/dl-sysdep.h: Likewise.
3545         * sysdeps/generic/ldsodefs.h: Likewise.
3546         * sysdeps/i386/dl-tls.h: Likewise.
3547         * sysdeps/i386/setjmp.S: Likewise.
3548         * sysdeps/m68k/setjmp.c: Likewise.
3549         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
3550         * sysdeps/mach/hurd/opendir.c: Likewise.
3551         * sysdeps/posix/getcwd.c: Likewise.
3552         * sysdeps/posix/opendir.c: Likewise.
3553         * sysdeps/posix/profil.c: Likewise.
3554         * sysdeps/powerpc/dl-procinfo.h: Likewise.
3555         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
3556         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
3557         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
3558         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
3559         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
3560         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
3561         * sysdeps/s390/dl-tls.h: Likewise.
3562         * sysdeps/s390/s390-32/setjmp.S: Likewise.
3563         * sysdeps/s390/s390-64/setjmp.S: Likewise.
3564         * sysdeps/sh/sh3/setjmp.S: Likewise.
3565         * sysdeps/sh/sh4/setjmp.S: Likewise.
3566         * sysdeps/unix/alpha/sysdep.h: Likewise.
3567         * sysdeps/unix/arm/sysdep.S: Likewise.
3568         * sysdeps/unix/i386/sysdep.S: Likewise.
3569         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3570         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
3571         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
3572         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
3573         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3574         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
3575         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
3576         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3577         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
3578         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
3579         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
3580         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
3581         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
3582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
3583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
3584         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
3585         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
3586         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
3587         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
3588         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
3589         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
3590         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
3591         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
3592         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
3593         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3594         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
3595         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
3596         * sysdeps/unix/x86_64/sysdep.S: Likewise.
3597         * sysdeps/x86_64/setjmp.S: Likewise.
3599         * include/math.h: Use IS_IN instead of IS_IN_libm.
3600         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
3601         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
3602         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
3603         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
3604         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
3605         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
3606         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
3607         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
3608         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
3609         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
3610         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
3611         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
3612         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
3613         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
3614         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
3615         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
3616         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
3617         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
3618         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
3619         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
3620         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
3621         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
3622         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
3623         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
3624         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
3625         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
3626         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
3627         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
3628         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
3629         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
3630         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
3631         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3632         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
3633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
3634         Likewise.
3635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
3636         Likewise.
3637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
3638         Likewise.
3639         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
3640         Likewise.
3641         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
3642         Likewise.
3643         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3644         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
3645         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3646         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3647         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3648         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
3650         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
3651         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
3652         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
3653         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
3654         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
3655         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
3656         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
3657         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
3658         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
3659         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
3660         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
3661         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
3662         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3663         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
3664         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
3665         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
3666         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
3667         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
3668         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
3669         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
3671         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
3672         * nptl/pthreadP.h: Likewise.
3673         * nptl_db/structs.def: Likewise.
3674         * sysdeps/arm/sysdep.h: Likewise.
3675         * sysdeps/nptl/bits/libc-lock.h: Likewise.
3676         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3677         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
3678         * sysdeps/unix/alpha/sysdep.h: Likewise.
3679         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3680         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
3681         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3682         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3683         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3684         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3685         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
3686         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3687         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3688         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3689         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3690         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3691         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3692         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
3694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
3695         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3696         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3697         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3698         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3699         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3700         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3701         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
3702         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3703         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
3704         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3706         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
3707         * nptl/pthreadP.h: Likewise.
3708         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
3709         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
3710         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
3711         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
3712         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
3713         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
3714         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
3715         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
3716         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
3717         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
3718         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
3719         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
3720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
3721         Likewise.
3722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
3723         Likewise.
3724         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
3725         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
3726         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
3727         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
3728         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
3729         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
3730         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
3731         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
3733         * dlfcn/dladdr.c: Use IS_IN.
3734         * dlfcn/dladdr1.c: Likewise.
3735         * dlfcn/dlclose.c: Likewise.
3736         * dlfcn/dlerror.c: Likewise.
3737         * dlfcn/dlinfo.c: Likewise.
3738         * dlfcn/dlmopen.c: Likewise.
3739         * dlfcn/dlopen.c: Likewise.
3740         * dlfcn/dlsym.c: Likewise.
3741         * dlfcn/dlvsym.c: Likewise.
3743         * include/ifaddrs.h: Use IS_IN.
3744         * inet/check_pf.c: Likewise.
3745         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
3746         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
3748         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
3749         IS_IN_ldconfig.
3750         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
3751         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
3753         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
3754         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
3755         IS_IN (libc).
3757         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
3759         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
3760         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3761         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3762         * include/libc-symbols.h (IS_IN_LIB): New macro.
3763         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
3764         * include/netdb.h: Likewise.
3765         * include/stap-probe.h: Remove all uses of IN_LIB.
3767         * Makeconfig (module-cppflags-real): Define MODULE_NAME
3768         instead of IN_MODULE.
3769         * include/libc-symbols.h (IN_MODULE): Define using
3770         MODULE_NAME.
3771         (PASTE_NAME, PASTE_NAME1): New macros.
3772         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
3773         of IN_LIB.
3774         (STAP_PROBE_ASM): Likewise.
3776 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3778         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
3779         __mach_init in dlopened libc.
3781 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
3783         * sysdeps/arm/preconfigure.ac: Delete EABI check.
3784         * sysdeps/arm/preconfigure: Regenerate.
3786 2014-11-21  Roland McGrath  <roland@hack.frob.com>
3788         * nptl/pthread_create.c (__pthread_create_2_1): Set
3789         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
3790         when copying values from IATTR into PD.
3792 2014-11-21  Will Newton  <will.newton@linaro.org>
3793             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
3795         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
3796         Refactor inline-asm.  Also add comment.
3798         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
3799         ElfW macro instead of hardcoded Elf64 types.
3800         (la_aarch64_gnu_pltenter): Likewise.
3801         * sysdeps/aarch64/dl-machine.h
3802         (elf_machine_runtime_setup): Use ElfW(Addr).
3804         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
3805         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
3806         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
3807         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
3808         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
3809         (R_AARCH64_TLS_DTPMOD64): Rename to ..
3810         (R_AARCH64_TLS_DTPMOD): This.
3811         (R_AARCH64_TLS_DTPREL64): Rename to ...
3812         (R_AARCH64_TLS_DTPREL): This.
3813         (R_AARCH64_TLS_TPREL64): Rename to ...
3814         (R_AARCH64_TLS_TPREL): This.
3815         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
3816         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
3817         R_AARCH64_TLS_TPREL64.
3818         (elf_machine_rela): Likewise.
3820 2014-11-21  Torvald Riegel  <triegel@redhat.com>
3822         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
3823         by setting it to 0.  64b atomics are not supported currently.
3825 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3827         [BZ #16469]
3828         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
3829         search domain names.
3831 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3833         [BZ #16469]
3834         * NEWS: Update.
3835         * resolv/res_query.c (__libc_res_nquerydomain): Retain
3836         trailing dot.
3837         * posix/tst-getaddrinfo5.c: New.
3838         * posix/Makefile (tests): Add it.
3840 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3842         [BZ #14498]
3843         * NEWS: Fixed.
3844         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
3845         after parsing line but before break_if_match.
3846         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
3847         if there is a protocol mismatch.
3849 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
3851         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
3852         because the potential race is on the user-supplied stream.
3854 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3856         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
3857         string literal if not passed a buffer.
3858         * manual/job.texi (ctermid): Update reasoning, note deviation
3859         from posix, suggest mtasurace when not passed a buffer, for
3860         future non-preliminary safety notes.
3862 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3864         * manual/users.texi (cuserid): Fix MT-Safety note for the case
3865         of not passing it a buffer.
3866         Reported by Peng Haitao.
3868 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
3870         * manual/Makefile ($(objpfx)stamp-summary): Require
3871         check-safety.sh to pass.
3872         * manual/check-safety.sh: Wish for verification that every
3873         @deftypefn and @deftypefun is followed by a @safety remark.
3875 2014-11-20  Roland McGrath  <roland@hack.frob.com>
3877         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
3879         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
3880         PTHREAD_CANCEL_ASYNCHRONOUS.
3881         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
3882         send SIGCANCEL.
3884         * nptl/default-sched.h: New file.
3885         * sysdeps/unix/sysv/linux/default-sched.h: New file.
3886         * nptl/pthread_create.c: Include it.
3887         (__pthread_create_2_1): Use collect_default_sched instead of making
3888         Linux syscalls here directly.
3890 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3892         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
3893         __pthread_once): Use C11 atomics.
3895 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3897         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
3899 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3901         * include/atomic.h (__atomic_link_error, __atomic_check_size,
3902         atomic_thread_fence_acquire, atomic_thread_fence_release,
3903         atomic_thread_fence_seq_cst, atomic_load_relaxed,
3904         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
3905         atomic_compare_exchange_weak_relaxed,
3906         atomic_compare_exchange_weak_acquire,
3907         atomic_compare_exchange_weak_release,
3908         atomic_exchange_acquire, atomic_exchange_release,
3909         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
3910         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
3911         atomic_fetch_and_acquire,
3912         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
3914 2014-11-20  Torvald Riegel  <triegel@redhat.com>
3916         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
3917         USE_ATOMIC_COMPILER_BUILTINS): Define.
3918         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
3919         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3920         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
3921         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3922         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
3923         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3924         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
3925         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3926         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
3927         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3928         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
3929         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3930         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
3931         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3932         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
3933         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3934         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3935         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3936         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3937         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3938         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
3939         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3940         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
3941         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3942         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
3943         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3944         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
3945         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3946         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
3947         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3948         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
3949         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3950         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
3951         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3952         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
3953         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3954         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
3955         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3956         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
3957         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
3959 2014-11-19  Roland McGrath  <roland@hack.frob.com>
3961         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
3962         the sched_priority value here.  It was already checked when the user
3963         called pthread_attr_setschedparam.
3965         * nptl/tst-bad-schedattr.c: New file.
3966         * nptl/Makefile (tests): Add it.
3968 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
3969             Florian Weimer  <fweimer@redhat.com>
3970             Joseph Myers  <joseph@codesourcery.com>
3971             Adam Conrad  <adconrad@0c3.net>
3972             Andreas Schwab  <schwab@suse.de>
3973             Brooks  <bmoses@google.com>
3975         [BZ #17625]
3976         * wordexp-test.c (__dso_handle): Add prototype.
3977         (__register_atfork): Likewise.
3978         (__app_register_atfork): New function.
3979         (registered_forks): New global.
3980         (register_fork): New function.
3981         (test_case): Add 3 new tests for WRDE_CMDSUB.
3982         (main): Call __app_register_atfork.
3983         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
3984         fork count is non-zero fail the test.
3985         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
3986         is set.
3987         (parse_dollars): Remove check for WRDE_NOCMD.
3988         (parse_dquote): Likewise.
3990 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3992         * Makeconfig (built-modules): List non-library modules to be
3993         built.
3994         (module-cppflags): Include libc-modules.h for
3995         everything except shlib-versions.v.i.
3996         (CPPFLAGS): Use it.
3997         (before-compile): Add libc-modules.h.
3998         ($(common-objpfx)libc-modules.h,
3999         $(common-objpfx)libc-modules.stmp): New targets.
4000         (common-generated): Add libc-modules.h and libc-modules.stmp.
4001         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4002         * include/libc-symbols.h: Don't include libc-modules.h.
4003         * include/libc-modules.h: Remove file.
4004         * scripts/gen-libc-modules.awk: New script to generate
4005         libc-modules.h.
4006         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4007         Depend on libc-modules.stmp.
4009         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4011         * Makeconfig (in-module): Get value of libof set for the
4012         translation unit.
4013         (CPPFLAGS): Use $(in-module).
4014         * Makerules: Don't suffix routine names for nonlib.
4015         * include/libc-modules.h: New file.
4016         * include/libc-symbols.h: Include libc-modules.h
4017         (IS_IN): New macro to replace IS_IN_* macros.
4018         * elf/Makefile: Set libof-* for each routine.
4019         * elf/rtld-Rules: Likewise.
4020         * extra-modules.mk: Likewise.
4021         * iconv/Makefile: Likewise.
4022         * iconvdata/Makefile: Likewise.
4023         * locale/Makefile: Likewise.
4024         * malloc/Makefile: Likewise.
4025         * nss/Makefile: Likewise.
4026         * sysdeps/gnu/Makefile: Likewise.
4027         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4028         * sysdeps/unix/sysv/linux/Makefile: Likewise.
4029         * sysdeps/s390/s390-64/Makefile: Likewise.
4030         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
4031         CPPFLAGS for nscd instead of nonlib.
4033 2014-11-18  Roland McGrath  <roland@hack.frob.com>
4035         * nptl/createthread.c: New file.
4037         * nptl/createthread.c: Moved ...
4038         * sysdeps/unix/sysv/linux/createthread.c: ... here.
4040         * nptl/createthread.c: Add proper top-line comment.
4041         (do_clone): Folded into ...
4042         (create_thread): ... here.  Take new arguments STOPPED_START and
4043         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
4044         increment __nptl_threads, do event-reporting logic, do
4045         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4046         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
4047         resource cleanup if sched_setaffinity or sched_setscheduler fails,
4048         just send SIGCANCEL.
4049         * nptl/pthread_create.c: Forward-declare create_thread before
4050         including createthread.c.
4051         (start_thread): Use new macro START_THREAD_DEFN to replace defining
4052         declaration, and new macro START_THREAD_SELF to replace argument.
4053         Remove return statement.
4054         (report_thread_creation): New function.
4055         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
4056         synchronization logic, and __nptl_nthreads increment here, around
4057         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
4058         PD->parent_cancelhandling here, before create_thread.  When
4059         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4060         __deallocate_stack, and ENOMEM translation here.
4062 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
4064         [BZ #17616]
4065         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4066         (mptwo): Rename to __mptwo.
4067         (__inv): Use __mptwo instead of mptwo.
4068         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4069         (mptwo): Rename to __mptwo.
4070         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4071         of mpone and __mptwo instead of mptwo.
4072         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4073         instead of mpone.
4074         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4075         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4076         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4077         of mpone and __mptwo instead of mptwo.
4078         (__mpranred): Use __mpone instead of mpone.
4079         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4080         variable.
4081         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4082         (test-xfail-ISO99/math.h/linknamespace): Likewise.
4083         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4084         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4085         (test-xfail-ISO11/math.h/linknamespace): Likewise.
4086         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4087         (test-xfail-XPG3/math.h/linknamespace): Likewise.
4088         (test-xfail-XPG4/math.h/linknamespace): Likewise.
4089         (test-xfail-POSIX/math.h/linknamespace): Likewise.
4090         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4091         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4092         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4093         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4094         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4095         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4096         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4097         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4098         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4099         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4101 2014-11-18  Tom de Vries  <tom@codesoucery.com>
4103         * manual/signal.texi (Primitives Interrupted by Signals): In section,
4104         replace BSD Handler xref with BSD Signal Handling.
4106 2014-11-17  Richard Henderson  <rth@redhat.com>
4108         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4109         (_FP_PACK_RAW_2): Remove.
4110         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4111         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4112         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4113         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4114         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4115         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4116         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4117         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4118         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4119         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4120         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4121         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4122         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4123         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4124         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4125         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4127 2014-11-14  Roland McGrath  <roland@hack.frob.com>
4129         * signal/signal.h [__USE_MISC]
4130         (struct sigvec): Remove type.
4131         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4132         (sigvec): Remove declaration.
4133         * sysdeps/posix/sigvec.c: Moved ...
4134         * signal/sigvec.c: ... here, replacing old file.
4135         (struct sigvec): New type, copied from old signal.h definition.
4136         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4137         (__sigvec): Convert definition to prototype.
4138         (sigvec): Replace weak_alias with compat_symbol.
4139         * signal/Versions (libc: GLIBC_2.21): New version set.
4140         * include/signal.h: Remove __sigvec declaration.
4141         * sysdeps/unix/bsd/sigvec.c: Remove file.
4142         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4143         * manual/signal.texi (BSD Handler): Remove subsection.
4144         Move siginterrupt up to ...
4145         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
4146         (Blocking in BSD): Fold subsection into its parent.
4147         * NEWS: Mention sigvec removal.
4149 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
4151         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4152         (DLA_FMS): Make definition conditional only on [__FMA4__].
4153         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4154         definition.
4156         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4157         Make definition conditional only on [PROF].
4158         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4159         definition.
4160         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4161         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4163         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4164         !__GNUC__].
4165         * include/signal.h (__sigpause): Move declaration above call to
4166         libc_hidden_proto.
4167         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4168         variable.
4169         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4170         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4172 2014-11-14  David S. Miller  <davem@davemloft.net>
4174         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4175         Define before including <string/memcpy.c> and <string/mempcpy.c>.
4177 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
4179         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4180         * configure: Regenerated.
4181         * manual/install.texi (Tools for Compilation): Document a
4182         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4183         compiler verified to work.
4184         * INSTALL: Regenerated.
4186         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4187         redeclare with asm name.
4188         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4189         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4190         including <string.h>.
4191         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4192         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4193         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4194         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4195         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4196         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4197         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4199 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
4201         * stdlib/strtol.c (__strtol): Use prototype definition.
4203         [BZ #17594]
4204         * stdlib/strtol.c (SYM__): New macro.
4205         (SYM__1): Likewise.
4206         (__strtol): Likewise.
4207         (strtol): Rename to __strtol and define as weak alias of
4208         __strtol.  Use libc_hidden_weak.
4210 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4212         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4213         Use numbered labels in inline assembly.
4215 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4217         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4218         Add setjmp LIBC_PROBE.
4219         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4220         Likewise.
4221         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4222         Add longjmp, longjmp_target LIBC_PROBE.
4223         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4224         Likewise.
4226 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4228         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4229         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4230         to get rid of unused variable warning.
4232 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4234         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4235         Check for unwind_backtrace ==  NULL only in SHARED case.
4236         (__backchain_backtrace): Compile only in SHARED case.
4237         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4238         Likewise.
4239         (__backchain_backtrace): Declare as static.
4241 2014-11-12  Roland McGrath  <roland@hack.frob.com>
4243         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4244         (__libc_multiple_threads_ptr): Variable moved ...
4245         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4247 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
4249         * conform/GlibcConform.pm: New file.
4250         * conform/conformtest.pl: Use GlibcConform module.
4251         * conform/linknamespace.pl: New file.
4252         * conform/list-header-symbols.pl: Likewise.
4253         * conform/Makefile (linknamespace-symlists-base): New variable.
4254         (linknamespace-symlists-tests): Likewise.
4255         (linknamespace-header-base): Likewise.
4256         (linknamespace-header-tests): Likewise.
4257         (tests-special): Add new tests.
4258         ($(linknamespace-symlists-tests)): New rule.
4259         (linknamespace-libs): New variable.
4260         ($(objpfx)symlist-stdlibs): New rule.
4261         ($(linknamespace-header-tests)): Likewise.
4262         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4263         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4264         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4265         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4266         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4267         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4268         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4269         (test-xfail-ISO/math.h/linknamespace): Likewise.
4270         (test-xfail-ISO/signal.h/linknamespace): Likewise.
4271         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4272         (test-xfail-ISO/time.h/linknamespace): Likewise.
4273         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4274         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4275         (test-xfail-ISO99/math.h/linknamespace): Likewise.
4276         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4277         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4278         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4279         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4280         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4281         (test-xfail-ISO11/math.h/linknamespace): Likewise.
4282         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4283         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4284         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4285         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4286         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4287         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4288         (test-xfail-XPG3/math.h/linknamespace): Likewise.
4289         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4290         (test-xfail-XPG3/search.h/linknamespace): Likewise.
4291         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4292         (test-xfail-XPG3/time.h/linknamespace): Likewise.
4293         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4294         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4295         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4296         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4297         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4298         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4299         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4300         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4301         (test-xfail-XPG4/math.h/linknamespace): Likewise.
4302         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4303         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4304         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4305         (test-xfail-XPG4/search.h/linknamespace): Likewise.
4306         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4307         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4308         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4309         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4310         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4311         (test-xfail-XPG4/time.h/linknamespace): Likewise.
4312         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4313         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4314         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4315         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4316         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4317         (test-xfail-POSIX/math.h/linknamespace): Likewise.
4318         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4319         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4320         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4321         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4322         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4323         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4324         (test-xfail-POSIX/time.h/linknamespace): Likewise.
4325         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4326         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4327         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4328         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4329         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4330         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4331         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4332         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4333         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4334         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4335         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4336         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4337         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4338         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4339         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4340         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4341         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4342         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4343         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4344         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4345         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4346         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4347         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4348         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4349         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4350         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4351         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4352         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4353         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4354         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4355         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4356         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4357         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4358         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4359         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4360         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4361         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4362         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4363         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4364         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4365         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4366         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4367         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4368         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4369         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4370         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4371         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4372         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4373         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4374         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4375         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4376         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4377         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4378         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4379         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4380         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4381         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4382         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4383         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4384         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4385         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4386         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4387         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4388         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4389         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4390         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4391         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4392         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4393         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4394         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4395         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4396         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4397         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4398         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4399         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4400         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4401         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4402         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4403         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4404         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4405         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4406         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4407         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4408         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4409         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4410         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4411         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4412         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4413         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4414         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4415         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4416         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4417         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4418         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4419         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
4420         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4421         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
4422         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
4424         [BZ #17589]
4425         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
4426         of fgets_unlocked.
4428         [BZ #17585]
4429         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
4430         (memmem): Rename to __memmem and define as weak alias of
4431         __memmem.  Use libc_hidden_weak.
4432         (__memmem): Use libc_hidden_def.
4433         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
4434         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
4435         memmem.
4437         [BZ #17582]
4438         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
4439         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
4440         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
4441         and define as weak alias of __fgets_unlocked.  Use
4442         libc_hidden_weak.
4443         (__fgets_unlocked): Use libc_hidden_def.
4444         * include/stdio.h (__fgets_unlocked): Declare.  Use
4445         libc_hidden_proto.
4446         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
4447         __fgets_unlocked instead of fgets_unlocked.
4448         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
4449         (GET_NPROCS_CONF_PARSER): Likewise.
4450         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
4451         (GET_NPROCS_CONF_PARSER): Likewise.
4453         [BZ #17574]
4454         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
4455         weak alias of __wmemset.  Use libc_hidden_weak.
4456         (__wmemset): Use libc_hidden_def.
4457         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
4458         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
4459         of wmemset.
4461         [BZ #17573]
4462         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
4463         with asm name __mempcpy.
4464         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
4466         [BZ #17572]
4467         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
4468         and define as weak alias of __rawmemchr.
4469         (__rawmemchr): Do not define as strong alias of rawmemchr.
4471         [BZ #17571]
4472         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
4473         alias of __qsort_r.
4474         (qsort): Call __qsort_r instead of qsort_r.
4475         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
4476         (__qsort_r): Declare.  Call libc_hidden_proto.
4477         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
4478         instead of qsort_r.
4479         * nscd/gai.c (__qsort_r): Define to qsort_r.
4480         * posix/tst-rfc3484.c (__qsort_r): Likewise.
4481         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
4482         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
4484         [BZ #17570]
4485         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
4486         define as weak alias of __malloc_info.
4488         [BZ #17584]
4489         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
4490         as weak alias of __rewinddir.  Don't use libc_hidden_def.
4491         (__rewinddir): Use libc_hidden_def.
4492         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
4493         as weak alias of __rewinddir.  Don't use libc_hidden_def.
4494         (__rewinddir): Use libc_hidden_def.
4495         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
4496         weak alias of __rewinddir.  Don't use libc_hidden_def.
4497         (__rewinddir): Use libc_hidden_def.
4498         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
4499         (__rewinddir): Use libc_hidden_proto.
4500         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
4501         rewinddir.
4502         (__getcwd): Use __rewinddir instead of rewinddir.
4504         [BZ #17583]
4505         * libio/fileno.c (fileno): Rename to __fileno and define as weak
4506         alias of __fileno.  Use libc_hidden_weak.
4507         (__fileno): Use libc_hidden_def.
4508         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
4509         * libio/ftello.c (ftello): Rename to __ftello and define as weak
4510         alias of __ftello.
4511         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
4512         __ftello.
4513         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
4514         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
4515         libc_hidden_def.
4516         (fread_unlocked): Don't use libc_hidden_ver.
4517         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
4518         and define as weak alias of __fread_unlocked.  Don't use
4519         libc_hidden_def.
4520         (__fread_unlocked): Use libc_hidden_def.
4521         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
4522         (ftello): Don't use libc_hidden_proto.
4523         (__ftello): Declare.  Use libc_hidden_proto.
4524         (fread_unlocked): Don't use libc_hidden_proto.
4525         (__fread_unlocked): Declare.  Use libc_hidden_proto.
4526         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
4527         and __ftello instead of fileno, fread_unlocked and ftello.
4529 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4531         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
4532         GOT12.
4533         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
4534         Likewise.
4535         (_dl_start_user): Likewise.
4536         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
4538 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
4539             Siddhesh Poyarekar  <siddhesh@redhat.com>
4541         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
4542         Move argv and envp down instead of moving argc up.
4543         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
4545 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
4547         [BZ #17506]
4548         * test-skeleton.c (main): Return successful if one of
4549         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
4550         * string/tst-strcoll-overflow.c: Define expected status.
4552 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
4554         [BZ #17475]
4555         * locale/iso-639.def: Define Bhili and Tulu language codes.
4557 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
4559         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
4561 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
4563         [BZ #17555]
4564         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
4566 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
4568         * configure.ac: Updated check of minimal required version to
4569         2.22.
4570         * manual/install.texi (Tools for Compilation): Updated version
4571         number.
4572         * configure: Regenerated.
4573         * INSTALL: Likewise.
4575 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
4577         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
4578         __tls_get_addr.
4580 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
4582         * include/sys/wait.h (__libc_waitpid): Remove declaration.
4583         * posix/waitpid.c (__libc_waitpid): Rename to __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/bsd/waitpid.c (__libc_waitpid): Rename to
4588         __waitpid.
4589         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4590         libc_hidden_weak.
4591         (waitpid): Define as alias of __waitpid.
4592         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
4593         __libc_waitpid alias.
4594         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
4595         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
4596         Likewise.
4597         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
4598         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
4599         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
4600         alias.
4601         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
4602         __waitpid.
4603         (__waitpid): Don't define as alias.  Use libc_hidden_def not
4604         libc_hidden_weak.
4605         (waitpid): Define as alias of __waitpid.
4607 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
4609         * manual/llio.texi: Add comment that write safety has been
4610         fixed in Linux.
4612         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
4613         (localplt-build-dso): Add elf/ld.so.
4614         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
4615         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
4616         and free for ld.so.
4617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
4618         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
4619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
4620         Likewise.
4621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
4622         Likewise.
4623         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
4624         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
4625         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
4626         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
4627         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
4628         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
4629         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
4630         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
4631         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
4632         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
4633         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
4635 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
4637         [BZ #14132]
4638         * include/libc-symbols.h (INTUSE): Remove macro.
4639         (INTDEF): Likewise.
4640         (INTVARDEF): Likewise.
4641         (_INTVARDEF): Likewise.
4642         (INTDEF2): Likewise.
4643         (INTVARDEF2): Likewise.
4644         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
4645         rtld_hidden_def instead of INTVARDEF.
4646         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
4647         (_dl_starting_up_internal): Remove declaration.
4648         (_dl_starting_up): Use rtld_hidden_proto.
4649         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
4650         declaration.
4651         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
4652         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
4653         _dl_starting_up.
4654         * elf/dl-writev.h (_dl_writev): Likewise.
4655         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
4656         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
4657         _dl_starting_up_internal.
4659 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4661         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
4662         test-skeleton.c.
4664 2014-11-05  Will Newton  <will.newton@linaro.org>
4666         * benchtests/Makefile: (bench-malloc): Add malloc thread
4667         scalability benchmark.
4668         * benchtests/bench-malloc-threads.c: New file.
4670 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
4672         * sysdeps/aarch64/strchrnul.S: New file.
4674 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4676         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
4677         definition.
4678         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
4679         Likwise.
4680         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
4681         Likewise.
4682         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
4683         Likewise.
4684         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
4685         Likewise.
4686         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
4687         Likewise.
4689 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
4691         * catgets/test-gencat.c: Use test-skeleton.c.
4692         * catgets/tst-catgets.c: Likewise.
4693         * csu/tst-empty.c: Likewise.
4694         * elf/tst-audit2.c: Likewise.
4695         * elf/tst-global1.c: Likewise.
4696         * elf/tst-pathopt.c: Likewise.
4697         * elf/tst-piemod1.c: Likewise.
4698         * elf/tst-tls10.c: Likewise.
4699         * elf/tst-tls11.c: Likewise.
4700         * elf/tst-tls12.c: Likewise.
4701         * gnulib/tst-gcc.c: Likewise.
4702         * iconvdata/tst-e2big.c: Likewise.
4703         * iconvdata/tst-loading.c: Likewise.
4704         * iconv/tst-iconv1.c: Likewise.
4705         * iconv/tst-iconv2.c: Likewise.
4706         * inet/test-inet6_opt.c: Likewise.
4707         * inet/tst-gethnm.c: Likewise.
4708         * inet/tst-network.c: Likewise.
4709         * inet/tst-ntoa.c: Likewise.
4710         * intl/tst-codeset.c: Likewise.
4711         * intl/tst-gettext2.c: Likewise.
4712         * intl/tst-gettext3.c: Likewise.
4713         * intl/tst-ngettext.c: Likewise.
4714         * intl/tst-translit.c: Likewise.
4715         * io/test-stat.c: Likewise.
4716         * libio/test-fmemopen.c: Likewise.
4717         * libio/tst-freopen.c: Likewise.
4718         * libio/tst-sscanf.c: Likewise.
4719         * libio/tst-ungetwc1.c: Likewise.
4720         * libio/tst-ungetwc2.c: Likewise.
4721         * libio/tst-widetext.c: Likewise.
4722         * localedata/tst-ctype.c: Likewise.
4723         * localedata/tst-digits.c: Likewise.
4724         * localedata/tst-leaks.c: Likewise.
4725         * localedata/tst-mbswcs1.c: Likewise.
4726         * localedata/tst-mbswcs2.c: Likewise.
4727         * localedata/tst-mbswcs3.c: Likewise.
4728         * localedata/tst-mbswcs4.c: Likewise.
4729         * localedata/tst-mbswcs5.c: Likewise.
4730         * localedata/tst-setlocale.c: Likewise.
4731         * localedata/tst-trans.c: Likewise.
4732         * localedata/tst-wctype.c: Likewise.
4733         * localedata/tst-xlocale1.c: Likewise.
4734         * login/tst-grantpt.c: Likewise.
4735         * malloc/tst-calloc.c: Likewise.
4736         * malloc/tst-malloc.c: Likewise.
4737         * malloc/tst-mallocstate.c: Likewise.
4738         * malloc/tst-mcheck.c: Likewise.
4739         * malloc/tst-mtrace.c: Likewise.
4740         * malloc/tst-obstack.c: Likewise.
4741         * math/atest-exp2.c: Likewise.
4742         * math/atest-exp.c: Likewise.
4743         * math/atest-sincos.c: Likewise.
4744         * math/test-matherr.c: Likewise.
4745         * math/test-misc.c: Likewise.
4746         * math/test-powl.c: Likewise.
4747         * math/tst-definitions.c: Likewise.
4748         * misc/tst-dirname.c: Likewise.
4749         * misc/tst-efgcvt.c: Likewise.
4750         * misc/tst-fdset.c: Likewise.
4751         * misc/tst-hsearch.c: Likewise.
4752         * misc/tst-mntent2.c: Likewise.
4753         * nptl/tst-sem7.c: Likewise.
4754         * nptl/tst-sem8.c: Likewise.
4755         * nptl/tst-sem9.c: Likewise.
4756         * nss/test-netdb.c: Likewise.
4757         * posix/tst-fnmatch.c: Likewise.
4758         * posix/tst-getlogin.c: Likewise.
4759         * posix/tst-gnuglob.c: Likewise.
4760         * posix/tst-mmap.c: Likewise.
4761         * pwd/tst-getpw.c: Likewise.
4762         * resolv/tst-inet_ntop.c: Likewise.
4763         * rt/tst-timer.c: Likewise.
4764         * stdio-common/test-fseek.c: Likewise.
4765         * stdio-common/test-popen.c: Likewise.
4766         * stdio-common/test-vfprintf.c: Likewise.
4767         * stdio-common/tst-cookie.c: Likewise.
4768         * stdio-common/tst-fileno.c: Likewise.
4769         * stdio-common/tst-gets.c: Likewise.
4770         * stdio-common/tst-obprintf.c: Likewise.
4771         * stdio-common/tst-perror.c: Likewise.
4772         * stdio-common/tst-sprintf2.c: Likewise.
4773         * stdio-common/tst-sprintf3.c: Likewise.
4774         * stdio-common/tst-sprintf.c: Likewise.
4775         * stdio-common/tst-swprintf.c: Likewise.
4776         * stdio-common/tst-tmpnam.c: Likewise.
4777         * stdio-common/tst-unbputc.c: Likewise.
4778         * stdio-common/tst-wc-printf.c: Likewise.
4779         * stdlib/tst-environ.c: Likewise.
4780         * stdlib/tst-fmtmsg.c: Likewise.
4781         * stdlib/tst-limits.c: Likewise.
4782         * stdlib/tst-rand48-2.c: Likewise.
4783         * stdlib/tst-rand48.c: Likewise.
4784         * stdlib/tst-random2.c: Likewise.
4785         * stdlib/tst-random.c: Likewise.
4786         * stdlib/tst-strtol.c: Likewise.
4787         * stdlib/tst-strtoll.c: Likewise.
4788         * stdlib/tst-tls-atexit.c: Likewise.
4789         * stdlib/tst-xpg-basename.c: Likewise.
4790         * string/test-ffs.c: Likewise.
4791         * string/tst-bswap.c: Likewise.
4792         * string/tst-inlcall.c: Likewise.
4793         * string/tst-strtok.c: Likewise.
4794         * string/tst-strxfrm.c: Likewise.
4795         * sysdeps/x86_64/tst-audit10.c: Likewise.
4796         * sysdeps/x86_64/tst-audit3.c: Likewise.
4797         * sysdeps/x86_64/tst-audit4.c: Likewise.
4798         * sysdeps/x86_64/tst-audit5.c: Likewise.
4799         * time/tst-ftime_l.c: Likewise.
4800         * time/tst-getdate.c: Likewise.
4801         * time/tst-mktime3.c: Likewise.
4802         * time/tst-mktime.c: Likewise.
4803         * time/tst-posixtz.c: Likewise.
4804         * time/tst-strptime2.c: Likewise.
4805         * time/tst-strptime3.c: Likewise.
4806         * wcsmbs/tst-btowc.c: Likewise.
4807         * wcsmbs/tst-mbrtowc.c: Likewise.
4808         * wcsmbs/tst-mbsrtowcs.c: Likewise.
4809         * wcsmbs/tst-wchar-h.c: Likewise.
4810         * wcsmbs/tst-wcpncpy.c: Likewise.
4811         * wcsmbs/tst-wcrtomb.c: Likewise.
4812         * wcsmbs/tst-wcsnlen.c: Likewise.
4813         * wcsmbs/tst-wcstof.c: Likewise.
4815 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
4817         [BZ #14132]
4818         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
4819         INTDEF.
4820         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
4821         declaration.
4822         (_dl_mcount): Use rtld_hidden_proto.
4823         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
4824         _dl_mcount.
4825         * elf/rtld.c (_rtld_global_ro): Likewise.
4827         [BZ #14132]
4828         * elf/dl-init.c (_dl_init): Don't use INTDEF.
4829         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
4830         of _dl_init_internal.
4831         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
4832         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
4833         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
4834         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
4835         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
4836         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
4837         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
4838         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
4839         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
4840         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
4841         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
4842         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
4843         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
4844         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
4845         * sysdeps/tile/dl-start.S (_start): Likewise.
4846         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
4847         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
4849         [BZ #14132]
4850         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
4851         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
4852         (rtld_progname): Make macro definition unconditional.
4853         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
4854         INTDEF.
4855         (dlmopen_doit): Do not use INTUSE with _dl_argv.
4856         (dl_main): Likewise.
4857         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
4858         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
4859         instead of _dl_argv_internal.
4860         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
4861         __GI__dl_argv instead of INTUSE(_dl_argv).
4862         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
4863         __GI__dl_argv instead of _dl_argv_internal.
4865         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
4866         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
4867         macro.
4868         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
4869         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
4870         New macro.
4871         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
4872         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
4873         macro.
4874         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
4875         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
4877 2014-11-04  Andreas Schwab  <schwab@suse.de>
4879         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
4881 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4883         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
4884         mtvsrd instruction in binary form.
4886 2014-11-03  Andreas Schwab  <schwab@suse.de>
4888         [BZ #17522]
4889         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
4890         for less than MB_LEN_MAX use a local buffer of that size.
4891         * libio/tst-fputws.c: New file.
4892         * libio/Makefile (tests): Add tst-fputws.
4894 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
4896         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
4897         the size of the fpu_fr.fpu_dregs[] array.
4899 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
4901         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
4902         (__nanosleep): Do not define as alias.
4903         (nanosleep): Define as alias of __nanosleep.
4904         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
4905         __libc_nanosleep name.
4907 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
4909         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
4910         install.texi in comment.
4912 2014-10-31  Torvald Riegel  <triegel@redhat.com>
4914         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
4915         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
4916         ... add here and use lwsync or sync ...
4917         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
4918         ... and add here using lwsync.
4920 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
4922         * elf/dl-machine-reject-phdr.h: New file.
4923         * elf/dl-load.c: #include that.
4924         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
4925         if that returned true.
4927 2014-10-31  Roland McGrath  <roland@hack.frob.com>
4929         [BZ #17496]
4930         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
4931         gen-as-const-headers chunk.  Add a big scare comment after the last
4932         safe place to touch before-compile.
4934 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
4936         * manual/install.texi (Tools for Compilation): Update autoconf
4937         version requirements.
4938         * INSTALL: Regenerated.
4940         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
4941         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
4942         (__libc_pselect): Likewise.
4944         [BZ #14138]
4945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
4946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
4947         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
4948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
4950 2014-10-31  Torvald Riegel  <triegel@redhat.com>
4952         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
4953         correct barrier instruction.
4954         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
4955         Likewise.
4956         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
4957         Likewise.
4959 2014-10-30  Roland McGrath  <roland@hack.frob.com>
4961         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
4962         after defining inlines.  Instead, just use parens to defeat macro
4963         expansion of __isctype in its declaration.
4965 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
4967         * include/sys/uio.h (__libc_readv): Remove declaration.
4968         (__libc_writev): Likewise.
4969         * misc/readv.c (__libc_readv): Rename to __readv.
4970         (__readv): Do not define as alias.
4971         (readv): Define as alias of __readv.
4972         * misc/writev.c (__libc_writev): Rename to __writev.
4973         (__writev): Do not define as alias.
4974         (writev): Define as alias of __writev.
4975         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
4976         (__readv): Do not define as alias.
4977         (readv): Define unconditionally as alias of __readv.
4978         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
4979         (__writev): Do not define as alias.
4980         (writev): Define unconditionally as alias of __writev.
4981         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
4982         name.
4983         (writev): Do not define __libc_writev name.
4985 2014-10-30  Roland McGrath  <roland@hack.frob.com>
4987         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
4988         (convert_charseq): New function, broken out of ...
4989         (use_from_charmap): ... here.  Call it.
4990         (use_to_charmap): Use convert_charseq and free instead of duplicating
4991         its code with a variable-length stack struct.
4993 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
4995         * include/fcntl.h (__libc_creat): Remove declaration.
4996         * io/creat.c (__libc_creat): Rename to creat.
4997         (creat): Do not define as alias.
4998         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
4999         of creat instead of __libc_creat.
5000         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5001         to creat.
5002         (creat): Do not define as alias.
5003         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5004         __libc_creat.
5005         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5006         __libc_creat name.
5007         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5008         Likewise.
5010 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
5012         * manual/llio.texi: Add comments discussing why write() may be
5013         considered MT-unsafe on Linux.
5015 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
5017         * dl-load.c (local_strdup): Remove.
5018         (expand_dynamic_string_token): Use __strdup.
5019         (decompose_rpath): Likewise.
5020         (_dl_map_object): Likewise.
5022 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
5024         [BZ #14132]
5025         * sysdeps/generic/unwind-dw2-fde.c
5026         (__register_frame_info_bases_internal): Do not declare.
5027         (__register_frame_info_table_bases_internal): Likewise.
5028         (__deregister_frame_info_bases_internal): Likewise.
5029         (__register_frame_info_bases): Declare and use hidden_proto before
5030         definition.  Use hidden_def instead of INTDEF.
5031         (__register_frame_info_table_bases): Likewise.
5032         (__deregister_frame_info_bases): Likewise.
5033         (__register_frame_info): Do not use INTUSE.
5034         (__register_frame): Likewise.
5035         (__register_frame_info_table): Likewise.
5036         (__register_frame_table): Likewise.
5037         (__deregister_frame_info): Likewise.
5038         (__deregister_frame): Likewise.
5040 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
5042         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5043         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5044         not undefine.
5045         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5046         Likewise.
5047         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5048         Likewise.
5050 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
5052         [BZ #14138]
5053         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5054         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5055         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5056         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5057         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5058         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5059         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5060         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5061         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5062         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5063         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5064         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5065         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5066         syscall.
5067         (setfsuid): Likewise.
5068         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5069         (setfsuid): Likewise.
5070         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5071         (setfsuid): Likewise.
5072         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5073         Likewise.
5074         (setfsuid): Likewise.
5075         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5076         (setfsuid): Likewise.
5077         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5078         Likewise.
5079         (setfsuid): Likewise.
5081 2014-10-27  Andreas Schwab  <schwab@suse.de>
5083         [BZ #17501]
5084         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5085         check for Slow_SSE4_2 feature bit.
5086         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5087         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5088         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5089         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
5091 2014-10-24  Roland McGrath  <roland@hack.frob.com>
5093         * configure.ac: Validate compiler version with a empirical test of
5094         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5095         $CC -v output.
5096         * configure: Regenerated.
5098         * inet/htons.c (htons): Prototypify.
5099         * inet/htonl.c (htonl): Likewise.
5101 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5103         * string/strncat.c (strncat): Improve performance by using strlen.
5105 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5107         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5109 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5111         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5112         Call libc_fetestexcept_aarch64.
5114 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5116         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5117         Call libc_feholdexcept_aarch64.
5119 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5121         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5122         Call get_rounding_mode.
5124 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5126         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5127         Simplify logic.
5129 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5131         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5132         Simplify logic.
5134 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
5136         [BZ #14138]
5137         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5138         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5139         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5140         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5141         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5142         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5143         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5144         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5145         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5146         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5147         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5148         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5149         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5150         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5151         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5152         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5153         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5154         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5155         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5156         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5157         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5158         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5159         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5160         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5161         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5162         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5163         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5164         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5165         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5166         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5167         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5168         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5169         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5170         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5171         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5172         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5173         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5174         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5175         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5176         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5177         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5178         syscall.
5179         (geteuid): Likewise.
5180         (getgid): Likewise.
5181         (getuid): Likewise.
5182         (getresgid): Likewise.
5183         (getresuid): Likewise.
5184         (getgroups): Likewise.
5185         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5186         (geteuid): Likewise.
5187         (getgid): Likewise.
5188         (getuid): Likewise.
5189         (getresgid): Likewise.
5190         (getresuid): Likewise.
5191         (getgroups): Likewise.
5192         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5193         (geteuid): Likewise.
5194         (getgid): Likewise.
5195         (getuid): Likewise.
5196         (getresgid): Likewise.
5197         (getresuid): Likewise.
5198         (getgroups): Likewise.
5199         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5200         Likewise.
5201         (geteuid): Likewise.
5202         (getgid): Likewise.
5203         (getuid): Likewise.
5204         (getresgid): Likewise.
5205         (getresuid): Likewise.
5206         (getgroups): Likewise.
5207         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
5208         (geteuid): Likewise.
5209         (getgid): Likewise.
5210         (getuid): Likewise.
5211         (getresgid): Likewise.
5212         (getresuid): Likewise.
5213         (getgroups): Likewise.
5214         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
5215         Likewise.
5216         (geteuid): Likewise.
5217         (getgid): Likewise.
5218         (getuid): Likewise.
5219         (getgroups): Likewise.
5221         [BZ #14138]
5222         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5223         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5224         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5225         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5226         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5227         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5228         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5229         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5230         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5231         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5232         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5233         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5234         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5235         __chown.
5236         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5237         (lchown): Likewise.
5238         (fchown): Likewise.
5239         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5240         Likewise.
5241         (lchown): Likewise.
5242         (fchown): Likewise.
5243         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5244         (lchown): Likewise.
5245         (fchown): Likewise.
5246         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5247         Likewise.
5248         (lchown): Likewise.
5249         (fchown): Likewise.
5251 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5253         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5254         Simplify logic.
5256 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5258         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5259         Cleanup logic.
5261 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5263         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5264         Remove unused include.
5266 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5268         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5269         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5270         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5271         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5273 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
5274             Helge Deller <deller@gmx.de>
5276         [BZ #17508]
5277         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5278         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5279         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5281 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
5283         [BZ #14132]
5284         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5285         Remove macro definition.
5286         (__ashrdi3_v_glibc20): Likewise.
5287         (__lshrdi3_v_glibc20): Likewise.
5288         (__cmpdi2_v_glibc20): Likewise.
5289         (__ucmpdi2_v_glibc20): Likewise.
5290         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5291         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5292         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5293         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5294         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5295         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5297 2014-10-22  Roland McGrath  <roland@hack.frob.com>
5299         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5300         old GNU extension [0] syntax.
5301         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5302         alloca rather than an array member with variable length.
5303         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5304         * nscd/nscd.c (invalidate_db): New function, broken out of ...
5305         (parse_opt): ... here.  Likewise use alloca there.
5306         Validate the -i argument before checking for rootness.
5307         (send_shutdown): New function, broken out of ...
5308         (parse_opt): ... here.
5310 2014-10-22  Roland McGrath  <roland@hack.frob.com>
5312         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5313         macro to get at the _rt_local_ro field.
5314         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5315         ([PIC] case) or _dl_hwcap ([!PIC] case).
5316         * sysdeps/arm/setjmp.S: Likewise.
5318         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5319         * sysdeps/arm/configure.ac: New check to define it.
5320         * sysdeps/arm/configure: Regenerated.
5321         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5322         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5323         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5324         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5325         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5326         Use move/movt pair instead of a load.
5327         (LDST_GLOBAL): Macro removed.
5328         (LDR_GLOBAL): New macro replaces it.
5329         (LDR_HIDDEN): New macro.
5330         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5331         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5333         * setjmp/tst-setjmp-static.c: New file.
5334         * setjmp/Makefile (tests): Add it.
5335         (tests-static): New variable.
5337 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
5339         [BZ #17485]
5340         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5342 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
5344         [BZ #14132]
5345         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5347 2014-10-21  Roland McGrath  <roland@hack.frob.com>
5349         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5351 2014-10-20  Roland McGrath  <roland@hack.frob.com>
5353         * io/fts.c (dirent_not_directory): New function.
5354         (fts_build): Call it.
5356 2014-10-20  Roland McGrath  <roland@hack.frob.com>
5358         * nptl/version.c (__nptl_main): Use normal __write rather than
5359         INTERNAL_SYSCALL.
5360         (banner): Update copyright years.
5362         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5363         gettimeofday.
5364         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5365         * nptl/pthread_cond_timedwait.c: Likewise.
5366         * nptl/pthread_mutex_timedlock.c: Likewise.
5367         * nptl/sem_timedwait.c: Likewise.
5369         * sysdeps/nptl/bits/libc-lock.h
5370         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5371         (__libc_lock_init_recursive): Return void, not 0.
5372         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5373         (__libc_rwlock_init): Likewise.
5374         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5376 2014-10-20  Torvald Riegel  <triegel@redhat.com>
5378         [BZ #15215]
5379         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5380         (__pthread_once_slow): ... here.
5381         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5382         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5384 2014-10-20  Torvald Riegel  <triegel@redhat.com>
5386         [BZ #15215]
5387         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5388         __PTHREAD_ONCE_FORK_GEN_INCR): New.
5389         * sysdeps/nptl/fork.c (__libc_fork): Use them.
5390         * nptl/pthread_once.c (__pthread_once): Likewise.
5391         Update comments.
5393 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
5395         [BZ #14138]
5396         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5397         name.
5398         (writev): Use __libc_writev as strong name.
5399         * sysdeps/unix/sysv/linux/readv.c: Remove file.
5400         * sysdeps/unix/sysv/linux/writev.c: Likewise.
5402 2014-10-17  Roland McGrath  <roland@hack.frob.com>
5404         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5406         * sysdeps/i386/nptl/tls.h
5407         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5408         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5409         New macros.
5410         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5411         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5412         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5413         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5414         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5415         Call CHECK_THREAD_SYSINFO instead of doing an assert.
5417         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5418         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5419         on [__NR_futex].
5420         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
5421         broken out of ...
5422         (__pthread_mutex_init): ... here.  Call it.
5423         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
5424         Conditionalize PI cases on [__NR_futex].
5425         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
5426         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
5427         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
5429         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
5430         conditional on [SIGSETXID].
5431         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
5432         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
5433         is defined.  Likewise for SIGSETXID.
5434         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
5435         Conditionalize definitions on [SIGSETXID].
5436         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
5437         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
5438         unblocking on [SIGCANCEL].
5440         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
5441         [__NR_set_robust_list].
5443 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
5445         * string/strcoll_l.c (get_next_seq): Fix up formatting.
5446         (do_compare): Likewise.
5448 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
5450         [BZ #15884]
5451         * string/strcoll_l.c: Don't include stdio.h.
5452         (coll_seq): Remove members idxarr and rulearr.
5453         (get_next_seq_cached): Remove function.
5454         (get_next_seq): Likewise.
5455         (get_next_seq_nocache): Rename to get_next_seq.
5456         (do_compare): Remove function.
5457         (do_compare_nocache): Rename to do_compare.
5458         (STRCOLL): Remove weight and rules cache.
5460 2014-10-16  Roland McGrath  <roland@hack.frob.com>
5462         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
5463         * sysdeps/arm/sfp-machine.h: ... to here.
5464         * sysdeps/arm/Implies: Remove arm/soft-fp.
5466 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
5468         * conform/data/sys/utsname.h-data (*_t): Allow.
5469         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
5470         [POSIX] (WEXITED): Do not expect constant.
5471         [POSIX] (WSTOPPED): Likewise.
5472         [POSIX] (WNOHANG): Likewise.
5473         [POSIX] (WNOWAIT): Likewise.
5474         [POSIX] (siginfo_t): Do not expect type or elements.
5475         [POSIX] (pid_t): Do not expect type.
5476         [POSIX] (signal.h): Do not allow header.
5477         [POSIX] (sys/resource.h): Likewise.
5478         [POSIX] (si_*): Do not allow pattern.
5479         [POSIX] (W*): Likewise.
5480         [POSIX] (P_*): Likewise.
5481         [POSIX] (BUS_*): Likewise.
5482         [POSIX] (CLD_*): Likewise.
5483         [POSIX] (FPE_*): Likewise.
5484         [POSIX] (ILL_*): Likewise.
5485         [POSIX] (POLL_*): Likewise.
5486         [POSIX] (SEGV_*): Likewise.
5487         [POSIX] (SI_*): Likewise.
5488         [POSIX] (TRAP_*): Likewise.
5489         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
5490         variable.
5492 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
5494         [BZ #12926]
5495         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
5496         infinite loop when __recvmsg returns 0.
5498 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
5500         * CANCEL-FCT-WAIVE: Remove file.
5501         * CANCEL-FILE-WAIVE: Likewise.
5503         [BZ #14132]
5504         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
5505         instead of INTVARDEF.
5506         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5507         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
5508         rtld_hidden_data_def instead of INTVARDEF.
5509         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
5510         * elf/dl-deps.c (expand_dst): Likewise.
5511         * elf/dl-load.c (_dl_dst_count): Likewise.
5512         (_dl_dst_substitute): Likewise.
5513         (decompose_rpath): Likewise.
5514         (_dl_init_paths): Likewise.
5515         (open_path): Likewise.
5516         (_dl_map_object): Likewise.
5517         * elf/rtld.c (dl_main): Likewise.
5518         (process_dl_audit): Likewise.
5519         (process_envvars): Likewise.
5520         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
5521         Remove declaration.
5522         (__libc_enable_secure): Use rtld_hidden_proto.
5524 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5526         * elf/dl-load.c
5527         (add_path): New function broken out of _dl_rtld_di_serinfo.
5528         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
5530 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
5532         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
5533         parentheses around macro arguments.
5534         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
5535         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
5536         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
5537         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
5538         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
5539         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5540         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5541         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
5542         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
5543         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
5544         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
5545         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
5546         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
5547         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
5548         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
5549         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
5550         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
5551         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
5552         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
5553         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
5554         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
5555         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
5556         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
5557         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
5558         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
5559         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
5560         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
5561         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
5562         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
5563         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
5564         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
5565         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
5566         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
5567         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
5568         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
5569         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
5570         Likewise.
5571         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
5572         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5573         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5574         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
5575         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
5576         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
5577         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
5578         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
5579         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
5580         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
5581         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
5582         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
5583         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
5584         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
5585         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
5586         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
5587         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
5588         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
5589         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
5590         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
5591         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
5592         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
5593         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
5594         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
5595         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
5596         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
5597         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
5598         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
5599         (_FP_FRAC_SRS_1): Likewise.
5600         (_FP_FRAC_CLZ_1): Likewise.
5601         (_FP_MUL_MEAT_1_imm): Likewise.
5602         (_FP_MUL_MEAT_1_wide): Likewise.
5603         (_FP_MUL_MEAT_1_hard): Likewise.
5604         (_FP_SQRT_MEAT_1): Likewise.
5605         (_FP_FRAC_ASSEMBLE_1): Likewise.
5606         (_FP_FRAC_DISASSEMBLE_1): Likewise.
5607         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
5608         (__FP_CLZ_2): Likewise.
5609         (_FP_MUL_MEAT_2_wide): Likewise.
5610         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
5611         (_FP_MUL_MEAT_2_gmp): Likewise.
5612         (_FP_MUL_MEAT_2_120_240_double): Likewise.
5613         (_FP_SQRT_MEAT_2): Likewise.
5614         (_FP_FRAC_ASSEMBLE_2): Likewise.
5615         (_FP_FRAC_DISASSEMBLE_2): Likewise.
5616         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
5617         (_FP_FRAC_CLZ_4): Likewise.
5618         (_FP_MUL_MEAT_4_wide): Likewise.
5619         (_FP_MUL_MEAT_4_gmp): Likewise.
5620         (_FP_SQRT_MEAT_4): Likewise.
5621         (_FP_FRAC_ASSEMBLE_4): Likewise.
5622         (_FP_FRAC_DISASSEMBLE_4): Likewise.
5623         * soft-fp/op-common.h (_FP_CMP): Likewise.
5624         (_FP_CMP_EQ): Likewise.
5625         (_FP_CMP_UNORD): Likewise.
5626         (_FP_TO_INT): Likewise.
5627         (_FP_FROM_INT): Likewise.
5628         [!__FP_CLZ] (__FP_CLZ): Likewise.
5629         (_FP_DIV_HELP_imm): Likewise.
5630         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
5631         Likewise.
5632         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
5633         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
5634         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
5635         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
5636         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
5637         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5638         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5639         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
5640         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
5641         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
5642         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
5643         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
5644         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
5645         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
5646         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
5647         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
5648         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
5649         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
5650         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
5651         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
5652         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
5653         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
5654         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
5655         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
5656         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
5657         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
5658         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
5659         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
5660         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
5661         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
5662         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
5663         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
5664         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
5665         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
5666         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
5667         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
5668         (FP_UNPACK_RAW_SP): Likewise.
5669         (FP_PACK_RAW_S): Likewise.
5670         (FP_PACK_RAW_SP): Likewise.
5671         (FP_UNPACK_S): Likewise.
5672         (FP_UNPACK_SP): Likewise.
5673         (FP_UNPACK_SEMIRAW_S): Likewise.
5674         (FP_UNPACK_SEMIRAW_SP): Likewise.
5675         (FP_PACK_S): Likewise.
5676         (FP_PACK_SP): Likewise.
5677         (FP_PACK_SEMIRAW_S): Likewise.
5678         (FP_PACK_SEMIRAW_SP): Likewise.
5679         (_FP_SQRT_MEAT_S): Likewise.
5680         (FP_CMP_S): Likewise.
5681         (FP_CMP_EQ_S): Likewise.
5682         (FP_CMP_UNORD_S): Likewise.
5683         (FP_TO_INT_S): Likewise.
5684         (FP_FROM_INT_S): Likewise.
5686         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
5688         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
5689         (FP_EX_INVALID_IMZ): Likewise.
5690         (FP_EX_INVALID_IMZ_FMA): Likewise.
5691         (FP_EX_INVALID_ISI): Likewise.
5692         (FP_EX_INVALID_ZDZ): Likewise.
5693         (FP_EX_INVALID_IDI): Likewise.
5694         (FP_EX_INVALID_SQRT): Likewise.
5695         (FP_EX_INVALID_CVI): Likewise.
5696         (FP_EX_INVALID_VC): Likewise.
5697         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
5698         "invalid" exceptions.
5699         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
5700         (_FP_ADD_INTERNAL): Likewise.
5701         (_FP_MUL): Likewise.
5702         (_FP_FMA): Likewise.
5703         (_FP_DIV): Likewise.
5704         (_FP_CMP_CHECK_NAN): Likewise.
5705         (_FP_SQRT): Likewise.
5706         (_FP_TO_INT): Likewise.
5707         (FP_EXTEND): Likewise.
5709 2014-10-09  Allan McRae  <allan@archlinux.org>
5711         * po/fr.po: Update French translation from translation project.
5713 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
5715         [BZ #14132]
5716         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
5717         of INTDEF.
5718         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
5719         (__cxa_atexit): Use libc_hidden_proto.
5720         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
5722         [BZ #14132]
5723         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
5724         declaration.
5725         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
5726         [!_ISOMAC] (__iswspace_l_internal): Likewise.
5727         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
5728         [!_ISOMAC] (__iswctype_internal): Likewise.
5729         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
5730         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
5731         alias.
5732         (fcntl): Remove __fcntl_internal alias.
5733         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
5734         __connect_internal alias.
5735         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
5736         Likewise.
5738         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
5739         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
5740         FP_DENORM_ZERO.
5741         (_FP_CHECK_FLUSH_ZERO): New macro.
5742         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
5743         (_FP_CMP): Likewise.
5744         (_FP_CMP_EQ): Likewise.
5745         (_FP_TO_INT): Do not set inexact for subnormal arguments if
5746         FP_DENORM_ZERO.
5747         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
5748         (FP_TRUNC): Likewise.
5750         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
5751         treated as invalid conversion, not as normal exponent.
5753         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
5754         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
5755         (_FP_CMP_EQ): Likewise.
5756         (_FP_CMP_UNORD): Likewise.
5757         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
5758         (FP_CMP_EQ_D): Likewise.
5759         (FP_CMP_UNORD_D): Likewise.
5760         * soft-fp/extended.h (FP_CMP_E): Likewise.
5761         (FP_CMP_EQ_E): Likewise.
5762         (FP_CMP_UNORD_E): Likewise.
5763         * soft-fp/quad.h (FP_CMP_Q): Likewise.
5764         (FP_CMP_EQ_Q): Likewise.
5765         (FP_CMP_UNORD_Q): Likewise.
5766         * soft-fp/single.h (FP_CMP_S): Likewise.
5767         (FP_CMP_EQ_S): Likewise.
5768         (FP_CMP_UNORD_S): Likewise.
5769         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
5770         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
5771         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
5772         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
5773         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
5774         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
5775         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
5776         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
5777         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
5778         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
5779         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
5780         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
5781         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
5782         to FP_CMP_Q.
5783         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
5784         FP_CMP_Q.
5785         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
5786         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
5787         FP_CMP_EQ_Q.
5788         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
5789         FP_CMP_Q.
5790         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
5791         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
5792         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
5793         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
5794         FP_CMP_EQ_Q.
5795         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
5796         FP_CMP_Q.
5797         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
5798         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
5799         FP_CMP_EQ_Q.
5800         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
5801         FP_CMP_Q.
5802         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
5803         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
5804         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
5805         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
5806         FP_CMP_EQ_Q.
5808         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
5809         a subnormal result, set the underflow exception if trapping on
5810         underflow is enabled.
5811         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
5812         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
5813         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
5814         redefine to 0.
5815         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
5816         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5817         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
5818         * soft-fp/extendxftf2.c (__extendxftf2): Use
5819         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
5821         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
5822         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
5823         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5824         FP_HANDLE_EXCEPTIONS.
5825         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
5826         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5827         FP_HANDLE_EXCEPTIONS.
5828         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
5829         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5830         FP_HANDLE_EXCEPTIONS.
5831         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
5832         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
5833         FP_HANDLE_EXCEPTIONS.
5835 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
5837         [BZ #14132]
5838         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
5839         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
5840         use INTUSE.
5841         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
5842         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
5843         Remove alias.
5844         (__adjtimex): Define using libc_hidden_ver.
5845         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
5846         Remove declaration.
5847         (ntp_gettime): Call __adjtimex directly.
5848         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
5849         Remove declaration.
5850         (ntp_gettimex): Call __adjtimex directly.
5851         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
5852         __adjtimex_internal alias.
5854 2014-10-08  Roland McGrath  <roland@hack.frob.com>
5856         [BZ #17460]
5857         * nscd/nscd.c (more_help): Rewrite list of tables collection
5858         using xstrdup and asprintf.
5860         * nscd/nscd_conf.c: Remove local xstrdup declaration.
5862 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5863             Roland McGrath  <roland@hack.frob.com>
5865         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
5866         (do_lookup_unique): ... local function 'enter' here; update callers.
5868 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
5870         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
5871         compat_symbol calls on [SHARED].
5872         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
5873         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
5874         Remove.
5875         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5876         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
5877         (oldsetrlimit): Remove.
5878         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5879         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
5880         (lchown): New syscall entry.
5881         (oldsetrlimit): Remove.
5882         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5883         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
5884         (oldsetrlimit): Remove.
5885         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
5887         [BZ #14138]
5888         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
5889         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
5890         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
5891         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
5892         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
5893         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
5894         (fchown): Likewise.
5895         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
5896         (fchown): Likewise.
5897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
5898         Likewise.
5900 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5902         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
5903         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
5904         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
5905         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
5906         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
5907         Likewise.
5908         (__old_sem_post): Likewise.
5910 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
5912         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
5913         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
5914         HAVE_CLOCK_GETTIME_VSYSCALL macros.
5915         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
5916         Use INLINE_VSYSCALL macro.
5917         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
5918         __vdso_clock_gettime.
5919         * sysdeps/unix/sysv/linux/tile/init-first.c
5920         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
5921         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
5922         __vdso_clock_gettime.
5924         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
5925         to set up frame more cleanly.
5927         * sysdeps/tile/memcmp.c: New file.
5929         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
5931         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
5932         * sysdeps/tile/tilegx/strcasestr.c: New file.
5933         * sysdeps/tile/tilegx/strnlen.c: New file.
5934         * sysdeps/tile/tilegx/strstr.c: New file.
5936         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
5938 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
5940         * nptl/tst-setuid3.c: Write errors to stdout.
5942 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
5944         * elf/dl-deps.c
5945         (preload): New functions broken out of _dl_map_object_deps.
5946         (_dl_map_object_deps):  Remove a nested function. Update call sites.
5948 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
5950         [BZ #14138]
5951         * sysdeps/unix/sysv/linux/execve.c: Remove file.
5952         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
5954 2014-10-01  Steve Ellcey  <sellcey@mips.com>
5956         * sysdeps/mips/strcmp.S: New.
5958 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
5960         [BZ #14138]
5961         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
5962         (linkat): Likewise.
5963         (mkdirat): Likewise.
5964         (readlinkat): Likewise.
5965         (renameat): Likewise.
5966         (symlinkat): Likewise.
5967         (unlinkat): Likewise.
5968         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
5969         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
5970         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
5971         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
5972         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
5973         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
5974         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
5976 2014-09-30  Will Newton  <will.newton@linaro.org>
5978         * math/math.h: Define long double math functions if
5979         _LIBC_TEST is defined.
5980         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
5982         * localedata/Makefile: Move assignment to tests-special
5983         into an ifdef testing run-built-tests.
5984         * timezone/Makefile: Likewise.
5986 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
5988         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
5989         with $(BASH) not $(SHELL).
5991 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
5992             Matthew LeGendre  <legendre1@llnl.gov>
5994         [BZ #17411]
5995         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
5996         l_reloc_result.
5998 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6000         * stdio-common/printf_fp.c
6001         (hack_digit): New function, broken out of ...
6002         (__printf_fp): ... local function here.  Update call sites.
6003         hack_digit now takes an additional parameter that is a pointer
6004         to a struct of the referenced locals.  Those locals moved inside
6005         the struct and references updated.
6007 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
6009         * aclocal.m4: Require autoconf 2.69.
6010         * configure: Regenerated.
6011         * sysdeps/aarch64/configure: Likewise.
6012         * sysdeps/alpha/configure: Likewise.
6013         * sysdeps/arm/armv7/configure: Likewise.
6014         * sysdeps/arm/configure: Likewise.
6015         * sysdeps/ia64/configure: Likewise.
6016         * sysdeps/mach/configure: Likewise.
6017         * sysdeps/mips/configure: Likewise.
6018         * sysdeps/s390/configure: Likewise.
6019         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6022         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6023         file.
6024         * sysdeps/ia64/configure.ac: Likewise.
6026 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
6028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6029         specify symbol version for ld.so.  Do not include entry for
6030         libpthread.
6031         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6032         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6033         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6035         [BZ #14171]
6036         * Makeconfig [$(build-shared) = yes]
6037         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6038         makefiles.
6039         [$(build-shared) = yes && $(soversions.mk-done) = t]
6040         ($(common-objpfx)gnu/lib-names.h): Remove rule.
6041         [$(build-shared) = yes && $(soversions.mk-done) = t]
6042         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
6043         to Makerules.
6044         [$(build-shared) = yes && $(soversions.mk-done) = t]
6045         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6046         here.
6047         [$(build-shared) = yes && $(soversions.mk-done) = t]
6048         (common-generated): Don't append gnu/lib-names.h and
6049         gnu/lib-names.stmp here.
6050         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6051         (lib-names-h-abi): New variable.
6052         [$(build-shared) = yes && $(soversions.mk-done) = t]
6053         (lib-names-stmp-abi): Likewise.
6054         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6055         abi-variants] (before-compile): Append
6056         $(common-objpfx)$(lib-names-h-abi).
6057         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6058         abi-variants] (common-generated): Append gnu/lib-names.h.
6059         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6060         abi-variants] (install-others-nosubdir): Depend on
6061         $(inst_includedir)/$(lib-names-h-abi).
6062         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6063         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6064         [$(build-shared) = yes && $(soversions.mk-done) = t]
6065         ($(common-objpfx)$(lib-names-h-abi)): New rule.
6066         [$(build-shared) = yes && $(soversions.mk-done) = t]
6067         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6068         [$(build-shared) = yes && $(soversions.mk-done) = t]
6069         (common-generated): Append $(lib-names-h-abi) and
6070         $(lib-names-stmp-abi).
6071         * scripts/lib-names.awk: Do not handle multi being set.
6072         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6073         Remove variable.
6074         (abi-lp64_be-ld-soname): Likewise.
6075         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6076         Likewise.
6077         (abi-hard-ld-soname): Likewise.
6078         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6079         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6080         Remove variable.
6081         (abi-o32_hard-ld-soname): Likewise.
6082         (abi-o32_soft_2008-ld-soname): Likewise.
6083         (abi-o32_hard_2008-ld-soname): Likewise.
6084         (abi-n32_soft-ld-soname): Likewise.
6085         (abi-n32_hard-ld-soname): Likewise.
6086         (abi-n32_soft_2008-ld-soname): Likewise.
6087         (abi-n32_hard_2008-ld-soname): Likewise.
6088         (abi-n64_soft-ld-soname): Likewise.
6089         (abi-n64_hard-ld-soname): Likewise.
6090         (abi-n64_soft_2008-ld-soname): Likewise.
6091         (abi-n64_hard_2008-ld-soname): Likewise.
6092         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6093         Likewise.
6094         (abi-64-v2-ld-soname): Likewise.
6095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6096         ld.so entries.
6097         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6098         variable.
6099         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6100         entry.
6101         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6102         variable.
6103         (abi-64-ld-soname): Likewise.
6104         (abi-x32-ld-soname): Likewise.
6105         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6106         entry.
6107         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6109 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
6111         [BZ #14138]
6112         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6113         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6114         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6115         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6116         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6117         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6118         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6119         syscall entry for GLIBC_2.2 symbol version.
6120         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6121         Likewise.
6122         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6123         (setrlimit): Likewise.
6124         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6125         Likewise.
6127 2014-09-23  Will Newton  <will.newton@linaro.org>
6129         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6130         _LINUX_ARM_SYSDEP_H include guard too.
6131         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6132         define.
6134 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
6136         * sysdeps/unix/sysv/linux/eventfd.c:
6137         Make first argument unsigned.
6138         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6139         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6141 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
6143         * socket/recvmmsg.c (recvmmsg): Drop const argument.
6144         * socket/sys/socket.h: Likewise
6145         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6147 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6149         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6151 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
6153         * time/tst-ftime.c: New test.
6154         * time/Makefile (tests): Add tst-ftime.
6156 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
6158         * soft-fp/extended.h: Fix comment formatting.
6159         * soft-fp/op-1.h: Likewise.
6160         * soft-fp/op-2.h: Likewise.
6161         * soft-fp/op-4.h: Likewise.
6162         * soft-fp/op-8.h: Likewise.
6163         * soft-fp/op-common.h: Likewise.
6164         * soft-fp/soft-fp.h: Likewise.
6166         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6168 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
6170         [BZ #6652]
6171         * Makeconfig (soversions-default-setname): Remove variable.
6172         ($(common-objpfx)soversions.i): Don't pass default_setname to
6173         soversions.awk.
6174         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6175         oldest_abi to abi-versions.awk.
6176         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6177         * config.make.in (oldest-abi): Remove variable.
6178         * configure.ac (--enable-oldest-abi): Remove configure option.
6179         * configure: Regenerated.
6180         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6181         text.
6182         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6183         * scripts/soversions.awk: Do not handle default_setname variable.
6184         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6185         variable.
6186         * sysdeps/mach/hurd/configure: Regenerated.
6187         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6188         variable.
6189         * sysdeps/unix/sysv/linux/configure: Regenerated.
6191 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6193         * elf/Makefile (CFLAGS-interp.c): Remove.
6194         ($(elf-objpfx)runtime-linker.h): Generate header with linker
6195         path string.
6196         * elf/interp.c: Include generated runtime-linker.h
6198         * Makerules (lib%.so): Don't include $(+interp) in
6199         prerequisites.
6200         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6201         * dlfcn/eval.c: Remove file.
6203         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6204         macros.
6206         [BZ #17266]
6207         * misc/sys/cdefs.h: Define __extern_always_inline for clang
6208         4.2 and newer.
6210         [BZ #17370]
6211         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6213 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6214             Jakub Jelinek  <jakub@redhat.com>
6216         [BZ #17266]
6217         * libio/stdio.h: Check definition of __fortify_function
6218         instead of __extern_always_inline to include bits/stdio2.h.
6219         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6220         check if __extern_always_inline is defined.
6221         [__USE_MISC || __USE_XOPEN]: Likewise.
6222         [__USE_ISOC99] Likewise.
6223         * misc/sys/cdefs.h (__fortify_function): Define only if
6224         __extern_always_inline is defined.
6225         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6226         __extern_always_inline and __extern_inline only for g++-4.3
6227         and newer or a compatible gcc.
6229 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
6231         [BZ #17371]
6232         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6233         last change to handle zero prefix length.
6235 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6237         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6238         _SC_REGEX_VERSION.
6240         * posix/getconf.c (vars): Add _POSIX_IPV6 and
6241         _POSIX_RAW_SOCKETS.
6243 2014-09-13  Allan McRae  <allan@archlinux.org>
6245         * po/ru.po: Update Russian translation from translation project.
6247 2014-09-12  Roland McGrath  <roland@hack.frob.com>
6249         * locale/programs/locale.c (show_locale_vars): Inline local function
6250         into its sole call site.  Clean up some style nits.
6251         (print_item): New function, broken out of ...
6252         (show_info): ... local function here.  Clean up style nits.
6254         * locale/programs/ld-ctype.c (set_one_default): New function, broken
6255         out of ...
6256         (set_class_defaults): ... local function set_default here.
6257         Define set_default as a macro locally to pass constant parameters.
6258         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6259         rather than a shared local.
6261         * stdlib/rpmatch.c (try): New function, broken out of ...
6262         (rpmatch): ... local function here.  Also, prototypify definition.
6264 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
6266         * scripts/soversions.awk: Do not handle configuration names.
6267         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6268         vendor and os variables to soversions.awk.
6269         * configure.ac: Do not modify gnu-* host_os.
6270         * configure: Regenerated
6271         * shlib-versions: Remove first column with configuration names.
6272         * nptl/shlib-versions: Likewise.
6273         * nptl_db/shlib-versions: Likewise.
6274         * sysdeps/hppa/shlib-versions: Likewise.
6275         * sysdeps/m68k/shlib-versions: Likewise.
6276         * sysdeps/mach/hurd/shlib-versions: Likewise.
6277         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6278         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6279         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6280         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6281         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6282         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6283         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6284         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6286         Likewise.
6287         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6288         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6289         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6290         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6291         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6292         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6293         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6294         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6297         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6299         Regenerated.
6300         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6302         Condition symbol version definitions on [HAVE_ELFV2_ABI].
6304         * shlib-versions: Remove OS-specific entries.  Moved to files in
6305         sysdeps.
6306         * sysdeps/mach/hurd/shlib-versions: New file.
6307         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6309         * nptl/shlib-versions: Remove architecture-specific entries.
6310         Moved to files in sysdeps.
6311         * shlib-versions: Likewise.
6312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6313         file.
6314         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6315         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6316         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6317         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6319         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6320         (UDP_NO_CHECK6_RX): Likewise.
6322 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6324         * sysdeps/posix/sysconf.c (__sysconf): Spell
6325         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6327 2014-08-12  Florian Weimer  <fweimer@redhat.com>
6329         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6330         loading.
6331         * iconv/Versions (__gconv_transliterate): Export for use from
6332         gconv modules.
6333         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6334         (struct __gconv_trans_data, __gconv_trans_fct,
6335         __gconv_trans_context_fct, __gconv_trans_query_fct,
6336         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6337         definitions.
6338         (struct __gconv_step_data): Remove __trans member.
6339         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
6340         longer hidden.  Remove unused trans_data argument.
6341         * iconv/gconv_int.h (struct trans_struct): Remove definition.
6342         (__gconv_translit_find): Remove declaration.
6343         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
6344         prototype.
6345         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6346         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6347         trans_data argument.  Add hidden definition.
6348         (__gconv_translit_find): Remove.
6349         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6350         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6351         * iconv/skeleton.c: Remove transliteration initialization.
6352         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6353         __gconv_step_data initialization.
6354         * libio/iofwide.c (__libio_translit_): Remove.
6355         (_IO_fwide): Adjust struct __gconv_step_data initialization.
6356         * wcsmbs/btowc.c (__btowc): Likewise.
6357         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6358         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6359         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6360         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6361         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6362         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6363         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6364         * wcsmbs/wctob.c (wctob): Likewise.
6366 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6368         [BZ #16194]
6369         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6370         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
6371         register usage.
6372         * sysdeps/x86/Makefile: Adjust.
6374 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6375             Roland McGrath  <roland@hack.frob.com>
6377         * locale/weight.h: Add include guard.
6378         (findidx): Make static rather than auto; take new parameters
6379         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6380         * locale/weightwc.h: Likewise.
6381         * posix/fnmatch_loop.c
6382         (FCT): Change type of EXTRA from int32_t to wint_t.
6383         Don't include either header inside the function.
6384         Call FINDIDX rather than findidx, and pass new arguments.
6385         #undef FINDIDX at the end of the file.
6386         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6387         FINDIDX before including fnmatch_loop.c for the non-wide version.
6388         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6389         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6390         for the wide version.
6391         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6392         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6393         Pass new arguments to findidx.
6394         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6395         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6396         Don't #include it inside the function.  Pass new arguments to findidx.
6397         * posix/regex_internal.h
6398         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6399         (re_string_elem_size_at): Don't #include it inside the function.
6400         Pass new arguments to findidx.
6401         * string/strcoll_l.c: #include WEIGHT_H at top level.
6402         (get_next_seq): Don't #include it inside the function.
6403         Pass new arguments to findidx.
6404         (get_next_seq_nocache): Likewise.
6405         * string/strxfrm_l.c: #include WEIGHT_H at top level.
6406         (STRXFRM): Don't #include it inside the function.
6407         Pass new arguments to findidx.
6409 2014-09-11  Florian Weimer  <fweimer@redhat.com>
6411         [BZ #17344]
6412         * malloc/malloc.c (unlink): Turn asserts into a call to
6413         malloc_printerr.
6415 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
6417         [BZ #17370]
6418         * libio/wfileops (do_ftell_wide): Free OUT.
6420 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
6422         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
6424 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6426         [BZ #17363]
6427         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
6428         group if the current group is empty.
6430 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6432         * benchtests/bench-memset.c (test_main): Add more test from size
6433         from 32 to 512 bytes.
6434         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6435         Add POWER8 memset object.
6436         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
6437         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
6438         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
6439         implementation.
6440         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
6441         Likewise.
6442         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
6443         multiarch POWER8 memset optimization.
6444         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
6445         POWER8 memset optimization.
6447         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
6448         Remove bzero multiarch objects.
6449         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
6450         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
6451         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
6452         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
6453         Remove define.
6454         [__bzero]: Redefine to specific name.
6455         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
6456         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
6457         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
6458         define.
6459         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
6460         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
6462 2014-09-10  Florian Weimer  <fweimer@redhat.com>
6464         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
6465         warnings into errors.
6467         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
6468         __cxa_thread_atexit_impl prototype.
6470 2014-09-09  Steve Ellcey  <sellcey@mips.com>
6472         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
6473         Fix capitalization of error message.
6475 2014-09-09  Steve Ellcey  <sellcey@mips.com>
6477         * sysdeps/mips/preconfigure: Modify ABI tests.
6479 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
6481         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
6483 2014-09-07  Roland McGrath  <roland@hack.frob.com>
6484             Carlos O'Donell  <carlos@systemhalted.org>
6486         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
6487         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
6488         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
6489         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
6490         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
6491         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
6492         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
6493         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
6494         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
6495         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
6496         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
6497         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
6498         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
6499         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
6500         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
6501         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
6502         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
6503         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
6504         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
6505         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
6506         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
6507         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
6508         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
6509         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
6510         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
6511         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
6512         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
6513         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
6514         Deconditionalize the code that was previously under [RESET_PID].
6515         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
6516         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
6517         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
6518         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
6519         include sysdep.h.
6521 2014-09-08  Allan McRae  <allan@archlinux.org>
6523         * version.h (RELEASE): Set to "development".
6524         (VERSION): Set to "2.20.90"
6526 2014-09-07  Allan McRae  <allan@archlinux.org
6528         * version.h (RELEASE): Set to "stable".
6529         (VERSION): Set to "2.20"
6530         * include/features.h (__GLIBC_MINOR__): Set to 20.
6532         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
6533         Liebler.
6535         * po/ko.po: Update Korean translation from translation project.
6537 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
6539         [BZ #17354]
6540         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
6541         macro for handling signed relocations.
6543 2014-09-03  Florian Weimer  <fweimer@redhat.com>
6545         [BZ #17325]
6546         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
6547         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
6548         assert.
6549         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
6550         * iconvdata/ibm935.c (BODY): Likewise.
6551         * iconvdata/ibm937.c (BODY): Likewise.
6552         * iconvdata/ibm939.c (BODY): Likewise.
6553         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
6554         assert.
6555         * iconvdata/Makefile (iconv-test.out): Pass module list to test
6556         script.
6557         * iconvdata/run-iconv-test.sh: New test loop for checking for
6558         decoder crashers.
6560 2014-09-02  Khem Raj  <raj.khem@gmail.com>
6562         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
6563         libm_hidden_ver.
6565 2014-09-01  Allan McRae  <allan@archlinux.org>
6567         * po/eo.po: Update Esperanto translation from translation project.
6569         * po/ca.po: Update Catalan translation from translation project.
6571 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6573         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
6574         __proc_dostop call.
6576 2014-08-27  Mark Wielaard  <mjw@redhat.com>
6578         [BZ #17319]
6579         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
6580         to call set_thread_area instead of hand written asm.
6581         (__NR_set_thread_area): Removed define.
6582         (TLS_FLAG_WRITABLE): Likewise.
6583         (__ASSUME_SET_THREAD_AREA): Remove check.
6584         (TLS_EBX_ARG): Remove define.
6585         (TLS_LOAD_EBX): Likewise.
6587 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6589         Simplify atomicity of socket creation in bind.
6591         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
6592         looking up the name after linking the file.
6594 2014-08-27  Allan McRae  <allan@archlinux.org>
6596         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
6598 2014-08-26  Florian Weimer  <fweimer@redhat.com>
6600         [BZ #17187]
6601         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
6602         trans_compare, open_translit, __gconv_translit_find):
6603         Remove module loading code.
6605 2014-08-26  Allan McRae  <allan@archlinux.org>
6607         * po/vi.po: Update Vietnamese translation from translation project.
6609         * po/uk.po: Update Ukrainian translation from translation project.
6611         * po/fr.po: Update French translation from translation project.
6613         * po/ru.po: Update Russian translation from translation project.
6615         * po/pl.po: Update Polish translation from translation project.
6617         * po/cs.po: Update Czech translation from translation project.
6619         * po/de.po: Update German translation from translation project.
6621         * po/bg.po: Update Bulgarian translation from translation project.
6623         * po/sv.po: Update Sweedish translation from translation project.
6625         * po/nl.po: Update Dutch translation from translation project.
6627         * po/es.po: Update Spanish translation from translation project.
6629 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
6631         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
6633         * catgets/Makefile (CPPFLAGS-gencat): Remove.
6634         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
6635         (CPPFLAGS-iconvconfig): Likewise.
6636         * timezone/Makefile (CPPFLAGS-zic): Likewise.
6638         * include/libc-symbols.h: Remove unnecessary check for
6639         NOT_IN_libc.
6640         * nptl/pthreadP.h: Likewise.
6641         * sysdeps/aarch64/setjmp.S: Likewise.
6642         * sysdeps/alpha/setjmp.S: Likewise.
6643         * sysdeps/arm/sysdep.h: Likewise.
6644         * sysdeps/i386/setjmp.S: Likewise.
6645         * sysdeps/m68k/setjmp.c: Likewise.
6646         * sysdeps/posix/getcwd.c: Likewise.
6647         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
6648         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
6649         * sysdeps/s390/s390-32/setjmp.S: Likewise.
6650         * sysdeps/s390/s390-64/setjmp.S: Likewise.
6651         * sysdeps/sh/sh3/setjmp.S: Likewise.
6652         * sysdeps/sh/sh4/setjmp.S: Likewise.
6653         * sysdeps/unix/alpha/sysdep.h: Likewise.
6654         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
6655         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6656         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
6657         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
6658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
6659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
6660         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6661         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6662         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
6663         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
6664         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
6665         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
6666         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6667         * sysdeps/x86_64/setjmp.S: Likewise.
6669 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
6671         [BZ #17263]
6672         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
6673         <stdint.h>.
6674         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
6675         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
6677 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
6679         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
6681         [BZ #17262]
6682         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
6683         and __x86_64__ when disabling x87 inline functions.
6685 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
6687         [BZ #17259]
6688         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
6689         asm statement with __cpuid_count.
6691 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
6693         * configure.ac: Change __ehdr_start code to dereference the struct.
6694         Run readelf on the output to look for relocations.
6695         * configure: Regenerated.
6697 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
6699         [BZ #17261]
6700         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
6701         value to 0.
6702         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
6704 2014-08-12  Roland McGrath  <roland@hack.frob.com>
6706         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
6708 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
6710         [BZ #16892]
6711         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
6712         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
6714 2014-08-12  Sean Anderson  <seanga2@gmail.com>
6716         * malloc/malloc.c: Fix typo in comment.
6718 2014-08-09  Allan McRae  <allan@archlinux.org>
6720         * Regenerate libc.po.
6722 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
6724         * intl/tst-gettext2.sh: Check every lang file for creation.
6726 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
6728         * sysdeps/aarch64/fpu/math_private.h
6729         (libc_feholdsetround_noex_aarch64_ctx): New function.
6731 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
6733         * sysdeps/arm/armv6/strcpy.S (strcpy):
6734         Fix performance issue in misaligned cases.
6736 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6738         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
6739         Move definition from termios.h.
6740         (struct termio): Likewise.
6741         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6742         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6743         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6744         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6745         Likewise.
6746         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
6747         Move definition to ioctl-types.h
6748         (struct termio): Likewise.
6749         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
6750         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
6751         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
6752         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
6753         Likewise.
6755 2014-08-05  Richard Henderson  <rth@redhat.com>
6757         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
6758         exceptions.
6759         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
6760         Add fraiseexcpt.
6761         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
6762         Use __feraiseexcept.
6763         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
6764         Protect libm symbols with IS_IN_libm.
6766         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
6768 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
6770         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
6772 2014-08-04  Will Newton  <will.newton@linaro.org>
6774         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
6775         file.
6777 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
6779         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
6780         variants for each function.
6782 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6784         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
6785         appended ...
6786         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
6787         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
6788         appended ...
6789         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
6790         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
6791         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
6792         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
6793         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
6794         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
6795         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
6796         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
6797         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
6798         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
6799         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
6800         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
6801         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
6802         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
6803         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
6804         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
6805         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
6806         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
6807         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
6808         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
6809         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
6810         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
6811         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
6812         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
6813         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
6814         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
6815         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
6816         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
6817         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
6818         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
6819         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
6820         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
6821         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
6822         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
6823         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
6824         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
6825         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
6826         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
6827         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
6828         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
6829         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
6830         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
6831         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
6832         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
6833         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
6834         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
6835         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
6836         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
6837         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
6838         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
6839         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
6840         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
6841         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
6842         Update #include.
6843         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
6844         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
6846 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6848         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
6849         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
6850         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
6851         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
6852         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
6853         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
6855 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6857         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
6858         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
6859         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
6860         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
6862 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6864         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
6865         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
6866         (__libc_vfork): Define function under this name.
6867         (__vfork): Define as an alias.
6868         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
6869         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
6871 2014-08-04  Roland McGrath  <roland@hack.frob.com>
6873         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
6874         that was previously under [RESET_PID].
6875         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
6877 2014-08-04  Andreas Schwab  <schwab@suse.de>
6879         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
6881 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
6883         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
6884         (main): Likewise.
6886 2014-08-01  Roland McGrath  <roland@hack.frob.com>
6888         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
6890 2014-08-01  Richard Henderon  <rth@redhat.com>
6892         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
6893         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
6894         typo in exact zero test.
6895         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6896         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6897         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6899 2014-08-01  Roland McGrath  <roland@hack.frob.com>
6901         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
6902         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
6903         * sysdeps/arm/sysdep.h: ... here.
6904         [!__ASSEMBLER__]: Include <stdint.h>.
6906 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
6908         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
6909         (HAVE_WCTYPE_H): Likewise.
6910         (HAVE_ISWCTYPE): Likewise.
6911         (ENABLE_NLS): Likewise.
6912         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
6913         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
6915         * posix/regex_internal.c: Check if DEBUG is defined and is
6916         set.
6918         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
6919         (HAVE_MBSRTOWCS): Likewise.
6920         * posix/fnmatch.c: Include string.h unconditionally.
6922 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6924         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
6925         reversal.
6927 2014-07-31  Roland McGrath  <roland@hack.frob.com>
6929         * sysdeps/generic/safe-fatal.h: New file.
6930         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
6931         * nptl/forward.c: Include it.
6932         (__pthread_unwind): Use __safe_fatal as default action, rather
6933         than a bogus use of INTERNAL_SYSCALL that could never work.
6935         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
6936         * configure.ac (libc_cv_builtin_trap): New test.
6937         * configure: Regenerated.
6938         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
6939         (ABORT_INSTRUCTION): Define using __builtin_trap.
6941         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
6942         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
6943         * sysdeps/nptl/nptl-signals.h: New file.
6944         * nptl/pthreadP.h: Include <nptl-signals.h>.
6946 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6948         * sysdeps/s390/s390-64/utf16-utf32-z9.c
6949         (ONE_DIRECTION): Define.
6950         * sysdeps/s390/s390-64/utf8-utf16-z9.c
6951         (ONE_DIRECTION): Define.
6952         * sysdeps/s390/s390-64/utf8-utf32-z9.c
6953         (ONE_DIRECTION): Define.
6955 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6957         * sysdeps/s390/Makefile: Delete file.
6958         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
6959         * sysdeps/s390/__longjmp.c: Delete file.
6960         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
6961         Remove fields __flags and __reserved.
6962         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
6963         and add versioning.
6964         * sysdeps/s390/rtld-__longjmp.c: Delete file.
6965         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
6966         * sysdeps/s390/rtld-setjmp.S: Likewise.
6967         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
6968         * sysdeps/s390/s390-32/__longjmp.c: ... here.
6969         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
6970         * sysdeps/s390/s390-32/setjmp.S: ... here.
6971         Add versioning.
6972         (__sigsetjmp): Remove setting __flags field.
6973         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
6974         * sysdeps/s390/s390-64/__longjmp.c: ... here.
6975         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
6976         * sysdeps/s390/s390-64/setjmp.S: ... here.
6977         Add versioning.
6978         (__sigsetjmp): Remove setting __flags field.
6979         * sysdeps/s390/setjmp.S: Delete file.
6980         * sysdeps/s390/sigjmp.c: Likewise.
6981         * sysdeps/s390/v1-longjmp.c: Likewise.
6982         * sysdeps/s390/v1-setjmp.h: Likewise.
6983         * sysdeps/s390/v1-sigjmp.c: Likewise.
6984         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
6985         Remove v1-longjmp_chk.
6986         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
6987         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
6988         Include debug/longjmp_chk.c and add versioning.
6989         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
6990         Include nptl/pt-longjmp.c and add versioning.
6991         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
6992         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
6993         Include __longjmp.c.
6994         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6995         Move to ...
6996         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
6997         (__getcontext): Remove setting __flags field.
6998         Add versioning.
6999         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7000         Don't restore upper high grps.
7001         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7002         Likewise.
7003         (__swapcontext): Remove setting uc_flags field.
7004         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7005         Delete file.
7006         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7007         Include __longjmp.c.
7008         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7009         Move to ...
7010         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7011         (__getcontext): Remove setting __flags field.
7012         Add versioning.
7013         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7014         (__swapcontext): Remove setting uc_flags field.
7015         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7016         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7017         Remove fields uc_high_gprs and __reserved.
7018         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7019         New file with reverted content.
7020         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7021         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7022         Regenerated.
7023         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7024         Regenerated.
7026 2014-07-31  Andreas Schwab  <schwab@suse.de>
7028         * config.h.in (HAVE_IFUNC): Define to 0.
7029         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7030         definedness.
7032 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
7034         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7035         memmove-avx-unaligned, memcpy-avx-unaligned and
7036         mempcpy-avx-unaligned.
7037         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7038         Add tests for AVX memcpy functions.
7039         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7040         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7041         memcpy_chk.
7042         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7043         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7044         memmove_chk.
7045         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7046         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7047         mempcpy_chk.
7048         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7049         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7050         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7052 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7054         [BZ #17213]
7055         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7056         powerpc64le.
7058 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
7060         [BZ #16839]
7061         * manual/llio.texi: Add section about open file description locks.
7062         * manual/examples/ofdlocks.c: Example of open file description
7063         lock usage.
7064         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7065         F_OFD_SETLK, and F_OFD_SETLKW.
7067 2014-07-23  Allan McRae  <allan@archlinux.org>
7069         * po/es.po: Update Spanish translation from translation project.
7071 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
7073         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7075 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
7077         [BZ #17078]
7078         * sysdeps/arm/dl-machine.h (elf_machine_rela)
7079         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7080         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7082 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
7084         [BZ #17088]
7085         * math/fesetenv.c (__fesetenv)
7086         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7087         * math/feupdateenv.c (__feupdateenv)
7088         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7090         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7091         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7092         (__ASSUME_SOCKETCALL): Do not define.
7094         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7095         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7096         (__ASSUME_SOCKETCALL): Do not define.
7097         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7098         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7099         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7100         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7101         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7102         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7103         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7104         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7106         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7107         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7108         (__ASSUME_SOCKETCALL): Do not define.
7109         (__ASSUME_IPC64): Define unconditionally.
7110         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7111         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7112         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7113         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7114         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7115         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7116         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7117         Likewise.
7119         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7120         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7121         (__ASSUME_SOCKETCALL): Do not define.
7122         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7123         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7124         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7125         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7126         (__ASSUME_REQUEUE_PI): Define unconditionally.
7127         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7128         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7129         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7130         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7131         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7132         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7134         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7135         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7136         (__ASSUME_SOCKETCALL): Do not define.
7137         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7138         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7139         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7140         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7141         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7142         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7144         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7145         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7146         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7147         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7148         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7149         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7150         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7151         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7152         (__ASSUME_GETCPU_SYSCALL): Likewise.
7154         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7155         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
7156         cases for individual architectures.
7157         * sysdeps/gnu/configure: Regenerated.
7158         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7159         LIBC_SLIBDIR_RTLDDIR.
7160         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7161         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7162         LIBC_SLIBDIR_RTLDDIR.
7163         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7165         LIBC_SLIBDIR_RTLDDIR.
7166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7167         Regenerated.
7168         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7169         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7170         file.
7171         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7172         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7173         file.
7174         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7175         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7176         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7177         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7179         * sysdeps/aarch64/shlib-versions: Move to ...
7180         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7181         * sysdeps/alpha/shlib-versions: Move to ...
7182         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7183         * sysdeps/arm/shlib-versions: Move to ...
7184         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7185         * sysdeps/hppa/shlib-versions: Move all contents except for
7186         libgcc_s entry to ...
7187         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
7188         entry from ...
7189         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
7190         * sysdeps/ia64/shlib-versions: Move to ...
7191         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
7192         entry from ...
7193         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
7194         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7195         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7196         * sysdeps/microblaze/shlib-versions: Move to ...
7197         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7198         * sysdeps/mips/shlib-versions: Move to ...
7199         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
7200         entry from ...
7201         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
7202         * sysdeps/tile/shlib-versions: Move to ...
7203         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7204         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7205         from ...
7206         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
7207         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7208         entry from ...
7209         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
7211 2014-07-17  Will Newton  <will.newton@linaro.org>
7213         * sysdeps/arm/bits/atomic.h
7214         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7215         (__arch_compare_and_exchange_bool_16_int): Likewise.
7216         (__arch_compare_and_exchange_bool_64_int): Likewise.
7218         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7219         into an #else block.
7221 2014-07-16  Roland McGrath  <roland@hack.frob.com>
7223         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7224         just Linux configurations.  Test empirically that the compiler sets
7225         __ARM_EABI__, rather than using the tuple to decide.
7226         * sysdeps/arm/preconfigure: Regenerated.
7227         * sysdeps/unix/sysv/linux/arm/configure: File removed.
7228         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7229         contents appended ...
7230         * sysdeps/arm/configure.ac: ... here.
7231         * sysdeps/arm/configure: Regenerated.
7233 2014-07-15  Roland McGrath  <roland@hack.frob.com>
7235         * nptl/pthread_kill.c: New file.
7236         * nptl/pthread_sigmask.c: New file.
7237         * nptl/pthread_sigqueue.c: New file.
7239         * sysdeps/nptl/lowlevellock.h: New file.
7240         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7241         * sysdeps/nptl/lowlevellock-futex.h: New file.
7243         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7244         Remove dead declarations.
7246 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
7248         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7249         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7250         config-cflags-avx2.
7251         * sysdeps/x86_64/configure.ac: Likewise.
7252         * sysdeps/i386/configure: Regenerated.
7253         * sysdeps/x86_64/configure: Likewise.
7254         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7255         memset-avx2 only if config-cflags-avx2 is yes.
7256         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7257         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7258         defined.
7259         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7260         only if HAVE_AVX2_SUPPORT is defined.
7261         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7263 2014-07-14  Alan Modra  <amodra@gmail.com>
7265         [BZ #17153]
7266         * elf/elf.h (DT_PPC64_NUM): Correct value.
7267         * NEWS: Add to fixed bug list.
7269 2014-07-13  Jim Meyering  <meyering@fb.com>
7271         [BZ 17150]
7272         regex: don't deref NULL upon heap allocation failure
7273         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7274         failure in one more place.
7275         To trigger the segfault, configure grep -with-included-regex,
7276         build it, and run these commands:
7277         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7279 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
7281         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7283 2014-07-11  Richard Henderson  <rth@redhat.com>
7285         * sysdeps/aarch64/libm-test-ulps: Update.
7287 2014-07-10  Florian Weimer  <fweimer@redhat.com>
7289         [BZ #17135]
7290         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7291         * nptl/allocatestack.c (__nptl_setxid_error): New function.
7292         (__nptl_setxid): Initialize error member.  Call
7293         __nptl_setxid_error.
7294         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7295         * nptl/descr.h (struct xid_command): Add error member.
7296         * nptl/tst-setuid3.c: New file.
7297         * nptl/Makefile (tests): Add it.
7299 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7301         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7302         New define.
7303         (__lll_trylock): Use __lll_base_trylock.
7304         (__lll_cond_trylock): Likewise.
7306 2014-07-10  Roland McGrath  <roland@hack.frob.com>
7308         * nptl/pthread_create.c (start_thread): Use atomic_or and
7309         lll_futex_wake directly rather than lll_robust_dead.
7310         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7311         (lll_robust_dead): Macro removed.
7312         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
7313         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7314         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7315         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7316         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7317         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7318         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7319         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7320         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7321         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7322         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7323         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7324         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7325         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7326         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7328         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7329         Use atomic_compare_and_exchange_val_acq directly rather than
7330         lll_robust_trylock.
7331         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7332         (__lll_robust_trylock, lll_robust_trylock): Removed.
7333         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7334         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7335         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7336         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7337         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7338         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7339         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7340         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7341         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7342         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7343         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7344         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7345         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7346         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7348 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7350         * manual/locale.texi (Locale Names): New section documenting
7351         locale name syntax.  Adjust menu and node chaining accordingly.
7352         (Choosing Locale): Reference Locale Names, Locale Categories.
7353         Mention setting LC_ALL=C.  Reflect that name syntax is now
7354         documented.
7355         (Locale Categories): New section title.  Reference Locale Names.
7356         LC_ALL is an environment variable, but not a category.
7357         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7358         description, now in Locale Name.  Reference that section.  Locale
7359         name syntax is now documented.
7361 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7363         [BZ #17137]
7364         * locale/findlocale.c (name_present, valid_locale_name): New
7365         functions.
7366         (_nl_find_locale): Use the loc_name variable to store name
7367         candidates.  Call name_present and valid_locale_name to check and
7368         validate locale names.  Return an error if the locale is invalid.
7370 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7372         * locale/setlocale.c (setlocale): Use strdup for allocating
7373         composite name copy.
7375 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7377         Sync up with gnulib.
7378         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7379         [!_LIBC && ENABLE_NLS]: Include gettext.h.
7380         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7381         and _GL_ARG_NONNULL.
7382         [USE_UNLOCKED_IO]: Include unlocked-io.h.
7383         [!_LIBC]: Include code for Windows and Cygwin.
7384         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7385         Include prototype for int strerror_r.
7386         [!_LIBC] (is_open): New function.
7387         (flush_stdout): New function.
7388         (print_errno_message): Use it.
7389         (error): Likewise.
7390         (error_at_line): Likewise.
7391         (error_tail) Add function attribute macros.  Use
7392         __builtin_expect.
7394         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7396         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7398         * io/ftw.c: Include sys/param.h unconditionally.
7400         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7402         [BZ #17125]
7403         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7404         libc_freeres_ptr.
7405         (freecache): New function to free CACHE on exit.
7407         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7408         initialization.
7410 2014-07-09  David S. Miller  <davem@davemloft.net>
7412         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7414         * sysdeps/sparc/nptl/internaltypes.h: Delete.
7415         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7416         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7417         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7418         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7419         * sysdeps/sparc/nptl/sem_init.c: Likewise.
7420         * sysdeps/sparc/nptl/sem_post.c: Likewise.
7421         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
7422         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
7423         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
7424         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
7425         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
7426         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
7428 2014-07-09  Andreas Schwab  <schwab@suse.de>
7430         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
7431         output.
7432         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
7433         (do_test): Likewise.
7435         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7437 2014-07-09  Will Newton  <will.newton@linaro.org>
7439         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
7440         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
7441         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
7442         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
7443         * sysdeps/hppa/start.S (_start): Likewise.
7445 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
7447         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
7449         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
7450         defined.
7452 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7454         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
7455         after checking that it is non-NULL.
7457         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
7459 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7461         * sysdeps/powerpc/memmove.c: Remove file.
7462         * sysdeps/powerpc/powerpc32/power4/memcopy.h
7463         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
7464         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
7465         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
7466         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
7467         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
7468         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
7469         string memmove instead of removed powerpc one.
7471         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
7472         [weak_alias]: Fix compiler warning due trailing data.
7473         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
7474         [weak_alias]: Likewise.
7475         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
7476         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
7478         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
7479         (__libc_ifunc_impl_list): Add memmove functions.
7481 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
7483         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
7484         Remove code.
7485         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
7486         Likewise
7487         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
7488         Likewise
7489         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
7490         Likewise
7491         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
7492         Likewise
7493         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
7494         Likewise
7495         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
7496         Likewise
7497         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
7498         Likewise
7499         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
7500         Likewise
7501         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
7502         Likewise
7503         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
7504         Likewise
7505         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
7506         Likewise
7507         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
7508         Likewise
7509         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
7510         Likewise
7511         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
7512         Likewise
7513         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
7514         Likewise
7515         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
7516         Likewise
7518 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7520         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
7521         to avoid alignment traps in non-cacheable memory.
7522         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
7524         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
7525         multiarch objects.
7526         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
7527         file: multiarch power7 memmove.
7528         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
7529         multiarch default memmove.
7530         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
7531         multiarch memove for powerpc32/power4.
7533         * string/bcopy.c: Use full path to include memmove.c.
7534         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
7535         multiarch objects.
7536         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
7537         bcopy for powerpc64.
7538         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
7539         bcopy for powerpc64.
7540         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
7541         and memmove implementations.
7542         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
7543         optimized multiarch memmove for POWER7/powerpc64.
7544         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
7545         default multiarch memmove for powerpc64.
7546         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
7547         multiarch for powerpc64.
7548         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
7549         for POWER7/powerpc64.
7550         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
7551         memmove for POWER7/powerpc64.
7553         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
7554         glibc default one.
7556         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
7557         __ELF_NATIVE_CLASS equal to 64.
7559 2014-07-07  Roland McGrath  <roland@hack.frob.com>
7561         * sysdeps/nptl/lowlevellock.h: File removed.
7563         * NEWS: NPTL is no longer an add-on!
7564         * nptl/internaltypes.h: Moved ...
7565         * sysdeps/nptl/internaltypes.h: ... here.
7566         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
7567         * sysdeps/nptl/fork.c: Likewise.
7568         * sysdeps/nptl/gai_misc.h: Likewise.
7569         * sysdeps/nptl/librt-cancellation.c: Likewise.
7570         * sysdeps/nptl/jmp-unwind.c: Likewise.
7571         * sysdeps/nptl/setxid.h: Likewise.
7572         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
7573         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
7574         * sysdeps/unix/sysv/linux/arm/Implies: New file.
7575         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
7576         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
7577         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
7578         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
7579         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
7580         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
7581         * sysdeps/unix/sysv/linux/mips/Implies: New file.
7582         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
7583         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
7584         * sysdeps/unix/sysv/linux/sh/Implies: New file.
7585         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
7586         * sysdeps/unix/sysv/linux/tile/Implies: New file.
7587         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
7588         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
7589         * nptl/Makeconfig: Moved ...
7590         * sysdeps/nptl/Makeconfig: ... here.
7591         * nptl/configure: File removed.
7592         * nptl/ANNOUNCE: File removed.
7593         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
7594         * sysdeps/unix/sysv/linux/configure: Regenerated.
7596         * nptl/Makefile (routines): Add libc_pthread_init,
7597         libc_multiple_threads, register-atfork and unregister-atfork.
7598         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
7599         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
7600         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
7601         pthread-pi-defines.sym, structsem.sym.
7602         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
7603         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
7604         [$(subdir) = nptl] (tests): Add tst-setgetname.
7605         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
7606         * sysdeps/unix/sysv/linux/sigaction.c: Just include
7607         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
7608         [!LIBC_SIGACTION]: Remove aliases.
7609         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7610         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7611         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7612         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
7613         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7614         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
7615         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
7616         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
7617         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7618         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
7619         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
7620         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
7621         __libc_allocate_rtsig_private.
7622         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
7623         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
7624         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
7625         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
7626         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
7627         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
7628         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
7629         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
7630         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
7631         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
7632         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
7633         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
7634         * nptl/internaltypes.h: ... here.
7635         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
7636         * sysdeps/nptl/jmp-unwind.c: ... here.
7637         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
7638         * nptl/libc-lowlevellock.c: ... here.
7639         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
7640         * nptl/libc_multiple_threads.c: ... here.
7641         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
7642         * nptl/libc_pthread_init.c: ... here.
7643         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
7644         * nptl/lowlevelbarrier.sym: ... here.
7645         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
7646         * nptl/lowlevelcond.sym: ... here.
7647         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
7648         * nptl/lowlevellock.c: ... here.
7649         * nptl/lowlevellock.h: Moved ...
7650         * sysdeps/nptl/lowlevellock.h: ... here.
7651         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
7652         * nptl/lowlevelrobustlock.c: ... here.
7653         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
7654         * nptl/lowlevelrobustlock.sym: ... here.
7655         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
7656         * nptl/lowlevelrwlock.sym: ... here.
7657         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
7658         * nptl/pt-fork.c: ... here.
7659         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
7660         * nptl/pthread-pi-defines.sym: ... here.
7661         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
7662         * nptl/pthread_attr_getaffinity.c: ... here.
7663         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
7664         * nptl/pthread_attr_setaffinity.c: ... here.
7665         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
7666         * nptl/pthread_mutex_cond_lock.c: ... here.
7667         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
7668         Update #include.
7669         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
7670         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
7671         * nptl/pthread_once.c: ... here, replacing old file.
7672         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
7673         * nptl/pthread_yield.c: ... here.
7674         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
7675         * nptl/register-atfork.c: ... here.
7676         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
7677         * nptl/sem_post.c: ... here.
7678         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
7679         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
7680         * nptl/sem_timedwait.c: ... here.
7681         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
7682         * nptl/sem_trywait.c: ... here.
7683         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
7684         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
7685         * nptl/sem_wait.c: ... here.
7686         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
7687         * nptl/structsem.sym: ... here.
7688         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
7689         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
7690         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
7691         * nptl/unregister-atfork.c: ... here.
7692         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
7693         * nptl/unwindbuf.sym: ... here.
7694         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
7695         * sysdeps/nptl/fork.c: ... here.
7696         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
7697         * sysdeps/nptl/fork.h: ... here.
7698         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
7699         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
7700         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
7701         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
7702         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
7703         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
7704         * sysdeps/unix/sysv/linux/getpid.c: ... here.
7705         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
7706         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
7707         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
7708         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
7709         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
7710         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
7711         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
7712         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
7713         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
7714         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
7715         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
7716         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
7717         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
7718         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
7719         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
7720         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
7721         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
7722         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
7723         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
7724         * sysdeps/unix/sysv/linux/raise.c: ... here.
7725         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
7726         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
7727         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
7728         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
7729         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
7730         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
7731         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
7732         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
7733         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
7734         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
7735         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
7736         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
7737         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
7738         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
7739         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
7741 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
7743         * sysdeps/generic/memcopy.h: Add comment for
7744         MEMCPY_OK_FOR_FWD_MEMMOVE.
7746 2014-07-04  Will Newton  <will.newton@linaro.org>
7748         * string/memchr.c: Merge from gnulib.
7749         [_LIBC]: Remove conditionals.
7750         (__ptr_t): Remove define.
7751         (LONG_MAX_32_BITS): Likewise.
7752         (LONG_MAX): Likewise.
7753         (MEMCHR): Use ANSI prototype and optimize algorithm.
7755         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
7757 2014-07-03  Roland McGrath  <roland@hack.frob.com>
7759         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
7760         (lll_futex_timed_wait_bitset): Fix syscall argument count.
7762         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
7763         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
7764         in a bare environment with no <stdlib.h> installed.
7765         * sysdeps/nptl/configure: Regenerated.
7767         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
7769         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
7770         AC_EGREP_CPP for kernel header checks, so they only succeed if
7771         including <linux/version.h> actually works right.
7772         * sysdeps/unix/sysv/linux/configure: Regenerated.
7774         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
7775         value so it's not diagnosed as unused.
7777         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
7778         thing) with "ifeq ($(subdir),rt)".
7780 2014-07-03  Richard Henderson  <rth@redhat.com>
7782         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
7783         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
7784         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
7786         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
7787         (math_force_eval): New.
7789         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
7790         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
7792         * sysdeps/alpha/fpu/s_round.c: Remove file.
7793         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
7795         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
7796         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
7797         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
7798         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
7799         (_dl_start, print_statistics): Likewise.
7800         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
7801         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
7803         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7804         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7805         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7806         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7807         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7808         (HP_SMALL_TIMING_AVAIL): Define.
7809         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7810         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7811         (HP_SMALL_TIMING_AVAIL): Define.
7812         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7813         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
7815         * sysdeps/aarch64/hp-timing.h: New file.
7817         * sysdeps/generic/hp-timing.h: Remove dead comment.
7818         * sysdeps/generic/hp-timing-common.h: New file.
7819         * sysdeps/alpha/hp-timing.h: Include it.
7820         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
7821         * sysdeps/i386/i686/hp-timing.h: Likewise.
7822         * sysdeps/ia64/hp-timing.h: Likewise.
7823         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
7824         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
7825         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
7826         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
7827         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
7828         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
7829         (hp_timing_t): New.
7831         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
7832         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
7833         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
7834         * elf/rtld.c (_dl_start_final): Likewise.
7835         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
7836         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7837         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7838         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7839         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7840         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7841         (HP_TIMING_DIFF_INIT): Remove.
7842         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7843         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
7844         (HP_TIMING_DIFF_INIT): Remove.
7845         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
7846         * sysdeps/i386/i686/hp-timing.c: Remove file.
7847         * sysdeps/x86_64/hp-timing.c: Remove file.
7848         * sysdeps/ia64/hp-timing.c: Remove file.
7849         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
7850         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
7851         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
7852         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
7854         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
7855         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
7856         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
7857         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7858         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
7859         (HP_TIMING_ACCUM): Remove.
7860         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7861         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
7862         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
7864         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
7865         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
7866         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
7867         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
7868         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
7869         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7870         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
7871         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
7873         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
7875 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
7877         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
7879 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7881         Sync up with gettext.
7882         * intl/loadmsgcat.c: Define O_BINARY if not defined.
7883         [_MSC_VER]: Include malloc.h
7884         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
7885         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
7886         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
7887         TEMP_FAILURE_RETRY.  Cast return of alloca.
7888         [!_LIBC] Call gl_rwlock_init.
7889         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
7891 2014-07-02  Roland McGrath  <roland@hack.frob.com>
7893         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
7894         before checking its value.
7896 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7898         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
7900         * debug/memcpy_chk.c: Don't include pagecopy.h.
7901         * debug/mempcpy_chk.c: Likewise.
7902         * string/memcpy.c: Likewise.
7903         * string/memmove.c: Likewise.
7904         * sysdeps/powerpc/memmove.c: Likewise.
7905         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
7906         definition of PAGE_COPY_FWD_MAYBE here...
7907         * sysdeps/generic/pagecopy.h: ... from here.
7908         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
7910 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
7911             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7913         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
7914         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
7915         optimizations.
7916         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7917         (__libc_ifunc_impl_list): Likewise.
7918         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
7919         multiarch strcat for PPC64.
7920         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
7921         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
7923 2014-07-02  Roland McGrath  <roland@hack.frob.com>
7925         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
7927 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7929         * intl/loadmsgcat.c: Remove declaration of
7930         get_sysdep_segment_value.
7931         (get_sysdep_segment_value): Use ISO C style.
7932         (_nl_load_domain): Use ISO C style.  Get rid of redundant
7933         semicolon.  Fix typo and formatting in comment.
7934         (_nl_unload_domain): Use ISO C style.
7936         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
7938 2014-07-02  Will Newton  <will.newton@linaro.org>
7940         * malloc/obstack.c: Merge from gnulib master.
7941         [HAVE_CONFIG_H]: Remove conditional code.
7942         [!_LIBC]: Include config.h.
7943         [!ELIDE_CODE]: Don't include inttypes.h, include
7944         stdint.h unconditionally.
7945         (print_and_abort): Mark as _Noreturn.
7946         (_obstack_allocated_p): Mark as __attribute_pure__.
7947         (obstack_free): Rename to __obstack_free.
7948         [!__attribute__]: Remove conditional code.
7949         * malloc/obstack.h: Merge from gnulib master.
7950         [__cplusplus]: Move conditional down.
7951         [!__attribute_pure__]: Define __attribute_pure__ here
7952         if it is not already defined.
7953         (_obstack_memory_used): Mark as __attribute_pure__.
7954         [!__obstack_free]: Define as obstack_free.
7955         [__GNUC__]: Remove check for ancient NeXT gcc.
7957 2014-07-02  Will Newton  <will.newton@linaro.org>
7958             Paul Eggert  <eggert@cs.ucla.edu>
7960         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
7962 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
7964         * resolv/gethnamaddr.c: Add comment warning that the file is
7965         not maintained.
7967 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
7969         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
7970         entries.
7972         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
7973         entry for aio_cancel and aio_cancel64.
7974         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
7975         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
7976         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
7977         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
7978         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
7979         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
7980         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
7981         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
7982         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
7983         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
7984         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
7985         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
7986         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
7988 2014-07-01  Roland McGrath  <roland@hack.frob.com>
7990         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
7991         * nptl/pthread_mutex_lock.c: Likewise.
7992         * nptl/pthread_mutex_timedlock.c: Likewise.
7993         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
7995 2014-07-01  Richard henderson  <rth@redhat.com>
7997         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
7998         (__isnan, __isnanl): Remove.
7999         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8001         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8003 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
8005         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8007 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8009         * resolv/nss_dns/dns-host.c (getanswer_r)
8010         [MULTI_PTRS_ARE_ALIASES]: Remove code.
8012 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
8014         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8015         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8016         undefine.
8017         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8018         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8020 2014-07-01  Roland McGrath <roland@hack.frob.com>
8022         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8023         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8025         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8026         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8028         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8029         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8030         ... here.
8031         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8032         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8034         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8035         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8036         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8037         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8039         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8040         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8041         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8042         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8043         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8044         Moved ...
8045         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8046         ... here.
8047         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8048         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8049         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8050         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8051         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8052         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8053         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8054         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8055         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8056         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8057         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8058         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8059         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8060         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8061         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8062         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8063         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8064         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8065         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8066         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8067         ... here.
8068         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8069         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8070         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8071         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8072         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8073         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8074         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8075         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8077 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
8079         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8080         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8081         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8082         Add sysdep.
8084 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8086         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8088 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
8090         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8091         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8093         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8095         * sysdeps/arm/libm-test-ulps: Regenerated.
8097 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
8098             Roland McGrath <roland@hack.frob.com>
8100         * test-skeleton.c (signal_handler): Kill the whole process group
8101         before killing the child individually.
8102         (main): Report any failure on `setpgid'.
8104 2014-06-30  Roland McGrath  <roland@hack.frob.com>
8106         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8107         from _TLS_H to _ARM_NPTL_TLS_H.
8108         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8109         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8111 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
8113         [BZ #16539]
8114         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8115         (__expm1l): Return argument unchanged when small but not
8116         subnormal.
8118         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8119         include macro name.
8120         (_FP_UNPACK_RAW_1_P): Likewise.
8121         (_FP_PACK_RAW_1): Likewise.
8122         (_FP_PACK_RAW_1_P): Likewise.
8123         (_FP_MUL_MEAT_1_wide): Likewise.
8124         (_FP_MUL_MEAT_DW_1_hard): Likewise.
8125         (_FP_MUL_MEAT_1_hard): Likewise.
8126         (_FP_DIV_MEAT_1_imm): Likewise.
8127         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8128         (_FP_DIV_MEAT_1_udiv): Likewise.
8129         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8130         (_FP_UNPACK_RAW_2): Likewise.
8131         (_FP_UNPACK_RAW_2_P): Likewise.
8132         (_FP_PACK_RAW_2): Likewise.
8133         (_FP_PACK_RAW_2_P): Likewise.
8134         (_FP_MUL_MEAT_DW_2_wide): Likewise.
8135         (_FP_MUL_MEAT_2_wide): Likewise.
8136         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8137         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8138         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8139         (_FP_MUL_MEAT_2_gmp): Likewise.
8140         (_FP_DIV_MEAT_2_udiv): Likewise.
8141         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8142         (_FP_FRAC_SRL_4): Likewise.
8143         (_FP_FRAC_SRST_4): Likewise.
8144         (_FP_FRAC_SRS_4): Likewise.
8145         (_FP_UNPACK_RAW_4): Likewise.
8146         (_FP_UNPACK_RAW_4_P): Likewise.
8147         (_FP_PACK_RAW_4): Likewise.
8148         (_FP_PACK_RAW_4_P): Likewise.
8149         (_FP_MUL_MEAT_DW_4_wide): Likewise.
8150         (_FP_MUL_MEAT_4_wide): Likewise.
8151         (_FP_MUL_MEAT_4_gmp): Likewise.
8152         (umul_ppppmnnn): Likewise.
8153         (_FP_DIV_MEAT_4_udiv): Likewise.
8154         (__FP_FRAC_ADD_4): Likewise.
8155         (__FP_FRAC_SUB_3): Likewise.
8156         (__FP_FRAC_SUB_4): Likewise.
8157         (__FP_FRAC_DEC_3): Likewise.
8158         (__FP_FRAC_DEC_4): Likewise.
8159         (__FP_FRAC_ADDI_4): Likewise.
8160         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8161         (_FP_FRAC_SRL_8): Likewise.
8162         (_FP_FRAC_SRS_8): Likewise.
8164         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8165         include macro name.
8166         (FP_UNPACK_RAW_EP): Likewise.
8167         (FP_PACK_RAW_E): Likewise.
8168         (FP_PACK_RAW_EP): Likewise.
8169         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8170         (_FP_ISSIGNAN): Likewise.
8171         (_FP_ADD_INTERNAL): Likewise.
8172         (_FP_FMA): Likewise.
8173         (_FP_CMP): Likewise.
8174         (_FP_SQRT): Likewise.
8175         (_FP_TO_INT): Likewise.
8176         (_FP_FROM_INT): Likewise.
8177         (FP_EXTEND): Likewise.
8178         (_FP_DIV_MEAT_N_loop): Likewise.
8180 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
8182         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8183         throughout.
8185 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
8187         [BZ #17097]
8188         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8189         result with correct sign in case of exponents that produce
8190         overflow except for X very close to 1.
8192 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
8194         mktime: merge #if/#ifdef usage from glibc
8195         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8196         as that works with both Glibc's and Gnulib's style.
8197         See thread starting at Siddhesh Poyarekar's bug report at:
8198         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8200 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8202         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8203         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8204         * sysdeps/tile/tilegx/memmove.c: Remove file.
8206 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
8208         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8209         abi-name definition.
8210         * scripts/soversions.awk: Do not handle or generate ABI lines.
8211         * shlib-versions: Remove ABI entries.
8212         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8213         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8215 2014-06-27  Roland McGrath  <roland@hack.frob.com>
8217         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8218         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8219         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8220         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8221         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8222         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8223         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8224         Moved ...
8225         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8226         ... here.
8227         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8228         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8229         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8230         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8231         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8232         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8233         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8234         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8235         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8236         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8237         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8238         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8239         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8240         Moved ...
8241         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8242         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8243         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8244         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8245         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8246         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8247         Moved ...
8248         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8249         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8250         Moved ...
8251         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8252         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8253         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8254         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8255         Moved ...
8256         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8257         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8258         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8259         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8260         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8261         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8262         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8263         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8264         Moved ...
8265         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8266         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8267         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8268         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8269         Moved ...
8270         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8271         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8272         Moved ...
8273         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8274         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8275         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8276         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8277         Moved ...
8278         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8279         ... here.
8280         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8281         Identical file removed.
8282         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8283         Moved ...
8284         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8285         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8286         Identical file removed.
8287         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8288         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8289         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8290         Moved ...
8291         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8292         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8293         Identical file removed.
8294         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8295         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8296         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8297         Identical file removed.
8298         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8299         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8300         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8301         Identical file removed.
8302         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8303         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8304         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8305         Identical file removed.
8306         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8307         Moved ...
8308         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8309         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8310         Identical file removed.
8311         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8312         Moved ...
8313         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8314         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8315         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8316         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8317         Identical file removed.
8318         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8319         Moved ...
8320         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8321         ... here.
8322         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8323         Identical file removed.
8324         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8325         Moved ...
8326         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8327         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8328         Identical file removed.
8329         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8330         Moved ...
8331         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8332         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8333         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8334         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8335         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8336         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8337         Moved ...
8338         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8339         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8340         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8342         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8343         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8344         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8345         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8346         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8348 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
8350         [BZ #17092]
8351         * nscd/nscd.c (monitor_child): Return exit status of child
8352         instead of return value from wait syscall.
8354 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
8356         * configure.ac (libc_commonpagesize): Remove variable.
8357         (libc_relro_required): Likewise.
8358         (libc_cv_z_relro): Remove configure test.
8359         * configure: Regenerated.
8360         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8361         variable.
8362         (libc_relro_required): Likewise.
8363         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8364         (libc_relro_required): Likewise.
8365         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8366         (libc_relro_required): Likewise.
8367         * sysdeps/arm/preconfigure: Regenerated.
8368         * sysdeps/ia64/preconfigure: Remove file.
8369         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8370         variable.
8371         (libc_relro_required): Likewise.
8373         [BZ #16561]
8374         [BZ #16562]
8375         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8376         (__ieee754_yn): Set FE_TONEAREST mode internally and then
8377         recompute overflowing results in original rounding mode.
8378         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8379         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8380         recompute overflowing results in original rounding mode.
8381         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8382         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8383         recompute overflowing results in original rounding mode.
8384         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8385         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8386         recompute overflowing results in original rounding mode.
8387         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8388         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8389         recompute overflowing results in original rounding mode.
8390         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8391         (libc_feholdsetround_ctx): New macro.
8392         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8393         * sysdeps/i386/fpu/libm-test-ulps: Update.
8394         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8396 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8398         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8399         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8400         corresponding .cpsetup call.
8402 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8404         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8405         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8406         * sysdeps/arm/Makefile [$(subdir) = csu]
8407         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8408         (static-only-routines): Add aeabi_read_tp here.
8409         (shared-only-routines): Add libc-aeabi_read_tp here.
8410         (CFLAGS-libc-start.c): Add -fexceptions here.
8411         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8412         (sysdep_routines, static-only-routines, shared-only-routines):
8413         Don't add to these here.
8414         (CFLAGS-libc-start.c): Likewise.
8416         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8417         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8418         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8419         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
8420         * sysdeps/arm/Makefile [$(subdir) = rt]
8421         (librt-sysdep_routines, librt-shared-only-routines):
8422         Append rt-aeabi_unwind_cpp_pr1 here.
8423         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
8424         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
8425         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
8426         (libpthread-sysdep_routines, libpthread-shared-only-routines):
8427         Append nptl-aeabi_unwind_cpp_pr1 here.
8428         (tests): Filter out tst-cleanupx4 here.
8429         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
8430         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
8431         Don't do those here.
8433 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8435         * scripts/list-sources.sh: Do not handle ports specially.
8437 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8439         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
8440         * sysdeps/arm/feupdateenv.c: Likewise.
8442         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
8444 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8446         * manual/texinfo.tex: Update to version 2014-05-05.10 with
8447         trailing whitespace removed.
8448         * scripts/config.guess: Update to version 2014-03-23.
8449         * scripts/config.sub: Update to version 2014-05-01
8450         * scripts/install-sh: Update to version 2013-12-25.23.
8451         * scripts/move-if-change: Update from gnulib.
8453 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8455         * debug/memmove_chk.c: Remove pagecopy.h include.
8457 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
8459         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
8460         identical to gnulib mktime.
8462 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8464         * configure.ac: Do not test for machine being rs6000.  Do not test
8465         for powerpc*-*soft.
8466         * configure: Regenerated.
8468         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
8469         test.
8470         * configure: Regenerated.
8471         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
8472         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
8473         Remove configure test.
8474         * sysdeps/arm/configure: Regenerated.
8475         * sysdeps/nptl/configure.ac: Do not check
8476         libc_cv_asm_cfi_directives.
8477         * sysdeps/nptl/configure: Regenerated.
8478         * sysdeps/x86_64/nptl/configure.ac: Remove file.
8479         * sysdeps/x86_64/nptl/configure: Remove generated file.
8480         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
8481         unconditional.
8482         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
8484 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
8486         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
8487         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
8488         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
8489         it is defined.
8491         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
8492         instead of whether it is defined.
8493         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
8494         * sysdeps/hppa/dl-machine.h: Likewise.
8495         * sysdeps/ia64/dl-machine.h: Likewise.
8496         * sysdeps/m68k/dl-machine.h: Likewise.
8497         * sysdeps/microblaze/dl-machine.h: Likewise.
8498         * sysdeps/mips/dl-machine.: Likewise.
8499         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
8500         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
8501         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
8502         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
8503         * sysdeps/sh/dl-machine.h: Likewise.
8504         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
8505         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
8506         * sysdeps/tile/dl-machine.h: Likewise.
8507         * sysdeps/x86_64/dl-machine.h: Likewise.
8509         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
8510         code.
8511         (verify_persistent_db): Likewise.
8513 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8515         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
8516         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
8517         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
8518         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
8519         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
8520         Moved ...
8521         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
8522         ... here.
8523         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
8524         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
8525         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
8526         Identical file removed.
8527         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
8528         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
8529         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
8530         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
8531         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
8532         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
8533         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
8534         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
8535         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
8536         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
8537         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
8538         Moved ...
8539         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
8540         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
8541         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
8542         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
8543         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
8544         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
8545         Moved ...
8546         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
8547         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
8548         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
8549         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
8550         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
8551         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
8552         Identical file removed.
8553         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
8554         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
8555         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
8556         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
8557         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
8558         Moved ...
8559         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
8560         ... here.
8561         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
8562         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
8563         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
8564         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
8565         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
8566         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
8567         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
8568         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
8569         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
8570         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
8571         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
8572         Moved ...
8573         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
8574         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
8575         Moved ...
8576         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
8577         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
8578         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
8579         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
8580         Moved ...
8581         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
8582         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
8583         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
8585         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
8586         folded into ...
8587         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
8588         * sysdeps/unix/sysv/linux/s390/Versions
8589         (libpthread: GLIBC_2.19): New version set.
8590         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
8591         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
8592         (librt: GLIBC_2.3.3): New version set.
8593         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
8594         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
8595         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
8596         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
8597         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
8598         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
8599         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
8600         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
8601         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
8602         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
8603         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
8604         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
8605         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
8606         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
8607         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
8608         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
8609         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
8610         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
8611         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
8612         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
8613         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
8614         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
8615         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
8616         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
8617         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
8618         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
8619         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
8620         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
8621         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
8622         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
8623         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
8624         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
8625         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
8626         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
8627         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
8628         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
8629         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
8630         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
8631         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
8632         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
8633         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
8634         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
8635         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
8636         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
8637         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
8639         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
8640         * sysdeps/unix/sysv/linux/s390/s390-32/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         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
8645         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
8646         (__libc_vfork): Define the function under this name.
8647         [!NOT_IN_libc] (__vfork): Make this an alias.
8648         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
8649         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
8650         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
8651         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
8652         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
8653         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
8655         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
8656         code that was previously under [RESET_PID].
8657         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
8658         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
8659         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
8661         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
8662         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
8663         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
8664         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
8665         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
8666         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
8667         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
8668         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
8669         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
8670         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
8671         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
8672         Moved ...
8673         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
8674         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
8675         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
8676         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
8677         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
8678         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
8679         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
8680         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
8681         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
8682         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
8683         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
8684         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
8685         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
8686         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
8687         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
8688         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
8689         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
8690         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
8691         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
8692         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
8693         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
8694         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
8695         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
8696         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
8697         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
8698         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
8699         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
8700         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
8701         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
8703 2014-06-25  Roland McGrath  <roland@hack.frob.com>
8705         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
8706         that was previously under [RESET_PID].
8707         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
8709 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
8711         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
8712         not undefine and redefine.
8713         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
8714         [O_CLOEXEC]: Make code unconditional.
8715         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
8716         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
8717         <kernel-features.h>.
8718         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
8719         conditional variable definition.
8720         (shm_open) [O_CLOEXEC]: Make code unconditional.
8721         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
8722         code.
8724         * configure.ac (USE_REGPARMS): Don't define here.
8725         * configure: Regenerated.
8726         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
8727         * sysdeps/i386/configure: Regenerated.
8729         * nptl/createthread.c: Don't include kernel-features.h.
8730         * nptl/pthread_cancel.c: Likewise.
8731         * nptl/pthread_condattr_setclock.c: Likewise.
8732         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
8733         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
8734         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
8735         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
8736         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
8737         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
8738         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
8739         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
8740         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
8741         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
8742         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
8743         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
8744         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
8745         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
8746         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
8747         * nscd/gai.c: Likewise.
8748         * nss/nss_db/db-open.c: Likewise.
8749         * sysdeps/generic/ldsodefs.h: Likewise.
8750         * sysdeps/sh/nptl/tls.h: Likewise.
8751         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8752         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
8753         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
8754         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
8755         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
8756         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8757         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
8758         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
8759         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
8760         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
8761         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
8762         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
8763         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
8764         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
8765         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
8766         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
8767         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
8768         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
8769         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
8770         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
8771         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
8772         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
8773         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
8774         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
8775         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
8776         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
8777         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
8778         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
8779         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
8780         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
8781         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
8782         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
8783         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
8784         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
8785         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
8786         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8787         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
8788         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
8789         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
8790         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
8791         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
8792         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
8793         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
8794         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
8795         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
8796         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
8797         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
8798         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
8799         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
8800         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
8801         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
8802         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
8803         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
8804         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8805         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
8806         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
8807         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
8808         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
8809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
8810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
8811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
8812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
8813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
8814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
8815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
8816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
8817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
8818         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
8819         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
8820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
8821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
8822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
8823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
8824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
8825         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
8826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
8827         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
8828         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
8829         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
8830         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
8831         * sysdeps/unix/sysv/linux/pread.c: Likewise.
8832         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
8833         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
8834         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
8835         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
8836         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
8837         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
8838         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
8839         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
8840         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
8841         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
8842         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
8843         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
8844         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
8845         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
8846         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
8847         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
8848         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
8849         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
8850         * sysdeps/unix/sysv/linux/system.c: Likewise.
8851         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
8852         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
8853         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
8854         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
8855         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
8856         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8857         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
8859         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
8860         * configure: Regenerated.
8861         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
8863         * configure.ac (base_machine): Do not set specially for particular
8864         machines here.
8865         * configure: Regenerated.
8866         * sysdeps/powerpc/preconfigure: Move machine and base_machine
8867         settings from configure.ac.
8868         * sysdeps/i386/preconfigure: New file.
8869         * sysdeps/s390/preconfigure: Likewise.
8870         * sysdeps/sh/preconfigure: Likewise.
8871         * sysdeps/sparc/preconfigure: Likewise.
8873 2014-06-25  Roland McGrath  <roland@hack.frob.com>
8875         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
8876         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
8877         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
8878         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
8879         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
8880         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
8881         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
8882         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
8883         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
8884         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
8885         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
8886         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
8887         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
8888         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
8889         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
8890         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
8891         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
8892         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
8893         * sysdeps/sparc/sparc64/Makefile: ... appended here.
8895         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
8896         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
8897         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
8898         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
8899         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
8900         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
8901         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
8902         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
8903         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
8904         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
8905         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
8906         * sysdeps/sparc/sparc32/sem_post.c: ... here.
8907         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
8908         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
8909         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
8910         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
8911         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
8912         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
8913         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
8914         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
8915         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
8916         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
8917         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
8918         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
8919         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
8920         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
8921         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
8922         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
8923         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
8924         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
8925         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
8926         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
8927         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
8928         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
8929         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
8930         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
8931         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
8932         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
8934         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
8935         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
8936         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
8937         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
8938         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
8939         Moved ...
8940         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
8941         ... here.
8942         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
8943         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
8944         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
8945         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
8946         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
8947         Moved ...
8948         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
8949         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
8950         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
8951         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
8952         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
8953         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
8954         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
8955         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
8956         Moved ...
8957         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
8958         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
8959         Moved ...
8960         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
8961         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
8962         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
8963         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
8964         Moved ...
8965         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
8966         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
8967         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
8968         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
8969         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
8970         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
8971         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
8972         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
8973         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
8974         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
8975         Moved ...
8976         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
8977         ... here.
8978         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
8979         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
8980         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
8981         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
8982         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
8983         Moved ...
8984         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
8985         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
8986         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
8987         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
8988         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
8989         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
8990         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
8991         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
8992         Moved ...
8993         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
8994         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
8995         Moved ...
8996         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
8997         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
8998         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
8999         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9000         Moved ...
9001         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9002         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9003         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9004         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9005         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9007 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
9009         * timezone/checktab.awk: Update from tzcode 2014e.
9010         * timezone/private.h: Likewise.
9011         * timezone/tzfile.h: Likewise.
9012         * timezone/zdump.c: Likewise.
9013         * timezone/zic.c: Likewise.
9015         * sysdeps/unix/sysv/linux/kernel-features.h
9016         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9017         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9018         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9019         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9020         Remove conditional code.
9022 2014-06-25  Will Newton  <will.newton@linaro.org>
9024         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9025         (_dl_arm_cap_flags): Add HWCAP2 values.
9026         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9027         (_DL_HWCAP_COUNT): Increase to 37.
9028         (_DL_HWCAP_LAST): New define.
9029         (_DL_HWCAP2_LAST): New define.
9030         (_dl_procinfo): Add support for printing
9031         AT_HWCAP2 entries.
9032         (_dl_string_hwcap): Use _dl_hwcap_string.
9034 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9036         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9038 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
9040         * README: Do not mention ports directory.
9042         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9043         Remove macro.
9044         * sysdeps/unix/sysv/linux/futimes.c: Do not include
9045         <kernel-features.h>.
9046         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9047         conditional variable definition.
9048         (__futimes): Update comment.
9049         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9050         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9052         [BZ #16560]
9053         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9054         arguments close to 0.
9055         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9056         Likewise.
9057         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9058         Likewise.
9059         * math/auto-libm-test-in: Add more tests of exp10.
9060         * math/auto-libm-test-out: Regenerated.
9061         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9063         * sysdeps/unix/sysv/linux/kernel-features.h
9064         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9065         * sysdeps/unix/sysv/linux/readv.c: Do not include
9066         <kernel-features.h>.
9067         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9068         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9069         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9070         unconditional.
9071         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9072         conditional code.
9073         * sysdeps/unix/sysv/linux/writev.c: Do not include
9074         <kernel-features.h>.
9075         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9076         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9077         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9078         unconditional.
9079         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9080         conditional code.
9082 2014-06-25  Will Newton  <will.newton@linaro.org>
9084         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9085         comment changes throughout the file.  Remove checks
9086         for HAVE_*_H definitions that are not required.
9087         (__gen_tempname): Call abort if an unknown kind value is
9088         passed.
9090 2014-06-25  Andreas Schwab  <schwab@suse.de>
9092         [BZ #17086]
9093         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9094         scalbln, scalblnf, scalblnl in libc.
9096 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
9098         [BZ #17086]
9099         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9100         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9101         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9103 2014-06-24  Roland McGrath  <roland@hack.frob.com>
9105         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9106         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9107         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9108         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9109         Update #include.
9110         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9111         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9112         Update #include.
9113         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9114         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9115         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9116         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9117         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9118         * sysdeps/x86/bits/pthreadtypes.h: ... here.
9119         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9120         * sysdeps/x86/bits/semaphore.h: ... here.
9121         * sysdeps/x86/nptl/elide.h: Moved ...
9122         * sysdeps/x86/elide.h: ... here.
9123         * sysdeps/x86_64/nptl/Implies: File removed.
9124         * sysdeps/i386/nptl/Implies: File removed.
9126 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
9128         [BZ #16539]
9129         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9130         return the argument for normal arguments with exponent below -64.
9131         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9132         Likewise.
9133         * math/auto-libm-test-in: Add another test of expm1.
9134         * math/auto-libm-test-out: Regenerated.
9136         [BZ #16287]
9137         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9138         calling __erfcl for arguments at least 16.
9139         * math/auto-libm-test-in: Add more tests of erf.
9140         * math/auto-libm-test-out: Regenerated.
9142         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9143         individual architectures.
9144         * sysdeps/unix/sysv/linux/configure: Regenerated.
9145         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9146         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9147         * sysdeps/unix/sysv/linux/powerpc/configure.ac
9148         (ldd_rewrite_script): Define variable.
9149         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9151         file.
9152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9153         generated file.
9154         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9155         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9156         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9157         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9158         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9159         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9160         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9161         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9163 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9165         [BZ #17084]
9166         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9167         Rename member __data.d to __data.__elision_data.
9169 2014-06-24  Wilco  <wdijkstr@arm.com>
9171         * NEWS: Add 16918 to fixed bug list.
9173 2014-06-24  Wilco  <wdijkstr@arm.com>
9175         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9177 2014-06-24  Wilco  <wdijkstr@arm.com>
9179         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9180         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9181         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9182         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9183         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9184         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9185         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9186         Use _FPU_MASK_RM.
9188 2014-06-24  Wilco  <wdijkstr@arm.com>
9190         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9192 2014-06-24  Wilco  <wdijkstr@arm.com>
9194         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9195         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9196         * sysdeps/arm/fesetround.c (fesetround): Remove space.
9197         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9199 2014-06-24  Wilco  <wdijkstr@arm.com>
9201         [BZ #16918]
9202         * sysdeps/arm/feupdateenv.c (feupdateenv):
9203         Rewrite to reduce FPSCR accesses and fix return value.
9205 2014-06-24  Wilco  <wdijkstr@arm.com>
9207         * sysdeps/arm/fclrexcpt.c (feclearexcept):
9208         Optimize to avoid unnecessary FPSCR writes.
9209         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9210         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9211         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9212         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9214 2014-06-24  Wilco  <wdijkstr@arm.com>
9216         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9217         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9218         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9219         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9220         Call libc_fetestexcept_vfp.
9221         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9222         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9223         __SOFTFP__ ifdef so that they can be built for softfp.
9225 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9227         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9228         argument type signed char.
9230         * Makerules (check-abi): Dump diff of symlist if the test
9231         fails.
9233 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9235         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9236         using abort.
9238         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9239         Remove unused variable ST.
9241 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
9243         [BZ #16354]
9244         [BZ #17061]
9245         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9246         small arguments before calling __expm1.
9247         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9248         small arguments before calling __expm1f.
9249         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9250         small arguments before calling __expm1l.
9251         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9252         Likewise.
9253         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9254         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
9255         spurious underflow for some cosh tests.
9256         * math/auto-libm-test-out: Regenerated.
9257         * sysdeps/i386/fpu/libm-test-ulps: Update.
9259         [BZ #17050]
9260         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9261         (__ieee754_y1): Set errno if return value overflows.
9262         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9263         (__ieee754_y1f): Set errno if return value overflows.
9264         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9265         (__ieee754_y1l): Set errno if return value overflows.
9266         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9267         (__ieee754_y1l): Set errno if return value overflows.
9268         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9269         * math/auto-libm-test-out: Regenerated.
9271         * math/gen-auto-libm-tests.c: Document use of
9272         ignore-zero-inf-sign.
9273         (input_flag_type): Add value flag_ignore_zero_inf_sign.
9274         (input_flags): Add ignore-zero-inf-sign.
9275         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9276         * math/gen-libm-test.pl (generate_testfile): Handle
9277         ignore-zero-inf-sign.
9278         * math/auto-libm-test-in: Mark some cpow tests with
9279         ignore-zero-inf-sign and some with xfail-rounding.
9280         * math/auto-libm-test-out: Regenerated.
9281         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9282         * sysdeps/i386/fpu/libm-test-ulps: Update.
9283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9285         [BZ #16315]
9286         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9287         overflowing or underflowing operations take place with sign of
9288         result.
9289         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9290         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9291         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9292         (__ieee754_pow): Recompute overflowing and underflowing results in
9293         original rounding mode.
9294         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9295         (__powl_helper): Allow negative argument X and scale negated value
9296         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
9297         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9298         overflowing or underflowing operations take place with sign of
9299         result.
9300         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9301         Include <math.h>.
9302         * math/auto-libm-test-in: Add more tests of pow.
9303         * math/auto-libm-test-out: Regenerated.
9304         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9305         (pow_tonearest_test_data): Remove.
9306         (pow_test_tonearest): Likewise.
9307         (pow_towardzero_test_data): Likewise.
9308         (pow_test_towardzero): Likewise.
9309         (pow_downward_test_data): Likewise.
9310         (pow_test_downward): Likewise.
9311         (pow_upward_test_data): Likewise.
9312         (pow_test_upward): Likewise.
9313         (main): Don't call removed functions.
9314         * sysdeps/i386/fpu/libm-test-ulps: Update.
9315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9317 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9320         Moved ...
9321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9323         Moved ...
9324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9326         Moved ...
9327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9328         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9329         Moved ...
9330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9332         File removed.
9333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9334         File removed.
9335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9336         File removed.
9337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9338         File removed.
9339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9340         File removed.
9341         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9342         File removed.
9343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9344         File removed.
9345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9346         File removed.
9347         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9348         File removed.
9349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9350         File removed.
9351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9352         File removed.
9353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9354         File removed.
9355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9356         Moved ...
9357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9359         Moved ...
9360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9361         ... here.
9362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9363         Moved ...
9364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9366         Moved ...
9367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9369         Moved ...
9370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9372         Moved ...
9373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9375         Moved ...
9376         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9378         Moved ...
9379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9380         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9381         Moved ...
9382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9385         ... here.
9386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9387         Moved ...
9388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9390         Moved ...
9391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9392         ... here.
9393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9394         Moved ...
9395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9396         ... here.
9397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9398         Moved ...
9399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9400         ... here.
9401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9402         Moved ...
9403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9405         Moved ...
9406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9410         Moved ...
9411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9412         ... here.
9413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9414         Moved ...
9415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9416         ... here.
9417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9418         Moved ...
9419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
9420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
9421         Moved ...
9422         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
9423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
9424         Moved ...
9425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
9426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
9427         Moved ...
9428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
9429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
9430         Moved ...
9431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
9432         ... here.
9433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
9434         Moved ...
9435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
9436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
9437         Moved ...
9438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
9439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
9440         Moved ...
9441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
9442         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
9443         Moved ...
9444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
9445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
9446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
9447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
9448         Moved ...
9449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
9450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
9451         Moved ...
9452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
9453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
9454         Moved ...
9455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
9456         ... here.
9457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
9458         Moved ...
9459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
9460         ... here.
9461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
9462         Moved ...
9463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
9464         ... here.
9465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
9466         Moved ...
9467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
9468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
9469         Moved ...
9470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
9471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
9472         Moved ...
9473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
9474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
9475         Moved ...
9476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
9477         ... here.
9478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
9479         Moved ...
9480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
9481         ... here.
9482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
9483         Moved ...
9484         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
9485         ... here.
9486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
9487         Moved ...
9488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
9489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
9490         Moved ...
9491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
9493 2014-06-23  Will Newton  <will.newton@linaro.org>
9494             Wilco  <wdijkstr@arm.com>
9496         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
9497         implementation.  Include get-rounding-mode.h.
9498         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
9499         [!libc_feholdsetround_noex_ctx]: Define
9500         libc_feholdsetround_noex_ctx.
9501         [!libc_feholdsetround_noexf_ctx]: Define
9502         libc_feholdsetround_noexf_ctx.
9503         [!libc_feholdsetround_noexl_ctx]: Define
9504         libc_feholdsetround_noexl_ctx.
9505         (libc_feholdsetround_ctx): New function.
9506         (libc_feresetround_ctx): New function.
9507         (libc_feholdsetround_noex_ctx): New function.
9508         (libc_feresetround_noex_ctx): New function.
9510 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9512         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
9513         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
9514         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
9515         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
9516         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
9517         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
9519         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
9520         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
9521         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
9522         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
9523         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
9524         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
9525         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
9526         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
9527         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
9528         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
9529         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
9530         Moved ...
9531         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
9532         ... here.
9533         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
9534         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
9535         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
9536         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
9537         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
9538         Moved ...
9539         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
9540         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
9541         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
9542         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
9543         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
9544         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
9545         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
9546         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
9547         Moved ...
9548         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
9549         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
9550         Moved ...
9551         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
9552         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
9553         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
9554         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
9555         Moved ...
9556         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
9557         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
9558         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
9559         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
9560         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
9561         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
9562         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
9563         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
9564         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
9565         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
9566         Moved ...
9567         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
9568         ... here.
9569         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
9570         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
9571         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
9572         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
9573         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
9574         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
9575         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
9576         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
9577         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
9578         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
9579         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
9580         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
9581         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
9582         Moved ...
9583         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
9584         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
9585         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
9586         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
9587         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
9588         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
9589         Moved ...
9590         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
9591         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
9592         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
9593         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
9594         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
9596         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
9597         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
9598         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
9599         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
9600         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
9601         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
9602         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
9603         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
9604         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
9605         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
9606         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
9607         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
9608         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
9609         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
9610         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
9611         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
9612         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
9613         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
9614         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
9615         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
9616         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
9617         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
9618         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
9619         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
9620         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
9621         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
9622         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
9623         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
9625 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
9627         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
9628         (FALLOC_FL_COLLAPSE_RANGE): New macro.
9629         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
9630         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
9631         (IPV6_PMTUDISC_INTERFACE): Likewise.
9632         (IPV6_PMTUDISC_OMIT): Likewise.
9634 2014-06-23  Andreas Schwab  <schwab@suse.de>
9636         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
9637         Remove unused errout label.
9639 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9641         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
9642         macro: hardware supports Vector Crypto instructions.
9644 2014-06-23  Will Newton  <will.newton@linaro.org>
9646         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
9647         rather than __builtin_expect.
9649         * elf/dl-lookup.c (undefined_msg): Remove variable.
9650         (_dl_lookup_symbol_x): Replace undefined_msg with string
9651         literal.
9653         * elf/dl-lookup.c (do_lookup_unique): New function.
9654         (do_lookup_x): Move STB_GNU_UNIQUE handling code
9655         to a separate function.
9657 2014-06-23  Andreas Schwab  <schwab@suse.de>
9659         [BZ #17079]
9660         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
9661         before reading the next line.
9663 2014-06-23  Will Newton  <will.newton@linaro.org>
9665         * test-skeleton.c (signal_handler): Use printf and %m
9666         rather than perror.  Use printf rather than fprintf to
9667         stderr.  Use puts rather than fputs to stderr.
9668         (main): Likewise.
9670 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
9672         * nscd/nscd.c (thread_info_t): Remove typedef.
9673         (thread_info): Remove variable.
9675 2014-06-21  Allan McRae  <allan@archlinux.org>
9677         * NEWS: Mention CVE-2014-4043.
9679 2014-06-20  Roland McGrath  <roland@hack.frob.com>
9681         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
9682         * nptl/smp.h: ... here.
9684         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
9686         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
9687         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
9688         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
9689         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
9691         * nptl/allocatestack.c: Include <stack-aliasing.h>.
9692         * nptl/stack-aliasing.h: New file.
9693         * sysdeps/i386/i686/stack-aliasing.h: New file.
9694         * sysdeps/i386/i686/nptl/Makefile: File removed.
9695         * sysdeps/x86_64/stack-aliasing.h: New file.
9696         * sysdeps/x86_64/nptl/Makefile
9697         (CFLAGS-pthread_create.c): Variable removed.
9699         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
9700         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
9701         old file.
9702         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
9703         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
9704         old file.
9706 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
9708         * sysdeps/unix/sysv/linux/arm/kernel-features.h
9709         (__ASSUME_SIGFRAME_V2): Remove macro.
9710         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
9711         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
9712         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
9713         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
9714         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
9715         Declare as function.  Remove conditional macro definitions.
9716         (__default_rt_sa_restorer): Likewise.
9717         (__default_sa_restorer_v1): Remove declaration.
9718         (__default_sa_restorer_v2): Likewise.
9719         (__default_rt_sa_restorer_v1): Likewise.
9720         (__default_rt_sa_restorer_v2): Likewise.
9721         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
9722         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
9723         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
9725 2014-06-20  Roland McGrath  <roland@hack.frob.com>
9727         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
9728         (libpthread-routines): Add sysdep.
9729         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
9730         * sysdeps/unix/sysv/linux/sparc/Versions
9731         (libpthread: GLIBC_2.3.3): New version set.
9732         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
9733         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
9734         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
9735         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
9736         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
9737         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
9738         Moved ...
9739         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
9740         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
9741         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
9742         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
9743         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
9744         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
9745         * sysdeps/sparc/nptl/sem_init.c: ... here.
9746         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
9747         * sysdeps/sparc/nptl/sem_post.c: ... here.
9748         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
9749         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
9750         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
9751         * sysdeps/sparc/nptl/sem_wait.c: ... here.
9752         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
9753         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
9754         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
9755         (libpthread-routines): Add cpu_relax.
9756         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
9757         File removed.
9758         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
9759         (librt: GLIBC_2.3.3): New version set.
9760         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
9761         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
9762         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
9763         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
9764         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
9765         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
9766         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
9767         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
9768         Moved ...
9769         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
9770         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
9771         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
9772         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
9773         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
9774         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
9775         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
9776         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
9777         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
9778         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
9779         Moved ...
9780         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
9781         Update #include.
9782         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
9783         Moved ...
9784         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
9785         Update #include.
9786         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
9787         Moved ...
9788         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
9789         Update #include.
9790         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
9791         Moved ...
9792         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
9793         Update #include.
9794         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
9795         Moved ...
9796         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
9797         Update #include.
9798         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
9799         Moved ...
9800         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
9801         Update #include.
9802         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
9803         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
9804         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
9805         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
9806         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
9807         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
9808         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
9809         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
9810         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
9811         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
9812         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
9813         Moved ...
9814         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
9815         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
9816         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
9817         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
9818         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
9820 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9822         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
9823         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
9824         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
9825         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
9826         * nscd/nscd.c: Likewise.
9827         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
9828         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
9829         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
9830         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
9832         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
9833         <kernel-features.h>.
9834         (init_mq_netlink): Remove conditional have_sock_cloexec
9835         definitions.  Remove code conditional on have_sock_cloexec < 0.
9836         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
9837         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
9838         * sysdeps/unix/sysv/linux/opensock.c: Do not include
9839         <kernel-features.h>.
9840         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
9841         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
9843 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
9845         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
9846         Add tests for memset_chk and memset.
9848         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
9849         with AVX2_Usable.
9851 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
9853         [BZ #16046]
9854         * elf/tst-dl-iter-static.c: New file.
9855         * elf/Makefile (tests-static): Add tst-dl-iter-static.
9857         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
9858         error.
9860 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9862         * sysdeps/unix/sysv/linux/kernel-features.h
9863         (__ASSUME_F_GETOWN_EX): Remove macro.
9864         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
9865         <kernel-features.h>.
9866         (miss_F_GETOWN_EX): Remove variable or macro.
9867         (do_fcntl): Do not check miss_F_GETOWN_EX.
9868         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
9870         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
9871         Remove macro.
9872         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
9873         [!__ASSUME_AT_RANDOM]: Remove conditional code.
9874         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
9876         * sysdeps/unix/sysv/linux/kernel-features.h
9877         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
9878         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
9879         [ADJ_OFFSET_SS_READ]: Make code unconditional.
9880         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
9882 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
9884         [BZ #17075]
9885         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
9886         Fix calculation of the symbol's value.
9887         * sysdeps/arm/tst-armtlsdescloc.c: New file.
9888         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
9889         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
9890         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
9891         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
9892         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
9893         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
9894         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
9895         (modules-names): Add `tst-armtlsdescmod',
9896         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
9897         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
9898         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9899         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
9900         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
9901         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
9902         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
9903         ($(objpfx)tst-armtlsdescloc): New dependency.
9904         ($(objpfx)tst-armtlsdescextnow): Likewise.
9905         ($(objpfx)tst-armtlsdescextlazy): Likewise.
9906         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
9907         TLS scheme support.
9908         * sysdeps/arm/configure: Regenerate.
9910 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
9912         * include/fcntl.h (__atfct_seterrno): Remove prototype.
9913         (__atfct_seterrno_2): Likewise.
9914         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
9915         <kernel-features.h>.
9916         (__ASSUME_ATFCTS): Do not undefine and redefine.
9917         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
9918         (__have_atfcts): Remove conditional definition.
9919         (__fxstatat([__NR_fstatat64]: Make code unconditional.
9920         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
9921         unreachable if [__ASSUME_ATFCTS].
9922         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
9923         not undefine and redefine.
9924         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
9925         <kernel-features.h>.
9926         (faccessat) [__NR_faccessat]: Make code unconditional.
9927         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
9928         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
9929         <kernel-features.h>.
9930         (fchmodat) [__NR_fchmodat]: Make code unconditional.
9931         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
9932         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
9933         <kernel-features.h>.
9934         (fchownat) [__NR_fchownat]: Make code unconditional.
9935         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
9936         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
9937         <kernel-features.h>.
9938         (futimesat) [__NR_futimesat]: Make code unconditional.
9939         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
9940         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
9941         <kernel-features.h>.
9942         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
9943         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9944         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
9945         <kernel-features.h>.
9946         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
9947         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9948         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
9949         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
9950         <kernel-features.h>.
9951         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
9952         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
9953         * sysdeps/unix/sysv/linux/linkat.c: Do not include
9954         <kernel-features.h>.
9955         (linkat) [__NR_linkat]: Make code unconditional.
9956         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9957         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
9958         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
9959         <kernel-features.h>.
9960         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
9961         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
9962         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
9963         <kernel-features.h>.
9964         (mkdirat) [__NR_mkdirat]: Make code unconditional.
9965         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
9966         * sysdeps/unix/sysv/linux/openat.c: Do not include
9967         <kernel-features.h>.
9968         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
9969         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
9970         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
9971         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
9972         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
9973         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
9974         <kernel-features.h>.
9975         (readlinkat) [__NR_readlinkat]: Make code unconditional.
9976         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
9977         result of INLINE_SYSCALL directly, not via int variable.
9978         * sysdeps/unix/sysv/linux/renameat.c: Do not include
9979         <kernel-features.h>.
9980         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
9981         (renameat) [__NR_renameat]: Make code unconditional.
9982         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
9983         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
9984         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
9985         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
9986         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
9987         (__ASSUME_ATFCTS): Do not undefine and redefine.
9988         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
9989         <kernel-features.h>.
9990         (symlinkat) [__NR_symlinkat]: Make code unconditional.
9991         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9992         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
9993         <kernel-features.h>.
9994         (unlinkat) [__NR_unlinkat]: Make code unconditional.
9995         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
9996         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
9997         (__ASSUME_ATFCTS): Do not undefine and redefine.
9998         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
9999         <kernel-features.h>.
10000         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10001         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10002         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10003         <kernel-features.h>.
10004         (__xmknodat) [__NR_mknodat]: Make code unconditional.
10005         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10007 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
10009         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10011 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
10013         [BZ #17069]
10014         * posix/regcomp.c (parse_reg_exp): Deallocate partially
10015         constructed tree before returning error.
10016         * posix/bug-regexp36.c: Expand test case.
10018 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10020         [BZ #6803]
10021         * math/libm-test.inc (scalbln_test_date):
10022         Add errno expectations.
10023         * math/w_scalblnf.c: New File.
10024         Add wrapper which checks for setting errno to ERANGE.
10025         Add weak_alias for corresponding scalbln function.
10026         * math/w_scalbln.c: Likewise.
10027         * math/w_scalblnl.c: Likewise.
10028         * math/Makefile (libm-calls): Add w_scalbln.
10029         * sysdeps/ieee754/flt-32/s_scalblnf.c:
10030         Remove weak_alias for corresponding scalbln function.
10031         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10032         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10033         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10034         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10035         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10036         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10037         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10038         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10039         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10040         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10041         Remove long_double_symbol for scalblnl function in libm, libc.
10042         * sysdeps/ieee754/ldbl-64-128/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, libc.
10045         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10046         Remove long_double_symbol for scalblnl in libm.
10047         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10048         Add wrapper which checks for setting errno to ERANGE.
10049         Add long_double_symbol for scalblnl function in libm.
10050         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10051         Do not use wrapper because of own implementation.
10053 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
10055         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10056         3 bytes for __pad1 for x32.
10057         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10059 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
10060             H.J. Lu  <hongjiu.lu@intel.com>
10062         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10063         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10064         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10065         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10066         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10068 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
10070         [BZ #17069]
10071         * posix/regcomp.c (parse_expression): Deallocate partially
10072         constructed tree before returning error.
10073         * posix/Makefile.c (tests): Add bug-regex36.
10074         (generated): Add bug-regex36.mtrace.
10075         (tests-special): Add $(objpfx)bug-regex36-mem.out
10076         (bug-regex36-ENV): New variable.
10077         ($(objpfx)bug-regex36-mem.out): New rule.
10078         * posix/bug-regex36.c: New file.
10080 2014-06-19  Will Newton  <will.newton@linaro.org>
10082         * malloc/malloc.c (systrim): If extra is zero then return
10083         early.
10085 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10087         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10089 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
10091         * sysdeps/aarch64/strchr.S: New file.
10093 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
10095         [BZ #17022]
10096         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10097         from arguments -2 or below.
10098         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10099         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10101 2014-06-18  Andreas Schwab  <schwab@suse.de>
10103         [BZ #17062]
10104         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10105         of a bracket expr not to run off the end of the string.
10106         * posix/Makefile (tests): Add tst-fnmatch3.
10107         * posix/tst-fnmatch3.c: New file.
10109 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
10111         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10112         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10113         [$(cross-compiling) = no]: Likewise.
10114         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10115         [$(cross-compiling) = no]: Likewise.
10117 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10119         [BZ #17031]
10120         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10121         double, adjusted for any remainder from the high double.
10122         * math/libm-test.inc (nearbyint): Add tests.
10123         (rint): Likewise.
10125 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10127         * nptl/sysdeps/powerpc/Makefile: Moved ...
10128         * sysdeps/powerpc/nptl/Makefile: ... here.
10129         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10130         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10131         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10132         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10133         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10134         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10135         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10136         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10137         * nptl/sysdeps/powerpc/tls.h: Moved ...
10138         * sysdeps/powerpc/nptl/tls.h: ... here.
10140 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
10142         [BZ #16681]
10143         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10144         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10145         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10146         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10147         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10148         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10149         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10150         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10151         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10153 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
10155         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10157 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
10159         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10160         defined operator.
10162         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10163         $TIMEOUTFACTOR.
10165 2014-06-16  Florian Weimer  <fweimer@redhat.com>
10167         [BZ #17058]
10168         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10169         non-executed part of the test.
10171 2014-06-16  Andreas Schwab  <schwab@suse.de>
10173         * string/bits/string2.h (strdup, strndup): Update feature guard.
10175 2014-06-14  David S. Miller  <davem@davemloft.net>
10177         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10179 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
10181         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10182         that was previously under [RESET_PID].
10183         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10185         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10186         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10187         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10188         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10189         (__libc_vfork): New strong alias.
10190         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10192 2014-06-14 Andi Kleen  <ak@linux.intel.com>
10194         * sysdeps/generic/elide.h: New file.
10196 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10198         * Makefile (installed-headers): Adjust path of pthread.h header.
10200 2014-06-13  Roland McGrath  <roland@hack.frob.com>
10202         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10203         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10204         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10205         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10207         * nptl/sysdeps/s390/Makefile: Moved ...
10208         * sysdeps/s390/nptl/Makefile: ... here.
10209         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10210         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10211         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10212         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10213         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10214         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10215         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10216         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10217         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10218         * sysdeps/s390/nptl/pthreaddef.h: ... here.
10219         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10220         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10221         * nptl/sysdeps/s390/tls.h: Moved ...
10222         * sysdeps/s390/nptl/tls.h: ... here.
10224         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10225         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10227 2014-06-13  David S. Miller  <davem@davemloft.net>
10229         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10230         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10231         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10232         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10233         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10234         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10235         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10236         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10237         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10238         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10239         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10240         Remove RESET_PID cpp guards.
10241         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10242         Remove RESET_PID cpp guards.
10243         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10245 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
10247         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10248         __sp to uintptr_t.
10250 2014-06-13  Andi Kleen  <ak@linux.intel.com>
10252         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10253         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10254         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10255         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10256         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10257         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10258         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10259         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10260         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10261         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10262         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10263         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10264         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10265         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10266         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10267         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10268         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10269         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10270         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10271         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
10273         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
10274         (pthread_rwlock_rdlock): Add elision.
10275         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10276         (pthread_rwlock_wrlock): Add elision.
10277         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10278         (pthread_rwlock_trywrlock): Add elision.
10279         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10280         (pthread_rwlock_tryrdlock): Add elision.
10281         * nptl/pthread_rwlock_unlock.c: Include elide.h.
10282         (pthread_rwlock_tryrdlock): Add elision unlock.
10283         * nptl/sysdeps/pthread/pthread.h:
10284         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10285         (PTHREAD_RWLOCK_INITIALIZER,
10286         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10287         Handle new elision field.
10288         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10289         * sysdeps/arm/nptl/bits/pthreadtypes.h
10290         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10291         * sysdeps/sh/nptl/bits/pthreadtypes.h
10292         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10293         * sysdeps/tile/nptl/bits/pthreadtypes.h
10294         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10295         * sysdeps/a/nptl/bits/pthreadtypes.h
10296         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10297         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10298         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10299         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10300         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10301         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10302         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10303         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10304         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10305         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10306         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10307         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10308         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10309         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10310         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10311         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10312         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10313         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10314         (elision_init): Set try_xbegin to zero when no RTM.
10315         * sysdeps/x86/nptl/bits/pthreadtypes.h
10316         (pthread_rwlock_t): Change __pad1 to __rwelision.
10317         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10319 2014-06-13  Andi Kleen  <ak@linux.intel.com>
10321         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10322         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10323         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10324         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10326 2014-06-13  Meador Inge  <meadori@codesourcery.com>
10328         [BZ #16996]
10329         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
10330         that the cached result has been set before returning it.
10332 2014-06-12  Roland McGrath  <roland@hack.frob.com>
10334         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10335         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10336         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10337         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10338         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10339         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10341         * nptl/sysdeps/sparc/Makefile: Moved ...
10342         * sysdeps/sparc/nptl/Makefile: ... here.
10343         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10344         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10345         * nptl/sysdeps/sparc/tls.h: Moved ...
10346         * sysdeps/sparc/nptl/tls.h: ... here.
10347         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10348         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10349         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10350         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10351         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10352         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10353         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10354         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10355         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10356         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10357         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10358         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10359         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10360         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10361         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10362         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10363         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10364         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10365         Update #include.
10366         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10367         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10368         Update #include.
10369         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10370         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10371         Update #include.
10372         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10373         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10374         Update #include.
10376         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10378         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10379         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10381         * sysdeps/pthread/posix-timer.h: Include <list.h>.
10382         (struct list_links): Type removed.
10383         (struct thread_node, struct timer_node): Replace struct list_links
10384         with struct list_head.
10385         (list_unlink_ip): Likewise.
10386         * sysdeps/pthread/timer_routines.c
10387         (timer_free_list, thread_free_list, thread_active_list): Likewise.
10388         (list_append, list_insbefore): Likewise.
10389         (list_init): Function removed.
10390         (thread_init, init_module): Use INIT_LIST_HEAD instead.
10391         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10392         * sysdeps/pthread/Makefile: ... here, new file.
10394         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10395         * sysdeps/nptl/Implies: ... here.
10396         * sysdeps/unix/sysv/linux/Implies: Add nptl.
10397         * nptl/sysdeps/pthread/list.h: Moved ...
10398         * include/list.h: ... here.
10399         * nptl/sysdeps/pthread/createthread.c: Moved ...
10400         * nptl/createthread.c: ... here.
10401         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10402         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10403         * nptl/pt-longjmp.c: ... here.
10404         * nptl/sysdeps/pthread/Makefile: Moved ...
10405         * sysdeps/nptl/Makefile: ... here.
10406         * nptl/sysdeps/pthread/Subdirs: Moved ...
10407         * sysdeps/nptl/Subdirs: ... here.
10408         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10409         * sysdeps/nptl/aio_misc.h: ... here.
10410         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10411         * sysdeps/nptl/bits/libc-lock.h: ... here.
10412         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10413         * sysdeps/nptl/bits/libc-lockP.h: ... here.
10414         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10415         * sysdeps/nptl/bits/stdio-lock.h: ... here.
10416         * nptl/sysdeps/pthread/configure: Moved ...
10417         * sysdeps/nptl/configure: ... here.
10418         * nptl/sysdeps/pthread/configure.ac: Moved ...
10419         * sysdeps/nptl/configure.ac: ... here.
10420         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
10421         * sysdeps/nptl/gai_misc.h: ... here.
10422         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
10423         * sysdeps/nptl/librt-cancellation.c: ... here.
10424         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
10425         * sysdeps/nptl/malloc-machine.h: ... here.
10426         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
10427         * sysdeps/nptl/pthread-functions.h: ... here.
10428         * nptl/sysdeps/pthread/pthread.h: Moved ...
10429         * sysdeps/nptl/pthread.h: ... here.
10430         * nptl/sysdeps/pthread/setxid.h: Moved ...
10431         * sysdeps/nptl/setxid.h: ... here.
10432         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
10433         * sysdeps/nptl/sigfillset.c: ... here.
10434         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
10435         * sysdeps/nptl/tcb-offsets.h: ... here.
10436         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
10437         * sysdeps/nptl/tst-mqueue8x.c: ... here.
10438         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
10439         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
10440         * nptl/sysdeps/pthread/allocalim.h: Moved ...
10441         * sysdeps/pthread/allocalim.h: ... here.
10442         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
10443         * sysdeps/pthread/bits/sigthread.h: ... here.
10444         * nptl/sysdeps/pthread/flockfile.c: Moved ...
10445         * sysdeps/pthread/flockfile.c: ... here.
10446         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
10447         * sysdeps/pthread/ftrylockfile.c: ... here.
10448         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
10449         * sysdeps/pthread/funlockfile.c: ... here.
10450         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
10451         * sysdeps/pthread/posix-timer.h: ... here.
10452         * nptl/sysdeps/pthread/timer_create.c: Moved ...
10453         * sysdeps/pthread/timer_create.c: ... here.
10454         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
10455         * sysdeps/pthread/timer_delete.c: ... here.
10456         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
10457         * sysdeps/pthread/timer_getoverr.c: ... here.
10458         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
10459         * sysdeps/pthread/timer_gettime.c: ... here.
10460         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
10461         * sysdeps/pthread/timer_routines.c: ... here.
10462         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
10463         * sysdeps/pthread/timer_settime.c: ... here.
10464         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
10465         * sysdeps/pthread/tst-timer.c: ... here.
10466         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
10467         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
10469         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
10470         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
10472         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
10473         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
10474         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
10475         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
10476         Update #include target.
10477         * nptl/sysdeps/i386/i686/Makefile: Moved ...
10478         * sysdeps/i386/i686/nptl/Makefile: ... here.
10479         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
10480         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
10481         Update #include target.
10482         * nptl/sysdeps/i386/i686/tls.h: Moved ...
10483         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
10484         * nptl/sysdeps/i386/Makefile: Moved ...
10485         * sysdeps/i386/nptl/Makefile: ... here.
10486         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
10487         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
10488         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
10489         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
10490         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
10491         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
10492         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
10493         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
10494         * sysdeps/i386/nptl/pthreaddef.h: ... here.
10495         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
10496         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
10497         * nptl/sysdeps/i386/tls.h: Moved ...
10498         * sysdeps/i386/nptl/tls.h: ... here.
10500         * sysdeps/sh/Makefile [$(subdir) = csu]
10501         (gen-as-const-headers): Add tcb-offsets.sym.
10502         * nptl/sysdeps/sh/Makefile: File removed.
10503         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
10504         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
10505         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
10506         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
10507         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
10508         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
10509         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
10510         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
10511         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
10512         * sysdeps/sh/nptl/pthreaddef.h: ... here.
10513         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
10514         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
10515         * nptl/sysdeps/sh/tls.h: Moved ...
10516         * sysdeps/sh/nptl/tls.h: ... here.
10517         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
10518         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
10519         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
10520         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
10521         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
10522         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
10523         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
10524         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
10525         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
10526         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
10527         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
10528         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
10529         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
10530         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
10531         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
10532         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
10533         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
10534         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
10535         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
10536         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
10537         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
10538         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
10539         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
10540         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
10541         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
10542         Moved ...
10543         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
10544         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
10545         Moved ...
10546         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
10547         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
10548         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
10549         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
10550         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
10551         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
10552         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
10553         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
10554         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
10555         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
10556         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
10557         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
10558         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
10559         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
10560         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
10561         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
10562         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
10563         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
10564         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
10566 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
10568         * posix/spawn_faction_addopen.c: Include string.h.
10570 2014-06-11  Roland McGrath  <roland@hack.frob.com>
10572         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
10573         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
10574         * nptl/sysdeps/x86_64/Makefile: Moved ...
10575         * sysdeps/x86_64/nptl/Makefile: ... here.
10576         * nptl/sysdeps/x86_64/configure: Moved ...
10577         * sysdeps/x86_64/nptl/configure: ... here.
10578         * nptl/sysdeps/x86_64/configure.ac: Moved ...
10579         * sysdeps/x86_64/nptl/configure.ac: ... here.
10580         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
10581         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
10582         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
10583         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
10584         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
10585         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
10586         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
10587         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
10588         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
10589         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
10590         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
10591         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
10592         * nptl/sysdeps/x86_64/tls.h: Moved ...
10593         * sysdeps/x86_64/nptl/tls.h: ... here.
10594         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
10595         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
10596         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
10597         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
10599         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
10601 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10603         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10605 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
10607         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
10608         type.
10609         [POSIX] (off_t): Likewise.
10610         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
10611         [POSIX] (S_ISBLK): Require macro.
10612         [POSIX] (S_ISCHR): Likewise.
10613         [POSIX] (S_ISDIR): Likewise.
10614         [POSIX] (S_ISFIFO): Likewise.
10615         [POSIX] (S_ISREG): Likewise.
10616         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
10617         optional-macro.
10618         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
10619         type.
10620         [POSIX] (time_t): Likewise.
10621         [POSIX] (timer_t): Likewise.
10623 2014-06-11  Florian Weimer  <fweimer@redhat.com>
10625         [BZ #17048]
10626         * posix/spawn_int.h (struct __spawn_action): Make the path string
10627         non-const to support deallocation.
10628         * posix/spawn_faction_addopen.c
10629         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
10630         * posix/spawn_faction_destroy.c
10631         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
10632         path in all spawn_do_open actions.
10633         * posix/tst-spawn.c (do_test): Exercise the copy operation in
10634         posix_spawn_file_actions_addopen.
10636 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
10638         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
10639         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
10640         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
10641         conditional code always true.
10642         (__libc_vfork): New alias.
10644 2014-06-11  Roland McGrath  <roland@hack.frob.com>
10646         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10647         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
10649         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
10651         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10652         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
10654         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10655         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
10657         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10658         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
10660 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
10662         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
10663         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
10664         multiarch strcmp for PPC64.
10665         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
10666         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
10667         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
10668         multiarch optimizations.
10669         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
10670         (__libc_ifunc_impl_list): Likewise.
10672 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10674         * benchtests/scripts/validate_benchout.py: New script.
10675         * benchtests/Makefile (bench-func): Call it.
10676         * benchtests/scripts/benchout.schema.json: New file.
10678 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
10680         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
10681         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
10682         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
10683         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
10684         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
10685         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
10686         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
10687         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
10688         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
10689         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
10690         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
10691         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
10692         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
10693         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
10694         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
10695         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
10696         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
10697         Moved ...
10698         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
10699         ... here.
10700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
10701         Moved ...
10702         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
10703         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
10704         Moved ...
10705         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
10706         ... here.
10707         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
10708         Moved ...
10709         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
10710         ... here.
10711         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
10712         Moved ...
10713         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
10714         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
10715         Moved ...
10716         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
10717         ... here.
10718         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
10719         Moved ...
10720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
10721         ... here.
10722         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
10723         Moved ...
10724         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
10725         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
10726         Moved ...
10727         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
10728         ... here.
10729         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
10730         Moved ...
10731         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
10732         ... here.
10733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
10734         Moved ...
10735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
10736         ... here.
10737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
10738         Moved ...
10739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
10740         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
10741         Moved ...
10742         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
10743         ... here.
10744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
10745         Moved ...
10746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
10747         ... here.
10748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
10749         Moved ...
10750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
10751         ... here.
10752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
10753         Moved ...
10754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
10755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
10756         Moved ...
10757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
10758         ... here.
10759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
10760         Moved ...
10761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
10762         ... here.
10763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
10764         Moved ...
10765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
10766         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
10767         Moved ...
10768         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
10769         ... here.
10770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
10771         Moved ...
10772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
10773         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
10774         Moved ...
10775         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
10776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
10777         Moved ...
10778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
10779         ... here.
10780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
10781         Moved ...
10782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
10783         ... here.
10784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
10785         Moved ...
10786         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
10787         ... here.
10788         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
10789         Moved ...
10790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
10791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
10792         Moved ...
10793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
10794         ... here.
10795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
10796         Moved ...
10797         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
10798         ... here.
10799         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
10800         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
10801         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
10802         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
10803         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
10804         Moved ...
10805         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
10806         ... here.
10807         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
10808         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
10809         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
10810         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
10811         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
10812         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
10813         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
10814         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
10815         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
10816         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
10817         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
10818         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
10819         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
10820         Moved ...
10821         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
10822         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
10823         Moved ...
10824         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
10825         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
10826         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
10827         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
10828         Moved ...
10829         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
10830         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
10831         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
10832         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
10833         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
10834         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
10835         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
10837 2014-06-10  Wilco  <wdijkstr@arm.com>
10839         * math/test-fenv-return.c: New file.
10840         * math/Makefile: Add new test test-fenv-return.
10842 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
10844         [BZ #17042]
10845         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
10846         when x - 1 is zero.
10847         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
10848         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
10849         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
10850         0.0L for an argument of 1.0L.
10851         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
10852         Likewise.
10853         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
10854         value when x - 1 is zero.
10855         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
10856         * sysdeps/i386/fpu/libm-test-ulps: Update.
10857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10859 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
10861         [BZ #15119]
10862         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
10864 2014-06-09  Roland McGrath  <roland@hack.frob.com>
10866         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
10867         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
10869 2014-06-09  Roland McGrath  <roland@hack.frob.com>
10871         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10872         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
10874         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10875         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
10877         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10878         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
10880         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
10881         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
10883         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
10884         if not already defined.
10885         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
10886         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
10887         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
10888         (TLS_INIT_TP): Use it.
10889         (TLS_DEFINE_INIT_TP): New macro.
10890         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
10892 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
10894         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
10895         constant.
10896         [POSIX] (IXANY): Likewise.
10897         [POSIX] (OLCUC): Likewise.
10898         [POSIX || POSIX2008] (CBAUD): Do not allow.
10899         [POSIX || POSIX2008] (DEFECHO): Likewise.
10900         [POSIX || POSIX2008] (ECHOCTL): Likewise.
10901         [POSIX || POSIX2008] (ECHOKE): Likewise.
10902         [POSIX || POSIX2008] (ECHOPRT): Likewise.
10903         [POSIX || POSIX2008] (EXTA): Likewise.
10904         [POSIX || POSIX2008] (EXTB): Likewise.
10905         [POSIX || POSIX2008] (FLUSHO): Likewise.
10906         [POSIX || POSIX2008] (LOBLK): Likewise.
10907         [POSIX || POSIX2008] (PENDIN): Likewise.
10908         [POSIX || POSIX2008] (SWTCH): Likewise.
10909         [POSIX || POSIX2008] (VDISCARD): Likewise.
10910         [POSIX || POSIX2008] (VDSUSP): Likewise.
10911         [POSIX || POSIX2008] (VLNEXT): Likewise.
10912         [POSIX || POSIX2008] (VREPRINT): Likewise.
10913         [POSIX || POSIX2008] (VSTATUS): Likewise.
10914         [POSIX || POSIX2008] (VWERASE): Likewise.
10915         (B*): Change to B[0123456789]*.
10916         * conform/data/time.h-data [POSIX || UNIX98]
10917         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
10918         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
10919         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
10920         [POSIX] (tm_*): Do not allow.
10922 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
10924         * Makefile (install): Don't set LANGUAGE.
10925         * Makefile.in (install): Likewise.
10926         * assert/Makefile (test-assert-ENV): Remove variable.
10927         (test-assert-perr-ENV): Likewise.
10928         * elf/Makefile (neededtest4-ENV): Likewise.
10929         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10930         [$(cross-compiling) = no]: Don't set LANGUAGE.
10931         * io/ftwtest-sh (LANG): Remove variable.
10932         * libio/Makefile (tst-widetext-ENV): Likewise.
10933         * manual/install.texi (Running make install): Don't refer to
10934         environment settings for make install.
10935         * INSTALL: Regenerated.
10936         * nptl/tst-tls6.sh: Don't set LANG.
10937         * posix/globtest.sh (LANG): Remove variable.
10938         * string/Makefile (tester-ENV): Likewise.
10939         (inl-tester-ENV): Likewise.
10940         (noinl-tester-ENV): Likewise.
10941         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10942         [$(cross-compiling) = no]: Don't set LANGUAGE.
10943         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
10944         without explicit environment settings.
10946 2014-06-06  Roland McGrath  <roland@hack.frob.com>
10948         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
10949         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
10950         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
10951         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
10953 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
10955         * crypt/crypt-private.h [DOS]: Add some includes taken from the
10956         other files in the crypt directory.
10957         * crypt/crypt.c: Remove duplicate includes.
10958         * crypt/crypt-entry.c: Likewise.
10959         * crypt/crypt_util.c: Likewise.
10961 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
10963         * Makeconfig (run-program-env): New variable.
10964         (run-program-prefix-before-env): Likewise.
10965         (run-program-prefix-after-env): Likewise.
10966         (run-program-prefix): Define in terms of new variables.
10967         (built-program-cmd-before-env): New variable.
10968         (built-program-cmd-after-env): Likewise.
10969         (built-program-cmd): Define in terms of new variables.
10970         (test-program-prefix-before-env): New variable.
10971         (test-program-prefix-after-env): Likewise.
10972         (test-program-prefix): Define in terms of new variables.
10973         (test-program-cmd-before-env): New variable.
10974         (test-program-cmd-after-env): Likewise.
10975         (test-program-cmd): Define in terms of new variables.
10976         * Rules (make-test-out): Use $(run-program-env).
10977         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
10978         (help): Do not mention environment variables.  Mention
10979         --timeoutfactor option.
10980         (timeoutfactor): New variable.
10981         (blacklist_exports): Remove function.
10982         (exports): Remove variable.
10983         (command): Do not include ${exports}.
10984         * manual/install.texi (Configuring and compiling): Do not mention
10985         test wrappers preserving environment variables.  Mention that last
10986         assignment to a variable must take precedence.
10987         * INSTALL: Regenerated.
10988         * benchtests/Makefile (run-bench): Use $(run-program-env).
10989         * catgets/Makefile ($(objpfx)test1.cat): Use
10990         $(built-program-cmd-before-env), $(run-program-env) and
10991         $(built-program-cmd-after-env).
10992         ($(objpfx)test2.cat): Do not specify environment variables
10993         explicitly.
10994         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
10995         $(run-program-env) and $(built-program-cmd-after-env).
10996         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
10997         $(run-program-env) and $(test-program-cmd-after-env).
10998         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
10999         explicitly.
11000         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11001         run_program_env and test_program_cmd_after_env arguments.
11002         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11003         * elf/tst-pathopt.sh: Use run_program_env argument.
11004         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11005         $(test-wrapper-env) and $(run-program-env).
11006         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11007         run_program_env arguments.
11008         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11009         * intl/Makefile ($(objpfx)tst-gettext.out): Use
11010         $(test-program-prefix-before-env), $(run-program-env) and
11011         $(test-program-prefix-after-env).
11012         ($(objpfx)tst-gettext2.out): Likewise.
11013         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11014         run_program_env and test_program_prefix_after_env arguments.
11015         * intl/tst-gettext2.sh: Likewise.
11016         * intl/tst-gettext4.sh: Do not set environment variables
11017         explicitly.
11018         * intl/tst-gettext6.sh: Likewise.
11019         * intl/tst-translit.sh: Likewise.
11020         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11021         $(test-program-prefix-before-env), $(run-program-env) and
11022         $(test-program-prefix-after-env).
11023         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11024         run_program_env and test_program_prefix_after_env arguments.
11025         * math/Makefile (run-regen-ulps): Use $(run-program-env).
11026         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11027         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
11028         explicitly with each use of ${test_wrapper_env}.
11029         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11030         $(test-program-prefix-before-env), $(run-program-env) and
11031         $(test-program-prefix-after-env).
11032         * posix/tst-getconf.sh: Do not set environment variables
11033         explicitly.
11034         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11035         run_program_env and test_program_prefix_after_env arguments.
11036         * stdio-common/tst-printf.sh: Do not set environment variables
11037         explicitly.
11038         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11039         $(test-program-prefix-before-env), $(run-program-env) and
11040         $(test-program-prefix-after-env).
11041         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11042         run_program_env and test_program_prefix_after_env arguments.
11043         Split $test calls into $test_pre and $test.
11044         * timezone/Makefile (build-testdata): Use
11045         $(built-program-cmd-before-env), $(run-program-env) and
11046         $(built-program-cmd-after-env).
11048 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11050         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11051         strlen for non SHARED builds.
11053 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11055         * nptl/allocatestack.c (check_list): Inlined function...
11056         (__reclaim_stacks): ... here.
11058 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
11060         [BZ #15698]
11061         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11062         memory overrun.
11064 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
11066         * Rules (make-test-out): Include
11067         LOCPATH=$(common-objpfx)localedata in default environment.
11068         * debug/Makefile (tst-chk1-ENV): Remove variable.
11069         (tst-chk2-ENV): Likewise.
11070         (tst-chk3-ENV): Likewise.
11071         (tst-chk4-ENV): Likewise.
11072         (tst-chk5-ENV): Likewise.
11073         (tst-chk6-ENV): Likewise.
11074         (tst-lfschk1-ENV): Likewise.
11075         (tst-lfschk2-ENV): Likewise.
11076         (tst-lfschk3-ENV): Likewise.
11077         (tst-lfschk4-ENV): Likewise.
11078         (tst-lfschk5-ENV): Likewise.
11079         (tst-lfschk6-ENV): Likewise.
11080         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11081         (tst-iconv7-ENV): Likewise.
11082         * intl/Makefile (LOCPATH-ENV): Likewise.
11083         (tst-codeset-ENV): Likewise.
11084         (tst-gettext3-ENV): Likewise.
11085         (tst-gettext5-ENV): Likewise.
11086         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11087         (tst-fopenloc-ENV): Likewise.
11088         (tst-fgetws-ENV): Remove variable.
11089         (tst-ungetwc1-ENV): Likewise.
11090         (tst-ungetwc2-ENV): Likewise.
11091         (bug-ungetwc2-ENV): Likewise.
11092         (tst-swscanf-ENV): Likewise.
11093         (bug-ftell-ENV): Likewise.
11094         (tst-fgetwc-ENV): Likewise.
11095         (tst-fseek-ENV): Likewise.
11096         (tst-ftell-partial-wide-ENV): Likewise.
11097         (tst-ftell-active-handler-ENV): Likewise.
11098         (tst-ftell-append-ENV): Likewise.
11099         * posix/Makefile (tst-fnmatch-ENV): Likewise.
11100         (tst-regexloc-ENV): Likewise.
11101         (bug-regex1-ENV): Likewise.
11102         (tst-regex-ENV): Likewise.
11103         (tst-regex2-ENV): Likewise.
11104         (bug-regex5-ENV): Likewise.
11105         (bug-regex6-ENV): Likewise.
11106         (bug-regex17-ENV): Likewise.
11107         (bug-regex18-ENV): Likewise.
11108         (bug-regex19-ENV): Likewise.
11109         (bug-regex20-ENV): Likewise.
11110         (bug-regex22-ENV): Likewise.
11111         (bug-regex23-ENV): Likewise.
11112         (bug-regex25-ENV): Likewise.
11113         (bug-regex26-ENV): Likewise.
11114         (bug-regex30-ENV): Likewise.
11115         (bug-regex32-ENV): Likewise.
11116         (bug-regex33-ENV): Likewise.
11117         (bug-regex34-ENV): Likewise.
11118         (bug-regex35-ENV): Likewise.
11119         (tst-rxspencer-ENV): Likewise.
11120         (tst-rxspencer-no-utf8-ENV): Likewise.
11121         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11122         (tst-sscanf-ENV): Likewise.
11123         (tst-swprintf-ENV): Likewise.
11124         (tst-swscanf-ENV): Likewise.
11125         (test-vfprintf-ENV): Likewise.
11126         (scanf13-ENV): Likewise.
11127         (bug14-ENV): Likewise.
11128         (tst-grouping-ENV): Likewise.
11129         * stdlib/Makefile (tst-strtod-ENV): Likewise.
11130         (tst-strtod3-ENV): Likewise.
11131         (tst-strtod4-ENV): Likewise.
11132         (tst-strtod5-ENV): Likewise.
11133         (testmb2-ENV): Likewise./
11134         * string/Makefile (tst-strxfrm-ENV): Likewise.
11135         (tst-strxfrm2-ENV): Likewise.
11136         (bug-strcoll1-ENV): Likewise.
11137         (test-strcasecmp-ENV): Likewise.
11138         (test-strncasecmp-ENV): Likewise.
11139         * time/Makefile (tst-strptime-ENV): Likewise.
11140         (tst-ftime_l-ENV): Likewise.
11141         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11142         (tst-mbrtowc-ENV): Likewise.
11143         (tst-wcrtomb-ENV): Likewise.
11144         (tst-mbrtowc2-ENV): Likewise.
11145         (tst-c16c32-1-ENV): Likewise.
11146         (tst-mbsnrtowcs-ENV): Likewise.
11148 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
11150         * manual/resource.texi (How to get information about the memory
11151         subsystem?): Fix typo.
11152         Reported by Peon de la Parra Ivan <peon@keba.com>
11154 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
11156         [BZ #16882]
11157         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11158         (pthread_spin_lock): Branch out of spin loop to proper location.
11159         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11160         (pthread_spin_lock): Likewise.
11162         * nptl/tst-spin4.c: New test.
11163         * nptl/Makefile (tests): Add tst-spin4.
11165 2014-06-03  Andreas Schwab  <schwab@suse.de>
11167         [BZ #15946]
11168         * resolv/res_send.c (send_dg): Reload file descriptor after
11169         calling reopen.
11171 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
11173         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11175 2014-06-03  Richard Henderson  <rth@redhat.com>
11177         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11178         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11179         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11180         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
11181         in the SAVE_PID block.
11182         (__libc_vfork): New alias.
11183         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
11185         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11186         child in registers, not on the stack.  Remove RESET_PID conditionals.
11187         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11189 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11191         * sysdeps/aarch64/libm-test-ulps: Regenerate.
11193 2014-06-03  Wilco  <wdijkstr@arm.com>
11195         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11196         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11197         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11198         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11199         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11200         Likewise.
11202 2014-06-03  Wilco  <wdijkstr@arm.com>
11204         * sysdeps/aarch64/fpu/math_private.h
11205         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11206         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11207         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11208         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11209         Fix declarations.
11211 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11213         * crypt/crypt-private.h: Include ufc-crypt.h.
11214         (__b64_from_24bit): Declare extern.
11215         * crypt/crypt_util.c(__b64_from_24bit): New function.
11216         (b64t): New static const variable.
11217         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11218         (b64t): Remove variable.
11219         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11220         * crypt/sha256-crypt.c: Include crypt-private.h.
11221         (b64t): Remove variable.
11222         (__sha256_crypt_r): Remove b64_from_24bit and replace
11223         with __b64_from_24bit.
11224         * crypt/sha512-crypt.c: Likewise.
11226 2014-06-02  Roland McGrath  <roland@hack.frob.com>
11228         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11229         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11230         Label the code __libc_vfork rather than __vfork.
11231         [!NOT_IN_libc] (vfork): Define as weak alias.
11232         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11233         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11234         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11236 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11238         * malloc/malloc.c (malloc_info): Fix format specifier for
11239         n_mmaps.
11241 2014-06-02  Wilco  <wdijkstr@arm.com>
11243         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11244         FPCR write.
11246 2014-06-02  Wilco  <wdijkstr@arm.com>
11248         [BZ #17009]
11249         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11250         Rewrite to reduce FPCR/FPSR accesses.
11252 2014-06-01  David S. Miller  <davem@davemloft.net>
11254         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11256 2014-05-31  David S. Miller  <davem@davemloft.net>
11258         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11259         to occur in round to nearest mode when |x| >= 2.0
11261 2014-05-30  Richard Henderson  <rth@twiddle.net>
11263         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11264         (PSEUDO_RET_NOERRNO): Remove.
11265         (ret): Don't redefine.
11266         (ret_NOERRNO): Define in terms of ret.
11267         (ret_ERRVAL): Likewise.
11269         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11270         use of PSEUDO_RET; perform the error check directly.
11272 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
11274         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11275         with __int128_t.
11277 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11279         * malloc/malloc (malloc_info): Fix formatting.
11281 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11282             Roland McGrath  <roland@hack.frob.com>
11284         * malloc/malloc (malloc_info): Also print mmapped statistics.
11286 2014-05-30  Roland McGrath  <roland@hack.frob.com>
11288         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11289         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11291 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
11293         * malloc/malloc.c (malloc_info): Inline mi_arena.
11295 2014-05-29  Richard Henderson  <rth@twiddle.net>
11297         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11298         Remove comma before expanding ASM_ARGS_##nr.
11299         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11300         Make _x0 a strict output; make _x8 a strict input; adjust expansion
11301         of ASM_ARGS_##nr.
11302         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11303         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11304         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11305         (ASM_ARGS_1): Add leading comma.
11307         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11308         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11309         to __errno_location.
11310         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11311         Remove the expected plt for __errno_location.
11313         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11314         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
11315         call to __read_tp.
11317         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11318         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
11319         it and break it down.
11320         (DOCARGS_0, DOCARGS_1): Do nothing.
11321         (DOCARGS_2): Update to store into the new stack frame.
11322         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11323         (UNDOCARGS_1): Update to restore from the new stack frame.
11324         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11325         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11327         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11328         (SINGLE_THREAD_P): New parameter for result regno.
11329         (PSEUDO): Update to match; use cbz instead of beq.
11331         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11332         Use ENTRY to define the _nocancel entry point.  Share the syscall
11333         and syscall error check paths with the cancel path.
11334         (PSEUDO_END): New.
11336         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11337         whitespace; tabs before and after asm mnemonics.
11339 2014-05-29  Eric Wong  <normalperson@yhbt.net>
11341         [BZ #15132]
11342         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11343         Call fstat64 or stat64 internally, depending on arguments passed.
11344         Replace stat buffer argument with file descriptor argument.
11345         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11346         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11347         Pass fd to __internal_statvfs instead of calling fstat64.
11348         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11349         Pass fd to __internal_statvfs64 instead of calling fstat64.
11350         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11351         Pass -1 to __internal_statvfs instead of calling stat64.
11352         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11353         Pass -1 to __internal_statvfs64 instead of calling stat64.
11355 2014-05-28  Roland McGrath  <roland@hack.frob.com>
11357         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11358         that was previously under [RESET_PID].
11359         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11361         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11362         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11364 2014-05-27  Roland McGrath  <roland@hack.frob.com>
11366         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11368         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11369         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11371 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
11373         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11375 2014-05-27  Andreas Schwab  <schwab@suse.de>
11377         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11378         TLS_INIT_TP macro.
11379         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11380         * elf/rtld.c (init_tls, dl_main): Likewise.
11381         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11382         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11383         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11384         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11385         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11386         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11387         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11388         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11389         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11390         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11391         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11392         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11393         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11394         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11395         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11396         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11397         * sysdeps/generic/tls.h: Update description.
11399 2014-05-27  Will Newton  <will.newton@linaro.org>
11401         [BZ #16990]
11402         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11403         and restore r2 rather than just restoring.
11405 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11407         [BZ #16724]
11408         * libio/tst-ftell-append.c: New test case.
11409         * libio/Makefile (tests): Add test case.
11410         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11411         append mode.
11412         * libio/wfileops.c (do_ftell_wide): Likewise.
11414 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11416         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11418         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11419         ...
11420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
11421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
11422         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
11423         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
11424         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
11425         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
11426         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
11427         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
11428         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
11429         Moved ...
11430         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
11431         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
11432         Moved ...
11433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
11434         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
11435         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
11436         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
11437         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
11438         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
11439         ...
11440         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
11441         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
11442         Moved ...
11443         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
11444         here.
11445         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
11446         ...
11447         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
11448         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
11449         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
11451         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
11452         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
11453         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
11454         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
11456         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
11457         merge into ...
11458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
11459         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
11460         ...
11461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
11462         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
11463         ...
11464         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
11465         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
11466         Moved ...
11467         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
11468         here.
11469         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
11470         Moved ...
11471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
11472         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
11473         Moved ...
11474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
11476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
11477         conditional [RESET_PID].
11478         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11479         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
11480         removed.
11481         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
11482         removed.
11484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
11485         <tcb-offsets.h>.
11486         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11487         (__libc_vfork): New strong alias.
11488         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
11489         removed.
11490         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
11491         Removed.
11493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
11494         <tcb-offsets.h>.
11495         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
11496         (__libc_vfork): New strong alias.
11497         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
11498         removed.
11499         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
11500         removed.
11502 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
11504         * malloc/malloc.c (mi_arena): New function.
11505         (malloc_info): Remove nested function mi_arena. Call non-nosted
11506         function mi_arena.
11508 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11510         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
11511         by insrwi.
11512         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
11513         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
11514         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
11515         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
11516         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
11517         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
11518         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
11520 2014-05-26  Andreas Schwab  <schwab@suse.de>
11522         [BZ #16984]
11523         * locale/programs/repertoire.c (repertoire_read): Add slash
11524         between I18NPATH element and file name.
11525         * locale/programs/locfile.c (locfile_read): Likewise.
11527 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11529         * nptl/pthread_mutexattr_settype.c
11530         (__pthread_mutexattr_settype):
11531         Disable lock elision for PTHREAD_MUTEX_NORMAL.
11533 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
11535         * nptl/tst-mutex5 (do_test):
11536         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
11538 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11540         * benchtests/README: Document 'init' directive.
11541         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
11542         BENCH_INIT.
11543         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
11544         (parse_file): Recognize 'init' directive.
11546 2014-05-26  Kyle McMartin  <kyle@redhat.com>
11548         [BZ #16796]
11549         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
11550         alignment of struct pthread.
11552 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
11554         [BZ #16878]
11555         * nscd/netgroupcache.c (addgetnetgrentX): Look for
11556         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11557         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
11558         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
11560 2014-05-25  Richard Henderson  <rth@twiddle.net>
11562         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11563         (SINGLE_THREAD_P_PIC): Remove.
11564         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
11565         (SINGLE_THREAD_P_PIC): Remove.
11567         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
11568         branch to syscall error ...
11569         (PSEUDO): ... here.
11570         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
11571         from __local_syscall_error to .Lsyscall_error.
11572         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
11573         (SYSCALL_ERROR): Update label name.
11575         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11576         Do not use DOARGS/UNDOARGS.
11577         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
11578         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
11579         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
11580         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
11581         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
11583         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
11584         block comment.
11586         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
11587         define if !NOT_IN_libc.
11588         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
11589         define with non-default symbol versions.
11591 2014-05-23  Richard Henderson  <rth@twiddle.net>
11593         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
11594         (vfork, __vfork): Define via compat_symbol.
11596         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
11597         [!HAVE_IFUNC] (vfork_compat): Remove.
11598         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
11600 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
11602         [BZ #16978]
11603         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
11604         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
11605         variable.
11607 2014-05-23  Richard Henderson  <rth@twiddle.net>
11609         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
11610         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
11611         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
11612         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
11614         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
11615         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
11616         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
11617         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
11618         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
11619         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
11620         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
11621         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
11622         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
11623         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
11624         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
11625         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
11626         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
11627         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
11628         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
11629         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
11630         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
11631         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
11632         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
11633         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
11634         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
11635         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
11636         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
11637         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
11638         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
11639         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
11640         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
11641         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
11642         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
11643         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
11644         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
11645         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
11646         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
11647         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
11648         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
11649         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
11650         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
11651         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
11652         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
11653         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
11654         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
11655         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
11656         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
11657         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
11658         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
11659         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
11660         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
11661         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
11662         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
11663         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
11664         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
11665         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
11666         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
11667         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
11668         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
11669         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
11671         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
11672         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
11673         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
11674         before exiting on error.
11675         (__libc_vfork): New strong alias.
11676         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
11677         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
11679         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
11680         that was previously under [RESET_PID].
11681         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
11683         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
11685 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
11687         [BZ #16977]
11688         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
11689         value when x - 1 is zero.
11690         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11691         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
11692         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
11693         0.0L for an argument of 1.0L.
11694         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
11695         Likewise.
11696         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
11697         value when x - 1 is zero.
11698         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
11699         * sysdeps/i386/fpu/libm-test-ulps: Update.
11700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11702 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
11704         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
11705         alphasort and versionsort.
11707 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11709         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
11710         macro.
11711         [copysignf]: Likewise.
11713 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11715         * crypt/md5-crypt.c: Fix formatting.
11717 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11719         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
11720         (b64_from_24bit): New function.
11722 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11724         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
11725         libc_hidden_builtin_def to ifunc.
11726         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11727         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
11729 2014-05-21  Roland McGrath  <roland@hack.frob.com>
11731         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
11732         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
11734 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
11736         * nscd/Depend (linuxthreads): Remove.
11737         (nptl): Add.
11738         * resolv/Depend (linuxthreads): Remove.
11739         * rt/Depend (linuxthreads): Remove.
11741         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
11742         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
11743         $(common-objpfx)elf/.
11744         (link-libc-before-gnulib): Likewise.
11745         (elfobjdir): Remove variable.
11746         * Makefile (install): Use $(elf-objpfx) instead of
11747         $(common-objpfx)elf/.
11748         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
11749         $(elfobjdir)/.
11750         (link-libc-deps): Likewise.
11751         ($(common-objpfx)libc.so): Likewise.
11752         ($(common-objpfx)linkobj/libc.so): Likewise.
11753         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
11754         instead of $(common-objpfx)elf/.
11755         (symbolic-link-list): Likewise.
11756         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11757         [$(cross-compiling) = no]: Likewise.
11758         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
11759         $(elfobjdir)/.
11760         (static-gnulib-arch): Likewise.
11761         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11762         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
11763         $(common-objpfx)elf/.
11765 2014-05-21  Richard Henderson  <rth@redhat.com>
11767         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11768         (SINGLE_THREAD_P): Use the correct width load.  Fold
11769         into the ldr offset.
11771         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
11772         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
11774 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
11776         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
11777         (libgcc_s_resume): Use __attribute_used__.
11778         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
11779         Likewise.
11781 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11783         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
11784         optimization when used with float constants.
11786         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11788 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
11790         [BZ #16915]
11791         * locale/nl_langinfo_l.c: Make direct reference to every
11792         _nl_current_CATEGORY symbol.
11793         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
11794         (tests-static): Add tst-langinfo-static.
11795         (tests-special): Add tst-langinfo-static.out.
11796         ($(objpfx)tst-langinfo.out): Redirect output.
11797         ($(objpfx)tst-langinfo-static.out): New.
11798         * localedata/tst-langinfo.sh: Send output to stdout.
11799         * localedata/tst-langinfo-static.c: New file.
11801         [BZ #16965]
11802         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
11803         when the shift amount is modulo the limb size.
11805 2014-05-20  Richard Henderson  <rth@redhat.com>
11807         [BZ #16967]
11808         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
11809         Change type of sa_flags from unsigned int to int.
11811         [BZ #16966]
11812         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
11814         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
11816 2014-05-20  Will Newton  <will.newton@linaro.org>
11818         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11819         Test the return value of the system call in the nocancel case.
11821 2014-05-20  Will Newton  <will.newton@linaro.org>
11822             Yvan Roux  <yvan.roux@linaro.org>
11824         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
11825         #include of asm/ptrace.h.
11826         (PTRACE_GET_THREAD_AREA): Remove #undef.
11827         (PTRACE_GETHBPREGS): Likewise.
11828         (PTRACE_SETHBPREGS): Likewise.
11829         (struct user_regs_struct): New structure.
11830         (struct user_fpsimd_struct): New structure.
11831         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
11832         #include of asm/ptrace.h and second #include of sys/user.h.
11833         (PTRACE_GET_THREAD_AREA): Remove #undef.
11834         (PTRACE_GETHBPREGS): Likewise.
11835         (PTRACE_SETHBPREGS): Likewise.
11836         (ELF_NGREG): Use new struct user_regs_struct.
11837         (elf_fpregset_t): Use new struct user_fpsimd_struct.
11839 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11841         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
11842         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
11844 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
11846         [BZ #16958]
11847         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
11848         membar to avoid block loads/stores to overlap previous stores.
11850 2014-05-17  Richard Henderson  <rth@redhat.com>
11852         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
11853         Create the __##syscall_name##_nocancel entry point.
11854         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
11855         Remove; let the sysdep-cancel.h code create it.
11857 2014-05-17  David S. Miller  <davem@davemloft.net>
11859         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
11860         Protect with __USE_GNU.
11861         (TIOCSET_TEMPT): Likewise.
11862         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
11863         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
11864         these are already provided in bits/ioctl-types.h
11866 2014-05-16  Roland McGrath  <roland@hack.frob.com>
11868         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
11869         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
11871         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
11872         Use wait4 regardless of [__NR_waitpid].
11874 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
11876         PR libgcc/60166
11877         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
11878         (_FP_NANSIGN_Q): Set the quiet bit.
11880 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
11882         * benchtests/Makefile
11883         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
11884         not $(common-objpfx)math/libm.so.
11885         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
11886         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
11887         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
11888         $(common-objpfx)dlfcn/libdl.so.
11889         ($(objpfx)tst-audit8): Depend on $(libm), not
11890         $(common-objpfx)math/libm.so.
11891         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
11892         not $(common-objpfx)dlfcn/libdl.so.
11893         * math/Makefile
11894         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11895         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
11896         [$(build-shared) = yes].
11897         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
11898         $(common-objpfx)nptl/libpthread.so.
11899         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
11900         $(common-objpfx)math/libm.so$(libm.so-version) or
11901         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
11902         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
11903         $(common-objpfx)dlfcn/libdl.so.
11904         * setjmp/Makefile (link-libm): Remove variable.
11905         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
11906         * stdio-common/Makefile (link-libm): Remove variable.
11907         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
11908         * stdlib/Makefile (link-libm): Remove variable.
11909         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
11910         ($(objpfx)tst-strtod-round): Likewise.
11911         ($(objpfx)tst-tininess): Likewise.
11912         ($(objpfx)tst-strtod-underflow): Likewise.
11913         ($(objpfx)tst-strtod6): Likewise.
11914         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
11915         $(libdl), not $(common-objpfx)nptl/libpthread.so and
11916         $(common-objpfx)dlfcn/libdl.so.
11918 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11920         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
11921         BSD terminal modes definitions.
11923 2014-05-16  Roland McGrath  <roland@hack.frob.com>
11925         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
11926         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
11928         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
11929         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
11930         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
11931         Don't do #include_next.
11932         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
11933         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
11934         Don't do #include_next.
11935         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
11936         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
11937         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
11938         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
11940 2014-05-16  Allan McRae  <allan@archlinux.org>
11942         * po/sv.po: Update Swedish translation from translation project.
11944         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
11945         in sed expression.
11947 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
11949         [BZ #16917]
11950         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
11951         errno if the TIOCGPTN ioctl fails with an error different than
11952         EINVAL.
11953         * login/tst-ptsname.c: New file.
11954         * login/Makefile (tests): Add tst-ptsname.
11956         [BZ #16943]
11957         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
11958         and prlimit64.
11960 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11962         [BZ #16849]
11963         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
11964         herrno to return EAI_AGAIN.
11966 2014-05-14  Roland McGrath  <roland@hack.frob.com>
11968         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
11969         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
11970         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
11971         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
11972         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
11973         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
11974         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
11975         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
11976         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
11977         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
11978         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
11979         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
11980         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
11981         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
11982         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
11983         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
11984         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
11985         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
11986         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
11987         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
11988         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
11989         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
11990         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
11991         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
11992         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
11993         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
11994         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
11995         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
11996         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
11997         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
11998         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
11999         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12000         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12001         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12002         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12003         Moved ...
12004         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12005         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12006         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12007         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12008         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12009         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12010         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12011         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12012         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12013         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12014         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12015         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12016         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12017         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12018         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12019         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12020         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12021         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12022         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12023         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12024         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12025         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12026         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12027         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12028         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12029         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12030         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12031         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12032         Moved ...
12033         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12034         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12035         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12036         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12037         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12038         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12039         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12040         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12041         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12042         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12043         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12044         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12045         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12046         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12047         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12048         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12049         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12050         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12051         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12052         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12053         Moved ...
12054         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12055         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12056         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12058         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12059         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12060         (libpthread-sysdep_routines): Add elision-related stuff here instead.
12061         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12062         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12063         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12064         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12065         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12066         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12067         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12068         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12069         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12070         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12071         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12072         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12073         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12074         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12075         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12076         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12077         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12078         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12079         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12080         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12081         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12082         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12083         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12084         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12085         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12086         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12087         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12088         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12090         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12091         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12093         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12094         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12095         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12096         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12097         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12098         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12099         Moved ...
12100         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12101         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12102         Moved ...
12103         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12104         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12105         Moved ...
12106         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12107         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12108         Moved ...
12109         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12110         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12111         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12112         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12113         Moved ...
12114         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12115         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12116         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12117         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12118         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12119         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12120         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12121         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12122         Moved ...
12123         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12124         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12125         Moved ...
12126         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12127         ... here.
12128         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12129         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12130         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12131         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12132         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12133         Moved ...
12134         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12135         ... here.
12136         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12137         Moved ...
12138         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12139         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12140         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12141         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12142         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12143         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12144         Moved ...
12145         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12146         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12147         Moved ...
12148         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12149         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12150         Moved ...
12151         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12152         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12153         Moved ...
12154         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12155         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12156         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12157         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12158         Moved ...
12159         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12160         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12161         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12162         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12163         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12164         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12165         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12166         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12167         Moved ...
12168         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12169         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12170         Moved ...
12171         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12172         ... here.
12173         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12174         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12175         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12176         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12177         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12178         Moved ...
12179         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12180         ... here.
12181         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12182         Moved ...
12183         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12184         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12185         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12186         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12187         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12188         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12189         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12190         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12191         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12192         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12193         Moved ...
12194         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12195         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12196         Moved ...
12197         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12198         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12199         Moved ...
12200         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12201         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12202         Moved ...
12203         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12204         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12205         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12206         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12207         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12208         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12209         Moved ...
12210         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12211         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12212         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12213         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12214         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12215         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12216         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12217         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12218         Moved ...
12219         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12220         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12221         Moved ...
12222         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12223         ... here.
12224         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12225         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12226         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12227         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12228         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12229         Moved ...
12230         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12231         ... here.
12232         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12233         Moved ...
12234         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12235         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12236         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12237         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12238         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12239         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12240         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12241         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12242         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12243         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12244         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12246         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12247         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12249         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12250         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12252         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12253         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12254         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12255         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12256         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12257         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12258         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12259         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12260         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12261         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12262         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12263         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12264         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12265         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12266         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12267         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12268         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12269         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12270         Moved ...
12271         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12272         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12273         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12274         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12275         Moved ...
12276         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12277         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12278         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12279         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12280         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12281         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12282         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12283         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12284         Moved ...
12285         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12286         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12287         Moved ...
12288         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12289         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12290         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12291         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12292         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12293         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12294         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12295         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12296         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12297         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12298         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12299         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12300         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12301         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12302         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12303         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12304         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12306         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12307         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12308         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12309         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12310         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12312         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12313         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12314         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12315         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12316         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12317         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12318         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12319         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12320         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12321         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12323         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12324         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12326         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12327         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
12328         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12329         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12330         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12331         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12332         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12333         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12334         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12335         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12336         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12337         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12338         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12339         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12340         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12341         Update #include.
12342         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12343         Likewise.
12344         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12345         Likewise.
12346         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12347         Likewise.
12348         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12349         Likewise.
12350         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12351         Likewise.
12352         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12353         Likewise.
12354         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12355         Likewise.
12356         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12357         Likewise.
12358         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12359         Likewise.
12360         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12361         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12362         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12363         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12364         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
12365         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12366         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12367         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12368         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12369         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12370         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12371         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12372         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12373         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
12374         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
12376         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12377         that was previously under [RESET_PID].
12378         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12379         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12380         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12382         * sysdeps/i386/nptl/Implies: New file.
12383         * sysdeps/x86_64/nptl/Implies: New file.
12384         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12385         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12386         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12387         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12389         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12390         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12391         (__libc_vfork): New strong alias.
12392         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12393         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12395         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12396         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12397         (__libc_vfork): New strong alias.
12398         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12399         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12401         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12402         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12403         (__libc_vfork): New strong alias.
12404         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12405         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12406         * nptl/pt-vfork.c: New file.
12407         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12408         (libpthread: GLIBC_2.20): New version set (empty).
12410 2014-05-14  Will Newton  <will.newton@linaro.org>
12412         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12413         rather than #if.
12415 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
12417         [BZ #16564]
12418         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12419         arguments with exponent 65 or above.
12420         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
12421         arguments 0x1p113L or above.
12422         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
12423         to arguments 0x1p107L or above.
12424         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
12425         positive arguments with exponent 65 or above.
12426         * math/auto-libm-test-in: Add more tests of log1p.
12427         * math/auto-libm-test-out: Regenerated.
12429         [BZ #16928]
12430         * math/s_cacos.c (__cacos): Ensure zero real part of result from
12431         non-finite arguments is +0.
12432         * math/s_cacosf.c (__cacosf): Likewise.
12433         * math/s_cacosl.c (__cacosl): Likewise.
12434         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
12435         * sysdeps/i386/fpu/libm-test-ulps: Update.
12436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12438         [BZ #16927]
12439         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
12440         value.
12441         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
12442         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
12443         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
12444         for explicit high bit of mantissa when testing for argument equal
12445         to 1.
12446         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
12447         * sysdeps/i386/fpu/libm-test-ulps: Update.
12448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12450         [BZ #16516]
12451         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
12452         (__erf): Scale by 16 instead of 8 in potentially underflowing
12453         case.  Ensure exception if result actually underflows.
12454         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
12455         (__erff): Scale by 16 instead of 8 in potentially underflowing
12456         case.  Ensure exception if result actually underflows.
12457         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
12458         (efx8): Remove variable.
12459         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12460         case.  Ensure exception if result actually underflows.
12461         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
12462         (efx8): Remove variable.
12463         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12464         case.  Ensure exception if result actually underflows.
12465         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
12466         (efx8): Remove variable.
12467         (__erfl): Scale by 16 instead of 8 in potentially underflowing
12468         case.  Ensure exception if result actually underflows.
12469         * math/auto-libm-test-in: Add more tests of erf.
12470         * math/auto-libm-test-out: Regenerated.
12472 2014-05-14  Andreas Schwab  <schwab@suse.de>
12474         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
12475         Remove code conditionalized on USE___THREAD.
12477         * config.h.in (HAVE_PT_CHOWN): Define as 0.
12478         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
12479         not definedness.
12481 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
12483         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
12484         Define unconditionally.
12485         (__ASSUME_O_CLOEXEC): Likewise.
12486         (__ASSUME_SOCK_CLOEXEC): Likewise.
12487         (__ASSUME_IN_NONBLOCK): Likewise.
12488         (__ASSUME_PIPE2): Likewise.
12489         (__ASSUME_EVENTFD2): Likewise.
12490         (__ASSUME_SIGNALFD4): Likewise.
12491         (__ASSUME_DUP3): Likewise.
12492         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
12493         (__ASSUME_DUP3): Do not define.
12494         (__ASSUME_EVENTFD2): Likewise.
12495         (__ASSUME_IN_NONBLOCK): Likewise.
12496         (__ASSUME_O_CLOEXEC): Likewise.
12497         (__ASSUME_PIPE2): Likewise.
12498         (__ASSUME_SIGNALFD4): Likewise.
12499         (__ASSUME_SOCK_CLOEXEC): Likewise.
12500         (__ASSUME_UTIMES): Undefine.
12501         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12502         (__ASSUME_UTIMES): Do not define.
12503         (__ASSUME_O_CLOEXEC): Likewise.
12504         (__ASSUME_SOCK_CLOEXEC): Likewise.
12505         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
12506         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
12507         0x020621].
12508         (__ASSUME_PIPE2): Likewise.
12509         (__ASSUME_EVENTFD2): Likewise.
12510         (__ASSUME_SIGNALFD4): Likewise.
12511         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
12512         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
12513         Do not define.
12514         (__ASSUME_EVENTFD2): Likewise.
12515         (__ASSUME_SIGNALFD4): Likewise.
12516         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
12517         (__ASSUME_32BITUIDS): Likewise.
12518         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
12519         (__ASSUME_IPC64): Likewise.
12520         (__ASSUME_ST_INO_64_BIT): Likewise.
12521         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
12522         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
12523         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12524         (__ASSUME_UTIMES): Do not define.
12525         (__ASSUME_PSELECT): Likewise.
12526         (__ASSUME_PPOLL): Likewise.
12527         (__ASSUME_O_CLOEXEC): Likewise.
12528         (__ASSUME_SOCK_CLOEXEC): Likewise.
12529         (__ASSUME_IN_NONBLOCK): Likewise.
12530         (__ASSUME_PIPE2): Likewise.
12531         (__ASSUME_EVENTFD2): Likewise.
12532         (__ASSUME_SIGNALFD4): Likewise.
12533         (__ASSUME_DUP3): Likewise.
12534         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12535         (__ASSUME_UTIMES): Likewise.
12536         (__ASSUME_O_CLOEXEC): Likewise.
12537         (__ASSUME_SOCK_CLOEXEC): Likewise.
12538         (__ASSUME_IN_NONBLOCK): Likewise.
12539         (__ASSUME_PIPE2): Likewise.
12540         (__ASSUME_EVENTFD2): Likewise.
12541         (__ASSUME_SIGNALFD4): Likewise.
12542         (__ASSUME_DUP3): Likewise.
12543         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12544         (__ASSUME_UTIMES): Likewise.
12545         (__ASSUME_O_CLOEXEC): Likewise.
12546         (__ASSUME_SOCK_CLOEXEC): Likewise.
12547         (__ASSUME_IN_NONBLOCK): Likewise.
12548         (__ASSUME_PIPE2): Likewise.
12549         (__ASSUME_EVENTFD2): Likewise.
12550         (__ASSUME_SIGNALFD4): Likewise.
12551         (__ASSUME_DUP3): Likewise.
12552         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
12553         Likewise.
12554         (__ASSUME_UTIMES): Likewise.
12555         (__ASSUME_EVENTFD2): Likewise.
12556         (__ASSUME_SIGNALFD4): Likewise.
12557         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12558         (__ASSUME_O_CLOEXEC): Likewise.
12559         (__ASSUME_SOCK_CLOEXEC): Likewise.
12560         (__ASSUME_IN_NONBLOCK): Likewise.
12561         (__ASSUME_PIPE2): Likewise.
12562         (__ASSUME_EVENTFD2): Likewise.
12563         (__ASSUME_SIGNALFD4): Likewise.
12564         (__ASSUME_DUP3): Likewise.
12565         (__ASSUME_UTIMES): Undefine.
12567         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
12568         feclearexcept.  Remove symbol versioning code.
12569         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
12570         symbol versioning code.
12571         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
12572         symbol versioning code.
12573         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
12574         feupdateenv.  Remove symbol versioning code.
12575         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
12576         fegetexceptflag.  Remove symbol versioning code.
12577         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
12578         fesetexceptflag.  Remove symbol versioning code.
12579         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
12580         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
12581         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
12582         (__posix_fadvise64_l32): Remove prototype.
12583         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
12584         code.
12586 2014-05-13  Roland McGrath  <roland@hack.frob.com>
12588         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
12589         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
12590         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
12591         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
12593 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
12595         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
12596         current working directory
12598 2014-05-13  Roland McGrath  <roland@hack.frob.com>
12600         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
12601         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
12602         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
12603         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
12604         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
12605         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
12606         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
12607         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
12608         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
12609         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
12610         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
12611         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
12612         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
12613         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
12614         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
12615         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
12616         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
12617         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
12618         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
12619         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
12620         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
12621         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
12622         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
12623         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
12624         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
12625         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
12626         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
12627         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
12628         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
12629         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
12630         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
12631         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
12632         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
12633         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
12634         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
12635         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
12636         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
12637         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
12638         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
12639         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
12640         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
12641         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
12643         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
12644         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
12646         * sysdeps/unix/sysv/linux/arm/Makefile
12647         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
12648         Add rt-aeabi_unwind_cpp_pr1.
12649         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
12650         Add nptl-aeabi_unwind_cpp_pr1.
12651         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
12652         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
12653         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
12654         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
12655         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
12656         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
12658         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
12659         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
12660         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
12661         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
12663         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
12664         Deconditionalize the code that was previously under [RESET_PID].
12665         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
12667         * sysdeps/generic/exit-thread.h: New file.
12668         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
12669         * include/unistd.h (__exit_thread): Remove declaration.
12670         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
12671         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
12672         * csu/libc-start.c: Include <exit-thread.h>.
12673         (LIBC_START_MAIN): Pass no argument to __exit_thread.
12674         * nptl/pthread_create.c: Include <exit-thread.h>.
12675         (start_thread): Call __exit_thread in place of __exit_thread_inline.
12676         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
12677         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
12678         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
12679         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
12680         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
12681         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
12682         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
12683         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
12684         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
12685         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
12686         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
12687         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
12688         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
12689         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
12690         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
12691         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
12693 2014-05-13  Andreas Schwab  <schwab@suse.de>
12695         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
12697 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
12699         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
12700         (__ASSUME_UTIMES): Do not condition on kernel version.
12701         (__ASSUME_PSELECT): Define unconditionally.
12702         (__ASSUME_PPOLL): Likewise.
12703         (__ASSUME_ATFCTS): Likewise.
12704         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
12705         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
12706         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
12707         (__ASSUME_UTIMENSAT): Define unconditionally.
12708         (__ASSUME_PRIVATE_FUTEX): Likewise.
12709         (__ASSUME_FALLOCATE): Likewise.
12710         (__ASSUME_O_CLOEXEC): Likewise.
12711         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
12712         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
12713         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
12714         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
12715         (__ASSUME_IN_NONBLOCK): Likewise.
12716         (__ASSUME_PIPE2): Likewise.
12717         (__ASSUME_EVENTFD2): Likewise.
12718         (__ASSUME_SIGNALFD4): Likewise.
12719         (__ASSUME_DUP3): Likewise.
12720         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12721         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
12722         (__ASSUME_AT_RANDOM): Likewise.
12723         (__ASSUME_PREADV): Likewise.
12724         (__ASSUME_PWRITEV): Likewise.
12725         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
12726         (__ASSUME_F_GETOWN_EX): Define unconditionally.
12727         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
12728         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
12729         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
12730         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12731         (__ASSUME_O_CLOEXEC): Define unconditionally.
12732         (__ASSUME_PSELECT): Do not undefine conditionally.
12733         (__ASSUME_PPOLL): Likewise.
12734         (__ASSUME_ATFCTS): Likewise.
12735         (__ASSUME_SET_ROBUST_LIST): Likewise.
12736         (__ASSUME_UTIMENSAT): Likewise.
12737         (__ASSUME_FDATASYNC): Define unconditionally.
12738         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12739         (__ASSUME_SIGFRAME_V2): Likewise.
12740         )__ASSUME_EVENTFD2): Likewise.
12741         (__ASSUME_SIGNALFD4): Likewise.
12742         (__ASSUME_PSELECT): Do not undefine conditionally.
12743         (__ASSUME_PPOLL): Likewise.
12744         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
12745         (__ASSUME_PSELECT): Define unconditionally.
12746         (__ASSUME_PPOLL): Likewise.
12747         (__ASSUME_O_CLOEXEC): Likewise.
12748         (__ASSUME_SOCK_CLOEXEC): Likewise.
12749         (__ASSUME_IN_NONBLOCK): Likewise.
12750         (__ASSUME_PIPE2): Likewise.
12751         (__ASSUME_EVENTFD2): Likewise.
12752         (__ASSUME_SIGNALFD4): Likewise.
12753         (__ASSUME_DUP3): Likewise.
12754         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12755         (__ASSUME_O_CLOEXEC): Likewise.
12756         (__ASSUME_SOCK_CLOEXEC): Likewise.
12757         (__ASSUME_IN_NONBLOCK): Likewise.
12758         (__ASSUME_PIPE2): Likewise.
12759         (__ASSUME_EVENTFD2): Likewise.
12760         (__ASSUME_SIGNALFD4): Likewise.
12761         (__ASSUME_DUP3): Likewise.
12762         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12763         (__ASSUME_EVENTFD2): Likewise.
12764         (__ASSUME_SIGNALFD4): Likewise.
12765         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
12767 2014-05-12  Andreas Schwab  <schwab@suse.de>
12769         [BZ #16932]
12770         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
12771         (_nss_nis_gethostbyname4_r): Return error if item length is larger
12772         than maximum RPC packet size.
12773         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
12774         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
12775         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
12776         (_nss_nis_getservbyport_r): Likewise.
12778 2014-05-12  Will Newton  <will.newton@linaro.org>
12780         * malloc/Makefile (tests): Add tst-mallopt.
12781         * malloc/tst-mallopt.c: New file.
12783 2014-05-09  Roland McGrath  <roland@hack.frob.com>
12785         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
12786         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
12788 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12790         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
12791         (tst-tlsmod6.so): Likewise.
12793 2014-05-09  Roland McGrath  <roland@hack.frob.com>
12795         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
12797 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
12799         [BZ #16064]
12800         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
12801         and <dl-procinfo.h>.
12802         (__fegetenv): Save SSE state in envp->__eip if supported.
12803         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
12804         envp->__eip if supported.
12805         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
12806         and <dl-procinfo.h>.
12807         (__fesetenv): Always set __eip, __cs_selector, __opcode,
12808         __data_offset and __data_selector in environment to 0.  Set SSE
12809         state if supported.
12810         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
12811         test-fenv-sse.
12812         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
12813         -mfpmath=sse.
12814         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
12816 2014-05-09  Will Newton  <will.newton@linaro.org>
12818         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
12819         and libc_relro_required for ARM.
12820         * sysdeps/arm/preconfigure: Regenerate.
12822 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
12823             Stefan Liebler  <stli@linux.vnet.ibm.com>
12825         * config.make.in (enable-lock-elision): New Makefile variable.
12826         * configure.ac: Likewise.
12827         * configure: Regenerate.
12828         * sysdeps/s390/configure.ac:
12829         Add check for gcc transactions support.
12830         * sysdeps/s390/configure: Regenerate.
12831         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
12832         Build elision files if enabled.
12833         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
12834         Add lock elision support for s390.
12835         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
12836         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
12837         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
12838         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
12839         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
12840         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
12841         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
12842         Likewise.
12843         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
12844         Likewise.
12845         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
12846         Likewise.
12847         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
12848         Likewise.
12849         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
12850         (__lll_timedlock_elision, __lll_lock_elision)
12851         (__lll_unlock_elision, __lll_trylock_elision)
12852         (lll_timedlock_elision, lll_lock_elision)
12853         (lll_unlock_elision, lll_trylock_elision): Add.
12854         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12855         (pthread_mutex_t): Add lock elision support for s390.
12857 2014-05-14  Wilco  <wdijkstr@arm.com>
12859         * sysdeps/arm/fclrexcpt.c: Cleanup.
12860         * sysdeps/arm/fedisblxcpt.c: Cleanup.
12861         * sysdeps/arm/feenablxcpt.c: Cleanup.
12862         * sysdeps/arm/fegetenv.c: Cleanup.
12863         * sysdeps/arm/fegetexcept.c: Cleanup.
12864         * sysdeps/arm/fegetround.c: Cleanup.
12865         * sysdeps/arm/feholdexcpt.c: Cleanup.
12866         * sysdeps/arm/fesetenv.c: Cleanup.
12867         * sysdeps/arm/fesetround.c: Cleanup.
12868         * sysdeps/arm/feupdateenv.c: Cleanup.
12869         * sysdeps/arm/fgetexcptflg.c: Cleanup.
12870         * sysdeps/arm/fraiseexcpt.c: Cleanup.
12871         * sysdeps/arm/fsetexcptflg.c: Cleanup.
12872         * sysdeps/arm/ftestexcept.c: Cleanup.
12873         * sysdeps/arm/get-rounding-mode.h: Cleanup.
12874         * sysdeps/arm/setfpucw.c: Cleanup.
12876 2014-05-09  Will Newton  <will.newton@linaro.org>
12878         * sysdeps/arm/armv7/strcmp.S: New file.
12879         * NEWS: Mention addition of ARMv7 optimized strcmp.
12881 2014-05-08  Roland McGrath  <roland@hack.frob.com>
12883         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
12884         look for %.ac rather than %.in.
12886         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
12887         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
12888         * sysdeps/mach/hurd/configure: Regenerated.
12889         * sysdeps/unix/sysv/linux/configure: Regenerated.
12891         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
12893 2014-05-07  Steve Ellcey  <sellcey@mips.com>
12895         [BZ# 16922]
12896         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
12897         (LONG_SUB): Ditto.
12898         (PTR_SUB): Ditto.
12900 2014-05-07  Andreas Schwab  <schwab@suse.de>
12902         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
12903         when skipping over non-matching result from nscd.
12905 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
12907         [BZ #16876]
12908         * nptl/sockperf.c (client): Check socket return value.
12910         [BZ #16877]
12911         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
12912         nscd security class.
12914 2014-05-06  Roland McGrath  <roland@hack.frob.com>
12916         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
12917         * sysdeps/arm/unwind.h: ... here.
12919 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
12921         [BZ# 16916]
12922         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
12923         Define.
12925 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12927         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
12928         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
12929         multiarch strncpy for PPC64.
12930         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
12931         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
12932         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
12933         multiarch optimizations.
12934         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12935         (__libc_ifunc_impl_list): Likewise.
12936         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
12937         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
12938         multiarch stpncpy for PPC64.
12939         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
12940         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
12942 2014-05-06  Andreas Schwab  <schwab@suse.de>
12944         [BZ #16912]
12945         * gmon/mcount.c (_MCOUNT_DECL): Use
12946         atomic_compare_and_exchange_bool_acq instead of
12947         catomic_compare_and_exchange_bool_acq.
12949 2014-05-05  Roland McGrath  <roland@hack.frob.com>
12951         * elf/Makefile (others, install-bin): Remove pldd.
12952         (pldd-modules): Variable removed.
12953         ($(objpfx)pldd): Target removed.
12954         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
12955         (others, install-bin): Append pldd here.
12956         ($(objpfx)pldd): New target.
12958         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
12959         to 0, so the first #if test emitted later doesn't see it undefined.
12960         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
12961         * sysdeps/gnu/errlist.c: Regenerated.
12963 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12965         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12966         [libc_hidden_builtin_def]: Define to empty value.
12967         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
12968         [libc_hidden_builtin_def]: Likewise.
12969         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
12970         [libc_hidden_builtin_def]: Likewise.
12971         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
12972         [libc_hidden_builtin_def]: Likewise.
12973         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
12974         __redirect_memcpy and define ifunc as default hidden symbol.
12975         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
12976         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
12978 2014-05-04  Adam Conrad  <adconrad@0c3.net>
12980         * locale/iso-4217.def: Reintroduce XDR currency.
12982 2014-05-04  Allan McRae  <allan@archlinux.org>
12984         * po/eo.po: Update Esperanto translation from translation project.
12986 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
12988         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
12989         and FEATURE_INDEX_MAX to 1.
12990         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
12992 2014-05-01  Steve Ellcey  <sellcey@mips.com>
12994         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
12995         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
12996         * iconvdata/big5.c (ONE_DIRECTION): Define.
12997         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
12998         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
12999         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13000         * iconvdata/cp932.c (ONE_DIRECTION): Define.
13001         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13002         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13003         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13004         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13005         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13006         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13007         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13008         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13009         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13010         * iconvdata/gbk.c (ONE_DIRECTION): Define.
13011         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13012         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13013         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13014         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13015         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13016         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13017         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13018         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13019         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13020         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13021         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13022         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13023         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13024         * iconvdata/iso646.c (ONE_DIRECTION): Define.
13025         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13026         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13027         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13028         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13029         * iconvdata/johab.c (ONE_DIRECTION): Define.
13030         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13031         * iconvdata/sjis.c (ONE_DIRECTION): Define.
13032         * iconvdata/t.61.c (ONE_DIRECTION): Define.
13033         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13034         * iconvdata/tscii.c (ONE_DIRECTION): Define.
13035         * iconvdata/uhc.c (ONE_DIRECTION): Define.
13036         * iconvdata/unicode.c (ONE_DIRECTION): Define.
13037         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13038         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13039         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13041 2014-05-01  Roland McGrath  <roland@hack.frob.com>
13043         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13044         (_IO_JUMPS_OFFSET): Define to 0.
13046         * nptl/sysdeps/pthread/bits/libc-lock.h
13047         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13048         (__libc_lock_define_initialized_recursive): Always define using
13049         initializer.  Modern compilers treat uninitialized (implicit zero) and
13050         explicit zero initializers the same (i.e. put the datum in bss).
13052 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
13054         * nscd/nscd-client.h: Include <string.h>.
13056 2014-05-01  David S. Miller  <davem@davemloft.net>
13058         [BZ #16885]
13059         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13060         multiple zero bytes exist at the end of a string.
13061         Reported by Aurelien Jarno <aurelien@aurel32.net>
13063         * string/test-strcmp.c (check): Add explicit test for situations where
13064         there are multiple zero bytes after the first.
13066 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
13068         [BZ #16890]
13069         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13070         when compiling wprintf.
13071         * stdio-common/tstdiomisc.c (t3): New function.
13072         (main): Call it.
13074 2014-05-01  Steve Ellcey  <sellcey@mips.com>
13076         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13077         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13078         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13079         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13081 2014-05-01  Steve Ellcey  <sellcey@mips.com>
13083         * stdlib/longlong.h: Updated from GCC.
13085 2014-05-01  Will Newton  <will.newton@linaro.org>
13086             Bernard Ogden  <bernie.ogden@linaro.org>
13088         * NEWS: Update fixed bug list.
13090         [BZ #15119]
13091         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13093 2014-04-30  David S. Miller  <davem@davemloft.net>
13095         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13096         (libc_feholdexcept_setround_sparc_ctx): New function.
13097         (libc_fesetenv_sparc_ctx): Likewise.
13098         (libc_feupdateenv_sparc_ctx): Likewise.
13099         (libc_feholdsetround_sparc_ctx): Likewise.
13100         (libc_feholdexcept_setround_ctx): Define.
13101         (libc_feholdexcept_setroundf_ctx): Likewise.
13102         (libc_feholdexcept_setroundl_ctx): Likewise.
13103         (libc_fesetenv_ctx): Likewise.
13104         (libc_fesetenvf_ctx): Likewise.
13105         (libc_fesetenvl_ctx): Likewise.
13106         (libc_feupdateenv_ctx): Likewise.
13107         (libc_feupdateenvf_ctx): Likewise.
13108         (libc_feupdateenvl_ctx): Likewise.
13109         (libc_feresetround_ctx): Likewise.
13110         (libc_feresetroundf_ctx): Likewise.
13111         (libc_feresetroundl_ctx): Likewise.
13112         (libc_feholdsetround_ctx): Likewise.
13113         (libc_feholdsetroundf_ctx): Likewise.
13114         (libc_feholdsetroundl_ctx): Likewise.
13116         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13117         with __USE_GNU instead of XOPEN cpp guards.
13119         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13120         0.
13122         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13123         with XOPEN cpp guards.
13125 2014-04-30  Julian Brown  <julian@codesourcery.com>
13127         [BZ #16888]
13128         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13129         handling.
13131 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
13133         [BZ #9894]
13134         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13135         Change to 2.6.32.
13136         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13137         * sysdeps/unix/sysv/linux/configure: Regenerated.
13138         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13139         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13140         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13141         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13142         * README: Update reference to required Linux kernel version.
13143         * manual/install.texi (Linux): Update reference to required Linux
13144         kernel headers version.
13145         * INSTALL: Regenerated.
13147         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13148         header inclusion.
13149         [POSIX] (limits.h): Likewise.
13150         [POSIX] (math.h): Likewise.
13151         [POSIX] (sys/wait.h): Likewise.
13152         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13153         function.
13154         [POSIX] (stddef.h): Do not allow header inclusion.
13156 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13158         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
13160 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
13162         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13163         Return immediately after lll_futex_wake.
13165 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13167         [BZ #16791]
13168         * nscd/nscd-client.h (datahead_init_common): Initialize entire
13169         structure.
13170         (datahead_init_pos): Call datahead_init_common early.
13171         (datahead_init_neg): Likewise.
13173         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13174         datahead_init_neg): New functions.
13175         * nscd/aicache.c (addhstaiX): Use them.
13176         * nscd/grpcache.c (cache_addgr): Likewise.
13177         * nscd/hstcache.c (cache_addhst): Likewise.
13178         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13179         * nscd/netgroupcache.c (do_notfound): Likewise.
13180         (addgetnetgrentX): Likewise.
13181         (addinnetgrX): Likewise.
13182         * nscd/pwdcache.c (cache_addpw): Likewise.
13183         * nscd/servicescache.c (cache_addserv): Likewise.
13185 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13186             Atsushi Onoe  <atsushi@onoe.org>
13188         [BZ #14308]
13189         [BZ #12994]
13190         [BZ #13651]
13191         * resolv/res_query.c (__libc_res_nsearch): Return if at least
13192         one response is valid.
13193         * resolv/res_send.c (send_dg): Check for validity of other
13194         response if the current response is a referral.
13196 2014-04-29  Steve Ellcey  <sellcey@mips.com>
13198         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13200 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
13202         [BZ #16823]
13203         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13204         Always divide by positive zero when computing -Inf result.
13205         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13206         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13208 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13210         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13211         FPSCR if value do not change.
13212         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13213         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13214         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13215         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13216         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13217         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13218         function.
13220 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
13222         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13223         * sysdeps/unix/sysv/linux/hppa: Move directory from
13224         ports/systeps/unix/sysv/linux/hppa.
13225         * README: Update listing for hppa-*-linux-gnu.
13227 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
13229         [BZ #16754]
13230         * manual/stdio.texi (Hook functions): Fix types of stream hook
13231         functions.
13232         [BZ #16854]
13233         * socket/sys/socket.h: Fix typo in comment.
13235 2014-04-28  Wilco  <wdijkstr@arm.com>
13237         * sysdeps/arm/fenv_private.h: New file.
13238         * sysdeps/arm/math_private.h: New file.
13239         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13241 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
13243         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13244         with __int128_t.
13245         (La_x86_64_retval): Likewise.
13247 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
13249         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13250         fpsr if value didn't change.
13251         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13252         to fpcr if value didn't change.
13253         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13254         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13255         fpsr or fpcr if value didn't change.
13256         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13257         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13258         fpcr if value didn't change.
13259         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13260         to fpsr if value didn't change.
13262 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13264         * nptl/tst-sem3.c: Use test-skeleton.c
13265         (main): Rename to do_test.  Use return instead of
13266         exit.
13267         * nptl/tst-sem4.c: Use test-skeleton.c
13268         (main): Rename to do_test.
13270 2014-04-22  David S. Miller  <davem@davemloft.net>
13272         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13273         (struct sigaction): New struct member __glibc_reserved0, change
13274         type of sa_flags to int.
13276 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
13278         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13279         (COUNT_LEADING_ZEROS_0): Define for AArch64.
13281 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13283         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13284         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13286 2014-04-22  Will Newton  <will.newton@linaro.org>
13287             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
13289         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13290         (__longjmp): Add longjmp and longjmp_target SystemTap
13291         probes.
13292         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13293         (__sigsetjmp): Add setjmp SystemTap probe.
13295 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
13297         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13298         match manual order.
13300 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13302         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13304         * sysdeps/powerpc/fpu/fenv_private.h
13305         (libc_feholdexcept_setroundl_ctx): Define to
13306         libc_feholdexcept_setround_ppc_ctx.
13307         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13308         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13309         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13310         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13312 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
13314         * sysdeps/aarch64/math-tests.h: New file.
13316 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
13318         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13319         New.
13320         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13321         Check and set bit_AVX2_Usable.
13322         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13323         macro.
13324         (bit_AVX2): Likewise.
13325         (index_AVX2_Usable): Likewise.
13326         (CPUID_AVX2): Likewise.
13327         (HAS_AVX2): Likewise.
13329 2014-04-17  Will Newton  <will.newton@linaro.org>
13331         * manual/setjmp.texi (System V contexts): Add note that
13332         calling setcontext on a context created by a call to a
13333         signal handler is undefined.  Update text to note that
13334         setcontext from a signal handler is possible but not
13335         recommended.
13337         [BZ #16629]
13338         * stdlib/tst-setcontext.c: Include signal.h.
13339         (main): Check that the signal stack before and
13340         after swapcontext is the same.
13342         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13343         Re-implement to restore registers in user code and avoid
13344         rt_sigreturn system call.
13346 2014-04-17  Wilco  <wdijkstr@arm.com>
13348         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13349         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13350         * math/test-fenv.c: Skip exception trap tests on targets which only
13351         support non-stop mode.
13353 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
13354             Wilco Dijkstra  <wilco.dijkstra@arm.com>
13356         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13357         (libc_feholdsetround_aarch64_ctx)
13358         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13359         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13360         (libc_feresetround_ctx, libc_feresetroundf_ctx)
13361         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13362         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13363         (libc_feresetround_noexl_ctx): Define.
13365 2014-04-16  Richard Henderson  <rth@redhat.com>
13367         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13369         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13370         unwind tables.
13372         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13373         const from the non-libc, non-ldso copy.
13375         * sysdeps/alpha/libm-test-ulps: Regenerate.
13377 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
13378             Wilco Dijkstra  <wilco.dijkstra@arm.com>
13380         * sysdeps/aarch64/fpu/math_private.h: New file.
13382 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13384         * sysdeps/aarch64/libm-test-ulps: Regenerate.
13386 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
13388         [BZ #16275]
13389         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13390         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13391         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13392         Intel MPX bound registers before _dl_profile_fixup.
13393         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13394         registers after _dl_profile_fixup.  Save and restore bound
13395         registers bnd0/bnd1 when calling _dl_call_pltexit.
13396         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13397         (LR_BND_OFFSET): Likewise.
13398         (LRV_BND0_OFFSET): Likewise.
13399         (LRV_BND1_OFFSET): Likewise.
13401 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13403         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13404         to...
13405         * sysdeps/mach/hurd/i386/tls.h: ... here.
13406         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13407         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13408         fields.
13410 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13412         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13414 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13416         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13418 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13420         [BZ #14770]
13421         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
13422         * sysdeps/s390/configure: Regenerate.
13424         [BZ #16824]
13425         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
13426         Set round-to-nearest internally to reduce error accumulation.
13428 2014-04-16  Alan Modra  <amodra@gmail.com>
13430         [BZ #16740]
13431         [BZ #16619]
13432         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
13433         * math/libm-test.inc (frexp_test_data): Add tests.
13434         * NEWS: Update fixed bug list.
13436 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13438         * benchtests/Makefile: Depend on libraries in build directory.
13439         (bench-math): Separate out math tests.
13440         (bench-pthread): Separate out pthread tests.
13441         (bench): Include math and pthread tests.
13443 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
13445         [BZ #16831]
13446         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
13447         _dl_debug_initialize.
13449         * configure.ac: Remove SELinux header check.
13450         * configure: Regenerate.
13451         * nscd/selinux.c (perms): Array of const char* to permission names.
13452         (nscd_request_avc_has_perm): Call security_deny_unknown to find
13453         default policy. Call string_to_security_class and string_to_av_perm to
13454         translate strings. Enforce default policy and call avs_has_perm with
13455         results of translated strings.
13457 2014-04-13  David S. Miller  <davem@davemloft.net>
13459         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13461 2014-04-12  Allan McRae  <allan@archlinux.org>
13463         [BZ #16838]
13464         * manual/string.texi (Collation Functions): Fix qsort argument
13465         order in example.
13466         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
13468 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
13470         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
13471         Make the test a no-op if there are no exceptions defined.
13473 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
13475         * elf/Makefile (tests): make tst-dlopen-aout conditional on
13476         enable-hardcoded-path-in-tests
13478 2014-04-11  Will Newton  <will.newton@linaro.org>
13480         * benchtests/Makefile (extra-objs): Add json-lib.o.
13481         (bench-func): Tidy up JSON output.
13482         * benchtests/bench-skeleton.c: Include json-lib.h.
13483         (main): Use JSON library functions to do output of
13484         benchmark results.
13485         * benchtests/bench-timing-type.c (main): Output the
13486         timing type simply, leaving formatting to the user.
13487         * benchtests/json-lib.c: New file.
13488         * benchtests/json-lib.h: Likewise.
13490 2014-04-11  Torvald Riegel  <triegel@redhat.com>
13492         [BZ #15215]
13493         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
13494         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
13495         memory barriers.  Add comments.
13496         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
13497         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
13498         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
13499         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
13500         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
13501         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
13503 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
13505         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
13506         * sysdeps/s390/s390-64/configure.ac: ... this ...
13507         * sysdeps/s390/configure.ac: ... to here.
13508         * sysdeps/s390/s390-32/configure: Delete file.
13509         * sysdeps/s390/s390-64/configure: Delete file.
13510         * sysdeps/s390/configure: Regenerate.
13512 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
13514         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
13516 2014-04-11  Will Newton  <will.newton@linaro.org>
13518         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
13519         to zero if it is not defined elsewhere.  (mtrim): Test
13520         the value of MALLOC_DEBUG with #if rather than #ifdef.
13522 2014-04-10 Torvald Riegel  <triegel@redhat.com>
13524         * benchtests/pthread_once-inputs: New file.
13525         * benchtests/pthread_once-source.c: New file.
13526         * benchtests/README: Update documentation.
13528 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
13529             H.J. Lu  <hongjiu.lu@intel.com>
13531         [BZ #16275]
13532         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
13533         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
13534         * sysdeps/x86_64/configure: Regenerated.
13535         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
13536         macro.
13537         (REGISTER_SAVE_RAX): Likewise.
13538         (REGISTER_SAVE_RCX): Likewise.
13539         (REGISTER_SAVE_RDX): Likewise.
13540         (REGISTER_SAVE_RSI): Likewise.
13541         (REGISTER_SAVE_RDI): Likewise.
13542         (REGISTER_SAVE_R8): Likewise.
13543         (REGISTER_SAVE_R9): Likewise.
13544         (REGISTER_SAVE_BND0): Likewise.
13545         (REGISTER_SAVE_BND1): Likewise.
13546         (REGISTER_SAVE_BND2): Likewise.
13547         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
13548         bound registers when calling _dl_fixup.
13550 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13552         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
13553         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
13554         of its definition.
13555         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
13556         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
13557         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
13558         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
13559         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
13560         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
13561         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
13563 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
13565         [BZ #15514]
13566         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
13567         pathconf(_PC_NAME_MAX).
13569 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13571         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
13572         Remove macro usage.
13573         (__PTHREAD_SPINS): Move definition to ...
13574         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13575         (__PTHREAD_SPINS): ... here.
13576         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13577         (__PTHREAD_SPIN): Likewise.
13578         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
13579         (__PTHREAD_SPIN): Likewise.
13580         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
13581         (__PTHREAD_SPIN): Likewise.
13582         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
13583         (__PTHREAD_SPIN): Likewise.
13584         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
13585         (__PTHREAD_SPIN): Likewise.
13586         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
13587         (__PTHREAD_SPIN): Likewise.
13588         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
13589         (__PTHREAD_SPIN): Likewise.
13590         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
13591         (__PTHREAD_SPIN): Likewise.
13592         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
13593         (__PTHREAD_SPIN): Likewise.
13594         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
13595         (__PTHREAD_SPIN): Likewise.
13596         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
13597         (__PTHREAD_SPIN): Likewise.
13598         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
13599         (__PTHREAD_SPIN): Likewise.
13601         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
13602         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
13603         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
13604         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
13605         imply folder.
13606         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
13607         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
13608         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
13609         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
13610         correct imply path.
13611         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
13612         strlen symbol for non multi-arch builds.
13613         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
13614         missing hidden_def and weak_alias.
13616 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
13618         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
13620 2014-04-07  Will Newton  <will.newton@linaro.org>
13622         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
13623         and contents.  [!_LIBC] Remove #ifndef and contents.
13624         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
13625         * string/memccpy.c (__memccpy): Use ANSI prototype.
13626         * string/memfrob.c (memfrob): Likewise.
13627         * string/strcoll.c (STRCOLL): Likewise.
13628         * string/strlen.c (strlen): Likewise.
13629         * string/strtok.c (STRTOK): Likewise.
13630         * string/strcat.c: Remove unused #include of memcopy.h.
13631         (strcat): Use ANSI prototype.
13632         * string/strchr.c: Remove unused #include of memcopy.h.
13633         (strchr): Use ANSI prototype.
13634         * string/strcmp.c: Remove unused #include of memcopy.h.
13635         (strcmp): Use ANSI prototype.
13636         * string/strcpy.c: Remove unused #include of memcopy.h.
13637         (strcpy): Use ANSI prototype.
13639 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13641         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
13642         * config.make.in (config-extra-cppflags): Set it from
13643         libc_extra_cppflags.
13644         * configure.ac (libc_extra_cflags): Make it accumulate over
13645         configure fragments.
13646         (libc_extra_cppflags): New flag.
13647         * configure. Regenerate.
13648         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
13649         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
13650         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
13651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
13653         [BZ #16815]
13654         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
13655         result for FE_DOWNWARD rounding mode.
13656         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
13657         Likewise.
13658         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13660 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
13662         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
13663         in function argument name.
13665 2014-04-03  David Svoboda  <svoboda@cert.org>
13667         [BZ #5666]
13668         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
13669         explicitly.
13671 2014-04-03  Roland McGrath  <roland@hack.frob.com>
13673         * elf/dl-unmap-segments.h: New file.
13674         * sysdeps/generic/ldsodefs.h
13675         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
13676         * elf/dl-close.c: Include <dl-unmap-segments.h>.
13677         * elf/dl-fptr.c: Likewise.
13678         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
13679         * sysdeps/aarch64/tlsdesc.c: Likewise.
13680         * sysdeps/arm/tlsdesc.c: Likewise.
13681         * sysdeps/i386/tlsdesc.c: Likewise.
13682         * sysdeps/tile/dl-runtime.c: Likewise.
13683         * sysdeps/x86_64/tlsdesc.c: Likewise.
13684         * elf/dl-load.h: New file.
13685         * elf/dl-load.c: Include it.
13686         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
13687         Macros moved to dl-load.h.
13688         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
13689         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
13690         Use _dl_unmap_segments in place of __munmap.
13691         Break out segment-mapping loop into ...
13692         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
13694 2014-04-03  Will Newton  <will.newton@linaro.org>
13696         * elf/dl-lookup.c (do_lookup_x): Remove comment
13697         referring to nested function and move variable
13698         declarations down to before first use.
13700 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
13702         [BZ #16799]
13703         [BZ #16800]
13704         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
13705         with 0 numerator.
13706         * math/s_catanf.c (__catanf): Likewise.
13707         * math/s_catanh.c (__catanh): Likewise.
13708         * math/s_catanhf.c (__catanhf): Likewise.
13709         * math/s_catanhl.c (__catanhl): Likewise.
13710         * math/s_catanl.c (__catanl): Likewise.
13711         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
13712         by positive zero when computing -Inf result.
13713         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
13714         (catanh_test): Likewise.
13715         * sysdeps/i386/fpu/libm-test-ulps: Update.
13716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13718         [BZ #16789]
13719         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
13720         instead of using underflowing value in computing result.
13721         * math/s_clog10.c (__clog10): Likewise.
13722         * math/s_clog10f.c (__clog10f): Likewise.
13723         * math/s_clog10l.c (__clog10l): Likewise.
13724         * math/s_clogf.c (__clogf): Likewise.
13725         * math/s_clogl.c (__clogl): Likewise.
13726         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
13727         (clog10_test): Likewise.
13728         * sysdeps/i386/fpu/libm-test-ulps: Update.
13729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13731 2014-04-02  Alan Modra  <amodra@gmail.com>
13733         [BZ #16739]
13734         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
13735         output when value is near a power of two.  Use int64_t for lx and
13736         remove casts.  Use decimal rather than hex exponent constants.
13737         Don't use long double multiplication when double will suffice.
13738         * math/libm-test.inc (nextafter_test_data): Add tests.
13739         * NEWS: Add 16739 and 16786 to bug list.
13741         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
13743         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
13745 2014-04-01  Will Newton  <will.newton@linaro.org>
13747         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
13748         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
13750 2014-04-01  Florian Weimer  <fweimer@redhat.com>
13752         [BZ #13347]
13753         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
13754         * nptl/tst-setuid2.c: New file.
13755         * nptl/Makefile (xtests): Add tst-setuid2.
13757 2014-04-01  Alan Modra  <amodra@gmail.com>
13759         [BZ #16786]
13760         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
13762 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
13764         [BZ #6803]
13765         [BZ #6804]
13766         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
13767         set errno as appropriate.
13768         * math/w_scalbf.c (__scalbf): Likewise.
13769         * math/w_scalbl.c (__scalbl): Likewise.
13770         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
13771         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
13772         * math/libm-test.inc (scalb_test_data): Add errno expectations.
13773         Add more NaN tests.
13775         [BZ #16349]
13776         * math/w_atan2.c: Include <errno.h>.
13777         (__atan2): Set errno for result underflowing to zero.
13778         * math/w_atan2f.c: Include <errno.h>.
13779         (__atan2f): Set errno for result underflowing to zero.
13780         * math/w_atan2l.c: Include <errno.h>.
13781         (__atan2l): Set errno for result underflowing to zero.
13782         * math/auto-libm-test-in: Don't allow missing errno for some atan2
13783         tests.
13784         * math/auto-libm-test-out: Regenerated.
13786 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13788         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
13789         Encode instruction correctly in little endian.
13790         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
13791         Likewise.
13792         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
13793         Likewise.
13794         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
13795         Likewise.
13796         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
13797         Likewise.
13799 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
13801         [BZ #9894]
13802         * sysdeps/unix/sysv/linux/kernel-features.h
13803         [__sparc__ && !__arch64__ && !__sparc_v9__]
13804         (__ASSUME_SET_ROBUST_LIST): Do not define.
13805         [__sparc__ && !__arch64__ && !__sparc_v9__]
13806         (__ASSUME_FUTEX_LOCK_PI): Likewise.
13807         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
13808         Likewise.
13809         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13810         (__ASSUME_FUTEX_LOCK_PI): Undefine.
13811         (__ASSUME_REQUEUE_PI): Likewise.
13812         (__ASSUME_SET_ROBUST_LIST): Likewise.
13813         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13814         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
13815         Undefine.
13816         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13817         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
13818         Likewise.
13819         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
13820         Likewise.
13821         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
13822         Likewise.
13823         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13824         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
13825         Undefine.
13826         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
13827         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
13828         Likewise.
13830         [BZ #16648]
13831         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13832         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
13833         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
13835 2014-03-31  Will Newton  <will.newton@linaro.org>
13837         * benchtests/Makefile (bench): Add ffs and ffsll to list
13838         of tests.
13839         * benchtests/ffs-inputs: New file.
13840         * benchtests/ffsll-inputs: Likewise.
13842 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
13844         [BZ #16770]
13845         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
13846         too large before casting to int.
13847         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
13848         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
13849         * math/libm-test.inc (scalb_test_data): Add more tests.
13851 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13853         * benchtests/Makefile (DETAILED_OPT): New make option.
13854         (bench-func): Run benchmark program with -d if DETAILED_OPT is
13855         set.
13856         * benchtests/bench-skeleton.c: Include stdbool.h.
13857         (main): Store and print timings per input.
13858         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
13859         member to each argument value.
13860         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
13861         (_print_arg_data): Initialize per-input timing to 0.
13863         * benchtests/Makefile (timing-type): New binary.
13864         (bench-clean): Also remove bench-timing-type.
13865         (bench): New target for timing-type.
13866         (bench-func): Print output in JSON format.
13867         * benchtests/bench-skeleton.c (main): Print output in JSON
13868         format.
13869         * benchtests/bench-timing-type.c: New file.
13870         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
13871         (TIMING_PRINT_STATS): Remove.
13872         * benchtests/scripts/bench.py (_print_arg_data): Store variant
13873         name separately.
13875         * benchtests/bench-modf.c: Remove.
13876         * benchtests/modf-inputs: New inputs file.
13878 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
13880         [BZ #16362]
13881         * math/s_clog10.c (M_PI_LOG10E): New macro.
13882         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
13883         imaginary parts are 0.
13884         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
13885         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
13886         imaginary parts are 0.
13887         * math/s_clog10l.c (M_PI_LOG10El): New macro.
13888         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
13889         imaginary parts are 0.
13890         * math/libm-test.inc (clog10_test_data): Update expected results
13891         for when real and imaginary parts are 0.
13893 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
13895         * elf/dl-load.c: Finish conversion of __builtin_expect into
13896         __glibc_{un}likely.
13898 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
13900         [BZ #16348]
13901         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
13902         1+x for argument with exponent below -67.
13903         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
13904         Likewise.
13905         * math/auto-libm-test-in: Add more tests of exp.
13906         * math/auto-libm-test-out: Regenerated.
13908 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13910         [BZ #16759]
13911         * inet/getnetgrent_r.c (get_nonempty_val): New function.
13912         (nscd_getnetgrent): Use it.
13914         [BZ #16760]
13915         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
13916         of stpcpy.
13918 2014-03-27  Andi Kleen  <ak@linux.intel.com>
13920         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
13921         (lll_robust_lock, lll_cond_lock, lll_timedlock)
13922         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13923         (lll_robust_unlock): Remove out of line section. Use cfi
13924         intrinsics.
13925         (LLL_STUB_UNWIND_INFO*): Remove.
13926         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
13927         (lll_robust_lock, lll_cond_lock, lll_timedlock)
13928         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
13929         (lll_robust_unlock): Remove out of line section. Use cfi
13930         intrinsics.
13931         (LLL_STUB_UNWIND_INFO*): Remove.
13933 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13935         [BZ #16758]
13936         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
13937         blank values.
13939 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
13941         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
13943 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
13945         [BZ #16198]
13946         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
13947         fnstenv.
13948         * math/test-fenv-preserve.c: New file.
13949         * math/Makefile (tests): Add test-fenv-preserve.
13951 2014-03-26  Will Newton <will.newton@linaro.org>
13953         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
13955 2014-03-25  Roland McGrath  <roland@hack.frob.com>
13957         * scripts/versionlist.awk: Partition the version sets and emit all
13958         GLIBC_* (sorted) before all others (sorted).
13960 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
13962         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
13963         GLIBC_2.2.5 version.
13965 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13967         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
13968         calls.
13970         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
13971         previous change.
13973         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13975 2014-03-25  Andreas Schwab  <schwab@suse.de>
13977         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
13978         label to be used after in6ailist is initialized.
13980 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13982         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
13983         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
13985 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
13987         [BZ #16357]
13988         [BZ #16599]
13989         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
13990         min_plus_half.
13991         (fp_formats): Update initializers.
13992         (init_fp_formats): Initialize new field.
13993         (output_for_one_input_case): Allow underflow for results up to
13994         min_plus_half.
13995         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
13996         * math/auto-libm-test-in: Don't mark some underflows from asin and
13997         atanh as spurious.
13998         * math/auto-libm-test-out: Regenerated.
13999         * sysdeps/i386/fpu/libm-test-ulps: Update.
14000         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14002 2014-03-25  Andreas Schwab  <schwab@suse.de>
14004         * libio/Makefile (tst-ftell-partial-wide-ENV)
14005         (tst-ftell-active-handler-ENV): Define.
14007 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
14009         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14011 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
14013         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14015 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
14017         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14018         * sysdeps/x86_64/fpu/multiarch/e_exp.c
14019         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14021 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
14023         [BZ #16634]
14024         * elf/dl-load.c (open_verify): Add mode parameter.
14025         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14026         (open_path): Change from boolean 'secure' to complete flag 'mode'
14027         (_dl_map_object): Adjust.
14028         * elf/Makefile (tests): Add tst-dlopen-aout.
14029         * elf/tst-dlopen-aout.c: New test.
14031 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
14033         [BZ #16714]
14034         * sysdeps/unix/sysv/linux/s390/bits/stat.h
14035         (struct stat): Rename member pad0 to __glibc_reserved0.
14037         [BZ #16712]
14038         * sysdeps/s390/s390-32/bits/wordsize.h
14039         (__WORDSIZE32_SIZE_ULONG): New define.
14040         * sysdeps/s390/s390-64/bits/wordsize.h
14041         (__WORDSIZE32_SIZE_ULONG): Likewise.
14042         * sysdeps/generic/stdint.h (SIZE_MAX):
14043         Define as UL if __WORDSIZE32_SIZE_ULONG.
14045         [BZ #16713]
14046         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14047         (__glibc_reserved0): New variable.
14048         (sa_flags): Change type to int.
14050         * posix/Makefile (before-compile): Use += before-compile instead
14051         of a :=.
14053         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14054         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14056 2014-03-20  Andreas Schwab  <schwab@suse.de>
14058         [BZ #16743]
14059         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14060         non-matching result from nscd.
14062 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14064         * scripts/bench.py: Moved to ...
14065         * benchtests/scripts/bench.py: ... here.
14066         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14068 2014-03-24  Andreas Schwab  <schwab@suse.de>
14070         [BZ #16002]
14071         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14072         alloca_account and account alloca use for struct in6ailist.
14074 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
14076         [BZ #16284]
14077         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14078         rounding mode to recompute results that overflow to infinity or
14079         underflow to zero.
14080         * math/auto-libm-test-in: Don't mark tests as expected to fail for
14081         bug 16284.
14082         * math/auto-libm-test-out: Regenerated.
14083         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14084         (ccosh_test): Likewise.
14085         (csin_test_data): Use plus_oflow.
14086         (csin_test): Use ALL_RM_TEST.
14087         (csinh_test_data): Use plus_oflow.
14088         (csinh_test): Use ALL_RM_TEST.
14089         * sysdeps/i386/fpu/libm-test-ulps: Update.
14090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14092 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
14094         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14095         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14096         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14098         [BZ #16731]
14099         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14100         when x - 1 is zero.
14101         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14102         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14103         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14104         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14105         argument is 1.
14106         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14107         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14108         zero.
14109         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14110         * sysdeps/i386/fpu/libm-test-ulps: Update.
14111         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14113 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14115         * scripts/bench.pl: Remove file.
14116         * scripts/bench.py: New benchmark script.
14117         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14118         * benchtests/README: Mention python dependency.
14119         * scripts/pylintrc: New file.
14120         * scripts/pylint: New file.
14122         * bits/mathdef.h: Use #ifdef instead of #if.
14123         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14124         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14125         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14126         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14127         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14128         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14130 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14131             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14133         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14134         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14135         and strpbrk-ppc64 objects.
14136         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14137         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14138         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14139         multiarch strpbrk for POWER7.
14140         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14141         multiarch strpbrk for PPC64.
14142         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14143         ifunc selector.
14144         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14145         strpbrk for POWER7.
14147 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
14149         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14150         (atan_test): Likewise.
14151         (atanh_test_data): Use NO_TEST_INLINE for two tests.
14152         (atanh_test): Use ALL_RM_TEST.
14153         (atan2_test_data): Likewise.
14154         (cabs_test): Likewise.
14155         (cacosh_test): Likewise.
14156         (carg_test): Likewise.
14157         (casin_test): Likewise.
14158         (casinh_test): Likewise.
14159         (cbrt_test): Likewise.
14160         (csqrt_test): Likewise.
14161         (erf_test): Likewise.
14162         (erfc_test): Likewise.
14163         (pow10_test): Likewise.
14164         (exp2_test): Likewise.
14165         (hypot_test): Likewise.
14166         (j0_test): Likewise.
14167         (j1_test): Likewise.
14168         (lgamma_test): Likewise.
14169         (gamma_test): Likewise.
14170         (sincos_test): Likewise.
14171         (tanh_test): Likewise.
14172         (y0_test): Likewise.
14173         (y1_test): Likewise.
14174         * sysdeps/i386/fpu/libm-test-ulps: Update.
14175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14177 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14179         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14180         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
14181         and strcspn-ppc64 objects.
14182         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14183         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14184         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14185         multiarch strcspn for POWER7.
14186         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14187         multiarch strcspn for PPC64.
14188         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14189         ifunc selector.
14190         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14191         strcspn for POWER7.
14193 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
14195         * math/gen-libm-test.pl (generate_testfile): Expect only function
14196         name as argument to AUTO_TESTS_* and pass results for all rounding
14197         modes to parse_args.
14198         (parse_auto_input): Separate inputs of automatic tests from
14199         outputs before storing in %auto_tests.
14200         * math/libm-test.inc (acos_test_data): Update call to
14201         AUTO_TESTS_f_f.
14202         (acos_test): Use ALL_RM_TEST.
14203         (acos_tonearest_test_data): Remove.
14204         (acos_test_tonearest): Likewise.
14205         (acos_towardzero_test_data): Likewise.
14206         (acos_test_towardzero): Likewise.
14207         (acos_downward_test_data): Likewise.
14208         (acos_test_downward): Likewise.
14209         (acos_upward_test_data): Likewise.
14210         (acos_test_upward): Likewise.
14211         (acosh_test_data): Update call to AUTO_TESTS_f_f.
14212         (asin_test_data): Likewise.
14213         (asin_test): Use ALL_RM_TEST.
14214         (asin_tonearest_test_data): Remove.
14215         (asin_test_tonearest): Likewise.
14216         (asin_towardzero_test_data): Likewise.
14217         (asin_test_towardzero): Likewise.
14218         (asin_downward_test_data): Likewise.
14219         (asin_test_downward): Likewise.
14220         (asin_upward_test_data): Likewise.
14221         (asin_test_upward): Likewise.
14222         (asinh_test_data): Update call to AUTO_TESTS_f_f.
14223         (atan_test_data): Likewise.
14224         (atanh_test_data): Likewise.
14225         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14226         (cabs_test_data): Update call to AUTO_TESTS_c_f.
14227         (carg_test_data): Likewise.
14228         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14229         (ccos_test_data): Update call to AUTO_TESTS_c_c.
14230         (ccosh_test_data): Likewise.
14231         (cexp_test_data): Likewise.
14232         (clog_test_data): Likewise.
14233         (clog10_test_data): Likewise.
14234         (cos_test_data): Update call to AUTO_TESTS_f_f.
14235         (cos_test): Use ALL_RM_TEST.
14236         (cos_tonearest_test_data): Remove.
14237         (cos_test_tonearest): Likewise.
14238         (cos_towardzero_test_data): Likewise.
14239         (cos_test_towardzero): Likewise.
14240         (cos_downward_test_data): Likewise.
14241         (cos_test_downward): Likewise.
14242         (cos_upward_test_data): Likewise.
14243         (cos_test_upward): Likewise.
14244         (cosh_test_data): Update call to AUTO_TESTS_f_f.
14245         (cosh_test): Use ALL_RM_TEST.
14246         (cosh_tonearest_test_data): Remove.
14247         (cosh_test_tonearest): Likewise.
14248         (cosh_towardzero_test_data): Likewise.
14249         (cosh_test_towardzero): Likewise.
14250         (cosh_downward_test_data): Likewise.
14251         (cosh_test_downward): Likewise.
14252         (cosh_upward_test_data): Likewise.
14253         (cosh_test_upward): Likewise.
14254         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14255         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14256         (ctan_test_data): Likewise.
14257         (ctan_test): Use ALL_RM_TEST.
14258         (ctan_tonearest_test_data): Remove.
14259         (ctan_test_tonearest): Likewise.
14260         (ctan_towardzero_test_data): Likewise.
14261         (ctan_test_towardzero): Likewise.
14262         (ctan_downward_test_data): Likewise.
14263         (ctan_test_downward): Likewise.
14264         (ctan_upward_test_data): Likewise.
14265         (ctan_test_upward): Likewise.
14266         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14267         (ctanh_test): Use ALL_RM_TEST.
14268         (ctanh_tonearest_test_data): Remove.
14269         (ctanh_test_tonearest): Likewise.
14270         (ctanh_towardzero_test_data): Likewise.
14271         (ctanh_test_towardzero): Likewise.
14272         (ctanh_downward_test_data): Likewise.
14273         (ctanh_test_downward): Likewise.
14274         (ctanh_upward_test_data): Likewise.
14275         (ctanh_test_upward): Likewise.
14276         (erf_test_data): Update call to AUTO_TESTS_f_f.
14277         (erfc_test_data): Likewise.
14278         (exp_test_data): Likewise.
14279         (exp_test): Use ALL_RM_TEST.
14280         (exp_tonearest_test_data): Remove.
14281         (exp_test_tonearest): Likewise.
14282         (exp_towardzero_test_data): Likewise.
14283         (exp_test_towardzero): Likewise.
14284         (exp_downward_test_data): Likewise.
14285         (exp_test_downward): Likewise.
14286         (exp_upward_test_data): Likewise.
14287         (exp_test_upward): Likewise.
14288         (exp10_test_data): Update call to AUTO_TESTS_f_f.
14289         (exp10_test): Use ALL_RM_TEST.
14290         (exp10_tonearest_test_data): Remove.
14291         (exp10_test_tonearest): Likewise.
14292         (exp10_towardzero_test_data): Likewise.
14293         (exp10_test_towardzero): Likewise.
14294         (exp10_downward_test_data): Likewise.
14295         (exp10_test_downward): Likewise.
14296         (exp10_upward_test_data): Likewise.
14297         (exp10_test_upward): Likewise.
14298         (exp2_test_data): Update call to AUTO_TESTS_f_f.
14299         (expm1_test_data): Likewise.
14300         (expm1_test): Use ALL_RM_TEST.
14301         (expm1_tonearest_test_data): Remove.
14302         (expm1_test_tonearest): Likewise.
14303         (expm1_towardzero_test_data): Likewise.
14304         (expm1_test_towardzero): Likewise.
14305         (expm1_downward_test_data): Likewise.
14306         (expm1_test_downward): Likewise.
14307         (expm1_upward_test_data): Likewise.
14308         (expm1_test_upward): Likewise.
14309         (fma_test_data): Update call to AUTO_TESTS_fff_f.
14310         (fma_test): Use ALL_RM_TEST.
14311         (fma_towardzero_test_data): Remove.
14312         (fma_test_towardzero): Likewise.
14313         (fma_downward_test_data): Likewise.
14314         (fma_test_downward): Likewise.
14315         (fma_upward_test_data): Likewise.
14316         (fma_test_upward): Likewise.
14317         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14318         (j0_test_data): Update call to AUTO_TESTS_f_f.
14319         (j1_test_data): Likewise.
14320         (jn_test_data): Update call to AUTO_TESTS_if_f.
14321         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14322         (log_test_data): Update call to AUTO_TESTS_f_f.
14323         (log10_test_data): Likewise.
14324         (log1p_test_data): Likewise.
14325         (log2_test_data): Likewise.
14326         (pow_test_data): Update call to AUTO_TESTS_ff_f.
14327         (pow_tonearest_test_data): Likewise.
14328         (sin_test_data): Update call to AUTO_TESTS_f_f.
14329         (sin_test): Use ALL_RM_TEST.
14330         (sin_tonearest_test_data): Remove.
14331         (sin_test_tonearest): Likewise.
14332         (sin_towardzero_test_data): Likewise.
14333         (sin_test_towardzero): Likewise.
14334         (sin_downward_test_data): Likewise.
14335         (sin_test_downward): Likewise.
14336         (sin_upward_test_data): Likewise.
14337         (sin_test_upward): Likewise.
14338         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14339         (sinh_test_data): Update call to AUTO_TESTS_f_f.
14340         (sinh_test): Use ALL_RM_TEST.
14341         (sinh_tonearest_test_data): Remove.
14342         (sinh_test_tonearest): Likewise.
14343         (sinh_towardzero_test_data): Likewise.
14344         (sinh_test_towardzero): Likewise.
14345         (sinh_downward_test_data): Likewise.
14346         (sinh_test_downward): Likewise.
14347         (sinh_upward_test_data): Likewise.
14348         (sinh_test_upward): Likewise.
14349         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14350         (sqrt_test): Use ALL_RM_TEST.
14351         (sqrt_tonearest_test_data): Remove.
14352         (sqrt_test_tonearest): Likewise.
14353         (sqrt_towardzero_test_data): Likewise.
14354         (sqrt_test_towardzero): Likewise.
14355         (sqrt_downward_test_data): Likewise.
14356         (sqrt_test_downward): Likewise.
14357         (sqrt_upward_test_data): Likewise.
14358         (sqrt_test_upward): Likewise.
14359         (tan_test_data): Update call to AUTO_TESTS_f_f.
14360         (tan_test): Use ALL_RM_TEST.
14361         (tan_tonearest_test_data): Remove.
14362         (tan_test_tonearest): Likewise.
14363         (tan_towardzero_test_data): Likewise.
14364         (tan_test_towardzero): Likewise.
14365         (tan_downward_test_data): Likewise.
14366         (tan_test_downward): Likewise.
14367         (tan_upward_test_data): Likewise.
14368         (tan_test_upward): Likewise.
14369         (tanh_test_data): Update call to AUTO_TESTS_f_f.
14370         (tgamma_test_data): Likewise.
14371         (y0_test_data): Likewise.
14372         (y1_test_data): Likewise.
14373         (yn_test_data): Update call to AUTO_TESTS_if_f.
14374         (main): Do not call removed functions.
14376 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
14378         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14379         (ldexp_test_data): Remove.
14380         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
14381         scalbn_test_data.
14382         (scalb_test): Use ALL_RM_TEST.
14384 2014-03-19  Andreas Schwab  <schwab@suse.de>
14386         * nscd/nscd.service: Also invalidate netgroup cache on reload.
14388 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
14390         [BZ #16649]
14391         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14392         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14393         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14394         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14395         (__ASSUME_PREADV): Undefine.
14396         (__ASSUME_PWRITEV): Likewise.
14398 2014-03-18  Roland McGrath  <roland@hack.frob.com>
14400         * bits/mman-linux.h: Add comment about non-Linux use.
14401         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14402         bits/mman-linux.h resting place.
14404         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14405         * bits/mman-linux.h: ... here.
14407 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14409         * conform/conformtest.pl: Add standard definition when calling C
14410         preprocessor on data files.
14411         (checknamespace): Remove unused variable.
14413 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
14415         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14416         minus_oflow, plus_uflow and minus_uflow in expected results.
14417         * math/libm-test.inc (scalbn_test_data): Add more tests of
14418         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
14419         minus_uflow.
14420         (scalbn_test): Use ALL_RM_TEST.
14421         (scalbln_test_data): Add more tests of negative arguments.  Use
14422         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
14423         (scalbln_test): Use ALL_RM_TEST.
14425 2014-03-18  Roland McGrath  <roland@hack.frob.com>
14427         * scripts/abilist.awk: Ignore symbols marked with .hidden.
14429 2014-03-18  Will Newton  <will.newton@linaro.org>
14431         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
14432         inaccurate comment.
14434 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
14436         * Makerules [!subdir] (check-abi): Exit with error status if a
14437         test failed.
14439 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
14441         * math/libm-test.inc (nearbyint_test_data): Include all tests used
14442         for rint.  Include results for all rounding modes.
14443         (nearbyint_test): Use ALL_RM_TEST.
14444         (rint_test_data): Include all tests used for nearbyint.
14446 2014-03-17  Will Newton  <will.newton@linaro.org>
14448         * nptl/sysdeps/pthread/pthread.h: Revert previous
14449         change.
14451         * sysdeps/generic/ldsodefs.h: Revert previous
14452         change.
14454         * libio/genops.c: Revert previous change.
14455         * libio/libioP.h: Likewise.
14456         * stdio-common/vfprintf.c: Likewise.
14458         * sysdeps/generic/math_private.h: Revert previous
14459         change.
14461         * sysdeps/generic/math_private.h: Check whether
14462         HAVE_RM_CTX is defined with #ifdef rather
14463         than #if.
14465         * argp/argp-fmtstream.h: Check whether
14466         __STRICT_ANSI__ is defined with #ifdef rather
14467         than #if.
14468         * argp/argp.h: Likewise.
14470         * libio/genops.c: Check whether
14471         _IO_JUMPS_OFFSET is defined with #ifdef rather
14472         than #if.
14473         * libio/libioP.h: Likewise.
14474         * stdio-common/vfprintf.c: Likewise.
14476         * sysdeps/generic/ldsodefs.h: Check whether
14477         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
14478         than #if.
14480         * nptl/sysdeps/pthread/pthread.h: Check
14481         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
14482         its value.
14484 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
14486         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
14487         setting O_APPEND.
14488         * libio/tst-ftell-active-handler.c (do_append_test): Add a
14489         test case.
14491         [BZ #16680]
14492         * libio/fileops.c (_IO_file_open): Seek to end of file but
14493         don't cache the offset.
14494         (get_file_offset): Remove function.
14495         (do_ftell): Use cached offset when available.
14496         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
14497         don't cache the offset.
14498         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
14499         case.
14500         (do_one_test): Call it.
14501         (do_ftell_test): Fix up expected old offset for a+ mode.
14502         * libio/wfileops.c (do_ftell_wide): Used cached offset when
14503         available.
14505         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
14506         up test status with function return status.
14507         (do_write_test): Likewise.
14508         (do_append_test): Likewise.
14510         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
14511         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
14512         Remove.
14514 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
14516         * math/gen-libm-test.pl (parse_args): Handle results specified for
14517         each rounding mode separately.
14518         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
14519         tests and results from lrint_tonearest_test_data,
14520         lrint_towardzero_test_data, lrint_downward_test_data and
14521         lrint_upward_test_data.
14522         (lrint_test): Use ALL_RM_TEST.
14523         (lrint_tonearest_test_data): Remove.
14524         (lrint_test_tonearest): Likewise.
14525         (lrint_towardzero_test_data): Likewise.
14526         (lrint_test_towardzero): Likewise.
14527         (lrint_downward_test_data): Likewise.
14528         (lrint_test_downward): Likewise.
14529         (lrint_upward_test_data): Likewise.
14530         (lrint_test_upward): Likewise.
14531         (llrint_test_data): Merge in per-rounding-mode tests and results
14532         from llrint_tonearest_test_data, llrint_towardzero_test_data,
14533         llrint_downward_test_data and llrint_upward_test_data.
14534         (llrint_test): Use ALL_RM_TEST.
14535         (llrint_tonearest_test_data): Remove.
14536         (llrint_test_tonearest): Likewise.
14537         (llrint_towardzero_test_data): Likewise.
14538         (llrint_test_towardzero): Likewise.
14539         (llrint_downward_test_data): Likewise.
14540         (llrint_test_downward): Likewise.
14541         (llrint_upward_test_data): Likewise.
14542         (llrint_test_upward): Likewise.
14543         (rint_test_data): Merge in per-rounding-mode tests and results
14544         from rint_tonearest_test_data, rint_towardzero_test_data,
14545         rint_downward_test_data and rint_upward_test_data.  Add
14546         per-rounding-mode results for tests not in those arrays.
14547         (rint_test): Use ALL_RM_TEST.
14548         (rint_tonearest_test_data): Remove.
14549         (rint_test_tonearest): Likewise.
14550         (rint_towardzero_test_data): Likewise.
14551         (rint_test_towardzero): Likewise.
14552         (rint_downward_test_data): Likewise.
14553         (rint_test_downward): Likewise.
14554         (rint_upward_test_data): Likewise.
14555         (rint_test_upward): Likewise.
14556         (main): Don't call removed functions.
14558 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14560         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
14561         "Compiled on ..." crapola.  It is anti-useful.
14563 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
14565         * scripts/evaluate-test.sh: Handle fourth argument to determine
14566         whether test run should stop on failure.
14567         * Makeconfig (stop-on-test-failure): New variable.
14568         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
14569         $(stop-on-test-failure).
14570         * Makefile (tests): Give a summary of results from testing and
14571         exit with failure status if they include an ERROR or FAIL.
14572         (xtests): Likewise.
14573         * manual/install.texi (Configuring and compiling): Mention
14574         stop-on-test-failure=y.
14575         * INSTALL: Regenerated.
14577 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14579         * scripts/versionlist.awk: New file.
14580         * Makerules [$(build-shared) = yes]
14581         (postclean-generated): Add Versions.def, not Versions.def.v and
14582         Versions.def.v.i.
14583         ($(common-objpfx)Versions.def.v.i): Target removed.
14584         ($(common-objpfx)Versions.def): New target.
14585         ($(common-objpfx)Versions.all): Depend on that rather that
14586         $(common-objpfx)Versions.def.v.
14587         * Versions.def: File removed.
14589         * Makeconfig (+gccwarn): Add -Wundef.
14590         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
14591         a dl-sysdep.h breaking its contract.
14592         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
14593         * include/stackinfo.h: New file.
14594         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
14595         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
14596         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
14597         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
14598         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
14599         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
14600         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14601         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14602         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14603         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14604         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14605         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
14606         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14607         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14608         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
14610 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14612         [BZ #16707]
14613         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
14614         implementation.
14615         * math/libm-test.inc (round_test_data): Add more tests.
14617         [BZ #16706]
14618         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
14619         implementation.
14620         * math/libm-test.inc (nearbyint_test_data): Add more tests.
14622         [BZ #16701]
14623         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
14624         implementation.
14625         * math/libm-test.inc (ceil_test_data): Add more tests.
14627         * math/libm-test.inc (trunc_test_data): Add more tests related to
14628         BZ#16414.
14630 2014-03-14  Roland McGrath  <roland@hack.frob.com>
14632         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
14633         with #if rather than #ifdef.
14634         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
14636 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
14638         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
14639         first.  Disable AVX-512 GCC support if assembler doesn't support
14640         it.
14641         * sysdeps/x86_64/configure: Regenerated.
14643 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
14645         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
14646         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
14647         (__old_pthread_attr_setstack): Likewise.
14648         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
14649         [!_STACK_GROWS_DOWN]: Likewise.
14651 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
14653         * config.make.in (have-bash2): Delete.
14654         * configure.ac (libc_cv_have_bash2): Delete.
14655         * configure: Regenerate.
14656         * elf/Makefile (common-ldd-rewrite): Rename to ...
14657         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
14658         (sh-ldd-rewrite): Delete.
14659         (bash-ldd-rewrite): Delete.
14660         (have-bash2): Delete checks.
14661         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
14662         ldd-rewrite.
14664         * config.make.in (have-ksh): Delete.
14665         (KSH): Delete.
14666         * configure.ac (libc_cv_have_ksh): Delete.
14667         * configure: Regenerate.
14669         * elf/Makefile: Delete $(have-ksh) check.
14670         ($(objpfx)sotruss): Change KSH to BASH.
14671         * elf/sotruss.ksh: Rename to ...
14672         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
14673         function style to match POSIX.  Drop ksh vim mode setting.
14675         * manual/time.texi (Specifying the Time Zone with TZ): Change
14676         Tuesday to Thursday.
14678         * debug/tst-longjmp_chk2.c: Update header comment.
14679         (stackoverflow_handler): Add comment.  Call assert on pass value.
14681 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
14683         [BZ #16194]
14684         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
14685         (HAVE_AVX512_ASM_SUPPORT): Likewise.
14686         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
14687         (La_x86_64_vector): Add zmm.
14688         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
14689         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
14690         ($(objpfx)tst-audit10): New target.
14691         ($(objpfx)tst-audit10.out): Likewise.
14692         (tst-audit10-ENV): New.
14693         (AVX512-CFLAGS): Likewise.
14694         (CFLAGS-tst-audit10.c): Likewise.
14695         (CFLAGS-tst-auditmod10a.c): Likewise.
14696         (CFLAGS-tst-auditmod10b.c): Likewise.
14697         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
14698         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
14699         * sysdeps/x86_64/configure: Regenerated.
14700         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
14701         AVX-512 zmm register support.
14702         (_dl_x86_64_save_sse): Likewise.
14703         (_dl_x86_64_restore_sse): Likewise.
14704         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
14705         size vector registers.
14706         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
14707         (ZMM_SIZE): Likewise.
14708         * sysdeps/x86_64/tst-audit10.c: New file.
14709         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
14710         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
14712 2014-03-13  Roland McGrath  <roland@hack.frob.com>
14714         * configure.ac (HAVE_EHDR_START): New check.
14715         * configure: Regenerated.
14716         * config.h.in (HAVE_EHDR_START): New #undef.
14717         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
14718         assuming the lowest-addressed segment maps the start of the file.
14720 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
14722         * INSTALL: Regenerated.
14724 2014-03-13  Will Newton  <will.newton@linaro.org>
14726         * manual/setjmp.texi (System V contexts): Improve
14727         clarity and grammar of documentation.
14729 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
14731         [BZ #16381]
14732         * elf/Makefile (tests): Add tst-pie2.
14733         (tests-pie): Add tst-pie2.
14734         * elf/tst-pie2.c: New file.
14735         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
14736         for ET_EXEC.
14737         * elf/rtld.c (map_doit): Load executable as lt_executable.
14738         (dl_main): Likewise.
14740 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
14742         [BZ #16642]
14743         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14744         (__ASSUME_PSELECT): Undefine.
14746 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14748         [BZ #16689]
14749         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
14750         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
14751         static build.
14752         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
14753         selector for static builds.
14755 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
14757         [BZ #16695]
14758         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
14759         key in the buffer.
14761 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14763         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
14764         IFUNC selector for static builds.
14766 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
14768         * sysdeps/mips/math_private.h [__mips_hard_float]
14769         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
14770         libc_feresetround_mips_ctx.
14771         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
14772         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
14773         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
14775         [BZ #16677]
14776         * math/s_nextafter.c (__nextafter): Do not return value from
14777         overflowing computation.
14778         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
14779         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
14780         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
14781         Likewise.
14782         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
14783         Likewise.
14784         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
14785         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
14787 2014-03-11  Roland McGrath  <roland@hack.frob.com>
14789         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
14790         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
14791         Move sfi_sp use from the load-multiple (that no longer sets sp) to
14792         the new mov targetting sp.
14794 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14796         [BZ #16683]
14797         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
14798         Define it for static builds as well.
14799         (NO_BZERO_IMPL): Likewise.
14801 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14803         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
14804         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
14805         multiarch strspn for PPC64.
14806         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
14807         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
14808         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14809         (__libc_ifunc_impl_list): Likewise.
14810         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
14811         multiarch optimizations
14812         * string/strspn.c (strspn): Using macro to redefine symbol name.
14814 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14815             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14817         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
14818         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
14819         multiarch strncat for PPC64.
14820         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
14821         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
14822         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14823         (__libc_ifunc_impl_list): Likewise.
14824         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
14825         multiarch optimizations
14827 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
14829         [BZ #16639]
14830         * nscd/nscd.service: Make service type forking.
14832 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14834         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
14835         sign in non default rounding modes.
14836         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
14838 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
14840         * math/libm-test.inc (ALL_RM_TEST): New macro.
14841         (ceil_test): Use ALL_RM_TEST.
14842         (cimag_test): Likewise.
14843         (conj_test): Likewise.
14844         (copysign_test): Likewise.
14845         (cproj_test): Likewise.
14846         (creal_test): Likewise.
14847         (fabs_test): Likewise.
14848         (floor_test): Likewise.
14849         (fmax_test): Likewise.
14850         (fmin_test): Likewise.
14851         (fmod_test): Likewise.
14852         (fpclassify_test): Likewise.
14853         (frexp_test): Likewise.
14854         (ilogb_test): Likewise.
14855         (isfinite_test): Likewise.
14856         (finite_test): Likewise.
14857         (isgreater_test): Likewise.
14858         (isgreaterequal_test): Likewise.
14859         (isinf_test): Likewise.
14860         (isless_test): Likewise.
14861         (islessequal_test): Likewise.
14862         (islessgreater_test): Likewise.
14863         (isnan_test): Likewise.
14864         (isnormal_test): Likewise.
14865         (issignaling_test): Likewise.
14866         (isunordered_test): Likewise.
14867         (logb_test): Likewise.
14868         (logb_downward_test_data): Remove.
14869         (logb_test_downward): Likewise.
14870         (lround_test): Use ALL_RM_TEST.
14871         (llround_test): Likewise.
14872         (modf_test): Likewise.
14873         (nexttoward_test): Likewise.
14874         (remainder_test): Likewise.
14875         (drem_test): Likewise.
14876         (remainder_tonearest_test_data): Likewise.
14877         (remainder_test_tonearest): Likewise.
14878         (drem_test_tonearest): Likewise.
14879         (remainder_towardzero_test_data): Likewise.
14880         (remainder_test_towardzero): Likewise.
14881         (drem_test_towardzero): Likewise.
14882         (remainder_downward_test_data): Likewise.
14883         (remainder_test_downward): Likewise.
14884         (drem_test_downward): Likewise.
14885         (remainder_upward_test_data): Likewise.
14886         (remainder_test_upward): Likewise.
14887         (drem_test_upward): Likewise.
14888         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
14889         (round_test): Use ALL_RM_TEST.
14890         (signbit_test): Likewise.
14891         (trunc_test): Likewise.
14892         (significand_test): Likewise.
14893         (main): Don't call removed functions.
14895 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
14897         [BZ #16674]
14898         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
14899         || __USE_XOPEN2K8].
14900         (ILL_ILLOPN): Likewise.
14901         (ILL_ILLADR): Likewise.
14902         (ILL_ILLTRP): Likewise.
14903         (ILL_PRVOPC): Likewise.
14904         (ILL_PRVREG): Likewise.
14905         (ILL_COPROC): Likewise.
14906         (ILL_BADSTK): Likewise.
14907         (FPE_INTDIV): Likewise.
14908         (FPE_INTOVF): Likewise.
14909         (FPE_FLTDIV): Likewise.
14910         (FPE_FLTOVF): Likewise.
14911         (FPE_FLTUND): Likewise.
14912         (FPE_FLTRES): Likewise.
14913         (FPE_FLTINV): Likewise.
14914         (FPE_FLTSUB): Likewise.
14915         (SEGV_MAPERR): Likewise.
14916         (SEGV_ACCERR): Likewise.
14917         (BUS_ADRALN): Likewise.
14918         (BUS_ADRERR): Likewise.
14919         (BUS_OBJERR): Likewise.
14920         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14921         (TRAP_TRACE): Likewise.
14922         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14923         __USE_XOPEN2K8].
14924         (CLD_KILLED): Likewise.
14925         (CLD_DUMPED): Likewise.
14926         (CLD_TRAPPED): Likewise.
14927         (CLD_STOPPED): Likewise.
14928         (CLD_CONTINUED): Likewise.
14929         (POLL_IN): Likewise.
14930         (POLL_OUT): Likewise.
14931         (POLL_MSG): Likewise.
14932         (POLL_ERR): Likewise.
14933         (POLL_PRI): Likewise.
14934         (POLL_HUP): Likewise.
14935         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
14936         Likewise.
14937         (ILL_ILLOPN): Likewise.
14938         (ILL_ILLADR): Likewise.
14939         (ILL_ILLTRP): Likewise.
14940         (ILL_PRVOPC): Likewise.
14941         (ILL_PRVREG): Likewise.
14942         (ILL_COPROC): Likewise.
14943         (ILL_BADSTK): Likewise.
14944         (FPE_INTDIV): Likewise.
14945         (FPE_INTOVF): Likewise.
14946         (FPE_FLTDIV): Likewise.
14947         (FPE_FLTOVF): Likewise.
14948         (FPE_FLTUND): Likewise.
14949         (FPE_FLTRES): Likewise.
14950         (FPE_FLTINV): Likewise.
14951         (FPE_FLTSUB): Likewise.
14952         (SEGV_MAPERR): Likewise.
14953         (SEGV_ACCERR): Likewise.
14954         (BUS_ADRALN): Likewise.
14955         (BUS_ADRERR): Likewise.
14956         (BUS_OBJERR): Likewise.
14957         (BUS_MCEERR_AR): Likewise.
14958         (BUS_MCEERR_AO): Likewise.
14959         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14960         (TRAP_TRACE): Likewise.
14961         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
14962         __USE_XOPEN2K8].
14963         (CLD_KILLED): Likewise.
14964         (CLD_DUMPED): Likewise.
14965         (CLD_TRAPPED): Likewise.
14966         (CLD_STOPPED): Likewise.
14967         (CLD_CONTINUED): Likewise.
14968         (POLL_IN): Likewise.
14969         (POLL_OUT): Likewise.
14970         (POLL_MSG): Likewise.
14971         (POLL_ERR): Likewise.
14972         (POLL_PRI): Likewise.
14973         (POLL_HUP): Likewise.
14974         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
14975         (ILL_ILLOPN): Likewise.
14976         (ILL_ILLADR): Likewise.
14977         (ILL_ILLTRP): Likewise.
14978         (ILL_PRVOPC): Likewise.
14979         (ILL_PRVREG): Likewise.
14980         (ILL_COPROC): Likewise.
14981         (ILL_BADSTK): Likewise.
14982         (FPE_INTDIV): Likewise.
14983         (FPE_INTOVF): Likewise.
14984         (FPE_FLTDIV): Likewise.
14985         (FPE_FLTOVF): Likewise.
14986         (FPE_FLTUND): Likewise.
14987         (FPE_FLTRES): Likewise.
14988         (FPE_FLTINV): Likewise.
14989         (FPE_FLTSUB): Likewise.
14990         (SEGV_MAPERR): Likewise.
14991         (SEGV_ACCERR): Likewise.
14992         (BUS_ADRALN): Likewise.
14993         (BUS_ADRERR): Likewise.
14994         (BUS_OBJERR): Likewise.
14995         (BUS_MCEERR_AR): Likewise.
14996         (BUS_MCEERR_AO): Likewise.
14997         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
14998         (TRAP_TRACE): Likewise.
14999         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15000         __USE_XOPEN2K8].
15001         (CLD_KILLED): Likewise.
15002         (CLD_DUMPED): Likewise.
15003         (CLD_TRAPPED): Likewise.
15004         (CLD_STOPPED): Likewise.
15005         (CLD_CONTINUED): Likewise.
15006         (POLL_IN): Likewise.
15007         (POLL_OUT): Likewise.
15008         (POLL_MSG): Likewise.
15009         (POLL_ERR): Likewise.
15010         (POLL_PRI): Likewise.
15011         (POLL_HUP): Likewise.
15012         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15013         Likewise.
15014         (ILL_ILLOPN): Likewise.
15015         (ILL_ILLADR): Likewise.
15016         (ILL_ILLTRP): Likewise.
15017         (ILL_PRVOPC): Likewise.
15018         (ILL_PRVREG): Likewise.
15019         (ILL_COPROC): Likewise.
15020         (ILL_BADSTK): Likewise.
15021         (ILL_BADIADDR): Likewise.
15022         (ILL_BREAK): Likewise.
15023         (FPE_INTDIV): Likewise.
15024         (FPE_INTOVF): Likewise.
15025         (FPE_FLTDIV): Likewise.
15026         (FPE_FLTOVF): Likewise.
15027         (FPE_FLTUND): Likewise.
15028         (FPE_FLTRES): Likewise.
15029         (FPE_FLTINV): Likewise.
15030         (FPE_FLTSUB): Likewise.
15031         (FPE_DECOVF): Likewise.
15032         (FPE_DECDIV): Likewise.
15033         (FPE_DECERR): Likewise.
15034         (FPE_INVASC): Likewise.
15035         (FPE_INVDEC): Likewise.
15036         (SEGV_MAPERR): Likewise.
15037         (SEGV_ACCERR): Likewise.
15038         (SEGV_PSTKOVF): Likewise.
15039         (BUS_ADRALN): Likewise.
15040         (BUS_ADRERR): Likewise.
15041         (BUS_OBJERR): Likewise.
15042         (BUS_MCEERR_AR): Likewise.
15043         (BUS_MCEERR_AO): Likewise.
15044         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15045         (TRAP_TRACE): Likewise.
15046         (TRAP_BRANCH): Likewise.
15047         (TRAP_HWBKPT): Likewise.
15048         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15049         __USE_XOPEN2K8].
15050         (CLD_KILLED): Likewise.
15051         (CLD_DUMPED): Likewise.
15052         (CLD_TRAPPED): Likewise.
15053         (CLD_STOPPED): Likewise.
15054         (CLD_CONTINUED): Likewise.
15055         (POLL_IN): Likewise.
15056         (POLL_OUT): Likewise.
15057         (POLL_MSG): Likewise.
15058         (POLL_ERR): Likewise.
15059         (POLL_PRI): Likewise.
15060         (POLL_HUP): Likewise.
15061         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15062         (ILL_ILLOPN): Likewise.
15063         (ILL_ILLADR): Likewise.
15064         (ILL_ILLTRP): Likewise.
15065         (ILL_PRVOPC): Likewise.
15066         (ILL_PRVREG): Likewise.
15067         (ILL_COPROC): Likewise.
15068         (ILL_BADSTK): Likewise.
15069         (FPE_INTDIV): Likewise.
15070         (FPE_INTOVF): Likewise.
15071         (FPE_FLTDIV): Likewise.
15072         (FPE_FLTOVF): Likewise.
15073         (FPE_FLTUND): Likewise.
15074         (FPE_FLTRES): Likewise.
15075         (FPE_FLTINV): Likewise.
15076         (FPE_FLTSUB): Likewise.
15077         (SEGV_MAPERR): Likewise.
15078         (SEGV_ACCERR): Likewise.
15079         (BUS_ADRALN): Likewise.
15080         (BUS_ADRERR): Likewise.
15081         (BUS_OBJERR): Likewise.
15082         (BUS_MCEERR_AR): Likewise.
15083         (BUS_MCEERR_AO): Likewise.
15084         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15085         (TRAP_TRACE): Likewise.
15086         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15087         __USE_XOPEN2K8].
15088         (CLD_KILLED): Likewise.
15089         (CLD_DUMPED): Likewise.
15090         (CLD_TRAPPED): Likewise.
15091         (CLD_STOPPED): Likewise.
15092         (CLD_CONTINUED): Likewise.
15093         (POLL_IN): Likewise.
15094         (POLL_OUT): Likewise.
15095         (POLL_MSG): Likewise.
15096         (POLL_ERR): Likewise.
15097         (POLL_PRI): Likewise.
15098         (POLL_HUP): Likewise.
15099         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15100         (ILL_ILLOPN): Likewise.
15101         (ILL_ILLADR): Likewise.
15102         (ILL_ILLTRP): Likewise.
15103         (ILL_PRVOPC): Likewise.
15104         (ILL_PRVREG): Likewise.
15105         (ILL_COPROC): Likewise.
15106         (ILL_BADSTK): Likewise.
15107         (FPE_INTDIV): Likewise.
15108         (FPE_INTOVF): Likewise.
15109         (FPE_FLTDIV): Likewise.
15110         (FPE_FLTOVF): Likewise.
15111         (FPE_FLTUND): Likewise.
15112         (FPE_FLTRES): Likewise.
15113         (FPE_FLTINV): Likewise.
15114         (FPE_FLTSUB): Likewise.
15115         (SEGV_MAPERR): Likewise.
15116         (SEGV_ACCERR): Likewise.
15117         (BUS_ADRALN): Likewise.
15118         (BUS_ADRERR): Likewise.
15119         (BUS_OBJERR): Likewise.
15120         (BUS_MCEERR_AR): Likewise.
15121         (BUS_MCEERR_AO): Likewise.
15122         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15123         (TRAP_TRACE): Likewise.
15124         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15125         __USE_XOPEN2K8].
15126         (CLD_KILLED): Likewise.
15127         (CLD_DUMPED): Likewise.
15128         (CLD_TRAPPED): Likewise.
15129         (CLD_STOPPED): Likewise.
15130         (CLD_CONTINUED): Likewise.
15131         (POLL_IN): Likewise.
15132         (POLL_OUT): Likewise.
15133         (POLL_MSG): Likewise.
15134         (POLL_ERR): Likewise.
15135         (POLL_PRI): Likewise.
15136         (POLL_HUP): Likewise.
15137         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15138         (ILL_ILLOPN): Likewise.
15139         (ILL_ILLADR): Likewise.
15140         (ILL_ILLTRP): Likewise.
15141         (ILL_PRVOPC): Likewise.
15142         (ILL_PRVREG): Likewise.
15143         (ILL_COPROC): Likewise.
15144         (ILL_BADSTK): Likewise.
15145         (FPE_INTDIV): Likewise.
15146         (FPE_INTOVF): Likewise.
15147         (FPE_FLTDIV): Likewise.
15148         (FPE_FLTOVF): Likewise.
15149         (FPE_FLTUND): Likewise.
15150         (FPE_FLTRES): Likewise.
15151         (FPE_FLTINV): Likewise.
15152         (FPE_FLTSUB): Likewise.
15153         (SEGV_MAPERR): Likewise.
15154         (SEGV_ACCERR): Likewise.
15155         (BUS_ADRALN): Likewise.
15156         (BUS_ADRERR): Likewise.
15157         (BUS_OBJERR): Likewise.
15158         (BUS_MCEERR_AR): Likewise.
15159         (BUS_MCEERR_AO): Likewise.
15160         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15161         (TRAP_TRACE): Likewise.
15162         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15163         __USE_XOPEN2K8].
15164         (CLD_KILLED): Likewise.
15165         (CLD_DUMPED): Likewise.
15166         (CLD_TRAPPED): Likewise.
15167         (CLD_STOPPED): Likewise.
15168         (CLD_CONTINUED): Likewise.
15169         (POLL_IN): Likewise.
15170         (POLL_OUT): Likewise.
15171         (POLL_MSG): Likewise.
15172         (POLL_ERR): Likewise.
15173         (POLL_PRI): Likewise.
15174         (POLL_HUP): Likewise.
15175         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15176         (ILL_ILLOPN): Likewise.
15177         (ILL_ILLADR): Likewise.
15178         (ILL_ILLTRP): Likewise.
15179         (ILL_PRVOPC): Likewise.
15180         (ILL_PRVREG): Likewise.
15181         (ILL_COPROC): Likewise.
15182         (ILL_BADSTK): Likewise.
15183         (ILL_DBLFLT): Likewise.
15184         (ILL_HARDWALL): Likewise.
15185         (FPE_INTDIV): Likewise.
15186         (FPE_INTOVF): Likewise.
15187         (FPE_FLTDIV): Likewise.
15188         (FPE_FLTOVF): Likewise.
15189         (FPE_FLTUND): Likewise.
15190         (FPE_FLTRES): Likewise.
15191         (FPE_FLTINV): Likewise.
15192         (FPE_FLTSUB): Likewise.
15193         (SEGV_MAPERR): Likewise.
15194         (SEGV_ACCERR): Likewise.
15195         (BUS_ADRALN): Likewise.
15196         (BUS_ADRERR): Likewise.
15197         (BUS_OBJERR): Likewise.
15198         (BUS_MCEERR_AR): Likewise.
15199         (BUS_MCEERR_AO): Likewise.
15200         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15201         (TRAP_TRACE): Likewise.
15202         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15203         __USE_XOPEN2K8].
15204         (CLD_KILLED): Likewise.
15205         (CLD_DUMPED): Likewise.
15206         (CLD_TRAPPED): Likewise.
15207         (CLD_STOPPED): Likewise.
15208         (CLD_CONTINUED): Likewise.
15209         (POLL_IN): Likewise.
15210         (POLL_OUT): Likewise.
15211         (POLL_MSG): Likewise.
15212         (POLL_ERR): Likewise.
15213         (POLL_PRI): Likewise.
15214         (POLL_HUP): Likewise.
15215         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
15216         (ILL_ILLOPN): Likewise.
15217         (ILL_ILLADR): Likewise.
15218         (ILL_ILLTRP): Likewise.
15219         (ILL_PRVOPC): Likewise.
15220         (ILL_PRVREG): Likewise.
15221         (ILL_COPROC): Likewise.
15222         (ILL_BADSTK): Likewise.
15223         (FPE_INTDIV): Likewise.
15224         (FPE_INTOVF): Likewise.
15225         (FPE_FLTDIV): Likewise.
15226         (FPE_FLTOVF): Likewise.
15227         (FPE_FLTUND): Likewise.
15228         (FPE_FLTRES): Likewise.
15229         (FPE_FLTINV): Likewise.
15230         (FPE_FLTSUB): Likewise.
15231         (SEGV_MAPERR): Likewise.
15232         (SEGV_ACCERR): Likewise.
15233         (BUS_ADRALN): Likewise.
15234         (BUS_ADRERR): Likewise.
15235         (BUS_OBJERR): Likewise.
15236         (BUS_MCEERR_AR): Likewise.
15237         (BUS_MCEERR_AO): Likewise.
15238         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15239         (TRAP_TRACE): Likewise.
15240         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15241         __USE_XOPEN2K8].
15242         (CLD_KILLED): Likewise.
15243         (CLD_DUMPED): Likewise.
15244         (CLD_TRAPPED): Likewise.
15245         (CLD_STOPPED): Likewise.
15246         (CLD_CONTINUED): Likewise.
15247         (POLL_IN): Likewise.
15248         (POLL_OUT): Likewise.
15249         (POLL_MSG): Likewise.
15250         (POLL_ERR): Likewise.
15251         (POLL_PRI): Likewise.
15252         (POLL_HUP): Likewise.
15253         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15254         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15256         [BZ #16670]
15257         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15258         before #include of <time.h>.
15259         [!__USE_XOPEN2K] (__need_timespec): Likewise.
15260         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15261         (test-xfail-UNIX98/sched.h/conform): Likewise.
15263 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15265         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15266         error absence of trapping exception support.
15267         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15269 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
15271         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15272         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15273         * timezone/Makefile (testdata): Move definition above include of
15274         Rules.
15275         (test-zones): New variable.
15276         (tests-special): Add zone files.
15277         (build-testdata): Use $(evaluate-test).
15279         * elf/Makefile (tests-special): Rename tests to end with .out.
15280         ($(objpfx)noload-mem): Likewise.
15281         ($(objpfx)tst-leaks1-mem): Likewise.
15282         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15283         * iconv/Makefile (xtests-special): Change test-iconvconfig to
15284         $(objpfx)test-iconvconfig.out.
15285         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
15286         set -e inside subshell and redirect output to file.
15287         * iconvdata/Makefile (generated): Rename tests to end with .out.
15288         Correct type.
15289         (tests-special): Rename tests to end with .out.
15290         ($(objpfx)mtrace-tst-loading): Likewise.
15291         * intl/Makefile (generated): Likewise.
15292         (tests-special): Likewise.
15293         ($(objpfx)mtrace-tst-gettext): Likewise.
15294         * misc/Makefile (generated): Likewise.
15295         (tests-special): Likewise.
15296         ($(objpfx)tst-error1-mem): Likewise.
15297         * nptl/Makefile (tests-special): Likewise.
15298         ($(objpfx)tst-stack3-mem): Likewise.
15299         (generated): Likewise.
15300         * posix/Makefile (generated): Likewise.
15301         (tests-special): Likewise.
15302         (xtests-special): Likewise.
15303         ($(objpfx)tst-fnmatch-mem): Likewise.
15304         ($(objpfx)bug-regex2-mem): Likewise.
15305         ($(objpfx)bug-regex14-mem): Likewise.
15306         ($(objpfx)bug-regex21-mem): Likewise.
15307         ($(objpfx)bug-regex31-mem): Likewise.
15308         ($(objpfx)tst-vfork3-mem): Likewise.
15309         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15310         ($(objpfx)tst-pcre-mem): Likewise.
15311         ($(objpfx)tst-boost-mem): Likewise.
15312         ($(objpfx)bug-ga2-mem): Likewise.
15313         ($(objpfx)bug-glob2-mem): Likewise.
15314         * resolv/Makefile (generate): Likewise.
15315         (tests-special): Likewise.
15316         (xtests-special): Likewise.
15317         (generated): Likewise.
15318         ($(objpfx)mtrace-tst-leaks): Likewise.
15319         ($(objpfx)mtrace-tst-leaks2): Likewise.
15321         * scripts/merge-test-results.sh: New file.
15322         * Makefile (tests-special-notdir): New variable.
15323         (tests): Run merge-test-results.sh.
15324         (xtests): Likewise.
15325         * Rules (tests-special-notdir): New variable.
15326         (xtests-special-notdir): Likewise.
15327         (tests): Run merge-test-results.sh
15328         (xtests): Likewise.
15330         * Makeconfig (test-xfail-name): New variable.
15331         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15332         compute variable name for expected failures.
15333         * conform/Makefile (conformtest-headers-data): New variable.
15334         (conformtest-standards): Likewise.
15335         (conformtest-headers-ISO): Likewise.
15336         (conformtest-headers-ISO99): Likewise.
15337         (conformtest-headers-ISO11): Likewise.
15338         (conformtest-headers-POSIX): Likewise.
15339         (conformtest-headers-XPG3): Likewise.
15340         (conformtest-headers-XPG4): Likewise.
15341         (conformtest-headers-UNIX98): Likewise.
15342         (conformtest-headers-XOPEN2K): Likewise.
15343         (conformtest-headers-POSIX2008): Likewise.
15344         (conformtest-headers-XOPEN2K8): Likewise.
15345         (conformtest-header-list-base): Likewise.
15346         (conformtest-header-list-tests): Likewise.
15347         (conformtest-header-base): Likewise.
15348         (conformtest-header-tests): Likewise.
15349         (tests-special): Add $(conformtest-header-list-tests).  If
15350         [$(fast-check) && !$(cross-compiling)], add
15351         $(conformtest-header-tests) instead of
15352         $(objpfx)run-conformtest.out.
15353         (generated): Add $(conformtest-header-list-base).  If
15354         [$(fast-check) && !$(cross-compiling)], add
15355         $(conformtest-header-base).  Remove previous setting.
15356         ($(conformtest-header-list-tests)): New target.
15357         (test-xfail-run-conformtest): Remove variable.
15358         ($(objpfx)run-conformtest.out): Remove target.
15359         (test-xfail-ISO11/complex.h/conform): New variable.
15360         (test-xfail-ISO11/stdalign.h/conform): Likewise.
15361         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15362         (test-xfail-XPG3/varargs.h/conform): Likewise.
15363         (test-xfail-XPG4/varargs.h/conform): Likewise.
15364         (test-xfail-UNIX98/varargs.h/conform): Likewise.
15365         (test-xfail-XPG4/ndbm.h/conform): Likewise.
15366         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15367         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15368         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15369         (test-xfail-XPG3/fcntl.h/conform): Likewise.
15370         (test-xfail-XPG3/ftw.h/conform): Likewise.
15371         (test-xfail-XPG3/grp.h/conform): Likewise.
15372         (test-xfail-XPG3/langinfo.h/conform): Likewise.
15373         (test-xfail-XPG3/limits.h/conform): Likewise.
15374         (test-xfail-XPG3/pwd.h/conform): Likewise.
15375         (test-xfail-XPG3/search.h/conform): Likewise.
15376         (test-xfail-XPG3/signal.h/conform): Likewise.
15377         (test-xfail-XPG3/stdio.h/conform): Likewise.
15378         (test-xfail-XPG3/stdlib.h/conform): Likewise.
15379         (test-xfail-XPG3/string.h/conform): Likewise.
15380         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15381         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15382         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15383         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15384         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15385         (test-xfail-XPG3/sys/types.h/conform): Likewise.
15386         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15387         (test-xfail-XPG3/termios.h/conform): Likewise.
15388         (test-xfail-XPG3/time.h/conform): Likewise.
15389         (test-xfail-XPG3/unistd.h/conform): Likewise.
15390         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15391         (test-xfail-XPG4/fcntl.h/conform): Likewise.
15392         (test-xfail-XPG4/langinfo.h/conform): Likewise.
15393         (test-xfail-XPG4/netdb.h/conform): Likewise.
15394         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15395         (test-xfail-XPG4/signal.h/conform): Likewise.
15396         (test-xfail-XPG4/stdio.h/conform): Likewise.
15397         (test-xfail-XPG4/stdlib.h/conform): Likewise.
15398         (test-xfail-XPG4/stropts.h/conform): Likewise.
15399         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15400         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15401         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15402         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15403         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15404         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15405         (test-xfail-XPG4/sys/time.h/conform): Likewise.
15406         (test-xfail-XPG4/sys/types.h/conform): Likewise.
15407         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15408         (test-xfail-XPG4/termios.h/conform): Likewise.
15409         (test-xfail-XPG4/ucontext.h/conform): Likewise.
15410         (test-xfail-XPG4/unistd.h/conform): Likewise.
15411         (test-xfail-XPG4/utmpx.h/conform): Likewise.
15412         (test-xfail-POSIX/sched.h/conform): Likewise.
15413         (test-xfail-POSIX/signal.h/conform): Likewise.
15414         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15415         (test-xfail-POSIX/tar.h/conform): Likewise.
15416         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15417         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15418         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15419         (test-xfail-UNIX98/netdb.h/conform): Likewise.
15420         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
15421         (test-xfail-UNIX98/sched.h/conform): Likewise.
15422         (test-xfail-UNIX98/signal.h/conform): Likewise.
15423         (test-xfail-UNIX98/stdio.h/conform): Likewise.
15424         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
15425         (test-xfail-UNIX98/stropts.h/conform): Likewise.
15426         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
15427         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
15428         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
15429         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
15430         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
15431         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
15432         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
15433         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
15434         (test-xfail-UNIX98/unistd.h/conform): Likewise.
15435         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
15436         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
15437         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
15438         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
15439         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
15440         (test-xfail-XOPEN2K/math.h/conform): Likewise.
15441         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
15442         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
15443         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
15444         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
15445         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
15446         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
15447         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
15448         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
15449         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
15450         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
15451         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
15452         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
15453         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
15454         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
15455         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
15456         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
15457         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
15458         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
15459         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
15460         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
15461         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
15462         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
15463         (test-xfail-POSIX2008/signal.h/conform): Likewise.
15464         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
15465         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
15466         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
15467         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
15468         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
15469         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
15470         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
15471         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
15472         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
15473         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
15474         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
15475         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
15476         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
15477         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
15478         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
15479         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
15480         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
15481         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
15482         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
15483         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
15484         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
15485         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
15486         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
15487         (conformtest-cc-flags): Likewise.
15488         ($(conformtest-header-tests): New target.
15489         * conform/check-header-lists.sh: New file.
15490         * conform/run-conformtest.sh: Remove.
15492         * conform/conformtest.pl: Allow ' and \ in values given for
15493         constants.
15494         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
15495         inclusion.
15496         [POSIX] (sys/types.h): Likewise.
15497         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
15498         inclusion.
15499         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
15500         inclusion.
15501         * conform/data/signal.h-data (SIGIO): Remove expectation.
15502         [XPG3] (SIGBUS): Do not expect.
15503         [POSIX || XPG3] (SIGPOLL): Likewise.
15504         [POSIX || XPG3] (SIGPROF): Likewise.
15505         [POSIX || XPG3] (SIGSYS): Likewise.
15506         [XPG3] (SIGTRAP): Likewise.
15507         [POSIX || XPG3] (SIGURG): Likewise.
15508         [POSIX || XPG3] (SIGVTALRM): Likewise.
15509         [POSIX || XPG3] (SIGXCPU): Likewise.
15510         [POSIX || XPG3] (SIGXFSZ): Likewise.
15511         [POSIX] (SA_SIGINFO): Expect.
15512         [XPG3] (siginfo_t): Do not expect type or contents.
15513         [POSIX] (si_pid): Do not expect element.
15514         [POSIX] (si_uid): Likewise.
15515         [POSIX] (si_addr): Likewise.
15516         [POSIX] (si_status): Likewise.
15517         [POSIX] (si_band): Likewise.
15518         [XPG4] (si_value): Likewise.
15519         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
15520         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
15521         [POSIX || XPG3] (ILL_ILLADR): Likewise.
15522         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
15523         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
15524         [POSIX || XPG3] (ILL_PRVREG): Likewise.
15525         [POSIX || XPG3] (ILL_COPROC): Likewise.
15526         [POSIX || XPG3] (ILL_BADSTK): Likewise.
15527         [POSIX || XPG3] (FPE_INTDIV): Likewise.
15528         [POSIX || XPG3] (FPE_INTOVF): Likewise.
15529         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
15530         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
15531         [POSIX || XPG3] (FPE_FLTUND): Likewise.
15532         [POSIX || XPG3] (FPE_FLTRES): Likewise.
15533         [POSIX || XPG3] (FPE_FLTINV): Likewise.
15534         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
15535         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
15536         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
15537         [POSIX || XPG3] (BUS_ADRALN): Likewise.
15538         [POSIX || XPG3] (BUS_ADRERR): Likewise.
15539         [POSIX || XPG3] (BUS_OBJERR): Likewise.
15540         [POSIX || XPG3] (CLD_EXITED): Likewise.
15541         [POSIX || XPG3] (CLD_KILLED): Likewise.
15542         [POSIX || XPG3] (CLD_DUMPED): Likewise.
15543         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
15544         [POSIX || XPG3] (CLD_STOPPED): Likewise.
15545         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
15546         [POSIX || XPG3] (POLL_IN): Likewise.
15547         [POSIX || XPG3] (POLL_OUT): Likewise.
15548         [POSIX || XPG3] (POLL_MSG): Likewise.
15549         [POSIX || XPG3] (POLL_ERR): Likewise.
15550         [POSIX || XPG3] (POLL_PRI): Likewise.
15551         [POSIX || XPG3] (POLL_HUP): Likewise.
15552         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
15553         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
15554         (SIG*): Do not allow.
15555         [XPG3] (si_*): Likewise.
15556         [XPG3] (SI_*): Likewise.
15557         [XPG3 || XPG4] (sigev_*): Likewise.
15558         [XPG3 || XPG4] (SIGEV_*): Likewise.
15559         [XPG3 || XPG4] (sival_*): Likewise.
15560         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
15561         [POSIX || XPG3] (BUS_*): Likewise.
15562         [POSIX || XPG3] (CLD_*): Likewise.
15563         [POSIX || XPG3] (FPE_*): Likewise.
15564         [POSIX || XPG3] (ILL_*): Likewise.
15565         [POSIX || XPG3] (POLL_*): Likewise.
15566         [POSIX || XPG3] (SEGV_*): Likewise.
15567         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
15568         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
15569         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
15570         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
15571         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
15572         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
15573         Specify type and value.
15574         (TVERSLEN): Likewise.
15575         (REGTYPE): Likewise.
15576         (AREGTYPE): Likewise.
15577         (LNKTYPE): Likewise.
15578         (SYMTYPE): Likewise.
15579         (CHRTYPE): Likewise.
15580         (BLKTYPE): Likewise.
15581         (DIRTYPE): Likewise.
15582         (FIFOTYPE): Likewise.
15583         (CONTTYPE): Likewise.
15584         (TSUID): Likewise.
15585         (TSGID): Likewise.
15586         (TSVTX): Likewise.
15587         (TUREAD): Likewise.
15588         (TUWRITE): Likewise.
15589         (TUEXEC): Likewise.
15590         (TGREAD): Likewise.
15591         (TGWRITE): Likewise.
15592         (TGEXEC): Likewise.
15593         (TOREAD): Likewise.
15594         (TOWRITE): Likewise.
15595         (TOEXEC): Likewise.
15596         [POSIX] (TSVTX): Expect constant.
15598 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
15600         * Makefile (tests): Change dependencies to ....
15601         (tests-special): ... additions to this variable.
15602         (tests): Depend on $(tests-special).
15603         * Makerules (check-abi-list): New variable.
15604         (check-abi): Depend on $(check-abi-list).
15605         [$(subdir) = elf] (tests-special): Add
15606         $(objpfx)check-abi-libc.out.
15607         [$(build-shared) = yes && subdir] (tests-special): Add
15608         $(check-abi-list).
15609         [$(build-shared) = yes && subdir] (tests): Do not depend on
15610         check-abi.
15611         * Rules (tests): Depend on $(tests-special).
15612         (xtests): Depend on $(xtests-special).
15613         * catgets/Makefile (tests): Change dependencies to ....
15614         (tests-special): ... additions to this variable.
15615         * conform/Makefile (tests): Change dependencies to ....
15616         (tests-special): ... additions to this variable.
15617         * elf/Makefile (tests): Change dependencies to ....
15618         (tests-special): ... additions to this variable.
15619         * grp/Makefile (tests): Change dependencies to ....
15620         (tests-special): ... additions to this variable.
15621         * iconv/Makefile (xtests): Change dependencies to ....
15622         (xtests-special): ... additions to this variable.
15623         * iconvdata/Makefile (tests): Change dependencies to ....
15624         (tests-special): ... additions to this variable.
15625         * intl/Makefile (tests): Change dependencies to ....
15626         (tests-special): ... additions to this variable.  Also add
15627         $(objpfx)tst-gettext.out.
15628         * io/Makefile (tests): Change dependencies to ....
15629         (tests-special): ... additions to this variable.
15630         * libio/Makefile (tests): Change dependencies to ....
15631         (tests-special): ... additions to this variable.
15632         * malloc/Makefile (tests): Change dependencies to ....
15633         (tests-special): ... additions to this variable.
15634         * misc/Makefile (tests): Change dependencies to ....
15635         (tests-special): ... additions to this variable.
15636         * nptl/Makefile (tests): Change dependencies to ....
15637         (tests-special): ... additions to this variable.
15638         * nptl_db/Makefile (tests): Change dependencies to ....
15639         (tests-special): ... additions to this variable.
15640         * posix/Makefile (tests): Change dependencies to ....
15641         (tests-special): ... additions to this variable.
15642         (xtests): Change dependencies to ....
15643         (xtests-special): ... additions to this variable.
15644         * resolv/Makefile (tests): Change dependencies to ....
15645         (tests-special): ... additions to this variable.
15646         (xtests): Change dependencies to ....
15647         (xtests-special): ... additions to this variable.
15648         * stdio-common/Makefile (tests): Change dependencies to ....
15649         (tests-special): ... additions to this variable.
15650         (do-tst-unbputc): Remove target.
15651         (do-tst-printf): Likewise.
15652         * stdlib/Makefile (tests): Change dependencies to ....
15653         (tests-special): ... additions to this variable.
15654         * string/Makefile (tests): Change dependencies to ....
15655         (tests-special): ... additions to this variable.
15656         * sysdeps/x86/Makefile (tests): Change dependencies to ....
15657         (tests-special): ... additions to this variable.
15659         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
15660         whole file.
15661         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
15662         whole file.
15663         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
15664         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
15666         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
15667         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
15668         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
15669         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
15670         * conform/data/libgen.h-data [XPG3]: Likewise.
15671         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
15672         * conform/data/ndbm.h-data [XPG3]: Likewise.
15673         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15674         * conform/data/netdb.h-data [XPG3]: Likewise.
15675         * conform/data/netinet/in.h-data [XPG3]: Likewise.
15676         * conform/data/poll.h-data [XPG3]: Likewise.
15677         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
15678         * conform/data/strings.h-data [XPG3]: Likewise.
15679         * conform/data/stropts.h-data [XPG3]: Likewise.
15680         * conform/data/sys/mman.h-data [XPG3]: Likewise.
15681         * conform/data/sys/resource.h-data [XPG3]: Likewise.
15682         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
15683         Likewise.
15684         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
15685         * conform/data/sys/time.h-data [XPG3]: Likewise.
15686         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
15687         * conform/data/sys/uio.h-data [XPG3]: Likewise.
15688         * conform/data/sys/un.h-data [XPG3]: Likewise.
15689         * conform/data/syslog.h-data [XPG3]: Likewise.
15690         * conform/data/ucontext.h-data [XPG3]: Likewise.
15691         * conform/data/utmpx.h-data [XPG3]: Likewise.
15692         * conform/data/varargs.h-data [UNIX98]: Enable file.
15694         * manual/Makefile (INSTALL_INFO): Remove variable setting.
15696         * math/libm-test.inc (struct test_f_f_data): Move expected results
15697         into structure for each rounding mode.
15698         (struct test_ff_f_data): Likewise.
15699         (struct test_ff_f_data_nexttoward): Likewise.
15700         (struct test_fi_f_data): Likewise.
15701         (struct test_fl_f_data): Likewise.
15702         (struct test_if_f_data): Likewise.
15703         (struct test_fff_f_data): Likewise.
15704         (struct test_c_f_data): Likewise.
15705         (struct test_f_f1_data): Likewise.
15706         (struct test_fF_f1_data): Likewise.
15707         (struct test_ffI_f1_data): Likewise.
15708         (struct test_c_c_data): Likewise.
15709         (struct test_cc_c_data): Likewise.
15710         (struct test_f_i_data): Likewise.
15711         (struct test_ff_i_data): Likewise.
15712         (struct test_f_l_data): Likewise.
15713         (struct test_f_L_data): Likewise.
15714         (struct test_fFF_11_data): Likewise.
15715         (RM_): New macro.
15716         (RM_FE_DOWNWARD): Likewise.
15717         (RM_FE_TONEAREST): Likewise.
15718         (RM_FE_TOWARDZERO): Likewise.
15719         (RM_FE_UPWARD): Likewise.
15720         (RUN_TEST_LOOP_f_f): Update references to expected results.
15721         (RUN_TEST_LOOP_2_f): Likewise.
15722         (RUN_TEST_LOOP_fff_f): Likewise.
15723         (RUN_TEST_LOOP_c_f): Likewise.
15724         (RUN_TEST_LOOP_f_f1): Likewise.
15725         (RUN_TEST_LOOP_fF_f1): Likewise.
15726         (RUN_TEST_LOOP_fI_f1): Likewise.
15727         (RUN_TEST_LOOP_ffI_f1): Likewise.
15728         (RUN_TEST_LOOP_c_c): Likewise.
15729         (RUN_TEST_LOOP_cc_c): Likewise.
15730         (RUN_TEST_LOOP_f_i): Likewise.
15731         (RUN_TEST_LOOP_f_i_tg): Likewise.
15732         (RUN_TEST_LOOP_ff_i_tg): Likewise.
15733         (RUN_TEST_LOOP_f_b): Likewise.
15734         (RUN_TEST_LOOP_f_b_tg): Likewise.
15735         (RUN_TEST_LOOP_f_l): Likewise.
15736         (RUN_TEST_LOOP_f_L): Likewise.
15737         (RUN_TEST_LOOP_fFF_11): Likewise.
15738         * math/gen-libm-test.pl (parse_args): Output four copies of
15739         expected results for each test.
15741         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15742         (__ASSUME_UTIMES): Remove.
15743         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15744         (__ASSUME_UTIMES): Likewise.
15746         * math/gen-auto-libm-tests.c: Update comment on output format.
15747         (output_for_one_input_case): Generate before-rounding and
15748         after-rounding information as conditions on output flags not
15749         floating-point format.
15750         * math/auto-libm-test-out: Regenerated.
15751         * math/gen-libm-test.pl (cond_value): New function.
15752         (or_cond_value): Use cond_value.
15753         (generate_testfile): Handle conditional exceptions.
15755 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
15757         * math/libm-test.inc (max_valid_error): New variable.
15758         (init_max_error): Take new argument specifying whether function
15759         results are exactly determined.  Set max_valid_error and bound
15760         other variables for errors based on this argument.
15761         (set_max_error): Do not record results above max_valid_error.
15762         (check_float_internal): Only accept errors of up to 0.5ulps if
15763         also at most max_valid_error.
15764         (START): Take new argument EXACT and pass it to init_max_error.
15765         (acos_test): Update call to START.
15766         (acos_test_tonearest): Likewise.
15767         (acos_test_towardzero): Likewise.
15768         (acos_test_downward): Likewise.
15769         (acos_test_upward): Likewise.
15770         (acosh_test): Likewise.
15771         (asin_test): Likewise.
15772         (asin_test_tonearest): Likewise.
15773         (asin_test_towardzero): Likewise.
15774         (asin_test_downward): Likewise.
15775         (asin_test_upward): Likewise.
15776         (asinh_test): Likewise.
15777         (atan_test): Likewise.
15778         (atanh_test): Likewise.
15779         (atan2_test): Likewise.
15780         (cabs_test): Likewise.
15781         (cacos_test): Likewise.
15782         (cacosh_test): Likewise.
15783         (carg_test): Likewise.
15784         (casin_test): Likewise.
15785         (casinh_test): Likewise.
15786         (catan_test): Likewise.
15787         (catanh_test): Likewise.
15788         (cbrt_test): Likewise.
15789         (ccos_test): Likewise.
15790         (ccosh_test): Likewise.
15791         (ceil_test): Likewise.
15792         (cexp_test): Likewise.
15793         (cimag_test): Likewise.
15794         (clog_test): Likewise.
15795         (clog10_test): Likewise.
15796         (conj_test): Likewise.
15797         (copysign_test): Likewise.
15798         (cos_test): Likewise.
15799         (cos_test_tonearest): Likewise.
15800         (cos_test_towardzero): Likewise.
15801         (cos_test_downward): Likewise.
15802         (cos_test_upward): Likewise.
15803         (cosh_test): Likewise.
15804         (cosh_test_tonearest): Likewise.
15805         (cosh_test_towardzero): Likewise.
15806         (cosh_test_downward): Likewise.
15807         (cosh_test_upward): Likewise.
15808         (cpow_test): Likewise.
15809         (cproj_test): Likewise.
15810         (creal_test): Likewise.
15811         (csin_test): Likewise.
15812         (csinh_test): Likewise.
15813         (csqrt_test): Likewise.
15814         (ctan_test): Likewise.
15815         (ctan_test_tonearest): Likewise.
15816         (ctan_test_towardzero): Likewise.
15817         (ctan_test_downward): Likewise.
15818         (ctan_test_upward): Likewise.
15819         (ctanh_test): Likewise.
15820         (ctanh_test_tonearest): Likewise.
15821         (ctanh_test_towardzero): Likewise.
15822         (ctanh_test_downward): Likewise.
15823         (ctanh_test_upward): Likewise.
15824         (erf_test): Likewise.
15825         (erfc_test): Likewise.
15826         (exp_test): Likewise.
15827         (exp_test_tonearest): Likewise.
15828         (exp_test_towardzero): Likewise.
15829         (exp_test_downward): Likewise.
15830         (exp_test_upward): Likewise.
15831         (exp10_test): Likewise.
15832         (exp10_test_tonearest): Likewise.
15833         (exp10_test_towardzero): Likewise.
15834         (exp10_test_downward): Likewise.
15835         (exp10_test_upward): Likewise.
15836         (pow10_test): Likewise.
15837         (exp2_test): Likewise.
15838         (expm1_test): Likewise.
15839         (expm1_test_tonearest): Likewise.
15840         (expm1_test_towardzero): Likewise.
15841         (expm1_test_downward): Likewise.
15842         (expm1_test_upward): Likewise.
15843         (fabs_test): Likewise.
15844         (fdim_test): Likewise.
15845         (floor_test): Likewise.
15846         (fma_test): Likewise.
15847         (fma_test_towardzero): Likewise.
15848         (fma_test_downward): Likewise.
15849         (fma_test_upward): Likewise.
15850         (fmax_test): Likewise.
15851         (fmin_test): Likewise.
15852         (fmod_test): Likewise.
15853         (fpclassify_test): Likewise.
15854         (frexp_test): Likewise.
15855         (hypot_test): Likewise.
15856         (ilogb_test): Likewise.
15857         (isfinite_test): Likewise.
15858         (finite_test): Likewise.
15859         (isgreater_test): Likewise.
15860         (isgreaterequal_test): Likewise.
15861         (isinf_test): Likewise.
15862         (isless_test): Likewise.
15863         (islessequal_test): Likewise.
15864         (islessgreater_test): Likewise.
15865         (isnan_test): Likewise.
15866         (isnormal_test): Likewise.
15867         (issignaling_test): Likewise.
15868         (isunordered_test): Likewise.
15869         (j0_test): Likewise.
15870         (j1_test): Likewise.
15871         (jn_test): Likewise.
15872         (ldexp_test): Likewise.
15873         (lgamma_test): Likewise.
15874         (gamma_test): Likewise.
15875         (lrint_test): Likewise.
15876         (lrint_test_tonearest): Likewise.
15877         (lrint_test_towardzero): Likewise.
15878         (lrint_test_downward): Likewise.
15879         (lrint_test_upward): Likewise.
15880         (llrint_test): Likewise.
15881         (llrint_test_tonearest): Likewise.
15882         (llrint_test_towardzero): Likewise.
15883         (llrint_test_downward): Likewise.
15884         (llrint_test_upward): Likewise.
15885         (log_test): Likewise.
15886         (log10_test): Likewise.
15887         (log1p_test): Likewise.
15888         (log2_test): Likewise.
15889         (logb_test): Likewise.
15890         (logb_test_downward): Likewise.
15891         (lround_test): Likewise.
15892         (llround_test): Likewise.
15893         (modf_test): Likewise.
15894         (nearbyint_test): Likewise.
15895         (nextafter_test): Likewise.
15896         (nexttoward_test): Likewise.
15897         (pow_test): Likewise.
15898         (pow_test_tonearest): Likewise.
15899         (pow_test_towardzero): Likewise.
15900         (pow_test_downward): Likewise.
15901         (pow_test_upward): Likewise.
15902         (remainder_test): Likewise.
15903         (drem_test): Likewise.
15904         (remainder_test_tonearest): Likewise.
15905         (drem_test_tonearest): Likewise.
15906         (remainder_test_towardzero): Likewise.
15907         (drem_test_towardzero): Likewise.
15908         (remainder_test_downward): Likewise.
15909         (drem_test_downward): Likewise.
15910         (remainder_test_upward): Likewise.
15911         (drem_test_upward): Likewise.
15912         (remquo_test): Likewise.
15913         (rint_test): Likewise.
15914         (rint_test_tonearest): Likewise.
15915         (rint_test_towardzero): Likewise.
15916         (rint_test_downward): Likewise.
15917         (rint_test_upward): Likewise.
15918         (round_test): Likewise.
15919         (scalb_test): Likewise.
15920         (scalbn_test): Likewise.
15921         (scalbln_test): Likewise.
15922         (signbit_test): Likewise.
15923         (sin_test): Likewise.
15924         (sin_test_tonearest): Likewise.
15925         (sin_test_towardzero): Likewise.
15926         (sin_test_downward): Likewise.
15927         (sin_test_upward): Likewise.
15928         (sincos_test): Likewise.
15929         (sinh_test): Likewise.
15930         (sinh_test_tonearest): Likewise.
15931         (sinh_test_towardzero): Likewise.
15932         (sinh_test_downward): Likewise.
15933         (sinh_test_upward): Likewise.
15934         (sqrt_test): Likewise.
15935         (sqrt_test_tonearest): Likewise.
15936         (sqrt_test_towardzero): Likewise.
15937         (sqrt_test_downward): Likewise.
15938         (sqrt_test_upward): Likewise.
15939         (tan_test): Likewise.
15940         (tan_test_tonearest): Likewise.
15941         (tan_test_towardzero): Likewise.
15942         (tan_test_downward): Likewise.
15943         (tan_test_upward): Likewise.
15944         (tanh_test): Likewise.
15945         (tgamma_test): Likewise.
15946         (trunc_test): Likewise.
15947         (y0_test): Likewise.
15948         (y1_test): Likewise.
15949         (yn_test): Likewise.
15950         (significand_test): Likewise.
15952         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
15953         individual tests in comment.
15954         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
15955         (prev_max_error): New variable.
15956         (prev_real_max_error): Likewise.
15957         (prev_imag_max_error): Likewise.
15958         (compare_ulp_data): Don't refer to test names in comment.
15959         (find_test_ulps): Remove function.
15960         (find_function_ulps): Likewise.
15961         (find_complex_function_ulps): Likewise.
15962         (init_max_error): Take function name as argument.  Look up ulps
15963         for that function.
15964         (print_ulps): Remove function.
15965         (print_max_error): Use prev_max_error instead of calling
15966         find_function_ulps.
15967         (print_complex_max_error): Use prev_real_max_error and
15968         prev_imag_max_error instead of calling find_complex_function_ulps.
15969         (check_float_internal): Take max_ulp parameter instead of calling
15970         find_test_ulps.  Don't call print_ulps.
15971         (check_float): Update call to check_float_internal.
15972         (check_complex): Update calls to check_float_internal.
15973         (START): Pass argument to init_max_error.
15974         * math/gen-libm-test.pl (%results): Don't include "kind"
15975         information.
15976         (parse_ulps): Don't handle ulps of individual tests.
15977         (print_ulps_file): Likewise.
15978         (output_ulps): Likewise.
15979         * math/README.libm-test: Update.
15980         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
15981         individual tests.
15982         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
15983         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
15984         * sysdeps/arm/libm-test-ulps: Likewise.
15985         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
15986         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
15987         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
15988         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
15989         * sysdeps/microblaze/libm-test-ulps: Likewise.
15990         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
15991         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
15992         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15993         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
15994         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15995         * sysdeps/sh/libm-test-ulps: Likewise.
15996         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15997         * sysdeps/tile/libm-test-ulps: Likewise.
15998         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16000 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
16002         * math/libm-test.inc (print_complex_max_error): Check separately
16003         whether real and imaginary errors are within allowed range and
16004         pass 0 to print_complex_function_ulps instead of value within
16005         allowed range.
16007 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16009         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16010         formatting.
16011         (get_handles_fopen): Likewise.
16012         (do_write_test): Likewise.
16014         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16016         * libio/fileops.c (do_ftell): Use cached offset when
16017         available.
16018         * libio/iofwide.c (do_ftell_wide): Likewise.
16019         * libio/iofdopen.c (_IO_new_fdopen): Don't use
16020         _IO_file_attach.
16021         * libio/wfileops.c (_IO_fwide): Don't cache offset.
16023         [BZ #16532]
16024         * libio/libioP.h (get_file_offset): New function.
16025         * libio/fileops.c (get_file_offset): Likewise.
16026         (do_ftell): Likewise.
16027         (_IO_new_file_seekoff): Split out ftell logic.
16028         * libio/wfileops.c (do_ftell_wide): Likewise.
16029         (_IO_wfile_seekoff): Split out ftell logic.
16030         * libio/tst-ftell-active-handler.c: New test case.
16031         * libio/Makefile (tests): Add it.
16033 2014-03-03  Roland McGrath  <roland@hack.frob.com>
16035         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16036         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16038 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16040         [BZ #16639]
16041         * nscd/connections.c (nscd_init): Call do_exit.
16042         (start_threads): Call do_exit and notify_parent.
16043         (begin_drop_privileges): Call do_exit.
16044         (finish_drop_privileges): Likewise.
16045         * nscd/selinux.c (preserve_capabilities): Likewise.
16046         (install_real_capabilities): Likewise.
16047         (nscd_selinux_enabled): Likewise.
16048         (avc_create_thread): Likewise.
16049         (avc_alloc_lock): Likewise.
16050         (nscd_avc_init): Likewise.
16051         * nscd/nscd.c (parent_fd): New static variable.
16052         (main): Create a pipe between parent and child processes.
16053         Skip closing parent_fd.
16054         (monitor_child): New function.
16055         (do_exit): Likewise.
16056         (notify_parent): Likewise.
16057         * nscd/nscd.h (notify_parent): Likewise.
16058         (do_exit): Likewise.
16060 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
16062         * malloc/malloc.c (__libc_calloc): Revert last change.
16064 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16066         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16068 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16070         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16071         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16072         implementation.
16073         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16074         (__libc_ifunc_impl_list): Likewise.
16075         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16076         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16077         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16078         * string/strrchr.c: Define STRRCHR.
16080 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
16082         * benchtest/bench-strtok.c (simple_strtok): Delete.
16083         (strtok_string): Use as benchmark.
16084         * string/strtok (STRTOK): New macro.
16086 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
16088         * manual/threads.texi: Add header and standard comments to all
16089         functions.
16091         * elf/dl-lookup.c (check_match): New function.
16092         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16093         (do_lookup_x): Remove nested function check_match. Use non-nested
16094         function check_match.
16096 2014-02-28  Roland McGrath  <roland@hack.frob.com>
16098         * csu/Makefile (generated, before-compile): Use += rather than =.
16099         * catgets/Makefile (generated, generated-dirs): Likewise.
16100         * debug/Makefile (generated): Likewise.
16101         * dlfcn/Makefile (generated): Likewise.
16102         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16103         * iconvdata/Makefile (before-compile, generated): Likewise.
16104         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16105         * libio/Makefile (generated): Likewise.
16106         * malloc/Makefile (generated): Likewise.
16107         * manual/Makefile (generated, generated-dirs): Likewise.
16108         * misc/Makefile (generated): Likewise.
16109         * posix/Makefile (generated): Likewise.
16110         * resolv/Makefile (generated): Likewise.
16111         * sunrpc/Makefile (generated, generated-dirs): Likewise.
16112         * timezone/Makefile (generated, generated-dirs): Likewise.
16114         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16116 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16118         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16119         power8 implementation.
16120         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16121         file: POWER8 llround ifunc implementation.
16122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16123         (__lllround): Add POWER8 implementation.
16124         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16125         POWER8 llround implementation.
16127         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16128         power8 implementation.
16129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16130         file: POWER8 llrint ifunc implementation.
16131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16132         Add POWER8 implementation.
16133         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16134         POWER8 llrint implementation.
16136         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16137         power8 implementation.
16138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16139         file: POWER8 finite ifunc implementation.
16140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16141         Add POWER8 implementation.
16142         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16143         Likewise.
16144         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16145         POWER8 finite implementation.
16146         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16148         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16149         power8 implementation.
16150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16151         file: POWER8 isinf ifunc implementation.
16152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16153         POWER8 implementation.
16154         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16155         Likewise.
16156         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16157         isinf implementation.
16158         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16160         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16161         (INIT_ARCH): Add hwcap2 initialization.
16162         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16163         power8 implementation.
16164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16165         file: POWER8 isnan ifunc implementation.
16166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16167         POWER8 implementation.
16168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16169         Likewise.
16170         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16171         isnan implementation.
16172         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16174 2014-02-27  Joey Ye  <joey.ye@arm.com>
16176         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16177         (_FP_NANFRAC_Q): Set to zero.
16179 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16181         [BZ #16623]
16182         * math/auto-libm-test-in: New test inputs.
16183         * math/auto-libm-test-out: Regenerate.
16184         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16185         and DA.
16186         (__cos): Likewise.
16187         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16189 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
16191         * scripts/evaluate-test.sh: Take new argument indicating whether
16192         failure is expected.
16193         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16194         indicating whether failure is expected.
16195         * conform/Makefile (test-xfail-run-conformtest): New variable.
16196         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16197         level.
16198         * posix/Makefile (test-xfail-annexc): New variable.
16199         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16201 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
16203         * argp/Makefile: Include Makeconfig immediately after defining
16204         subdir.
16205         * assert/Makefile: Likewise.
16206         * benchtests/Makefile: Likewise.
16207         * catgets/Makefile: Likewise.
16208         * conform/Makefile: Likewise.
16209         * crypt/Makefile: Likewise.
16210         * csu/Makefile: Likewise.
16211         (all): Remove target.
16212         * ctype/Makefile: Include Makeconfig immediately after defining
16213         subdir.
16214         * debug/Makefile: Likewise.
16215         * dirent/Makefile: Likewise.
16216         * dlfcn/Makefile: Likewise.
16217         * gmon/Makefile: Likewise.
16218         * gnulib/Makefile: Likewise.
16219         * grp/Makefile: Likewise.
16220         * gshadow/Makefile: Likewise.
16221         * hesiod/Makefile: Likewise.
16222         * hurd/Makefile: Likewise.
16223         (all): Remove target.
16224         * iconvdata/Makefile: Include Makeconfig immediately after
16225         defining subdir.
16226         * inet/Makefile: Likewise.
16227         * intl/Makefile: Likewise.
16228         * io/Makefile: Likewise.
16229         * libio/Makefile: Likewise.
16230         (all): Remove target.
16231         * locale/Makefile: Include Makeconfig immediately after defining
16232         subdir.
16233         * login/Makefile: Likewise.
16234         * mach/Makefile: Likewise.
16235         (all): Remove target.
16236         * malloc/Makefile: Include Makeconfig immediately after defining
16237         subdir.
16238         (all): Remove target.
16239         * manual/Makefile: Include Makeconfig immediately after defining
16240         subdir.
16241         * math/Makefile: Likewise.
16242         * misc/Makefile: Likewise.
16243         * nis/Makefile: Likewise.
16244         * nss/Makefile: Likewise.
16245         * po/Makefile: Likewise.
16246         (all): Remove target.
16247         * posix/Makefile: Include Makeconfig immediately after defining
16248         subdir.
16249         * pwd/Makefile: Likewise.
16250         * resolv/Makefile: Likewise.
16251         * resource/Makefile: Likewise.
16252         * rt/Makefile: Likewise.
16253         * setjmp/Makefile: Likewise.
16254         * shadow/Makefile: Likewise.
16255         * signal/Makefile: Likewise.
16256         * socket/Makefile: Likewise.
16257         * soft-fp/Makefile: Likewise.
16258         * stdio-common/Makefile: Likewise.
16259         * stdlib/Makefile: Likewise.
16260         * streams/Makefile: Likewise.
16261         * string/Makefile: Likewise.
16262         * sunrpc/Makefile: Likewise.
16263         (all): Remove target.
16264         * sysvipc/Makefile: Include Makeconfig immediately after defining
16265         subdir.
16266         * termios/Makefile: Likewise.
16267         * time/Makefile: Likewise.
16268         * timezone/Makefile: Likewise.
16269         (all): Remove target.
16270         * wcsmbs/Makefile: Include Makeconfig immediately after defining
16271         subdir.
16272         * wctype/Makefile: Likewise.
16274 2014-02-26  Steve Ellcey  <sellcey@mips.com>
16276         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16277         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16278         (libc_feholdexcept_setround_mips): Ditto.
16279         (libc_feholdsetround): New.
16280         (libc_feholdsetroundf): New.
16281         (libc_feholdsetroundl): New.
16282         (libc_feupdateenv_test_mips): New.
16283         (libc_feupdateenv_test): New.
16284         (libc_feupdateenv_testf): New.
16285         (libc_feupdateenv_testl): New.
16286         (libc_feresetround): New.
16287         (libc_feresetroundf): New.
16288         (libc_feresetroundl): New.
16289         (libc_fetestexcept_mips): New.
16290         (libc_fetestexcept): New.
16291         (libc_fetestexceptf): New.
16292         (libc_fetestexceptl): New.
16293         (HAVE_RM_CTX): New.
16294         (libc_feholdexcept_setround_mips_ctx): New.
16295         (libc_feholdexcept_setround_ctx): New.
16296         (libc_feholdexcept_setroundf_ctx): New.
16297         (libc_feholdexcept_setroundl_ctx): New.
16298         (libc_fesetenv_mips_ctx): New.
16299         (libc_fesetenv_ctx): New.
16300         (libc_fesetenv_ctxf): New.
16301         (libc_fesetenv_ctxl): New.
16302         (libc_feupdateenv_mips_ctx): New.
16303         (libc_feupdateenv_ctx): New.
16304         (libc_feupdateenvf_ctx): New.
16305         (libc_feupdateenvl_ctx): New.
16306         (libc_feholdsetround_mips_ctx): New.
16307         (libc_feholdsetround_ctx): New.
16308         (libc_feholdsetroundf_ctx): New.
16309         (libc_feholdsetroundl_ctx): New.
16310         (libc_feresetround_mips_ctx): New.
16311         (libc_feresetround_ctx): New.
16312         (libc_feresetroundf_ctx): New.
16313         (libc_feresetroundl_ctx): New.
16315 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
16317         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16319         * manual/ipc.texi: New file.
16320         * manual/Makefile (chapters): Add ipc.
16321         * manual/job.texi: Add "Inter-Process Communication" to next.
16322         * manual/process.texi: Add "Inter-Process Communication" to prev.
16324 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16328 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
16330         * malloc/malloc.c (__libc_calloc): Simplify implementation.
16332         * manual/arith.texi: Fix spaces after sentences.
16333         * manual/charset.texi: Likewise.
16334         * manual/errno.texi: Likewise.
16335         * manual/install.texi: Likewise.
16336         * manual/llio.texi: Likewise.
16337         * manual/locale.texi: Likewise.
16338         * manual/maint.texi: Likewise.
16339         * manual/math.texi: Likewise.
16340         * manual/memory.texi: Likewise.
16341         * manual/message.texi: Likewise.
16342         * manual/probes.texi: Likewise.
16343         * manual/resource.texi: Likewise.
16344         * manual/signal.texi: Likewise.
16345         * manual/socket.texi: Likewise.
16346         * manual/stdio.texi: Likewise.
16347         * manual/string.texi: Likewise.
16348         * manual/time.texi: Likewise.
16349         * manual/users.texi: Likewise.
16351 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
16353         [BZ #16632]
16354         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16355         _DEFAULT_SOURCE is defined.
16357 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
16358             Carlos O'Donell  <carlos@redhat.com>
16360         [BZ #16613]
16361         * elf/dl-tls.c (_dl_count_modids): New function.
16362         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16363         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16364         audit library and increment generation counter.
16365         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16366         * elf/tst-audit9.c: New file.
16367         * elf/tst-auditmod9a.c: New file.
16368         * elf/tst-auditmod9b.c: New file.
16369         * elf/Makefile: Add rules to build and run tst-audit9.
16371 2014-02-25  Florian Weimer  <fweimer@redhat.com>
16373         [BZ #15347]
16374         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16376 2014-02-25  Will Newton  <will.newton@linaro.org>
16378         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16379         (__longjmp): Restore sp and lr before restoring callee
16380         saved registers.  Add longjmp and longjmp_target
16381         SystemTap probe point.
16382         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16383         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16384         Define to zero to match jmpbuf layout.
16385         * sysdeps/arm/setjmp.S: Include stap-probe.h.
16386         (__sigsetjmp): Save sp and lr before saving callee
16387         saved registers.  Add setjmp SystemTap probe point.
16389 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16391         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16393 2014-02-24  Andreas Schwab  <schwab@suse.de>
16395         [BZ #15804]
16396         * elf/pldd.c (wait_for_ptrace_stop): New function.
16397         (main): Call it after attaching.
16399 2014-02-22  Roland McGrath  <roland@hack.frob.com>
16401         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16402         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16403         Versions files is now verboten.
16404         * hurd/Versions (libc: GLIBC_2.0):
16405         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16406         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16407         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16408         * mach/Versions: Likewise.
16410         * csu/Versions: Remove unused %include.
16411         * resolv/Versions: Likewise.
16413 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
16415         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16416         ($(objpfx)check-local-headers.out): Likewise.
16417         ($(objpfx)begin-end-check.out): Likewise.
16418         * Makerules (check-abi-%.out): Likewise.
16419         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
16420         ($(objpfx)test2.cat): Likewise.
16421         ($(objpfx)de/libc.cat): Likewise.
16422         ($(objpfx)test-gencat.out): Likewise.
16423         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
16424         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
16425         ($(objpfx)noload-mem): Likewise.
16426         ($(objpfx)tst-pathopt.out): Likewise.
16427         ($(objpfx)tst-rtld-load-self.out): Likewise.
16428         ($(objpfx)tst-array1-cmp.out): Likewise.
16429         ($(objpfx)tst-array1-static-cmp.out): Likewise.
16430         ($(objpfx)tst-array2-cmp.out): Likewise.
16431         ($(objpfx)tst-array3-cmp.out): Likewise.
16432         ($(objpfx)tst-array4-cmp.out): Likewise.
16433         ($(objpfx)tst-array5-cmp.out): Likewise.
16434         ($(objpfx)tst-array5-static-cmp.out): Likewise.
16435         ($(objpfx)check-textrel.out): Likewise.
16436         ($(objpfx)check-execstack.out): Likewise.
16437         ($(objpfx)check-localplt.out): Likewise.
16438         ($(objpfx)order2-cmp.out): Likewise.
16439         ($(objpfx)tst-leaks1-mem): Likewise.
16440         ($(objpfx)tst-leaks1-static-mem): Likewise.
16441         ($(objpfx)tst-initorder-cmp.out): Likewise.
16442         ($(objpfx)tst-initorder2-cmp.out): Likewise.
16443         ($(objpfx)tst-unused-dep.out): Likewise.
16444         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
16445         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
16446         * iconv/Makefile (test-iconvconfig): Likewise.
16447         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
16448         ($(objpfx)iconv-test.out): Likewise.
16449         ($(objpfx)tst-tables.out): Likewise.
16450         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
16451         ($(objpfx)tst-gettext.out): Likewise.
16452         ($(objpfx)tst-translit.out): Likewise.
16453         ($(objpfx)tst-gettext2.out): Likewise.
16454         ($(objpfx)tst-gettext4.out): Likewise.
16455         ($(objpfx)tst-gettext6.out): Likewise.
16456         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
16457         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
16458         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
16459         ($(objpfx)tst-fopenloc-mem.out): Likewise.
16460         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
16461         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
16462         * posix/Makefile ($(objpfx)globtest.out): Likewise.
16463         ($(objpfx)wordexp-tst.out): Likewise.
16464         ($(objpfx)annexc.out): Likewise.
16465         ($(objpfx)tst-fnmatch-mem): Likewise.
16466         ($(objpfx)bug-regex2-mem): Likewise.
16467         ($(objpfx)bug-regex14-mem): Likewise.
16468         ($(objpfx)bug-regex21-mem): Likewise.
16469         ($(objpfx)bug-regex31-mem): Likewise.
16470         ($(objpfx)tst-vfork3-mem): Likewise.
16471         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16472         ($(objpfx)tst-pcre-mem): Likewise.
16473         ($(objpfx)tst-boost-mem): Likewise.
16474         ($(objpfx)tst-getconf.out): Likewise.
16475         ($(objpfx)bug-ga2-mem): Likewise.
16476         ($(objpfx)bug-glob2-mem): Likewise.
16477         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
16478         ($(objpfx)mtrace-tst-leaks2): Likewise.
16479         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
16480         ($(objpfx)tst-printf.out): Likewise.
16481         ($(objpfx)tst-setvbuf1.out): Likewise.
16482         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
16483         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
16484         ($(objpfx)tst-fmtmsg.out): Likewise.
16485         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
16486         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
16488         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
16489         * bits/sigaction.h [__USE_MISC]: Likewise.
16490         * bits/waitstatus.h: Update #endif comments.
16491         * ctype/ctype.h: Likewise.
16492         * dirent/dirent.h: Likewise.
16493         [__USE_MISC]: Remove redundant conditionals.
16494         * grp/grp.h: Update #endif comments.
16495         [__USE_GNU]: Remove redundant conditionals.
16496         [__USE_MISC]: Likewise.
16497         * inet/netinet/in.h [__USE_GNU]: Likewise.
16498         * io/sys/stat.h [__USE_MISC]: Likewise.
16499         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
16500         * libio/bits/stdio.h: Update #endif comments.
16501         [__USE_MISC]: Remove redundant conditionals.
16502         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
16503         * libio/stdio.h: Update #endif comments.
16504         [__USE_MISC]: Remove redundant conditionals.
16505         * math/bits/math-finite.h [__USE_MISC]: Likewise.
16506         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
16507         * math/math.h: Update #else and #endif comments.
16508         [__USE_MISC]: Remove redundant conditionals.
16509         * misc/sys/uio.h: Update #endif comments.
16510         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
16511         * posix/glob.h [__USE_MISC]: Likewise.
16512         * posix/sys/types.h: Update #endif comments.
16513         [__USE_MISC]: Remove redundant conditionals.
16514         * posix/sys/wait.h: Update #endif comments.
16515         [__USE_MISC]: Remove redundant conditionals.
16516         * posix/unistd.h: Update #endif comments.
16517         [__USE_MISC]: Remove redundant conditionals.
16518         * pwd/pwd.h [__USE_GNU]: Likewise.
16519         [__USE_MISC]: Likewise.
16520         * resolv/netdb.h [__USE_GNU]: Likewise.
16521         * signal/signal.h: Update #endif comments.
16522         [__USE_MISC]: Remove redundant conditionals.
16523         * stdlib/stdlib.h: Update #else and #endif comments.
16524         [__USE_MISC]: Remove redundant conditionals.
16525         [__USE_GNU]: Likewise.
16526         * string/bits/string2.h [__USE_MISC]: Likewise.
16527         * string/string.h: Update #endif comments.
16528         [__USE_MISC]: Remove redundant conditionals.
16529         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
16530         Likewise.
16531         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
16532         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
16533         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
16534         Likewise.
16535         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
16536         Likewise.
16537         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
16538         comments.
16539         [__USE_MISC]: Remove redundant conditionals.
16540         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
16541         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
16542         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
16543         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
16544         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
16545         Likewise.
16546         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
16547         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
16548         Likewise.
16549         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
16550         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
16551         Likewise.
16552         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
16553         Likewise.
16554         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
16555         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
16556         Likewise.
16557         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
16558         Likewise.
16559         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
16560         * sysdeps/x86/bits/string.h: Update #endif comments.
16561         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
16562         conditionals.
16563         * time/sys/time.h: Update #endif comments.
16564         * time/time.h: Likewise.
16565         [__USE_MISC]: Remove redundant conditionals.
16567 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
16569         [BZ #16600]
16570         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
16572 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
16574         * Versions.def (librt): Add GLIBC_2.17.
16576 2014-02-21  Adam Conrad  <adconrad@0c3.net>
16578         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
16579         synonym for _SYS_AUXV_H to allow direct inclusion.
16580         * sysdeps/sparc/bits/hwcap.h: Likewise.
16581         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
16582         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
16583         * sysdeps/sparc/sysdep.h: Likewise.
16585 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
16587         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
16589 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16591         * benchtests/bench-strrchr.c: Print length instead of position.
16593 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
16595         [BZ #16611]
16596         * sysdeps/unix/sysv/linux/kernel-features.h
16597         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
16598         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
16599         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
16600         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
16601         Likewise.
16602         [__i386__ || __powerpc__ || __sh__ || __sparc__]
16603         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16604         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
16605         (__ASSUME_SENDMMSG): Define instead of using previous
16606         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
16607         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16608         (__ASSUME_SENDMMSG_SYSCALL): Define.
16609         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16610         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
16611         Likewise.
16612         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16613         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16614         Likewise.
16615         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16616         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16617         Likewise.
16618         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
16619         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16620         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16621         [__ASSUME_SENDMMSG]: Change conditionals to
16622         [__ASSUME_SENDMMSG_SOCKETCALL].
16623         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16624         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
16625         Define.
16626         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16627         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
16628         Likewise.
16629         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
16630         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
16631         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
16632         [!__ASSUME_SENDMMSG]: Change conditional to
16633         [!__ASSUME_SENDMMSG_SOCKETCALL].
16634         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16635         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
16636         Define.
16638         [BZ #16610]
16639         * sysdeps/unix/sysv/linux/kernel-features.h
16640         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
16641         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
16642         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
16643         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
16644         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
16645         [__i386__ || __sparc__]
16646         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16647         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
16648         (__ASSUME_RECVMMSG): Define instead of using previous
16649         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
16650         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16651         (__ASSUME_RECVMMSG_SYSCALL): Define.
16652         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16653         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16654         Likewise.
16655         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16656         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16657         Likewise.
16658         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16659         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16660         Likewise.
16661         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
16662         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16663         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16664         [__ASSUME_RECVMMSG]: Change condition to
16665         [__ASSUME_RECVMMSG_SOCKETCALL].
16666         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16667         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16668         Define.
16669         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
16670         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16671         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
16672         Likewise.
16673         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
16674         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
16675         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
16676         [!__ASSUME_RECVMMSG]: Change condition to
16677         [!__ASSUME_RECVMMSG_SOCKETCALL].
16678         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16679         (__ASSUME_RECVMMSG_SYSCALL): Define.
16681         [BZ #16609]
16682         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
16683         __powerpc__ || __s390__ || __sh__ || __sparc__]
16684         (__ASSUME_SOCKETCALL): Define.
16685         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
16686         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
16687         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
16688         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
16689         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
16690         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
16691         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
16692         (__ASSUME_ACCEPT4): Define instead of using previous
16693         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
16694         __powerpc__ || __sparc__ || __s390__)] condition.
16695         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16696         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16697         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
16698         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16699         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16700         [!__ASSUME_ACCEPT4]: Change condition to
16701         [!__ASSUME_ACCEPT4_SOCKETCALL].
16702         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
16703         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
16704         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
16705         * sysdeps/unix/sysv/linux/arm/kernel-features.h
16706         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
16707         __ASSUME_ACCEPT4_SYSCALL.
16708         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
16709         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
16710         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
16711         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
16712         __ASSUME_ACCEPT4_SYSCALL.
16713         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
16714         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
16715         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
16716         [__ASSUME_ACCEPT4]: Change condition to
16717         [__ASSUME_ACCEPT4_SOCKETCALL].
16718         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
16719         (__ASSUME_SOCKETCALL): Define.
16720         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
16721         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
16722         (__ASSUME_SOCKETCALL): Define.
16723         (__ASSUME_ACCEPT4): Remove.
16724         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
16725         Define.
16726         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16727         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
16728         Likewise.
16729         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16730         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
16732         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
16733         macro.
16734         (HWCAP_ARM_LPAE): Likewise.
16735         (HWCAP_ARM_EVTSTRM): Likewise.
16736         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
16737         Add vpfd32, lpae and evtstrm.
16738         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
16739         Increase to 22.
16741 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
16743         * math/auto-libm-test-in: Add tests of clog10.
16744         * math/auto-libm-test-out: Regenerated.
16745         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
16746         * sysdeps/i386/fpu/libm-test-ulps: Update.
16747         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16749 2014-02-18  Andreas Schwab  <schwab@suse.de>
16751         [BZ #16574]
16752         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
16753         Store non-zero if the second buffer was newly allocated.
16754         (send_dg): Likewise.
16755         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
16756         to send_vc and send_dg.
16757         (res_nsend): Pass NULL for ansp2_malloced.
16758         * resolv/res_query.c (__libc_res_nquery): Add parameter
16759         answerp2_malloced and pass it down to __libc_res_nsend.
16760         (res_nquery): Pass additional NULL to __libc_res_nquery.
16761         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
16762         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
16763         second answer buffer if answerp2_malloced was set.
16764         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
16765         (__libc_res_nquerydomain): Add parameter
16766         answerp2_malloced and pass it down to __libc_res_nquery.
16767         (res_nquerydomain): Pass additional NULL to
16768         __libc_res_nquerydomain.
16769         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
16770         additional NULL to __libc_res_nsend and __libc_res_nquery.
16771         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
16772         additional NULL to __libc_res_nsearch.
16773         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
16774         parameter of __libc_res_nsearch to check for separately allocated
16775         second buffer.
16776         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
16777         __libc_res_nquery.
16778         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
16779         additional NULL to __libc_res_nquery.
16780         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
16781         __libc_res_nsearch.
16782         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
16783         * include/resolv.h: Update prototypes of __libc_res_nquery,
16784         __libc_res_nsearch, __libc_res_nsend.
16786 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
16788         * math/auto-libm-test-in: Add tests of fma.
16789         * math/auto-libm-test-out: Regenerated.
16790         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
16791         (fma_towardzero_test_data): Likewise.
16792         (fma_downward_test_data): Likewise.
16793         (fma_upward_test_data): Likewise.
16794         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
16795         mpc_mode.
16796         (rounding_modes): Add values for new field.
16797         (func_calc_method): Add value mpfr_fff_f.
16798         (func_calc_desc): Add mpfr_fff_f union field.
16799         (test_function): Add field exact_args.
16800         (FUNC): Add macro argument EXACT_ARGS.
16801         (FUNC_mpfr_f_f): Update call to FUNC.
16802         (FUNC_mpfr_f_f): Likewise.
16803         (FUNC_mpfr_ff_f): Likewise.
16804         (FUNC_mpfr_if_f): Likewise.
16805         (FUNC_mpc_c_f): Likewise.
16806         (FUNC_mpc_c_c): Likewise.
16807         (test_functions): Add fma.  Update calls to FUNC.
16808         (handle_input_arg): Add argument exact_args.
16809         (add_test): Update call to handle_input_arg.
16810         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
16811         (output_for_one_input_case): Update call to calc_generic_results.
16812         Recalculate exact zero results in each rounding mode.
16814         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
16815         non-negative before setting low bit.
16816         * math/auto-libm-test-in: Mark one asin test possibly having
16817         spurious underflow.
16818         * math/auto-libm-test-out: Regenerated.
16819         * sysdeps/i386/fpu/libm-test-ulps: Update.
16820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16822 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
16824         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
16825         * sysdeps/unix/sysv/linux/microblaze: Move directory from
16826         ports/sysdeps/unix/sysv/linux/microblaze.
16827         * README: Add missing listing for microblaze*-*-linux-gnu.
16829 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
16831         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
16832         duplicate code
16834 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
16836         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
16837         * sysdeps/unix/sysv/linux/ia64: Move directory from
16838         ports/sysdeps/unix/sysv/linux/ia64.
16839         * README: Update listing for ia64-*-linux-gnu.
16841 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
16842             Joseph Myers  <joseph@codesourcery.com>
16844         * Makeconfig (test-name): New variable.
16845         (evaluate-test): Likewise.
16846         * Makerules (do-test-clean): Remove .test-result files.
16847         (common-mostlyclean): Likewise.
16848         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
16849         * scripts/evaluate-test.sh: New file.
16851 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
16853         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
16854         separate $(objpfx)tst-fopenloc-cmp.out and
16855         $(objpfx)tst-fopenloc-mem.out targets.
16856         (tests): Update dependencies.
16857         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
16858         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
16859         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
16860         (tst-rxspencer-no-utf8-ARGS): New variable.
16861         (tst-rxspencer-no-utf8-ENV): Likewise.
16862         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
16863         instead of $(objpfx)tst-rxspencer-mem.
16864         ($(objpfx)tst-rxspencer-mem): Change target to
16865         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
16866         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
16867         * posix/tst-rxspencer-no-utf8.c: New file.
16869         * elf/Makefile ($(objpfx)order.out): Remove rule.
16870         [$(run-built-tests) = yes] (tests): Depend on
16871         $(objpfx)order-cmp.out.
16872         ($(objpfx)order-cmp.out): New rule.
16873         [$(run-built-tests) = yes] (tests): Depend on
16874         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
16875         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
16876         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
16877         $(objpfx)tst-array5-static-cmp.out.
16878         ($(objpfx)tst-array1.out): Remove rule.
16879         ($(objpfx)tst-array1-cmp.out): New rule.
16880         ($(objpfx)tst-array1-static.out): Remove rule.
16881         ($(objpfx)tst-array1-static-cmp.out): New rule.
16882         ($(objpfx)tst-array2.out): Remove rule.
16883         ($(objpfx)tst-array2-cmp.out): New rule.
16884         ($(objpfx)tst-array3.out): Remove rule.
16885         ($(objpfx)tst-array3-cmp.out): New rule.
16886         ($(objpfx)tst-array4.out): Remove rule.
16887         ($(objpfx)tst-array4-cmp.out): New rule.
16888         ($(objpfx)tst-array5.out): Remove rule.
16889         ($(objpfx)tst-array5-cmp.out): New rule.
16890         ($(objpfx)tst-array5-static.out): Remove rule.
16891         ($(objpfx)tst-array5-static-cmp.out): New rule.
16892         [$(run-built-tests) = yes] (tests): Depend on
16893         $(objpfx)order2-cmp.out.
16894         ($(objpfx)order2.out): Remove rule.
16895         ($(objpfx)order2-cmp.out): New rule.
16896         ($(objpfx)tst-initorder.out): Remove rule.
16897         [$(run-built-tests) = yes] (tests): Depend on
16898         $(objpfx)tst-initorder-cmp.out.
16899         ($(objpfx)tst-initorder-cmp.out): New rule.
16900         ($(objpfx)tst-initorder2.out): Remove rule.
16901         [$(run-built-tests) = yes] (tests): Depend on
16902         $(objpfx)tst-initorder2-cmp.out.
16903         ($(objpfx)tst-initorder2-cmp.out): New rule.
16904         [$(run-built-tests) = yes] (tests): Depend on
16905         $(objpfx)tst-unused-dep-cmp.out.
16906         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
16907         ($(objpfx)tst-unused-dep-cmp.out): New rule.
16908         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
16909         on $(objpfx)tst-setvbuf1-cmp.out.
16910         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
16911         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
16912         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
16913         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
16914         ($(objpfx)tst-svc.out): Remove rule.
16915         ($(objpfx)tst-svc-cmp.out): New rule.
16917 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
16919         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
16920         * ctype/ctype.h [__USE_MISC]: Likewise.
16921         * dirent/dirent.h [__USE_MISC]: Likewise.
16922         * grp/grp.h [__USE_MISC]: Likewise.
16923         * io/fcntl.h [__USE_MISC]: Likewise.
16924         * io/sys/stat.h [__USE_MISC]: Likewise.
16925         * libio/stdio.h [__USE_MISC]: Likewise.
16926         * posix/unistd.h [__USE_MISC]: Likewise.
16927         * pwd/pwd.h [__USE_MISC]: Likewise.
16928         * stdlib.h [__USE_MISC]: Likewise.
16929         * string/bits/string2.h [__USE_MISC]: Likewise.
16930         * string/string.h [__USE_MISC]: Likewise.
16931         * time/time.h [__USE_MISC]: Likewise.
16933 2014-02-13  Andreas Schwab  <schwab@suse.de>
16935         [BZ #16574]
16936         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
16937         second answer buffer if it was separately allocated.
16939 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
16941         * sysdeps/mips/math-tests.h: Include <features.h>.
16942         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16943         (ROUNDING_TESTS_long_double): Do not define.
16944         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
16945         (EXCEPTION_TESTS_long_double): Likewise.
16946         * sysdeps/mips/mips64/libm-test-ulps: Update.
16948         * include/features.h (__USE_BSD): Remove macro definitions.
16949         (__USE_SVID): Likewise.
16950         (_BSD_SOURCE): Likewise.
16951         (_SVID_SOURCE): Likewise.
16952         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
16953         from definition of _DEFAULT_SOURCE.
16954         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
16955         [_DEFAULT_SOURCE].
16956         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
16957         * bits/mman.h [__USE_BSD]: Likewise.
16958         * bits/termios.h [__USE_BSD]: Likewise.
16959         * bits/waitstatus.h [__USE_BSD]: Likewise.
16960         * ctype/ctype.h [__USE_SVID]: Likewise.
16961         * dirent/dirent.h [__USE_BSD]: Likewise.
16962         * grp/grp.h [__USE_SVID]: Likewise.
16963         [__USE_BSD]: Likewise.
16964         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
16965         * io/fcntl.h [__USE_BSD]: Likewise.
16966         * io/ftw.h [__USE_BSD]: Likewise.
16967         * io/sys/stat.h [__USE_BSD]: Likewise.
16968         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
16969         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
16970         * libio/stdio.h [__USE_SVID]: Likewise.
16971         [__USE_BSD]: Likewise.
16972         * math/math.h [__USE_SVID]: Likewise.
16973         [__USE_BSD]: Likewise.
16974         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
16975         * misc/bits/syslog.h [__USE_BSD]: Likewise.
16976         * misc/search.h [__USE_SVID]: Likewise.
16977         * misc/sys/mman.h [__USE_BSD]: Likewise.
16978         * misc/sys/syslog.h [__USE_BSD]: Likewise.
16979         * misc/sys/uio.h [__USE_BSD]: Likewise.
16980         * posix/bits/unistd.h [__USE_BSD]: Likewise.
16981         * posix/glob.h [__USE_BSD]: Likewise.
16982         * posix/regex.h [__USE_BSD]: Likewise.
16983         * posix/sys/types.h [__USE_BSD]: Likewise.
16984         [__USE_SVID]: Likewise.
16985         * posix/sys/utsname.h [__USE_SVID]: Likewise.
16986         * posix/sys/wait.h [__USE_BSD]: Likewise.
16987         [__USE_SVID]: Likewise.
16988         * posix/unistd.h [__USE_BSD]: Likewise.
16989         [__USE_SVID]: Likewise.
16990         * pwd/pwd.h [__USE_SVID]: Likewise.
16991         * resolv/netdb.h [__USE_BSD]: Likewise.
16992         * setjmp/setjmp.h [__USE_BSD]: Likewise.
16993         * signal/signal.h [__USE_BSD]: Likewise.
16994         [__USE_SVID]: Likewise.
16995         * socket/sys/socket.h [__USE_BSD]: Likewise.
16996         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
16997         * stdlib/stdlib.h [__USE_BSD]: Likewise.
16998         [__USE_SVID]: Likewise.
16999         * string/bits/string2.h [__USE_BSD]: Likewise.
17000         [__USE_SVID]: Likewise.
17001         * string/bits/string3.h [__USE_BSD]: Likewise.
17002         * string/endian.h [__USE_BSD]: Likewise.
17003         * string/string.h [__USE_SVID]: Likewise.
17004         [__USE_BSD]: Likewise.
17005         * string/strings.h [__USE_BSD]: Likewise.
17006         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17007         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17008         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17009         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17010         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17011         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17012         Likewise.
17013         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17014         Likewise.
17015         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17016         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17017         Likewise.
17018         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17019         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17020         Likewise.
17021         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17022         Likewise.
17023         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17024         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17025         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17026         Likewise.
17027         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17028         Likewise.
17029         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17030         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17031         * termios/termios.h [__USE_BSD]: Likewise.
17032         * time/sys/time.h [__USE_BSD]: Likewise.
17033         * time/time.h [__USE_BSD]: Likewise.
17034         [__USE_SVID]: Likewise.
17036         * Makefile (subdir_targets): Remove subdir_lint.out.
17038         * stdio-common/Makefile (do-tst-unbputc): Remove target.
17039         (do-tst-printf): Likewise.
17040         (tests): Depend directly on $(objpfx)tst-unbputc.out and
17041         $(objpfx)tst-printf.out.
17043         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17045         * Makerules (check-abi-%): Change target to
17046         $(objpfx)check-abi-%.out.
17047         (check-abi target): Update dependencies.
17048         (check-abi-pattern variable): Redirect output of diff to $@.
17049         (check-abi variable): Likewise.
17050         * elf/Makefile (check-abi): Update dependencies.
17052         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17053         unused.
17054         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17055         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17056         subnormal range.
17057         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17058         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17059         value has largest subnormal exponent.
17060         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17061         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17062         * sysdeps/aarch64/soft-fp/sfp-machine.h
17063         (_FP_TININESS_AFTER_ROUNDING): New macro.
17064         * sysdeps/alpha/soft-fp/sfp-machine.h
17065         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17066         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17067         Likewise.
17068         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17069         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17070         * sysdeps/mips/soft-fp/sfp-machine.h
17071         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17072         * sysdeps/powerpc/soft-fp/sfp-machine.h
17073         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17074         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17075         Likewise.
17076         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17077         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17078         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17079         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17080         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17081         Likewise.
17083 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
17085         [BZ #16545]
17086         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17087         model 1.
17089 2014-02-12  Richard Henderson  <rth@redhat.com>
17091         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
17092         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17093         * sysdeps/unix/sysv/linux/alpha: Move directory from
17094         ports/sysdeps/unix/sysv/linux/alpha.
17095         * README: Update listing for alpha-*-linux-gnu.
17097 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
17099         * include/features.h: Update comment documenting feature test
17100         macros.
17101         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
17102         _DEFAULT_SOURCE.
17103         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17104         (_SVID_SOURCE): Likewise.
17105         (_DEFAULT_SOURCE): Update description of default features.
17106         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17107         with _GNU_SOURCE.
17108         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17109         (S_ISVTX): Likewise.
17110         * manual/math.texi (Mathematical Constants): Likewise.
17111         * manual/signal.texi (Interrupted Primitives): Likewise.
17112         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17113         * math/test-matherr.c (_SVID_SOURCE): Do not define.
17114         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17115         Don't refer to _SVID_SOURCE in warning text.
17117         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17119         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17120         already defined.
17121         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17122         * sysdeps/mips/dl-lookup.c: Remove.
17123         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17125 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17127         [BZ #16447]
17128         * math/auto-libm-test-in: Add testcase for expl.
17129         * math/auto-libm-test-out: Regenerate.
17130         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17131         calculation of unsafe.
17132         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17134 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17136         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17137         * sysdeps/unix/sysv/linux/aarch64: Move directory from
17138         ports/sysdeps/unix/sysv/linux/aarch64.
17139         * README: Update listing for aarch64*-*-linux-gnu.
17141 2014-02-11  Will Newton  <will.newton@linaro.org>
17143         * manual/probes.texi (Mathematical Function Probes): Use
17144         "triggered" instead of "hit".
17146         * manual/probes.texi (Internal Probes): Add documentation
17147         of setjmp, longjmp and longjmp_target probes.
17149         * include/stap-probe.h: Add comment about probe argument
17150         format.
17152         * malloc/mtrace.c (attribute_hidden): Remove unused macro
17153         definition.  (tr_where, tr_freehook, tr_mallochook,
17154         tr_reallochook, tr_memalignhook): Use ANSI protoype.
17156 2014-02-11  David S. Miller  <davem@davemloft.net>
17158         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17159         processing int_tests.
17161 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
17163         * sysdeps/mips: Move directory from ports/sysdeps/mips.
17164         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17165         * sysdeps/unix/sysv/linux/mips: Move directory from
17166         ports/sysdeps/unix/sysv/linux/mips.
17167         * README: Update listing for mips-*-linux-gnu and
17168         mips64-*-linux-gnu.
17170 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
17172         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17173         * sysdeps/unix/sysv/linux/m68k: Move directory from
17174         ports/sysdeps/unix/sysv/linux/m68k.
17175         * README: Update listing for m68k-*-linux-gnu.
17177 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
17179         * sysdeps/tile: Move directory from ports/sysdeps/tile.
17180         * sysdeps/unix/sysv/linux/generic: Move directory from
17181         ports/sysdeps/unix/sysv/linux/generic.
17182         * sysdeps/unix/sysv/linux/tile: Move directory from
17183         ports/sysdeps/unix/sysv/linux/tile.
17184         * README: Update listing for tile*-*-linux-gnu.
17186 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
17188         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17189         __builtin_expect.
17190         * benchtests/bench-memmem.c (simple_memmem): Likewise.
17191         * catgets/open_catalog.c (__open_catalog): Likewise.
17192         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17193         * debug/confstr_chk.c: Likewise.
17194         * debug/fread_chk.c (__fread_chk): Likewise.
17195         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17196         * debug/getgroups_chk.c: Likewise.
17197         * debug/mbsnrtowcs_chk.c: Likewise.
17198         * debug/mbsrtowcs_chk.c: Likewise.
17199         * debug/mbstowcs_chk.c: Likewise.
17200         * debug/memcpy_chk.c: Likewise.
17201         * debug/memmove_chk.c: Likewise.
17202         * debug/mempcpy_chk.c: Likewise.
17203         * debug/memset_chk.c: Likewise.
17204         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17205         * debug/strcat_chk.c (__strcat_chk): Likewise.
17206         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17207         * debug/strncat_chk.c (__strncat_chk): Likewise.
17208         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17209         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17210         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17211         * debug/wcpncpy_chk.c: Likewise.
17212         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17213         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17214         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17215         * debug/wcsncpy_chk.c: Likewise.
17216         * debug/wcsnrtombs_chk.c: Likewise.
17217         * debug/wcsrtombs_chk.c: Likewise.
17218         * debug/wcstombs_chk.c: Likewise.
17219         * debug/wmemcpy_chk.c: Likewise.
17220         * debug/wmemmove_chk.c: Likewise.
17221         * debug/wmempcpy_chk.c: Likewise.
17222         * debug/wmemset_chk.c: Likewise.
17223         * dirent/scandirat.c (SCANDIRAT): Likewise.
17224         * dlfcn/dladdr1.c (dladdr1): Likewise.
17225         * dlfcn/dladdr.c (dladdr): Likewise.
17226         * dlfcn/dlclose.c (dlclose_doit): Likewise.
17227         * dlfcn/dlerror.c (__dlerror): Likewise.
17228         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17229         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17230         * dlfcn/dlopen.c (dlopen_doit): Likewise.
17231         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17232         * dlfcn/dlsym.c (dlsym_doit): Likewise.
17233         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17234         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17235         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17236         Likewise.
17237         * elf/dl-conflict.c: Likewise.
17238         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17239         * elf/dl-dst.h: Likewise.
17240         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17241         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17242         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17243         * elf/dl-init.c (call_init, _dl_init): Likewise.
17244         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
17245         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17246         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17247         Likewise.
17248         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17249         Likewise.
17250         * elf/dl-minimal.c (__libc_memalign): Likewise.
17251         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17252         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17253         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17254         * elf/dl-sym.c (do_sym): Likewise.
17255         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17256         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
17257         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17258         * elf/dl-writev.h (_dl_writev): Likewise.
17259         * elf/ldconfig.c (search_dir): Likewise.
17260         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17261         (dl_main): Likewise.
17262         * elf/setup-vdso.h (setup_vdso): Likewise.
17263         * grp/compat-initgroups.c (compat_call): Likewise.
17264         * grp/fgetgrent.c (fgetgrent): Likewise.
17265         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17266         * grp/putgrent.c (putgrent): Likewise.
17267         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17268         Likewise.
17269         * hurd/hurdinit.c: Likewise.
17270         * iconvdata/8bit-gap.c (struct): Likewise.
17271         * iconvdata/ansi_x3.110.c : Likewise.
17272         * iconvdata/big5.c : Likewise.
17273         * iconvdata/big5hkscs.c : Likewise.
17274         * iconvdata/cp1255.c: Likewise.
17275         * iconvdata/cp1258.c : Likewise.
17276         * iconvdata/cp932.c : Likewise.
17277         * iconvdata/euc-cn.c: Likewise.
17278         * iconvdata/euc-jisx0213.c : Likewise.
17279         * iconvdata/euc-jp.c: Likewise.
17280         * iconvdata/euc-jp-ms.c : Likewise.
17281         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17282         * iconvdata/gb18030.c : Likewise.
17283         * iconvdata/gbbig5.c (const): Likewise.
17284         * iconvdata/gbgbk.c: Likewise.
17285         * iconvdata/gbk.c : Likewise.
17286         * iconvdata/ibm1364.c : Likewise.
17287         * iconvdata/ibm930.c : Likewise.
17288         * iconvdata/ibm932.c: Likewise.
17289         * iconvdata/ibm933.c : Likewise.
17290         * iconvdata/ibm935.c : Likewise.
17291         * iconvdata/ibm937.c : Likewise.
17292         * iconvdata/ibm939.c : Likewise.
17293         * iconvdata/ibm943.c: Likewise.
17294         * iconvdata/iso_11548-1.c: Likewise.
17295         * iconvdata/iso-2022-cn.c : Likewise.
17296         * iconvdata/iso-2022-cn-ext.c : Likewise.
17297         * iconvdata/iso-2022-jp-3.c: Likewise.
17298         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17299         * iconvdata/iso-2022-kr.c : Likewise.
17300         * iconvdata/iso646.c (gconv_end): Likewise.
17301         * iconvdata/iso_6937-2.c : Likewise.
17302         * iconvdata/iso_6937.c : Likewise.
17303         * iconvdata/iso8859-1.c: Likewise.
17304         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17305         * iconvdata/shift_jisx0213.c : Likewise.
17306         * iconvdata/sjis.c : Likewise.
17307         * iconvdata/t.61.c : Likewise.
17308         * iconvdata/tcvn5712-1.c : Likewise.
17309         * iconvdata/tscii.c: Likewise.
17310         * iconvdata/uhc.c : Likewise.
17311         * iconvdata/unicode.c (gconv_end): Likewise.
17312         * iconvdata/utf-16.c (gconv_end): Likewise.
17313         * iconvdata/utf-32.c (gconv_end): Likewise.
17314         * iconvdata/utf-7.c (base64): Likewise.
17315         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17316         * iconv/gconv_close.c (__gconv_close): Likewise.
17317         * iconv/gconv_open.c (__gconv_open): Likewise.
17318         * iconv/gconv_simple.c (internal_ucs4_loop_single)
17319         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17320         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17321         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17322         (ucs4le_internal_loop_single): Likewise.
17323         * iconv/iconv.c (iconv): Likewise.
17324         * iconv/iconv_close.c: Likewise.
17325         * iconv/loop.c (SINGLE): Likewise.
17326         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17327         * include/atomic.h: Likewise.
17328         * inet/inet6_option.c (option_alloc): Likewise.
17329         * intl/bindtextdom.c (set_binding_values): Likewise.
17330         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17331         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17332         * intl/localealias.c (read_alias_file): Likewise.
17333         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17334         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17335         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
17336         * libio/fmemopen.c (fmemopen): Likewise.
17337         * libio/iofgets.c (_IO_fgets): Likewise.
17338         * libio/iofgets_u.c (fgets_unlocked): Likewise.
17339         * libio/iofgetws.c (fgetws): Likewise.
17340         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17341         * libio/iogetdelim.c (_IO_getdelim): Likewise.
17342         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17343         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
17344         * locale/findlocale.c (_nl_find_locale): Likewise.
17345         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17346         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17347         Likewise.
17348         * locale/setlocale.c (setlocale): Likewise.
17349         * login/programs/pt_chown.c (main): Likewise.
17350         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17351         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
17352         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17353         (mmap, mmap64, mremap, munmap): Likewise.
17354         * math/e_exp2l.c: Likewise.
17355         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17356         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17357         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17358         * math/s_catan.c (__catan): Likewise.
17359         * math/s_catanf.c (__catanf): Likewise.
17360         * math/s_catanh.c (__catanh): Likewise.
17361         * math/s_catanhf.c (__catanhf): Likewise.
17362         * math/s_catanhl.c (__catanhl): Likewise.
17363         * math/s_catanl.c (__catanl): Likewise.
17364         * math/s_ccosh.c (__ccosh): Likewise.
17365         * math/s_ccoshf.c (__ccoshf): Likewise.
17366         * math/s_ccoshl.c (__ccoshl): Likewise.
17367         * math/s_cexp.c (__cexp): Likewise.
17368         * math/s_cexpf.c (__cexpf): Likewise.
17369         * math/s_cexpl.c (__cexpl): Likewise.
17370         * math/s_clog10.c (__clog10): Likewise.
17371         * math/s_clog10f.c (__clog10f): Likewise.
17372         * math/s_clog10l.c (__clog10l): Likewise.
17373         * math/s_clog.c (__clog): Likewise.
17374         * math/s_clogf.c (__clogf): Likewise.
17375         * math/s_clogl.c (__clogl): Likewise.
17376         * math/s_csin.c (__csin): Likewise.
17377         * math/s_csinf.c (__csinf): Likewise.
17378         * math/s_csinh.c (__csinh): Likewise.
17379         * math/s_csinhf.c (__csinhf): Likewise.
17380         * math/s_csinhl.c (__csinhl): Likewise.
17381         * math/s_csinl.c (__csinl): Likewise.
17382         * math/s_csqrt.c (__csqrt): Likewise.
17383         * math/s_csqrtf.c (__csqrtf): Likewise.
17384         * math/s_csqrtl.c (__csqrtl): Likewise.
17385         * math/s_ctan.c (__ctan): Likewise.
17386         * math/s_ctanf.c (__ctanf): Likewise.
17387         * math/s_ctanh.c (__ctanh): Likewise.
17388         * math/s_ctanhf.c (__ctanhf): Likewise.
17389         * math/s_ctanhl.c (__ctanhl): Likewise.
17390         * math/s_ctanl.c (__ctanl): Likewise.
17391         * math/w_pow.c: Likewise.
17392         * math/w_powf.c: Likewise.
17393         * math/w_powl.c: Likewise.
17394         * math/w_scalb.c (sysv_scalb): Likewise.
17395         * math/w_scalbf.c (sysv_scalbf): Likewise.
17396         * math/w_scalbl.c (sysv_scalbl): Likewise.
17397         * misc/error.c (error_tail): Likewise.
17398         * misc/pselect.c (__pselect): Likewise.
17399         * nis/nis_callback.c (__nis_create_callback): Likewise.
17400         * nis/nis_call.c (__nisfind_server): Likewise.
17401         * nis/nis_creategroup.c (nis_creategroup): Likewise.
17402         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17403         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17404         * nis/nis_getservlist.c (nis_getservlist): Likewise.
17405         * nis/nis_lookup.c (nis_lookup): Likewise.
17406         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
17407         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17408         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
17409         * nis/nis_xdr.c (xdr_endpoint): Likewise.
17410         * nis/nss_compat/compat-grp.c (getgrent_next_file)
17411         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17412         * nis/nss_compat/compat-initgroups.c (add_group)
17413         (internal_getgrent_r): Likewise.
17414         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17415         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17416         * nis/nss_compat/compat-spwd.c (getspent_next_file)
17417         (internal_getspnam_r): Likewise.
17418         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17419         (_nss_nis_getaliasbyname_r): Likewise.
17420         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
17421         (_nss_nis_getntohost_r): Likewise.
17422         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
17423         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
17424         (_nss_nis_getgrgid_r): Likewise.
17425         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
17426         (internal_nis_gethostent_r, internal_gethostbyname2_r)
17427         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
17428         (_nss_nis_gethostbyname4_r): Likewise.
17429         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
17430         (initgroups_netid): Likewise.
17431         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
17432         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
17433         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
17434         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
17435         (_nss_nis_getprotobynumber_r): Likewise.
17436         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
17437         (_nss_nis_getsecretkey): Likewise.
17438         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
17439         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
17440         (_nss_nis_getpwuid_r): Likewise.
17441         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
17442         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
17443         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
17444         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
17445         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
17446         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
17447         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
17448         Likewise.
17449         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
17450         (_nss_nisplus_getntohost_r): Likewise.
17451         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
17452         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
17453         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
17454         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
17455         Likewise.
17456         * nis/nss_nisplus/nisplus-initgroups.c
17457         (_nss_nisplus_initgroups_dyn): Likewise.
17458         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
17459         (_nss_nisplus_getnetbyaddr_r): Likewise.
17460         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
17461         (_nss_nisplus_getprotobynumber_r): Likewise.
17462         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
17463         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
17464         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
17465         Likewise.
17466         * nis/nss_nisplus/nisplus-service.c
17467         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
17468         (_nss_nisplus_getservbyport_r): Likewise.
17469         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
17470         (_nss_nisplus_getspnam_r): Likewise.
17471         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
17472         Likewise.
17473         * nscd/aicache.c (addhstaiX): Likewise.
17474         * nscd/cache.c (cache_search, prune_cache): Likewise.
17475         * nscd/connections.c (register_traced_file, send_ro_fd)
17476         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
17477         (main_loop_epoll): Likewise.
17478         * nscd/grpcache.c (addgrbyX): Likewise.
17479         * nscd/hstcache.c (addhstbyX): Likewise.
17480         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17481         * nscd/mem.c (gc, mempool_alloc): Likewise.
17482         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
17483         (addinnetgrX): Likewise.
17484         * nscd/nscd-client.h (__nscd_acquire_maplock)
17485         (__nscd_drop_map_ref): Likewise.
17486         * nscd/nscd_getai.c (__nscd_getai): Likewise.
17487         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
17488         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
17489         Likewise.
17490         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
17491         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
17492         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
17493         (__nscd_get_map_ref): Likewise.
17494         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
17495         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
17496         Likewise.
17497         * nscd/pwdcache.c (addpwbyX): Likewise.
17498         * nscd/selinux.c (preserve_capabilities): Likewise.
17499         * nscd/servicescache.c (addservbyX): Likewise.
17500         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
17501         * posix/fnmatch.c (fnmatch): Likewise.
17502         * posix/getopt.c (_getopt_internal_r): Likewise.
17503         * posix/glob.c (glob, glob_in_dir): Likewise.
17504         * posix/wordexp.c (exec_comm_child): Likewise.
17505         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
17506         (getanswer_r, gaih_getanswer_slice): Likewise.
17507         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
17508         * resolv/res_init.c: Likewise.
17509         * resolv/res_mkquery.c (res_nmkquery): Likewise.
17510         * resolv/res_query.c (__libc_res_nquery): Likewise.
17511         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
17512         Likewise.
17513         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
17514         * stdio-common/perror.c (perror): Likewise.
17515         * stdio-common/printf_fp.c (___printf_fp): Likewise.
17516         * stdio-common/tmpnam.c (tmpnam): Likewise.
17517         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
17518         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
17519         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17520         Likewise.
17521         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17522         * stdlib/putenv.c (putenv): Likewise.
17523         * stdlib/setenv.c (__add_to_environ): Likewise.
17524         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17525         * stdlib/strtol_l.c (INTERNAL): Likewise.
17526         * string/memmem.c (memmem): Likewise.
17527         * string/strerror.c (strerror): Likewise.
17528         * string/strnlen.c (__strnlen): Likewise.
17529         * string/test-memmem.c (simple_memmem): Likewise.
17530         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
17531         * sunrpc/pm_getport.c (__get_socket): Likewise.
17532         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
17533         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
17534         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
17535         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
17536         Likewise.
17537         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
17538         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
17539         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
17540         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
17541         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
17542         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
17543         Likewise.
17544         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
17545         Likewise.
17546         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
17547         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
17548         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17549         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
17550         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
17551         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
17552         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
17553         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
17554         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
17555         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
17556         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
17557         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
17558         Likewise.
17559         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
17560         Likewise.
17561         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
17562         Likewise.
17563         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
17564         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
17565         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
17566         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
17567         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
17568         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
17569         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
17570         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
17571         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
17572         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
17573         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
17574         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
17575         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
17576         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
17577         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17578         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
17579         Likewise.
17580         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
17581         Likewise.
17582         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
17583         Likewise.
17584         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
17585         Likewise.
17586         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17587         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17588         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
17589         Likewise.
17590         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
17591         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
17592         * sysdeps/posix/opendir.c (__opendirat): Likewise.
17593         * sysdeps/posix/sleep.c: Likewise.
17594         * sysdeps/posix/tempname.c: Likewise.
17595         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
17596         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
17597         Likewise.
17598         * sysdeps/powerpc/powerpc32/dl-machine.h
17599         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
17600         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
17601         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
17602         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
17603         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
17604         Likewise.
17605         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
17606         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
17607         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17608         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
17609         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
17610         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
17611         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
17612         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
17613         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
17614         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
17615         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
17616         (elf_machine_lazy_rel): Likewise.
17617         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
17618         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
17619         (elf_machine_lazy_rel): Likewise.
17620         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
17621         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
17622         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
17623         * sysdeps/unix/grantpt.c (grantpt): Likewise.
17624         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
17625         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
17626         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
17627         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
17628         Likewise.
17629         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17630         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17631         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
17632         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
17633         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
17634         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
17635         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
17636         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
17637         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
17638         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17639         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
17640         Likewise.
17641         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
17642         (__posix_fallocate64_l64): Likewise.
17643         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
17644         (posix_fallocate): Likewise.
17645         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17646         Likewise.
17647         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
17648         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
17649         (getifaddrs_internal): Likewise.
17650         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
17651         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
17652         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
17653         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
17654         * sysdeps/unix/sysv/linux/posix_fallocate64.c
17655         (__posix_fallocate64_l64): Likewise.
17656         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
17657         Likewise.
17658         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
17659         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
17660         (__get_clockfreq): Likewise.
17661         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
17662         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
17663         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
17664         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
17665         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
17666         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
17667         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
17668         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
17669         Likewise.
17670         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
17671         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
17672         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
17673         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
17674         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
17675         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
17676         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
17677         Likewise.
17678         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
17679         (posix_fallocate): Likewise.
17680         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
17681         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
17682         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
17683         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
17684         (elf_machine_rela, elf_machine_rela_relative)
17685         (elf_machine_lazy_rel): Likewise.
17686         * time/asctime.c (asctime_internal): Likewise.
17687         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
17688         * time/tzset.c (__tzset_parse_tz): Likewise.
17689         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
17690         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
17691         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
17692         * wcsmbs/wcsmbsload.h: Likewise.
17694         [BZ #15894]
17695         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
17697         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
17698         (arena_get2): Remove THREAD_STATS conditionals.
17699         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
17700         (__malloc_stats, int): Likewise.
17702 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
17704         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
17705         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
17707         * manual/setjmp.texi: Fix typos/grammar errors.
17709         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
17710         Only return early when n is <= 0.  Delete unused return statement.
17712         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
17713         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
17714         * debug/tst-longjmp_chk3.c: New file.
17716         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
17717         (test_main): Replace code with set_fortify_handler call.
17718         * debug/test-strcpy_chk.c: Likewise.
17719         * debug/tst-chk1.c: Likewise.
17720         * debug/tst-longjmp_chk.c: Likewise.
17721         * test-skeleton.c: Include fcntl.h & paths.h
17722         (set_fortify_handler): Define.
17724         * debug/tst-longjmp_chk.c: Add header comment and include
17725         ../test-skeleton.c.
17726         (do_test): Mark static.
17727         (TEST_FUNCTION): Define.
17729         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
17730         (IP_PMTUDISC_INTERFACE): Likewise.
17731         (IP_MULTICAST_IF): Likewise.
17732         (IP_MULTICAST_TTL): Likewise.
17733         (IP_MULTICAST_LOOP): Likewise.
17734         (IP_ADD_MEMBERSHIP): Likewise.
17735         (IP_DROP_MEMBERSHIP): Likewise.
17736         (IP_UNBLOCK_SOURCE): Likewise.
17737         (IP_BLOCK_SOURCE): Likewise.
17738         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
17739         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
17740         (IP_MSFILTER): Likewise.
17741         (MCAST_JOIN_GROUP): Likewise.
17742         (MCAST_BLOCK_SOURCE): Likewise.
17743         (MCAST_UNBLOCK_SOURCE): Likewise.
17744         (MCAST_LEAVE_GROUP): Likewise.
17745         (MCAST_JOIN_SOURCE_GROUP): Likewise.
17746         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
17747         (MCAST_MSFILTER): Likewise.
17748         (IP_MULTICAST_ALL): Likewise.
17749         (IP_UNICAST_IF): Likewise.
17751         * timezone/Makefile: Delete $(have-ksh) check.
17752         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
17753         * timezone/tzselect.ksh: Add +x mode bits.
17755         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
17756         (ANON_INODE_FS_MAGIC): Likewise.
17757         (BDEVFS_MAGIC): Likewise.
17758         (BINFMTFS_MAGIC): Likewise.
17759         (BTRFS_TEST_MAGIC): Likewise.
17760         (CRAMFS_MAGIC_WEND): Likewise.
17761         (DEBUGFS_MAGIC): Likewise.
17762         (ECRYPTFS_SUPER_MAGIC): Likewise.
17763         (EXT3_SUPER_MAGIC): Likewise.
17764         (EXT4_SUPER_MAGIC): Likewise.
17765         (FUTEXFS_SUPER_MAGIC): Likewise.
17766         (HOSTFS_SUPER_MAGIC): Likewise.
17767         (HUGETLBFS_MAGIC): Likewise.
17768         (MINIX3_SUPER_MAGIC): Likewise.
17769         (MTD_INODE_FS_MAGIC): Likewise.
17770         (NILFS_SUPER_MAGIC): Likewise.
17771         (OPENPROM_SUPER_MAGIC): Likewise.
17772         (PIPEFS_MAGIC): Likewise.
17773         (PSTOREFS_MAGIC): Likewise.
17774         (QNX6_SUPER_MAGIC): Likewise.
17775         (RAMFS_MAGIC): Likewise.
17776         (REISERFS_SUPER_MAGIC_STRING): Likewise.
17777         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
17778         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
17779         (SECURITYFS_MAGIC): Likewise.
17780         (SELINUX_MAGIC): Likewise.
17781         (SMACK_MAGIC): Likewise.
17782         (SOCKFS_MAGIC): Likewise.
17783         (SQUASHFS_MAGIC): Likewise.
17784         (STACK_END_MAGIC): Likewise.
17785         (TMPFS_MAGIC): Likewise.
17786         (USBDEVICE_SUPER_MAGIC): Likewise.
17787         (V9FS_MAGIC): Likewise.
17788         (XENFS_SUPER_MAGIC): Likewise.
17789         (CRAMFS_MAGIC): Fix typo in comment.
17790         (EXT2_SUPER_MAGIC): Update comment.
17791         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
17793 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
17795         * sysdeps/arm: Move directory from ports/sysdeps/arm.
17796         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
17797         * sysdeps/unix/sysv/linux/arm: Move directory from
17798         ports/sysdeps/unix/sysv/linux/arm.
17799         * README: Update listing for arm-*-linux-gnueabi.
17801         * README: Remove mention of am33.
17803 2014-02-07  Roland McGrath  <roland@hack.frob.com>
17805         * bits/sigset.h (__sigemptyset): Use a statement expression rather
17806         than the comma operator, to avoid "rhs of comma has no effect"
17807         compiler warnings.
17808         (__sigfillset, __sigandset, __sigorset): Likewise.
17809         * include/signal.h (__sigemptyset): Likewise.
17810         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
17812 2014-02-07  Allan McRae  <allan@archlinux.org>
17814         * version.h (RELEASE): Set to "development".
17815         (VERSION): Set to "2.19.90"
17816         * NEWS: Add 2.20 section.
17818 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
17820         [BZ #16529]
17821         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
17823 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
17825         * manual/contrib.texi: Update entry for Carlos O'Donell,
17826         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
17828 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
17830         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
17832         * sysdeps/unix/sysv/linux/kernel-features.h
17833         [__LINUX_KERNEL_VERSION >= 0x020621]
17834         (__ASSUME_PROC_PID_TASK_COMM): Define.
17836 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17838         [BZ #16398]
17839         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
17840         conversion when destination buffer does not have enough space.
17841         * libio/tst-ftell-partial-wide.c: New test case.
17842         * libio/Makefile (tests): Add tst-ftell-partial-wide.
17844         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
17845         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
17846         Leonard and Allan McRae.
17848 2014-02-04  David S. Miller  <davem@davemloft.net>
17850         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
17851         32-bit.
17853 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
17856         New file
17857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
17858         New file
17859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
17860         New file.
17861         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
17862         New file.
17863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
17864         New file.
17865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
17866         New file.
17867         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
17868         New file.
17869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
17870         New file.
17871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
17872         New file.
17873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
17874         New file.
17875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
17876         New file.
17877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
17878         New file.
17879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
17880         New file.
17882 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17884         * nptl/shlib-versions: Change powerpc*le start to 2.17.
17885         * shlib-versions: Likewise.
17887 2014-02-04  Roland McGrath  <roland@hack.frob.com>
17888             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17890         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
17891         (abilist-pattern): New variable, set to %-le.abilist.
17893         * Makerules (abilist-pattern): New variable.
17894         (vpath): Use $(abilist-pattern) in place of %.abilist.
17895         (check-abi-% pattern rule): Likewise.
17896         (check-abi, update-abi): Likewise.
17898 2014-02-04  Eric Wong  <normalperson@yhbt.net>
17900         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17902 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
17904         * manual/startup.texi: Add next, previous, and top entries for
17905         the `Program Arguments' and `Environment Variables' nodes.
17907 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
17909         * manual/macros.texi: Add comments before MTASC-safety macros.
17911         * manual/users.texi: Document MTASC-safety properties.
17913         * manual/threads.texi (pthread_key_create, pthread_key_delete)
17914         (pthread_getspecific, pthread_setspecific): Format with
17915         @deftypefun, and add @safety note.
17916         * manual/signal.texi: Move comments that analyze the above
17917         functions to their home place.
17919 2014-02-03  Allan McRae  <allan@archlinux.org>
17921         * po/sl.po: Update Slovenian translation from translation project.
17923 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
17925         * manual/time.texi (timegm): Add missing blank after @c.
17926         Reported by Joseph Myers <joseph@codesourcery.com>.
17928 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
17930         * manual/check-safety.sh: New.
17931         * manual/Makefile ($(objpfx)stamp-summary): Run it.
17933         * manual/terminal.texi: Document MTASC-safety properties.
17935         * manual/filesys.texi: Document MTASC-safety properties.
17937         * manual/errno.texi: Document MTASC-safety properties.
17939         * manual/intro.texi: Document safety identifiers and
17940         conditionals.
17942         * manual/string.texi (wcstok): Fix prototype.
17943         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
17945         * manual/time.texi: Document MTASC-safety properties.
17947         * manual/string.texi: Document MTASC-safety properties.
17949         * manual/threads.texi: Document MTASC-safety properties.
17951         * manual/stdio.texi: Document MTASC-safety properties.
17953         * manual/syslog.texi: Document MTASC-safety properties.
17955         * manual/sysinfo.texi: Document MTASC-safety properties.
17957         * manual/startup.texi: Document MTASC-safety properties.
17959         * manual/socket.texi: Document MTASC-safety properties.
17961         * manual/signal.texi: Document MTASC-safety properties.
17963 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
17965         * manual/setjmp.texi: Document MTASC-safety properties.
17967         * manual/search.texi: Document MTASC-safety properties.
17969         * manual/resource.texi: Document MTASC-safety properties.
17971         * manual/process.texi: Document MTASC-safety properties.
17973         * manual/platform.texi: Document MTASC-safety properties.
17975         * manual/pipe.texi: Document MTASC-safety properties.
17977         * manual/pattern.texi: Document MTASC-safety properties.
17979         * manual/message.texi: Document MTASC-safety properties.
17981         [BZ #12751]
17982         * manual/memory.texi: Document MTASC-safety properties.
17984         * manual/math.texi: Document MTASC-safety properties.
17986         * manual/locale.texi: Document MTASC-safety properties.
17988         * manual/llio.texi: Document MTASC-safety properties.
17990         * manual/libdl.texi: New.
17992         * manual/lang.texi: Document MTASC-safety properties.
17994         * manual/job.texi: Document MTASC-safety properties.
17996         * manual/getopt.texi: Document MTASC-safety properties.
17998         * manual/ctype.texi: Document MTASC-safety properties.
18000 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
18002         [BZ #16046]
18003         * csu/libc-tls.c (static_map): Remove variable.
18004         (__libc_setup_tls): Use main executable's link map for TLS data.
18005         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18006         casing for LM_ID_BASE and GL(dl_nns).
18007         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18008         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
18009         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18010         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18011         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18012         member.
18013         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18014         l_phnum members.
18016 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
18018         * manual/debug.texi: Document MTASC-safety properties.
18020 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
18022         [BZ #16510]
18023         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18024         of __x86_64__ when disabling x87 inline functions.
18026 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
18028         * manual/charset.texi: Document MTASC-safety properties.
18030         * manual/crypt.texi: Document MTASC-safety properties.
18032         * manual/conf.texi: Document MTASC-safety properties.
18034         * manual/arith.texi: Document MTASC-safety properties.
18036         * manual/argp.texi: Document MTASC-safety properties.
18038         * manual/macros.texi: Introduce macros to document multi
18039         thread, asynchronous signal and asynchronous cancellation
18040         safety properties.
18041         * manual/intro.texi: Introduce the properties themselves.
18043 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18045         * sysdeps/sh/sh4/Makefile: New file.
18047 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
18049         * math/gen-libm-test.pl ($srcdir): New variable.
18050         ($auto_input): Use it.
18052 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18054         [BZ #16506]
18055         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18056         access beyond array bounds when parsing netgroups file.
18058         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18059         the old buffer before realloc.
18061 2014-01-27  Allan McRae  <allan@archlinux.org>
18063         * po/fr.po: Update French translation from translation project.
18065 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18067         * sysdeps/sh/libm-test-ulps: Regenerate.
18069 2014-01-24  David S. Miller  <davem@davemloft.net>
18071         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18073 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18075         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18076         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18078 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18080         [BZ #16474]
18081         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18082         string pointers after reallocation.
18084 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18086         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18087         __SH4A__ instead of __SH_FPU_ANY__.
18089 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18091         * sysdeps/sh/fpu_control.h: New file.
18092         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18093         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18094         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18095         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18096         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18097         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18098         * sysdeps/sh/sys/ucontext.h: Remove.
18099         * sysdeps/sh/sys: Remove directory.
18101 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18103         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18104         s390/sys/ucontext.h.
18105         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18106         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18108 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
18110         [BZ #15605]
18111         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18113 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18115         [BZ#16431]
18116         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18117         Adjust the vDSO correctly for internal calls.
18118         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18120 2014-01-20  Allan McRae  <allan@archlinux.org>
18122         * po/ca.po: Update Catalan translation from translation project.
18124 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
18126         * sysdeps/s390/sotruss-lib.c: New file.
18128 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18130         [BZ#16430]
18131         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
18132         (__GI___gettimeofday): Alias for a different internal symbol to avoid
18133         local calls issues by not having a PLT stub required for IFUNC calls.
18134         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18136 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
18138         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18139         * math/test-fpucw-static.c: Likewise.
18141 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18143         [BZ #16453]
18144         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18146 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18148         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18149         implementation for powerpc.
18151 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
18153         [BZ #14782]
18154         * sysdeps/posix/system.c (__libc_system): Do not enable
18155         asynchronous cancellation.
18157 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18159         [BZ #16427]
18160         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18161         handling only for numbers special also in the IEEE case.
18163 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18165         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18167 2014-01-11  Allan McRae  <allan@archlinux.org>
18169         * po/bg.po: Update Bulgarian translation from translation project.
18171         * po/de.po: Update German translation from translation project.
18173 2014-01-10  Roland McGrath  <roland@hack.frob.com>
18175         * sysdeps/generic/gcc-compat.h: New file.
18177 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18179         * benchtests/asin-inputs: Correct slow inputs.
18180         * benchtests/acos-inputs: Likewise.
18182 2014-01-10  Allan McRae  <allan@archlinux.org>
18184         * po:sv.po: Update Swedish translation from translation project.
18186         * po/vi.po: Update Vietnamese translation from translation project.
18188         * po/eo.po: Update Esperanto translation from translation project.
18190         * po/cs.po: Update Czech translation from translation project.
18192         * po/nl.po: Update Dutch translation from translation project.
18194         * po/pl.po: Update Polish translation from translation project.
18196         * po/ru.po: Update Russian translation from translation project.
18198         * po/uk.po: Update Ukrainian translation from translation project.
18200 2014-01-08  Brooks Moses  <bmoses@google.com>
18202         * elf/dl-load.c: Fix comment typo.
18204 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
18206         * po/header.pot: Rename to...
18207         * po/pot.header: ... this.
18208         * po/Makefile: Use pot.header.
18210 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
18211             Maxim Kuvyrkov  <maxim@kugelworks.com>
18213         [BZ #16394]
18214         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18215         SRC and DEST against LEN.
18217 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18219         [BZ #16414]
18220         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18221         implementation.
18222         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18224 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18226         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18228 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
18230         [BZ #16408]
18231         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18232         for large positive arguments.
18234 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
18236         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18238         * math/auto-libm-test-in: Mark various tests with
18239         xfail-rounding:ldbl-128ibm.
18240         * math/auto-libm-test-out: Regenerated.
18242         [BZ #16407]
18243         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18244         Increase overflow threshold.
18246 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
18248         [BZ #14286]
18249         * stdio-common/vfprintf.c: Check for integer overflow.
18251 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18253         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18254         the first argument and return value of __tls_get_addr_internal.
18256 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18258         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18259         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18261 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18263         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18264         * sysdeps/s390/rtld-global-offsets.sym: New file.
18265         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18266         GLIBC_2.19 symbol.
18267         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18268         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18269         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18270         ... this.
18271         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18272         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18273         ... this.
18274         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18275         Regenerate.
18276         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18277         Regenerate.
18278         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18279         halfs of GPRs for high_gprs contexts.
18280         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18281         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
18282         field.
18283         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18284         uc_flags field.
18285         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18286         64 bit versions:
18287         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18288         for high GPRs (uc_high_gprs) and for future extensions
18289         (__reserved).
18290         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18291         for future extensions (__reserved).
18292         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18293         64 bit versions:
18294         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18295         SC_HIGHGPRS offset definition.
18296         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18297         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18299         * Versions.def: Add GLIBC_2.19 for libpthread.
18300         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18301         siglongjmp for libpthread with GLIBC_2.19 symver.
18302         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18303         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18304         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18305         * sysdeps/s390/__longjmp.c: New file.
18306         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18307         * sysdeps/s390/longjmp.c: New file.
18308         * sysdeps/s390/setjmp.S: New file.
18309         * sysdeps/s390/sigjmp.S: New file.
18310         * sysdeps/s390/v1-longjmp.c: New file.
18311         * sysdeps/s390/v1-setjmp.h: New file.
18312         * sysdeps/s390/v1-sigjmp.c: New file.
18313         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18314         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18315         GLIBC_2.19 version.
18316         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18317         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18318         versioned symbols for ____longjmp_chk.
18319         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18320         Likewise.
18321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18322         Regenerate.
18323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18324         Regenerate.
18325         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18326         Regenerate.
18327         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18328         Regenerate.
18329         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18330         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18331         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18332         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18333         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18334         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18335         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18336         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18337         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18338         * sysdeps/s390/rtld-__longjmp.c: New file.
18339         * sysdeps/s390/rtld-setjmp.S: New file.
18341 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
18343         [BZ #16400]
18344         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18345         Return -__logl (x) for small positive arguments without evaluating
18346         a polynomial.
18348 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
18350         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18351         Rename to ...
18352         (__ptrace_peeksiginfo_args): ... this.
18353         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18354         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18355         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18357 2014-01-06  Allan McRae  <allan@archlinux.org>
18359         * inet/netinet/in.h: Fix typo in comment.
18361 2014-01-05  Andreas Jaeger  <aj@suse.de>
18363         * sysdeps/i386/fpu/libm-test-ulps: Update.
18365 2014-01-05  Allan McRae  <allan@archlinux.org>
18367         * po/libc.pot: Regenerated.
18369         * malloc/memusagestat.c: Fix gettext call formatting.
18371 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
18373         * nscd/nscd.c: Improve usage() output.
18375 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
18377         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18378         * sysdeps/unix/sysv/linux/configure: Regenerated.
18379         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18380         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18382 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
18384         [BZ #16390]
18385         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18386         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18388 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18390         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18391         extra tokens at end of #undef directive.
18392         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18393         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18394         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18396 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
18398         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18400         * math/auto-libm-test-in: Mark various tests with
18401         xfail-rounding:ldbl-128ibm.
18402         * math/auto-libm-test-out: Regenerated.
18404 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
18406         [BZ #16386]
18407         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18408         numbers with subnormal high part when calculating exponent.
18410         [BZ #16385]
18411         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18412         fabs.
18414         [BZ #16384]
18415         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18416         M_LN2l.
18417         (__ieee754_acoshl): Use __log1pl not __log1p.
18419 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
18421         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
18422         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
18423         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
18424         (grow_heap, heap_trim, _int_new_arena, get_free_list)
18425         (reused_arena, arena_get2): Convert to GNU style.
18426         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
18427         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
18428         (memalign_check, __malloc_set_state): Likewise.
18429         * malloc/mallocbug.c (main): Likewise.
18430         * malloc/malloc.c (__malloc_assert, malloc_init_state)
18431         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
18432         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
18433         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
18434         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
18435         (__posix_memalign, malloc_info): Likewise.
18436         * malloc/malloc.h: Likewise.
18437         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
18438         (mallochook, memalignhook, reallochook, mabort): Likewise.
18439         * malloc/mcheck.h: Likewise.
18440         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
18441         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
18442         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
18443         * malloc/morecore.c (__default_morecore): Likewise.
18444         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
18445         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
18446         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
18447         (print_and_abort): Likewise.
18448         * malloc/obstack.h: Likewise.
18449         * malloc/set-freeres.c (__libc_freeres): Likewise.
18450         * malloc/tst-mallocstate.c (main): Likewise.
18451         * malloc/tst-mtrace.c (main): Likewise.
18452         * malloc/tst-realloc.c (do_test): Likewise.
18454 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
18456         [BZ #16366]
18457         * nscd/netgroupcache.c (do_notfound): New function.
18458         (addgetnetgrentX): Use it.
18460         [BZ # 16365]
18461         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
18462         NSS_STATUS_NOTFOUND.
18464 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
18466         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
18467         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18469 2014-01-01  Allan McRae  <allan@archlinux.org>
18471         * scripts/update-copyrights: Update configure input file suffix.
18473         * NEWS: Update copyright year.
18474         * catgets/gencat.c: Likewise.
18475         * csu/version.c: Likewise.
18476         * debug/catchsegv.sh: Likewise.
18477         * debug/pcprofiledump.c: Likewise.
18478         * debug/xtrace.sh: Likewise.
18479         * elf/ldconfig.c: Likewise.
18480         * elf/ldd.bash.in: Likewise.
18481         * elf/pldd.c: Likewise.
18482         * elf/sotruss.ksh: Likewise.
18483         * elf/sprof.c: Likewise.
18484         * iconv/iconv_prog.c: Likewise.
18485         * iconv/iconvconfig.c: Likewise.
18486         * locale/programs/locale.c: Likewise.
18487         * locale/programs/localedef.c: Likewise.
18488         * login/programs/pt_chown.c: Likewise.
18489         * malloc/memusage.sh: Likewise.
18490         * malloc/memusagestat.c: Likewise.
18491         * malloc/mtrace.pl: Likewise.
18492         * manual/libc.texinfo: Likewise.
18493         * nscd/nscd.c: Likewise.
18494         * nss/getent.c: Likewise.
18495         * nss/makedb.c: Likewise.
18496         * posix/getconf.c: Likewise.
18497         * scripts/test-installation.pl: Likewise.
18499         * All files with FSF copyright notices: Update copyright dates
18500         using scripts/update-copyrights.
18501         * intl/plural.c: Regenerated.
18502         * locale/programs/charmap-kw.h: Likewise.
18503         * locale/programs/locfile-kw.h: Likewise.
18505 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
18507         * sysdeps/unix/sysv/linux/configure: Regenerated.
18508         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
18509         the linux/fanotify.h header.
18510         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
18511         HAVE_LINUX_FANOTIFY_H is defined.
18513 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
18515         * benchtests/cos-inputs: New inputs.
18516         * benchtests/sin-inputs: Likewise.
18518         * benchtests/atan-inputs: New inputs. Fix name of multiple
18519         precision fallback inputs.
18521         * benchtests/atanh-inputs: New inputs.
18522         * benchtests/tanh-inputs: Likewise.
18524         * benchtests/acosh-inputs: New inputs.
18525         * benchtests/asinh-inputs: Likewise.
18527         * benchtests/cosh-inputs: New inputs.
18528         * benchtests/sinh-inputs: Likewise.
18530         * benchtests/acos-inputs: Add more inputs.
18531         * benchtests/asin-inputs: Likewise.
18533 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
18535         [BZ #16375]
18536         * manual/arith.texi: Fix spelling.
18537         * manual/charset.texi: Likewise.
18538         * manual/errno.texi: Likewise.
18539         * manual/filesys.texi: Likewise.
18540         * manual/lang.texi: Likewise.
18541         * manual/llio.texi: Likewise.
18542         * manual/locale.texi: Likewise.
18543         * manual/message.texi: Likewise.
18544         * manual/resource.texi: Likewise.
18545         * manual/search.texi: Likewise.
18546         * manual/setjmp.texi: Likewise.
18547         * manual/stdio.texi: Likewise.
18548         * manual/string.texi: Likewise.
18549         * manual/sysinfo.texi: Likewise.
18550         * manual/time.texi: Likewise.
18552 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
18554         * po/sl.po: New file.
18556 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
18558         * .gitignore: Add core/.gdbinit/.gdb_history.
18560 2013-12-27  Allan McRae  <allan@archlinux.org>
18562         [BZ #16369]
18563         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
18564         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
18566 2013-12-24  Brooks Moses  <bmoses@google.com>
18568         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
18569         all compilers that claim C++98 compliance, not just GCC.
18570         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
18571         Likewise.
18573 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
18575         * NEWS: Restore accidentally deleted bug-fix entries.
18577 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
18578             Ondřej Bílka  <neleai@seznam.cz>
18580         [BZ #15073]
18581         * malloc/malloc.c (_int_free): Perform sanity check only if we
18582         have_lock.
18584 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
18586         [BZ #12986]
18587         * manual/stdio.texi (String Input Conversions): Clarify that character
18588         classes are not supported.
18590 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18592         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18594 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
18596         [BZ #16337]
18597         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18598         Calculate results for small negative arguments directly rather
18599         than using reflection formula with special underflow handling.
18601         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
18602         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
18603         sysdeps/unix/bsd/bsd4.4/syscalls.list.
18604         (fchflags): Likewise.
18605         (revoke): Likewise.
18606         (setlogin): Likewise.
18607         (sigaltstack): Likewise.
18608         (wait4): Likewise.
18609         (sigblock): Remove.
18610         (sigsetmask): Likewise.
18611         (wait3): Likewise.
18612         (waitpid): Likewise.
18613         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
18614         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
18615         file.
18616         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
18617         * sysdeps/unix/bsd/Makefile: ... here.
18618         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
18619         * sysdeps/unix/bsd/Versions: ... here.
18620         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
18621         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
18622         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
18623         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
18624         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
18625         * sysdeps/unix/bsd/sigblock.c: ... here.
18626         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
18627         * sysdeps/unix/bsd/sigsetmask.c: ... here.
18628         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
18629         * sysdeps/unix/bsd/sigvec.c: ... here.
18630         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
18631         * sysdeps/unix/bsd/tcdrain.c: ... here.
18632         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
18633         * sysdeps/unix/bsd/tcgetattr.c: ... here.
18634         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
18635         * sysdeps/unix/bsd/tcsetattr.c: ... here.
18636         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
18637         * sysdeps/unix/bsd/wait.c: ... here.
18638         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
18639         * sysdeps/unix/bsd/wait3.c: ... here.
18640         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
18641         * sysdeps/unix/bsd/waitpid.c: ... here.
18643 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
18645         [BZ #16356]
18646         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
18647         round-to-nearest for [!USE_AS_EXPM1L].
18648         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
18649         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
18650         more tests of exp and exp10.  Expect some exp10 tests to miss
18651         exceptions or fail in directed rounding modes.
18652         * math/auto-libm-test-out: Regenerated.
18653         * math/libm-test.inc (exp10_tonearest_test_data): New array.
18654         (exp10_test_tonearest): New function.
18655         (exp10_towardzero_test_data): New array.
18656         (exp10_test_towardzero): New function.
18657         (exp10_downward_test_data): New array.
18658         (exp10_test_downward): New function.
18659         (exp10_upward_test_data): New array.
18660         (exp10_test_upward): New function.
18661         (main): Call the new functions.
18662         * sysdeps/i386/fpu/libm-test-ulps: Update.
18663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18665 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
18667         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
18668         asinh, atan, atan2, atanh, cbrt, cos and cosh.
18669         * math/auto-libm-test-out: Regenerated.
18670         * math/libm-test.inc (acosh_test_data): Add more tests.
18671         (atanh_test_data): Likewise.
18672         (ceil_test_data): Likewise.
18673         (copysign_test_data): Likewise.
18674         * sysdeps/i386/fpu/libm-test-ulps: Update.
18675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18677         * timezone/checktab.awk: Update from tzcode 2013i.
18678         * timezone/private.h: Likewise.
18679         * timezone/scheck.c: Likewise.
18680         * timezone/tzfile.h: Likewise.
18681         * timezone/tzselect.ksh: Likewise.
18682         * timezone/zdump.c: Likewise.
18683         * timezone/zic.c: Likewise.
18685         * math/auto-libm-test-in: Add tests of cpow.
18686         * math/auto-libm-test-out: Regenerated.
18687         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
18688         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18689         mpc_cc_c.
18690         (func_calc_desc): Add mpc_cc_c union field.
18691         (test_functions): Add cpow.
18692         (special_fill_2pi): New function.
18693         (special_real_inputs): Add 2pi.
18694         (calc_generic_results): Handle mpc_cc_c.
18695         * sysdeps/i386/fpu/libm-test-ulps: Update.
18696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18698         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
18699         csqrt, ctan and ctanh.
18700         * math/auto-libm-test-out: Regenerated.
18701         * math/libm-test.inc (TEST_COND_x86_64): New macro.
18702         (TEST_COND_x86): Likewise.
18703         (ccos_test_data): Use AUTO_TESTS_c_c.
18704         (ccosh_test_data): Likewise.
18705         (cexp_test_data): Likewise.
18706         (clog_test_data): Likewise.
18707         (csqrt_test_data): Likewise.
18708         (ctan_test_data): Likewise.
18709         (ctan_tonearest_test_data): Likewise.
18710         (ctan_towardzero_test_data): Likewise.
18711         (ctan_downward_test_data): Likewise.
18712         (ctan_upward_test_data): Likewise.
18713         (ctanh_test_data): Likewise.
18714         (ctanh_tonearest_test_data): Likewise.
18715         (ctanh_towardzero_test_data): Likewise.
18716         (ctanh_downward_test_data): Likewise.
18717         (ctanh_upward_test_data): Likewise.
18718         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18719         mpc_c_c.
18720         (func_calc_desc): Add mpc_c_c union field.
18721         (FUNC_mpc_c_c): New macro.
18722         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
18723         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
18724         ctanh.
18725         (special_fill_min_subnorm_p120): New function.
18726         (special_real_inputs): Add min_subnorm_p120.
18727         (calc_generic_results): Handle mpc_c_c.
18728         * sysdeps/i386/fpu/libm-test-ulps: Update.
18729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18731 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
18733         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
18734         (do_sin_slow): New functions.
18735         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
18736         (cslow2, csloww1, csloww2): Use the new functions.
18738         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
18739         Use M to change sign of result instead of X.  Assume X is
18740         positive.
18741         (csloww1): Likewise.
18742         (__sin): Adjust.
18743         (__cos): Adjust.
18745         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
18746         arguments A and DA.
18747         (__sin): Adjust.
18748         (__cos): Likewise.
18750         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
18751         (__cos): Likewise.
18752         (sloww1): Don't adjust sign of DX.
18753         (csloww1): Likewise.
18754         (sloww2): Use X directly and don't adjust sign of DX.
18755         (csloww2): Likewise.
18757 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18759         * math/auto-libm-test-in: Add tests of cabs and carg.
18760         * math/auto-libm-test-out: Regenerated.
18761         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
18762         (carg_test_data): Likewise.
18763         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18764         mpc_c_f.
18765         (func_calc_desc): Add mpc_c_f union field.
18766         (test_functions): Add cabs and carg.
18767         (calc_generic_results): Handle mpc_c_f.
18769         * sysdeps/powerpc/powerpc32/libgcc-compat.S
18770         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
18771         as a macro and a compat symbol.
18772         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
18773         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
18774         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
18775         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
18776         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
18777         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
18778         not use .hidden.
18779         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
18780         Likewise.
18781         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
18782         Likewise.
18783         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
18784         Likewise.
18785         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
18786         Likewise.
18787         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
18788         Likewise.
18789         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
18790         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
18791         from GLIBC_2.3.2.
18793 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18795         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18797 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18799         * manual/texinfo.tex: Update to version 2013-11-26.10 with
18800         trailing whitespace removed.
18801         * scripts/config.guess: Update to version 2013-11-29.
18802         * scripts/config.sub: Update to version 2013-10-01.
18804         * math/auto-libm-test-in: Add tests of sincos.
18805         * math/auto-libm-test-out: Regenerated.
18806         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
18807         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18808         mpfr_f_11.
18809         (func_calc_desc): Add mpfr_f_11 union field.
18810         (test_functions): Add sincos.
18811         (calc_generic_results): Handle mpfr_f_11.
18812         * sysdeps/i386/fpu/libm-test-ulps: Update.
18813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18815 2013-12-19  Andreas Schwab  <schwab@suse.de>
18817         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
18818         CALL_MCOUNT.
18819         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
18820         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
18821         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
18823 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
18825         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
18826         * sysdeps/i386/fpu/libm-test-ulps: Update.
18827         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18829         [BZ #16293]
18830         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
18831         round-to-nearest mode when using frndint.
18832         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
18833         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
18834         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18835         Likewise.
18836         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
18837         sinh test to fail.
18838         * math/auto-libm-test-out: Regenerated.
18839         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
18840         (TEST_COND_x86): Likewise.
18841         (expm1_tonearest_test_data): New array.
18842         (expm1_test_tonearest): New function.
18843         (expm1_towardzero_test_data): New array.
18844         (expm1_test_towardzero): New function.
18845         (expm1_downward_test_data): New array.
18846         (expm1_test_downward): New function.
18847         (expm1_upward_test_data): New array.
18848         (expm1_test_upward): New function.
18849         (main): Run the new test functions.
18850         * sysdeps/i386/fpu/libm-test-ulps: Update.
18851         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18853         * include/features.h: Update comment documenting feature test
18854         macros.  Mention _DEFAULT_SOURCE in comment.
18855         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
18856         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
18857         _BSD_SOURCE and _SVID_SOURCE.
18858         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
18859         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
18860         !_SVID_SOURCE]: Likewise.
18861         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18862         (__USE_POSIX_IMPLICITLY): Define.
18863         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18864         (_POSIX_SOURCE): Undefine and redefine.
18865         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
18866         (_POSIX_C_SOURCE): Likewise.
18867         * manual/creature.texi (_DEFAULT_SOURCE): Document.
18868         (Feature Test Macros): Update documentation of default features.
18870 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
18872         * benchtests/Makefile: Add bench-strtok.
18873         * benchtests/bench-strtok.c: New file: strtok benchtest.
18875 2013-12-19  Allan McRae  <allan@archlinux.org>
18877         * manual/install.texi: Suppress menu for plain text output.
18878         * INSTALL: Regenerated.
18880 2013-12-18  Brooks Moses  <bmoses@google.com>
18882         [BZ #15846]
18883         * misc/getauxval.c: Include errno.h.
18884         (__getauxval): Set errno to ENOENT if the requested type is not
18885         found.
18886         * misc/sys/auxv.h (getauxval): Document that it may set errno;
18887         don't declare with __attribute_const__.
18888         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
18889         * manual/startup.texi: Document that getauxval sets errno.
18891 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
18893         * math/auto-libm-test-in: Add tests of jn and yn.
18894         * math/auto-libm-test-out: Regenerated.
18895         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
18896         (yn_test_data): Likewise.
18897         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18898         mpfr_if_f.
18899         (func_calc_desc): Add mpfr_if_f union field.
18900         (FUNC_mpfr_if_f): New macro.
18901         (test_functions): Add jn and yn.
18902         (calc_generic_results): Assert type of second input for
18903         mpfr_ff_f.  Handle mpfr_if_f.
18904         (output_for_one_input_case): Disable all checking for arguments
18905         fitting floating-point types in case of an integer argument.
18906         * sysdeps/i386/fpu/libm-test-ulps: Update.
18907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
18910         Don't expect fegetround reference in libm.so.
18912 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
18914         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
18915         $(config-cflags-nofma).
18917 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
18919         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
18920         * math/auto-libm-test-out: Regenerated.
18922         [BZ #16338]
18923         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
18924         to determine exponent and adjust argument to have exponent of -1.
18925         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
18926         log2.
18927         * math/auto-libm-test-out: Regenerated.
18928         * sysdeps/i386/fpu/libm-test-ulps: Update.
18929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18931 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
18933         * manual/probes.texi: Remove cases when per-thread arenas are
18934         disabled.
18936 2013-12-18  Andreas Schwab  <schwab@suse.de>
18938         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
18939         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
18940         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
18941         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
18942         * sysdeps/i386/i686/multiarch/Makefile: Update.
18943         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
18945 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
18947         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
18948         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
18950 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
18952         [BZ #15968]
18953         Support TZ transition times < 00:00:00.
18954         This is needed for version-3 tz-format files; it supports time
18955         stamps past 2037 for America/Godthab (the only entry in the tz
18956         database for which this change is relevant).
18957         * manual/time.texi (TZ Variable): Document transition times
18958         from -167:59:59 through -00:00:01.
18959         * time/tzset.c (tz_rule): Time of day is now signed.
18960         (__tzset_parse_tz): Parse negative time of day.
18962         Document TZ transition times >= 25:00:00.
18963         * manual/time.texi (TZ Variable): Document transition times from
18964         25:00:00 through 167:59:59.  These are already supported, and this
18965         support will help with version-3 tz-format files.
18967         * manual/time.texi (TZ Variable): Modernize North America example
18968         to reflect current (i.e., 2007-and-later) daylight saving rules.
18970         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
18972 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
18974         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
18975         * sysdeps/unix/bsd/bits/stat.h: Likewise.
18976         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
18977         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
18978         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
18979         * sysdeps/unix/bsd/bsdstat.h: Likewise.
18980         * sysdeps/unix/bsd/clock.c: Likewise.
18981         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
18982         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
18983         * sysdeps/unix/bsd/init-posix.c: Likewise.
18984         * sysdeps/unix/bsd/poll.c: Likewise.
18985         * sysdeps/unix/bsd/ptsname.c: Likewise.
18986         * sysdeps/unix/bsd/seekdir.c: Likewise.
18987         * sysdeps/unix/bsd/setegid.c: Likewise.
18988         * sysdeps/unix/bsd/seteuid.c: Likewise.
18989         * sysdeps/unix/bsd/setgid.c: Likewise.
18990         * sysdeps/unix/bsd/setrgid.c: Likewise.
18991         * sysdeps/unix/bsd/setruid.c: Likewise.
18992         * sysdeps/unix/bsd/setsid.c: Likewise.
18993         * sysdeps/unix/bsd/setuid.c: Likewise.
18994         * sysdeps/unix/bsd/sigaction.c: Likewise.
18995         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
18996         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
18997         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
18998         * sysdeps/unix/bsd/telldir.c: Likewise.
18999         * sysdeps/unix/bsd/times.c: Likewise.
19000         * sysdeps/unix/bsd/usleep.c: Likewise.
19002         * misc/Makefile (install-lib): Remove libbsd-compat.a.
19003         ($(objpfx)libbsd-compat.a): Remove rule.
19005         * include/features.h (__FAVOR_BSD): Do not define.
19006         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19007         features conflicting with POSIX.
19008         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19009         (_BSD_SOURCE): Remove description of not being a subset of other
19010         feature test macros.
19011         * manual/job.texi (getpgrp): Do not document BSD version.
19012         (getpgid): Do not document by reference to BSD getpgrp.
19013         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19014         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19015         * signal/signal.h [__FAVOR_BSD]: Likewise.
19016         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19017         instead of making contents conditional on [__FAVOR_BSD].
19018         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19020 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19022         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19024 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
19026         [BZ #16314]
19027         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19028         values below 2**-450, not 2**-500.
19029         * math/auto-libm-test-in: Don't allow spurious underflow from
19030         hypot.
19031         * math/auto-libm-test-out: Regenerated.
19033         [BZ #16316]
19034         [BZ #16330]
19035         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19036         values of ha and hb and sort them after adjusting subnormal
19037         arguments.
19038         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19039         Likewise.
19040         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19041         values of ea and eb and sort them after adjusting subnormal
19042         arguments.
19043         * math/auto-libm-test-in: Do not expect some hypot tests of
19044         subnormals to fail.  Add more hypot tests.
19045         * math/auto-libm-test-out: Regenerated.
19047 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19049         [BZ #13304]
19050         * sysdeps/sh/s_fma.c: New file.
19051         * sysdeps/sh/s_fmaf.c: New file.
19052         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
19053         version.
19054         * sysdeps/sh/Implies: Add sh/soft-fp.
19056 2013-12-16  Roland McGrath  <roland@hack.frob.com>
19058         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
19059         level of indirection to members `objname', `errstring', `malloced'.
19060         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19061         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
19062         it as the __longjmp argument (just pass 1 instead).
19063         (_dl_catch_error): Initialize C with argument pointers and address of
19064         volatile local ERRCODE rather than copying values out of C at return.
19066 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
19068         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19069         * math/auto-libm-test-out: Regenerated.
19070         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19071         (hypot_test_data): Likewise.
19072         (pow_test_data): Likewise.
19073         (pow_tonearest_test_data): Likewise.
19074         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19075         mpfr_ff_f.
19076         (func_calc_desc): Add mpfr_ff_f union field.
19077         (FUNC_mpfr_ff_f): New macro.
19078         (test_functions): Add atan2, hypot and pow.
19079         (special_fill_min): New function.
19080         (special_fill_minus_min): Likewise.
19081         (special_fill_min_subnorm): Likewise.
19082         (special_fill_minus_min_subnorm): Likewise.
19083         (special_real_inputs): Add min, -min, min_subnorm and
19084         -min_subnorm.
19085         (calc_generic_results): Handle mpfr_ff_f.
19086         * sysdeps/i386/fpu/libm-test-ulps: Update.
19087         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19089 2013-12-16  Will Newton  <will.newton@linaro.org>
19091         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19092         (Aligned Memory Blocks): Add documentation for aligned_alloc
19093         and suggest it as an alternative to posix_memalign.
19094         (Hooks for Malloc): Document __memalign_hook is also called
19095         for aligned_alloc.  (Summary of Malloc): Add summary for
19096         aligned alloc.  Document __memalign_hook is also called
19097         for aligned_alloc.
19099 2013-12-16  Will Newton  <will.newton@linaro.org>
19101         * manual/memory.texi (Malloc Examples): Clarify default
19102         alignment documentation.  Suggest posix_memalign rather
19103         than memalign or valloc.
19104         (Aligned Memory Blocks): Remove suggestion to use memalign
19105         or valloc.  Remove obsolete comment about BSD.
19106         Document memalign errno values and mark the function obsolete.
19107         Document posix_memalign returned error codes.  Mark valloc
19108         as obsolete.  (Hooks for Malloc): __memalign_hook is also
19109         called for posix_memalign and valloc.
19110         (Summary of Malloc): Add posix_memalign to function summary.
19111         __memalign_hook is also called for posix_memalign and valloc.
19113 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19115         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19116         TAYLOR_SIN.
19117         (__sin): Adjust.
19118         (__cos): Likewise.
19119         (sloww): Use mynumber union.  Expand ternary operator into
19120         if-else statements.
19121         (cslow): use mynumber union.
19123 2013-12-16  Allan McRae  <allan@archlinux.org>
19125         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19126         * configure: Regenerated.
19128         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19130         [BZ #14120]
19131         * configure.ac: Added --enable-maintainer-mode. Check for
19132         autoconf when enabled.
19133         * configure: Regenerated.
19135         * nscd/nscd.service: New file.
19136         * nscd/nscd.tmpfiles: New file.
19138 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
19140         [BZ #12100]
19141         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19142         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19143         * sysdeps/x86_64/multiarch/strstr.c: ... here.
19144         (strstr): Add __strstr_sse2_unaligned ifunc.
19145         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19146         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19147         (strcasestr): Remove __strcasestr_sse42 ifunc.
19148         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19149         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19150         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19152 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19154         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19155         * sysdeps/sh/bits/fenv.h: ... here.
19156         * sysdeps/sh/sh4/fpu/bits: Remove directory.
19158 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19160         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19162         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19163         hypotf multiarch implementations.
19164         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19165         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19166         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19167         multiarch hypot for PPC64.
19168         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19169         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19170         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19171         multiarch hypotf for PPC64.
19173         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19174         modff multiarch implementations.
19175         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19176         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19177         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19178         multiarch modf for PPC64.
19179         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19181         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19182         multiarch modff for PPC64.
19184         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19185         and logl multiarch implementations.
19186         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19187         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19188         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19189         multiarch logb for PPC64.
19190         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19191         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19192         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19193         multiarch logb for PPC64.
19194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19195         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19197         multiarch logb for PPC64.
19199         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19200         isinff multiarch implementation.
19201         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19202         file.
19203         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19204         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19205         multiarch isinf for PPC64.
19206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19207         file.
19208         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19209         multiarch isinff for PPC64.
19211         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19212         finitef multiarch implementation.
19213         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19214         file.
19215         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19217         multiarch finite for PPC64.
19218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19219         file.
19220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19221         multiarch finitef for PPC64.
19223         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19224         lrint multiarch implementation.
19225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19226         file.
19227         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19228         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19229         multiarch llrint for PPC64.
19230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19231         multiarch lrint for PPC64.
19233         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19234         copysignf multiarch implementation.
19235         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19236         file.
19237         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19238         file.
19239         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19240         multiarch copysign for PPC64.
19241         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19242         multiarch copysignf for PPC64.
19244         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19245         multiarch implementation.
19246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19247         file.
19248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19249         file.
19250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19251         file.
19252         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19253         file.
19254         multiarch llround for PPC64.
19255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19256         multiarch trunc for PPC64.
19257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19258         multiarch truncf for PPC64.
19260         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19261         multiarch implementation.
19262         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19263         file.
19264         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19265         file.
19266         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19267         file.
19268         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19269         file.
19270         multiarch llround for PPC64.
19271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19272         multiarch round for PPC64.
19273         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19274         multiarch roundf for PPC64.
19276         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19277         multiarch implementation.
19278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19279         file.
19280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19281         file.
19282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19283         file.
19284         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19285         file.
19286         multiarch llround for PPC64.
19287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19288         multiarch floor for PPC64.
19289         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19290         multiarch floorf for PPC64.
19292         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19293         multiarch implementation.
19294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19295         file.
19296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19297         file.
19298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19299         file.
19300         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19301         file.
19302         multiarch llround for PPC64.
19303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19304         multiarch ceil for PPC64.
19305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19306         multiarch ceilf for PPC64.
19308         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19309         multiarch implementation.
19310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19311         file.
19312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19313         file.
19314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19315         file.
19316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19317         multiarch llround for PPC64.
19318         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19319         multiarch lround for PPC64.
19321         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19322         multiarch implementation.
19323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19326         file.
19327         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19329         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19330         multiarch isnan for PPC64.
19331         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19332         multiarch isnanf for PPC64.
19334         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19335         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19336         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19337         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19338         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19341         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19342         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19343         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19344         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19346         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19347         multiarch implementations.
19348         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19349         (__libc_ifunc_impl_list): Likewise.
19350         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19351         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19352         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19353         multiarch stpcpy for PPC64.
19355         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19356         multiarch implementations.
19357         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19358         (__libc_ifunc_impl_list): Likewise.
19359         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19360         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19361         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19362         multiarch strcpy for PPC64.
19364         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19365         redefine function name.
19366         (_wordcopy_fwd_dest_aligned): Likewise.
19367         (_wordcopy_bwd_aligned): Likewise.
19368         (_wordcopy_bwd_dest_aligned): Likewise.
19369         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19370         multiarch implementations.
19371         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19372         (__libc_ifunc_impl_list): Likewise.
19373         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19374         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19375         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19376         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19377         multiarch wcscpy for PPC64.
19379         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19380         multiarch implementations.
19381         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19382         (__libc_ifunc_impl_list): Likewise.
19383         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19384         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19385         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19386         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19387         multiarch wcscpy for PPC64.
19389         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19390         multiarch implementations.
19391         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19392         (__libc_ifunc_impl_list): Likewise.
19393         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19394         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19395         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19396         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19397         multiarch wcsrchr for PPC64.
19399         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19400         multiarch implementations.
19401         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19402         (__libc_ifunc_impl_list): Likewise.
19403         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19404         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19405         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19406         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19407         multiarch wcschr for PPC64.
19409         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19410         multiarch implementations.
19411         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19412         (__libc_ifunc_impl_list): Likewise.
19413         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19414         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19415         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19416         multiarch strchrnul for PPC64.
19418         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19419         implementations.
19420         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19421         (__libc_ifunc_impl_list): Likewise.
19422         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
19423         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
19424         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
19425         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
19426         strchr for PPC64.
19428         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
19429         implementations.
19430         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19431         (__libc_ifunc_impl_list): Likewise.
19432         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
19433         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
19434         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
19435         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
19436         strncmp for PPC64.
19438         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
19439         multiarch implementations.
19440         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19441         (__libc_ifunc_impl_list): Likewise.
19442         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
19443         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
19444         strncasecmp for PPC64.
19445         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
19446         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
19447         multiarch strncasecmp_l for PPC64.
19449         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
19450         multiarch implementations.
19451         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19452         (__libc_ifunc_impl_list): Likewise.
19453         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
19454         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
19455         multiarch strcasecmp for PPC64.
19456         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
19457         file.
19458         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
19459         multiarch strcasecmp_l for PPC64.
19461         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
19462         implementations.
19463         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19464         (__libc_ifunc_impl_list): Likewise.
19465         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
19466         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
19467         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
19468         strnlen for PPC64.
19470         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
19471         implementations.
19472         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19473         (__libc_ifunc_impl_list): Likewise.
19474         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
19475         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
19476         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
19477         strlen for PPC64.
19479         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
19480         implementations.
19481         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19482         (__libc_ifunc_impl_list): Likewise.
19483         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
19484         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
19485         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
19486         rawmemrchr for PPC64.
19488         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
19489         implementation.
19490         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19491         (__libc_ifunc_impl_list): Likewise.
19492         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
19493         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
19494         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
19495         memrchr for PPC64.
19497         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
19498         implementation.
19499         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19500         (__libc_ifunc_impl_list): Likewise.
19501         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
19502         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
19503         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
19504         memchr for PPC64.
19506         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
19507         implementation.
19508         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19509         (__libc_ifunc_impl_list): Likewise.
19510         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
19511         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
19512         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
19513         mempcpy for PPC64.
19515         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
19516         avoid cretion of __bzero symbol.
19517         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
19518         Likewise.
19519         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
19520         Likewise.
19521         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
19522         Likewise.
19523         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
19524         multiarch implementations.
19525         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19526         (__libc_ifunc_impl_list): Likewise.
19527         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
19528         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
19529         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
19530         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19531         bzero for PPC32.
19532         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
19533         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
19534         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
19535         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
19536         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
19537         memset for PPC64.
19538         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
19540         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
19541         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
19542         implementations.
19543         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19544         (__libc_ifunc_impl_list): Likewise.
19545         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
19546         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
19547         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
19548         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
19549         memcmp for PPC64.
19551         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
19552         multiarch for POWER/PPC64.
19553         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
19554         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
19555         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
19556         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
19557         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
19558         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
19559         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
19560         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
19561         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
19562         memcpy for PPC64.
19564         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
19565         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
19566         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
19567         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
19568         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
19569         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
19570         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
19571         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
19572         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
19573         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
19574         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
19575         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
19576         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
19577         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
19578         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
19579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
19581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
19582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
19583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
19584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
19585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
19587 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19589         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
19591 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
19593         * benchtests/Makefile (bench): Add exp2 and log2.
19594         (LDLIBS-bench-exp2): Add -lm.
19595         (LDLIBS-bench-log2): Likewise.
19596         * benchtests/exp2-inputs: New inputs file.
19597         * benchtests/log2-inputs: New inputs file.
19598         * benchtests/log-inputs: Add new inputs.
19599         * benchtests/tan-inputs: Likewise.
19601 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
19603         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
19604         definition...
19605         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
19606         (csloww2): ... from here.
19608         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
19609         instead of structures.
19610         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
19611         (POLYNOMIAL): Likewise.
19612         (TAYLOR_SLOW): Likewise.
19613         (__sin): Likewise.
19614         (__cos): Likewise.
19615         (slow1): Likewise.
19616         (slow2): Likewise.
19617         (sloww): Likewise.
19618         (sloww1); Likewise.
19619         (sloww2): Likewise.
19620         (bsloww1): Likewise.
19621         (bsloww2): Likewise.
19622         (cslow2): Likewise.
19623         (csloww): Likewise.
19624         (csloww1): Likewise.
19625         (csloww2): Likewise.
19627 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
19629         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
19630         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
19631         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
19632         * malloc/hooks.c (realloc_check): Likewise.
19634         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
19635         * malloc/arena.c: Remove PER_THREAD conditional.
19636         [!PER_THREAD]: Remove code.
19637         (ptmalloc_unlock_all2): Likewise.
19638         (ptmalloc_init): Likewise.
19639         (_int_new_arena): Likewise.
19640         (arena_get2): Likewise.
19641         * malloc/hooks.c (__malloc_get_state): Likewise.
19642         (__malloc_set_state): Likewise.
19643         * malloc/malloc.c: Likewise.
19644         (struct malloc_state): Likewise.
19645         (struct malloc_par): Likewise.
19646         (__libc_realloc): Likewise.
19647         (__libc_mallopt): Likewise.
19649 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19651         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
19653 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
19655         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
19656         macro to a function.  Check for zero perturb_byte.
19657         (_int_malloc, _int_free): Remove zero perturb_byte checks.
19659         * malloc/malloc.c: (force_reg): Remove.
19660         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
19661         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
19662         force_reg by atomic_forced_read.
19663         * malloc/arena.c (ptmalloc_init): Likewise.
19664         * malloc/hooks.c (top_check): Likewise.
19666 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19668         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19670 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
19672         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
19674 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
19676         * math/auto-libm-test-in: Add tests of lgamma.
19677         * math/auto-libm-test-out: Regenerated.
19678         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
19679         (M_LOG_2_SQRT_PIl): Likewise.
19680         (lgamma_test_data): Use AUTO_TESTS_f_f1.
19681         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19682         mpfr_f_f1.
19683         (func_calc_desc): Add mpfr_f_f1 union field.
19684         (ARGS1): New macro.
19685         (ARGS2): Likewise.
19686         (ARGS3): Likewise.
19687         (ARGS4): Likewise.
19688         (RET1): Likewise.
19689         (RET2): Likewise.
19690         (CALC): Likewise.
19691         (FUNC): Likewise.
19692         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
19693         (test_functions): Add lgamma.
19694         (calc_generic_results): Handle mpfr_f_f1.
19695         * sysdeps/i386/fpu/libm-test-ulps: Update.
19696         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19698 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19700         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
19701         __mpn_add_n for PowerPC64/POWER7.
19702         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
19703         __mpn_sub_n for PowerPC64/POWER7.
19705         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
19706         __mpn_addmul_1 for PowerPC64.
19707         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
19708         __mpn_submul_1 for PowerPC64.
19709         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
19710         for PowerPC64.
19711         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
19712         for PowerPC64.
19714 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
19716         [BZ #15089]
19717         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
19719 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19721         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
19723         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
19724         add multiarch folders.
19725         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
19726         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
19727         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
19728         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
19729         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
19730         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
19731         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
19732         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
19733         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
19734         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
19735         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
19736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
19737         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
19738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
19739         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
19740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
19741         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
19743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19744         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
19745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
19746         New file.
19747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
19748         New file.
19749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
19750         multiarch __ieee754_hypot for PowerPC32.
19751         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
19752         New file.
19753         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
19754         New file.
19755         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
19756         multiarch __ieee754_hypotf for PowerPC32.
19758         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
19759         long_double_symbol only if __logbl is defined.
19760         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
19761         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
19762         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
19763         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
19764         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
19765         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
19766         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
19767         path for implementation.
19768         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
19769         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
19770         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
19771         logb, and logbl multiarch implementations for PowerPC32.
19772         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
19773         file.
19774         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
19775         file.
19776         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
19777         multiarch logb for PowerPC32.
19778         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
19779         file.
19780         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
19781         file.
19782         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
19783         multiarch logbf for PowerPC32.
19784         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
19785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
19786         file.
19787         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
19788         multiarch logbl implementation for PowerPC32.
19790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
19791         and modff multiarch implementations.
19792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
19793         New file.
19794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
19795         New file.
19796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
19797         multiarch modf for PowerPC32.
19798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
19799         New file.
19800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
19801         New file.
19802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
19803         multiarch modff for PowerPC32.
19805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
19806         and lrintf multiarch implementations.
19807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
19808         New file.
19809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
19810         New file.
19811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
19812         multiarch lrint for PowerPC32.
19813         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
19814         file: multiarch lrintf for PowerPC32.
19816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
19817         and lroundf multiarch implementations.
19818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
19819         New file.
19820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
19821         New file.
19822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
19823         New file.
19824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
19825         multiarch lround for PowerPC32.
19826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
19827         file: multiarch lroundf for PowerPC32.
19829         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
19830         copysign and copysignf multiarch implementations.
19831         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
19832         New file.
19833         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
19834         New file.
19835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
19836         file: multiarch copysign for PowerPC32.
19837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
19838         file: multiarch copysignf for PowerPC32.
19840         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
19841         and truncf multiarch implementations.
19842         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
19843         New file.
19844         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
19845         file.
19846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
19847         multiarch trunc for PowerPC32.
19848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
19849         New file.
19850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
19851         New file.
19852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
19853         multiarch truncf for PowerPC32.
19855         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
19856         and roundf multiarch implementations.
19857         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
19858         New file.
19859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
19860         file.
19861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
19862         multiarch round for PowerPC32.
19863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
19864         New file.
19865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
19866         New file.
19867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
19868         multiarch roundf for PowerPC32.
19870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
19871         and floorf multiarch implementations.
19872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
19873         New file.
19874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
19875         file.
19876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
19877         multiarch floor for PowerPC32.
19878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
19879         New file.
19880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
19881         New file.
19882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
19883         multiarch floorf for PowerPC32.
19885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
19886         and ceilf multiarch implementations.
19887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
19888         New file.
19889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
19890         file.
19891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
19892         multiarch ceil for PowerPC32.
19893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
19894         New file.
19895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
19896         file.
19897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
19898         multiarch ceilf for PowerPC32.
19900         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
19901         is defined.
19902         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
19903         FINITEF is defined.
19904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
19905         and finitef multiarch implementations.
19906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
19907         New file.
19908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
19909         file.
19910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
19911         multiarch finite for PowerPC32.
19912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
19913         New file.
19914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
19915         file: multiarch finitef for PowerPC32.
19917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
19918         and isinff multiarch implementations.
19919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
19920         file.
19921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
19922         file.
19923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
19924         multiarch isinf for PowerPC32.
19925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
19926         New file.
19927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
19928         multiarch isinff for PowerPC32.
19930         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
19931         alias when __isnan is defined.
19932         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
19933         and isnanf multiarch implementations.
19934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
19935         file.
19936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
19937         file.
19938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
19939         file.
19940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
19941         file.
19942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
19943         multiarch isnan for PowerPC32.
19944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
19945         New file.
19946         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
19947         New file.
19948         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
19949         multiarch isnanf for PowerPC32.
19951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
19952         and sqrtf multiarch implementations.
19953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
19954         file.
19955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
19956         file.
19957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
19958         multiarch sqrt for PowerPC32.
19959         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
19960         file.
19961         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
19962         file.
19963         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
19964         multiarch sqrtf for PowerPC32.
19966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
19967         and llroundf multiarch implementations.
19968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
19969         New file.
19970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
19971         New file.
19972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
19973         New file.
19974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
19975         file: multiarch llround for PowerPC32.
19976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
19977         file: multiarch llroundf for PowerPC32.
19979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
19980         multiarch PowerPC32 fpu implementations.
19981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
19982         New file.
19983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
19984         New file.
19985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
19986         multiarch llrint for PowerPC32.
19987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
19988         New file.
19989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
19990         New file.
19991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
19992         file.
19994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
19996         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
19997         file.
19998         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
19999         file.
20000         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20001         file.
20002         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20003         multiarch wordcopy for PPC32.
20004         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20005         wordcopy objects.
20006         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20007         (__libc_ifunc_impl_list): Likewise.
20008         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20009         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20010         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20011         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20012         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20013         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20015         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20016         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20017         file.
20018         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20019         file.
20020         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20021         file.
20022         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20023         multiarch wcscpy for PPC32.
20024         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20025         multiarch objects.
20026         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20027         (__libc_ifunc_impl_list): Likewise.
20028         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20029         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20030         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20031         sysdeps/powerpc/power6/wcscpy.c.
20033         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20034         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20035         file.
20036         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20037         file.
20038         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20039         file.
20040         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20041         multiarch wcsrchr for PPC32.
20042         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20043         multiarch objects.
20044         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20045         (__libc_ifunc_impl_list): Likewise.
20046         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20047         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20048         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20049         sysdeps/powerpc/power6/wcsrchr.c.
20051         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20052         file.
20053         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20054         file.
20055         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20056         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20057         multiarch wcschr for PPc32.
20058         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20059         multiarch objects.
20060         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20061         (__libc_ifunc_impl_list): Likewise.
20062         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20063         * sysdeps/powerpc/power6/wcschr.c: ... to here.
20064         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20065         sysdeps/powerpc/power6/wcschr.c.
20067         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20068         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20069         file.
20070         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20071         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20072         file: multiarch strchr for PPC32.
20073         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20074         multiarch objects.
20075         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20076         (__libc_ifunc_impl_list): Likewise.
20078         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20079         name.
20080         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20081         file.
20082         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20083         file.
20084         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20085         multiarch strchrnul for PPC32.
20086         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20087         multiarch objects.
20088         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20089         (__libc_ifunc_impl_list): Likewise.
20091         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20092         file.
20093         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20094         multiarch strncasecmp for PPC32.
20095         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20096         file.
20097         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20098         multiarch strncasecmp_l for PPC32.
20099         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20100         strncasecmp multiarch objects.
20101         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20102         (__libc_ifunc_impl_list): Likewise.
20104         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20105         file.
20106         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20107         multiarch strncasecmp for PPC32.
20108         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20109         New file.
20110         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20111         multiarch strcasecmp_l for PPC32.
20112         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20113         multiarch objects.
20114         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20115         (__libc_ifunc_impl_list): Likewise.
20117         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20118         file.
20119         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20120         file.
20121         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20122         multiarch strncmp for PPC32.
20123         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20124         multiarch objects.
20125         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20126         (__libc_ifunc_impl_list): Likewise.
20128         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20129         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20130         file.
20131         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20132         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20133         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20134         multiarch objects.
20135         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20136         (__libc_ifunc_impl_list): Likewise.
20138         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20139         file.
20140         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20141         file.
20142         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20143         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20144         multiarch objects.
20145         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20146         (__libc_ifunc_impl_list): Likewise.
20148         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20149         file.
20150         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20151         file.
20152         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20153         multiarch rawmemchr for PPC32.
20154         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20155         multiarch objects.
20156         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20157         (__libc_ifunc_impl_list): Likewise.
20159         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20160         file.
20161         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20162         file.
20163         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20164         file: memrchr multiarch for PPC32.
20165         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20166         multiarch objects.
20167         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20168         (__libc_ifunc_impl_list): Likewise.
20170         * string/memchr.c (__memchr): Using macro to redefine symbol name.
20171         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20172         file.
20173         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20174         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20175         multiarch memchr for PPC32.
20176         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20177         multiarch objects.
20178         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20179         (__libc_ifunc_impl_list): Likewise.
20181         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20182         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20183         file.
20184         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20185         file.
20186         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20187         file: multiarch mempcpy for PPC32.
20188         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20189         multiarch objects.
20190         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20191         (__libc_ifunc_impl_list): Likewise.
20193         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20194         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20195         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20196         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20197         multiarch bzero for PPC32.
20198         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20199         file.
20200         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20201         file.
20202         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20203         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20204         file: multiarch memset for PPC32.
20205         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20206         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20207         memset multiarch objects.
20208         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20209         (__libc_ifunc_impl_list): Likewise.
20211         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20212         file.
20213         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20214         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20215         memcmp for PPC32.
20216         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20217         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20218         multiarch objects.
20219         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20220         (__libc_ifunc_impl_list): Likewise.
20222         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20223         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20224         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20225         file.
20226         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20227         file.
20228         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20229         file.
20230         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20231         multiarch memcpy for PPC32.
20232         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20233         multiarch objects.
20234         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20235         (__libc_ifunc_impl_list): Likewise.
20237         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
20238         support multiarch for POWER/PPC32.
20239         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20240         Likewise.
20241         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20243         Implies file to make multiarch folder appers before the fpu and
20244         default folder for power4 configuration.
20246 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
20248         * scripts/bench.pl: Append volatile keyword to type.
20250 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20252         * sysdeps/sh/sotruss-lib.c: New file.
20253         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20255 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20257         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20259 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
20261         [BZ #6810]
20262         * math/w_tgamma.c: Include <errno.h>.
20263         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
20264         * math/w_tgammaf.c: Include <errno.h>.
20265         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
20266         * math/w_tgammal.c: Include <errno.h>.
20267         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
20268         * math/auto-libm-test-in: Do not allow missing errno on tgamma
20269         underflow.  Add more tgamma tests.
20270         * math/auto-libm-test-out: Regenerated.
20271         * sysdeps/i386/fpu/libm-test-ulps: Update.
20272         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20274         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20275         sin, sinh, tan, tanh, tgamma, y0 and y1.
20276         * math/auto-libm-test-out: Regenerated.
20277         * math/libm-test.inc (TEST_COND_x86_64): New macro.
20278         (TEST_COND_x86): Likewise.
20279         (M_E2l): Remove macro.
20280         (M_E3l): Likewise.
20281         (M_2_SQRT_PIl): Likewise.
20282         (M_SQRT_PIl): Likewise.
20283         (M_1_DIV_El): Likewise.
20284         (log_test_data): Use AUTO_TESTS_f_f.
20285         (log10_test_data): Likewise.
20286         (log1p_test_data): Likewise.
20287         (log2_test_data): Likewise.
20288         (sin_test_data): Likewise.
20289         (sin_tonearest_test_data): Likewise.
20290         (sin_towardzero_test_data): Likewise.
20291         (sin_downward_test_data): Likewise.
20292         (sin_upward_test_data): Likewise.
20293         (sinh_test_data): Likewise.
20294         (sinh_tonearest_test_data): Likewise.
20295         (sinh_towardzero_test_data): Likewise.
20296         (sinh_downward_test_data): Likewise.
20297         (sinh_upward_test_data): Likewise.
20298         (tan_test_data): Likewise.
20299         (tan_tonearest_test_data): Likewise.
20300         (tan_towardzero_test_data): Likewise.
20301         (tan_downward_test_data): Likewise.
20302         (tan_upward_test_data): Likewise.
20303         (tanh_test_data): Likewise.
20304         (tgamma_test_data): Likewise.
20305         (y0_test_data): Likewise.
20306         (y1_test_data): Likewise.
20307         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20308         (special_real_inputs): Add pi/4.
20309         * sysdeps/i386/fpu/libm-test-ulps: Update.
20310         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20312 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20314         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20315         "longjmp_target" static probes.
20316         (__longjmp): Rename to __longjmp_symbol.
20317         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20318         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20319         on which longjmp to generate.
20320         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20321         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20322         probe.
20323         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20324         (__sigjmp_save): Rename to __sigjmp_save_symbol.
20325         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20326         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20327         and __sigjmp_save_symbol based on which sigsetjmp to generated.
20328         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20330         __longjmp_symbol based on which __longjmp to generate.
20331         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20332         probe.
20333         (setjmp): Rename to setjmp_symbol.
20334         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20335         (_setjmp): Rename to _setjmp_symbol.
20336         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20337         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20338         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20339         which setjmp to generate.
20340         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20341         "longjmp_target" static probes.
20343 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20345         * benchtests/README: Add note about output arguments.
20346         * benchtests/bench-sincos.c: Remove file.
20347         * benchtests/sincos-inputs: New file.
20348         * scripts/bench.pl: Identify output arguments and define
20349         static variables for them.
20351         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20353         [BZ #15941]
20354         * Makefile (INSTALL): Add install-plain.texi as the primary
20355         dependency.
20356         * manual/install-plain.texi: New file.
20357         * manual/install.texi: Include node directive only for
20358         non-plaintext output.
20360 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
20362         * stdlib/longlong.h: Update from GCC.
20364         [BZ #6807]
20365         [BZ #15901]
20366         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20367         * math/w_j0f.c (y0f): Likewise.
20368         * math/w_j0l.c (__y0l): Likewise.
20369         * math/w_j1.c (y1): Likewise.
20370         * math/w_j1f.c (y1f): Likewise.
20371         * math/w_j1l.c (__y1l): Likewise
20372         * math/w_jn.c (yn): Likewise.
20373         * math/w_jnf.c (ynf): Likewise.
20374         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20375         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
20376         value for Bessel function domain errors outside _SVID_ mode.
20377         Adjust sign of return value for yn (negative integer, 0).
20378         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20379         by zero in return for negative x and set sign appropriately for
20380         negative n.
20381         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20382         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20383         * math/libm-test.inc (y0_test_data): Add more tests and adjust
20384         expectations in error cases.
20385         (y1_test_data): Likewise.
20386         (yn_test_data): Likewise.
20387         * sysdeps/i386/fpu/libm-test-ulps: Update.
20388         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20390 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20392         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20393         "64" to "64-v1".  Add "64-v2".
20394         (abi-64-options): Rename to ...
20395         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
20396         (abi-64-condition): Rename to ...
20397         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
20398         (abi-64-ld-soname): Rename to ...
20399         (abi-64-v1-ld-soname): ... this.
20400         (abi-64-v2-options): Define.
20401         (abi-64-v2-condition): Likewise.
20402         (abi-64-v2-ld-soname): Likewise.
20403         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20404         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20409 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20410             Alan Modra  <amodra@gmail.com>
20412         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20413         New versions for use with the ELFv2 ABI.
20414         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20415         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20416         declaration.
20417         (struct La_ppc64v2_retval): Likewise.
20418         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20419         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
20420         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
20421         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
20422         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
20423         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
20424         Do not save or restore CR.
20425         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
20426         (_dl_profile_resolve): Do no save or restore CR.  Support extended
20427         return values for ELFv2 ABI.  Fix location of FPR return registers.
20428         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
20429         updated values for _CALL_ELF == 2.
20430         (La_regs, La_retval, int_retval): Likewise.
20432 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20434         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
20435         (FRAME_MIN_SIZE_PARM): Likewise.
20436         (FRAME_BACKCHAIN): Likewise.
20437         (FRAME_CR_SAVE): Likewise.
20438         (FRAME_LR_SAVE): Likewise.
20439         (FRAME_TOC_SAVE): Likewise.
20440         (FRAME_PARM_SAVE): Likewise.
20441         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
20442         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
20443         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20444         (call_mcount_parm_offset): New macro.
20445         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
20446         (PROF): Use symbolic stack frame offsets.
20447         (TAIL_CALL_SYSCALL_ERROR): Likewise.
20448         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
20449         Redefine in terms of FRAME_MIN_SIZE.
20450         (_dl_runtime_resolve): Use symbolic stack frame offsets.
20451         (_dl_profile_resolve): Likewise.  Update comment.
20452         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
20453         symbols stack frame offsets.
20454         (__sigsetjmp): Likewise.
20455         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
20456         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
20457         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
20458         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
20460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
20461         (FRAME_BACKCHAIN): Remove.
20462         (FRAME_CR_SAVE): Likewise.
20463         (FRAME_LR_SAVE): Likewise.
20464         (FRAME_COMPILER_DW): Likewise.
20465         (FRAME_LINKER_DW): Likewise.
20466         (FRAME_TOC_SAVE): Likewise.
20467         (FRAME_PARM_SAVE): Likewise.
20468         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
20469         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
20470         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
20471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
20472         (CHECK_SP): Use symbolic stack frame offsets.
20473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
20474         zone" instead of caller's parameter save area for temp storage.
20475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
20476         Likewise.  Also, use symbolic stack frame offsets.
20477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
20478         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
20479         our own stack frame instead of the caller's.
20480         (__socket): Use symbolic stack frame offsets.
20482 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20483             Alan Modra  <amodra@gmail.com>
20485         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
20486         Define.
20487         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
20488         (PPC64_LOCAL_ENTRY_OFFSET): Define.
20489         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
20490         New function.
20491         (elf_machine_fixup_plt): Call it.
20492         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
20493         reloc arguments.
20494         (elf_machine_rela): Update call to elf_machine_plt_conflict.
20495         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20496         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
20497         r2 before calling target.
20499 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20500             Alan Modra  <amodra@gmail.com>
20502         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
20503         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
20504         versions of macros to support ELFv2 ABI.
20505         (LOCALENTRY): New macro.
20506         (ENTRY, EALIGN): Use it.
20507         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
20508         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
20509         fall through into ENTRY entry point.
20510         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
20511         Only define if _CALL_ELF != 2.
20513         (elf_machine_matches_host): Verify ABI version matches.
20514         (RTLD_START): Use LOCALENTRY.
20515         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
20516         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
20517         (PLT_ENTRY_WORDS): New macro.
20518         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
20519         (elf_machine_runtime_setup): Support ELFv2 ABI.
20520         (elf_machine_fixup_plt): Likewise.
20521         (elf_machine_plt_conflict): Likewise.
20522         (resolve_ifunc): Likewise.
20523         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
20524         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
20525         Likewise.
20526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
20527         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
20528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20529         (makecontext): Support ELFv2 ABI.
20530         * elf/elf.h (EF_PPC64_ABI): Define.
20532 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20534         * sysdeps/powerpc/powerpc64/sysdep.h
20535         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
20536         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
20537         (ENTRY) [ASSEMBLER]: ... but instead here ...
20538         (EALIGN) [ASSEMBLER]: ... and here.
20539         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
20540         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
20541         (ENTRY_2) [!ASSEMBLER]: Use it.
20542         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
20543         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
20544         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
20545         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
20546         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
20547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
20548         Use PPC64_LOAD_FUNCPTR.
20550         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
20552 2013-12-04  Alan Modra  <amodra@gmail.com>
20554         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
20555         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
20556         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
20557         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
20559         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
20560         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
20561         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
20562         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
20563         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
20564         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
20566 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
20569         (__makecontext): Fix incorrect CFI when backtracing out of
20570         context created via makecontext.
20571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
20572         (__setcontext): Fix incorrect CFI during switch to new context.
20573         (__novec_setcontext): Likewise.
20575 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
20577         [BZ #4772]
20578         * time/strptime_l.c (__strptime_internal): Allow modifiers
20579         in strptime.
20580         * time/tst-strptime.c (day_tests): Add testcase.
20582 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20584         * scripts/bench.pl: Skip over blank lines.
20586 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
20588         [BZ #926]
20589         * manual/time.texi (Calendar Time): Clarify what timezone functions
20590         use.
20592 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20594         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20596 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
20598         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
20599         implementation.
20600         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
20601         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
20602         * debug/memset_chk.c (__memset_chk): Likewise.
20603         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
20604         * debug/strncpy_chk.c: Likewise.
20606 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
20608         [BZ #15268]
20609         [BZ #15425]
20610         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
20611         (__ieee754_exp): For possibly underflowing results, check size of
20612         result and force underflow exception if required.
20613         * math/auto-libm-test-in: Add more tests of exp.
20614         * math/auto-libm-test-out: Regenerated.
20615         * sysdeps/i386/fpu/libm-test-ulps: Update.
20616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20618         [BZ #16283]
20619         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
20620         * math/w_exp2f.c (__exp2f): Likewise.
20621         * math/w_exp2l.c (__exp2l): Likewise.
20622         * math/auto-libm-test-in: Do not allow missing errno on exp2
20623         underflow.
20624         * math/auto-libm-test-out: Regenerated.
20626 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
20628         [BZ #16274]
20629         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
20630         handle filename validation.
20631         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
20632         (do_open): Delete.
20634 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
20636         [BZ #6786]
20637         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
20638         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
20639         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
20640         <float.h>.
20641         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
20642         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
20643         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20644         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
20645         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20646         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
20647         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
20648         * math/auto-libm-test-in: Don't allow missing errno from erfc.
20649         Add more erfc tests.
20650         * math/auto-libm-test-out: Regenerated.
20651         * sysdeps/i386/fpu/libm-test-ulps: Update.
20652         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20654         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
20655         exp2, expm1, j0 and j1.
20656         * math/auto-libm-test-out: Regenerated.
20657         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
20658         (erfc_test_data): Likewise.
20659         (exp_test_data): Likewise.
20660         (exp_tonearest_test_data): Likewise.
20661         (exp_towardzero_test_data): Likewise.
20662         (exp_downward_test_data): Likewise.
20663         (exp_upward_test_data): Likewise.
20664         (exp10_test_data): Likewise.
20665         (exp2_test_data): Likewise.
20666         (expm1_test_data): Likewise.
20667         (j0_test_data): Likewise.
20668         (j1_test_data): Likewise.
20669         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
20670         (input_flag_type): Add flag_xfail_rounding.
20671         (input_flags): Add xfail-rounding.
20672         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
20673         (output_for_one_input_case): Handle flag_xfail_rounding.
20674         * sysdeps/i386/fpu/libm-test-ulps: Update.
20675         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20677 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
20679         [BZ #16289]
20680         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
20681         division by 0.
20683 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
20685         [BZ #16195]
20686         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
20687         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
20688         (STAP_PROBE0): New macro.
20689         (STAP_PROBE1): Likewise.
20690         (STAP_PROBE2): Likewise.
20691         (STAP_PROBE3): Likewise.
20692         (STAP_PROBE4): Likewise.
20694 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
20696         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
20698 2013-12-02  Steve Ellcey  <sellcey@mips.com>
20700         * benchtests/Makefile (bench): Add sqrt.
20701         (LDLIBS-bench-sqrt): New.
20702         * benchtests/sqrt-input: New.
20704 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
20706         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
20707         (GAIH_EAI): Likewise.
20708         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
20709         (gaih_inet): Likewise.
20710         (getaddrinfo): Don't use GAIH_EAI.
20712         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
20713         (struct gaih): Remove definition.
20715 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
20717         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
20718         Use HERRNOP directly.
20720 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20722         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20724 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
20726         * math/gen-auto-libm-tests.c (test_functions): Add more
20727         single-argument functions.
20728         (special_fill_pi_2): New function.
20729         (special_fill_minus_pi_2): Likewise.
20730         (special_fill_pi_6): Likewise.
20731         (special_fill_minus_pi_6): Likewise.
20732         (special_fill_pi_3): Likewise.
20733         (special_fill_2pi_3): Likewise.
20734         (special_fill_e): Likewise.
20735         (special_fill_1_e): Likewise.
20736         (special_fill_e_minus_1): Likewise.
20737         (special_real_inputs): Add more special inputs.
20738         (output_for_one_input_case): Do not require ERANGE on underflow to
20739         zero if round-to-nearest result does not underflow to zero, unless
20740         exact results required.
20741         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
20742         atan, atanh, cbrt, cos and cosh.
20743         * math/auto-libm-test-out: Regenerated.
20744         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
20745         (acos_tonearest_test_data): Likewise.
20746         (acos_towardzero_test_data): Likewise.
20747         (acos_downward_test_data): Likewise.
20748         (acos_upward_test_data): Likewise.
20749         (acosh_test_data): Likewise.
20750         (asin_test_data): Likewise.
20751         (asin_tonearest_test_data): Likewise.
20752         (asin_towardzero_test_data): Likewise.
20753         (asin_upward_test_data): Likewise.
20754         (asinh_test_data): Likewise.
20755         (atan_test_data): Likewise.
20756         (atanh_test_data): Likewise.
20757         (cbrt_test_data): Likewise.
20758         (cos_test_data): Likewise.
20759         (cos_tonearest_test_data): Likewise.
20760         (cos_towardzero_test_data): Likewise.
20761         (cos_downward_test_data): Likewise.
20762         (cos_upward_test_data): Likewise.
20763         (cosh_test_data): Likewise.
20764         (cosh_tonearest_test_data): Likewise.
20765         (cosh_towardzero_test_data): Likewise.
20766         (cosh_downward_test_data): Likewise.
20767         (cosh_upward_test_data): Likewise.
20768         * sysdeps/i386/fpu/libm-test-ulps: Update.
20769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20771 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
20773         [BZ #6787]
20774         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
20775         * math/w_exp10f.c (__exp10f): Likewise.
20776         * math/w_exp10l.c (__exp10l): Likewise.
20777         * math/libm-test.inc (exp10_test_data): Add more tests and expect
20778         errno settings in existing tests.
20780         [BZ #14032]
20781         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
20782         precision control set to double precision.
20783         * sysdeps/i386/fpu/w_sqrt.c: New file.
20784         * math/auto-libm-test-in: Add more tests.
20785         * math/auto-libm-test-out: Update.
20787         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
20788         (sqrt_test_tonearest): New function.
20789         (sqrt_towardzero_test_data): New variable.
20790         (sqrt_test_towardzero): New function.
20791         (sqrt_downward_test_data): New variable.
20792         (sqrt_test_downward): New function.
20793         (sqrt_upward_test_data): New variable.
20794         (sqrt_test_upward): New function.
20795         (main): Call the new functions.
20797         * math/gen-auto-libm-tests.c: New file.
20798         * math/auto-libm-test-in: Likewise.
20799         * math/auto-libm-test-out: New generated file.
20800         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
20801         variables.
20802         (%beautify): Add generated representations of zero.
20803         (top level): Set $auto_input and call parse_auto_input.
20804         (beautify): Remove trailing "f" from hex float constants.
20805         (parse_args): Handle XFAIL_TEST.
20806         (convert_condition): New function.
20807         (or_value): Likewise.
20808         (or_cond_value): Likewise.
20809         (generate_testfile): Handle AUTO_TESTS_* lines.
20810         (parse_auto_input): New function.
20811         * math/libm-test.inc (XFAIL_TEST): New macro.
20812         (ERRNO_UNCHANGED): Update value.
20813         (ERRNO_EDOM): Likewise.
20814         (ERRNO_ERANGE): Likewise.
20815         (IGNORE_RESULT): Likewise.
20816         (TEST_COND_flt_32): New macro.
20817         (TEST_COND_dbl_64): Likewise.
20818         (TEST_COND_ldbl_96_intel): Likewise.
20819         (TEST_COND_ldbl_96_m68k): Likewise.
20820         (TEST_COND_ldbl_128): Likewise.
20821         (TEST_COND_ldbl_128ibm): Likewise.
20822         (TEST_COND_long32): Likewise.
20823         (TEST_COND_long64): Likewise.
20824         (TEST_COND_before_rounding): Likewise.
20825         (TEST_COND_after_rounding): Likewise.
20826         (enable_test): Handle XFAIL_TEST flag.
20827         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
20828         with finite results.
20829         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
20830         auto-libm-test-out.
20832 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
20833             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
20835         [BZ #16214]
20836         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
20837         __tls_get_addr_internal instead of __tls_get_offset in order to
20838         avoid GOT pointer dependency.  Make rtld export
20839         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
20840         __tls_get_addr since we are a __tls_get_offset platform.
20841         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
20842         GOT pointer being set up before.
20843         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
20845 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
20847         * manual/math.texi (Errors in Math Functions): Document accuracy
20848         goals.
20850         [BZ #15004]
20851         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
20852         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
20853         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
20854         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
20855         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
20856         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
20857         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
20858         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
20859         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
20860         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
20861         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
20862         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
20863         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
20864         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
20865         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
20866         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
20868         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
20869         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
20870         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
20871         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
20872         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
20873         Likewise.
20874         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
20875         Likewise.
20876         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
20877         Likewise.
20878         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
20879         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
20880         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
20881         atomic-feupdateenv and flt-rounds.
20882         * sysdeps/powerpc/nofpu/Versions (libc): Add
20883         __atomic_feholdexcept, __atomic_feclearexcept,
20884         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
20885         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
20886         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
20887         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
20888         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
20889         here.
20890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
20891         Update.
20893         * manual/arith.texi (FP Exceptions): Document that exceptions may
20894         not be raised when matherr is used.
20895         (Math Error Reporting): Document overflow in directed rounding
20896         modes.  Document that errno may not be set when finite values are
20897         returned on overflow.  Document intent to set errno on underflow
20898         only for underflow to zero.
20900         [BZ #16271]
20901         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
20902         round-to-nearest then adjust result for other rounding modes.
20903         * include/fenv.h (fegetround): Use libm_hidden_proto.
20904         * math/fegetround.c (fegetround): Use libm_hidden_def.
20905         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
20906         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
20907         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
20908         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
20909         Likewise.
20910         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
20911         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
20912         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
20913         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
20915 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20917         [BZ #16077]
20918         * nss/Versions (libnss_files): Add
20919         _nss_files_gethostbyname3_r.
20920         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
20921         New function.
20922         (HOST_DB_LOOKUP): Remove macro.
20923         (_nss_files_gethostbyname_r): Implement function without the
20924         HOST_DB_LOOKUP macro.
20925         (_nss_files_gethostbyname2_r): Likewise.
20927 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
20929         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
20931 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
20933         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
20934         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
20935         warning.
20937 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20939         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
20940         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
20941         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
20942         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
20943         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
20944         __fe_nomask_env_priv and attribute_hidden.
20945         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
20946         (libc_feupdateenv_test_ppc): Likewise.
20947         (libc_feresetround_ppc): Likewise.
20948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
20949         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
20950         compat_symbol macro.
20951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
20952         (__fe_nomask_env): Likewise.
20953         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
20955 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20957         * string/Makefile: Remove ifunc tests.
20958         * string/test-string.h: Define TEST_IFUNC.
20959         * string/test-bcopy-ifunc.c: Remove.
20960         * string/test-bzero-ifunc.c: Likewise.
20961         * string/test-memccpy-ifunc.c: Likewise.
20962         * string/test-memchr-ifunc.c: Likewise.
20963         * string/test-memcmp-ifunc.c: Likewise.
20964         * string/test-memcpy-ifunc.c: Likewise.
20965         * string/test-memmem-ifunc.c: Likewise.
20966         * string/test-memmove-ifunc.c: Likewise.
20967         * string/test-mempcpy-ifunc.c: Likewise.
20968         * string/test-memrchr-ifunc.c: Likewise.
20969         * string/test-memset-ifunc.c: Likewise.
20970         * string/test-rawmemchr-ifunc.c: Likewise.
20971         * string/test-stpcpy-ifunc.c: Likewise.
20972         * string/test-stpncpy-ifunc.c: Likewise.
20973         * string/test-strcasecmp-ifunc.c: Likewise.
20974         * string/test-strcasestr-ifunc.c: Likewise.
20975         * string/test-strcat-ifunc.c: Likewise.
20976         * string/test-strchr-ifunc.c: Likewise.
20977         * string/test-strchrnul-ifunc.c: Likewise.
20978         * string/test-strcmp-ifunc.c: Likewise.
20979         * string/test-strcpy-ifunc.c: Likewise.
20980         * string/test-strcspn-ifunc.c: Likewise.
20981         * string/test-strlen-ifunc.c: Likewise.
20982         * string/test-strncasecmp-ifunc.c: Likewise.
20983         * string/test-strncat-ifunc.c: Likewise.
20984         * string/test-strncmp-ifunc.c: Likewise.
20985         * string/test-strncpy-ifunc.c: Likewise.
20986         * string/test-strnlen-ifunc.c: Likewise.
20987         * string/test-strpbrk-ifunc.c: Likewise.
20988         * string/test-strrchr-ifunc.c: Likewise.
20989         * string/test-strspn-ifunc.c: Likewise.
20990         * string/test-strstr-ifunc.c: Likewise.
20992 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
20994         * benchtests/Makefile: Remove ifunc tests.
20995         * benchtests/bench-string.h: Define TEST_IFUNC.
20996         * benchtests/bench-bcopy-ifunc.c: Remove.
20997         * benchtests/bench-bzero-ifunc.c: Likewise.
20998         * benchtests/bench-memccpy-ifunc.c: Likewise.
20999         * benchtests/bench-memchr-ifunc.c: Likewise.
21000         * benchtests/bench-memcmp-ifunc.c: Likewise.
21001         * benchtests/bench-memcpy-ifunc.c: Likewise.
21002         * benchtests/bench-memmem-ifunc.c: Likewise.
21003         * benchtests/bench-memmove-ifunc.c: Likewise.
21004         * benchtests/bench-mempcpy-ifunc.c: Likewise.
21005         * benchtests/bench-memrchr-ifunc.c: Likewise.
21006         * benchtests/bench-memset-ifunc.c: Likewise.
21007         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21008         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21009         * benchtests/bench-stpcpy-ifunc.c: Likewise.
21010         * benchtests/bench-stpncpy-ifunc.c: Likewise.
21011         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21012         * benchtests/bench-strcasestr-ifunc.c: Likewise.
21013         * benchtests/bench-strcat-ifunc.c: Likewise.
21014         * benchtests/bench-strchr-ifunc.c: Likewise.
21015         * benchtests/bench-strchrnul-ifunc.c: Likewise.
21016         * benchtests/bench-strcmp-ifunc.c: Likewise.
21017         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21018         * benchtests/bench-strcpy-ifunc.c: Likewise.
21019         * benchtests/bench-strcspn-ifunc.c: Likewise.
21020         * benchtests/bench-strlen-ifunc.c: Likewise.
21021         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21022         * benchtests/bench-strncat-ifunc.c: Likewise.
21023         * benchtests/bench-strncmp-ifunc.c: Likewise.
21024         * benchtests/bench-strncpy-ifunc.c: Likewise.
21025         * benchtests/bench-strnlen-ifunc.c: Likewise.
21026         * benchtests/bench-strpbrk-ifunc.c: Likewise.
21027         * benchtests/bench-strrchr-ifunc.c: Likewise.
21028         * benchtests/bench-strsep-ifunc.c: Likewise.
21029         * benchtests/bench-strspn-ifunc.c: Likewise.
21030         * benchtests/bench-strstr-ifunc.c: Likewise.
21032 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21034         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21036 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21038         * resolv/netdb.h: Use __glibc_reserved instead __unused.
21039         * rt/aio.h: Likewise.
21040         * sysdeps/gnu/bits/utmp.h: Likewise.
21041         * sysdeps/gnu/bits/utmpx.h: Likewise.
21042         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21043         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21044         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21045         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21046         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21047         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21048         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21049         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21050         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21051         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21052         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21053         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21054         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21056         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21057         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21058         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21059         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21060         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21061         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21062         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21063         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21064         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21065         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21066         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21067         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21068         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21069         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21070         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21071         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21072         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21073         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21074         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21075         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21076         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21077         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21078         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21079         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21080         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21081         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21082         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21083         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21085 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
21087         [BZ #16245]
21088         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21089         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21091 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
21093         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21094         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21095         Likewise.
21097 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21099         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21100         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21101         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21102         (__fesetround): Remove define.
21103         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21104         rounding and exceptions handling.
21105         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21106         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21107         (__fe_nomask_env): Likewise.
21108         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21109         __fegetround instead of fegetround.
21110         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21111         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21113 2013-11-21  Roland McGrath  <roland@hack.frob.com>
21115         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21116         it's there.
21118         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21120 2013-11-21  Meador Inge  <meadori@codesourcery.com>
21122         [BZ #11157]
21123         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21124         (encrypt_r): Likewise.
21125         * malloc/obstack.h (obstack_free): Likewise.
21126         * posix/unistd.h (encrypt): Likewise.
21128 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
21130         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21131         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21132         DL_CALL_DT_FINI() that call the functions directly.
21133         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21134         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21135         * elf/dl-fini.c: Likewise.
21137 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
21139         * malloc/hooks.c (memalign_check): Add alignment rounding.
21140         * malloc/malloc.c (_mid_memalign): New function.
21141         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21142         Implement by calling _mid_memalign.
21143         * manual/probes.texi (Memory Allocation Probes): Remove
21144         memory_valloc_retry and memory_pvalloc_retry.
21146 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21148         * locale/programs/locarchive.c (open_archive): Add const
21149         qualifier to ARCHIVEFNAME and copy default fname to
21150         DEFAULT_FNAME.
21152         [BZ #15601]
21153         * libio/tst-widetext.input: Rename Oriya to Odia.
21154         * locale/iso-639.def: Likewise.
21156         * manual/probes.texi (Mathematical Function Probes): Add
21157         documentation for sin, cos, asin and acos probes.
21158         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21159         (__sin32): Add slowasin probe.
21160         (__cos32): Add slowacos probe.
21161         (__mpsin): Add slowsin probe.
21162         (__mpcos): Add slowcos probe.
21164 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
21166         [BZ #15483]
21167         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21168         thread-local __sim_exceptions_thread and global
21169         __sim_exceptions_global.
21170         (__sim_disabled_exceptions): Change to thread-local
21171         __sim_disabled_exceptions_thread and global
21172         __sim_disabled_exceptions_global.
21173         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21174         and global __sim_round_mode_global.
21175         (__simulate_exceptions): Use thread-local floating-point state and
21176         set global state from it as needed.
21177         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21178         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21179         __sim_round_mode_thread.
21180         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21181         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21182         and global __sim_exceptions_global.
21183         (__sim_disabled_exceptions): Change to thread-local
21184         __sim_disabled_exceptions_thread and global
21185         __sim_disabled_exceptions_global.
21186         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21187         and global __sim_round_mode_global.
21188         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21189         (SIM_SET_GLOBAL): Likewise.
21190         * sysdeps/powerpc/soft-fp/sfp-machine.h
21191         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21192         __sim_round_mode_thread.
21193         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21194         __sim_disabled_exceptions_thread.
21195         (__sim_exceptions): Change to __sim_exceptions_thread.
21196         (__sim_disabled_exceptions): Change to
21197         __sim_disabled_exceptions_thread.
21198         (__sim_round_mode): Change to __sim_round_mode_thread.
21199         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21200         thread-local floating-point state and set global state from it as
21201         needed.
21202         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21203         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21204         (__sim_disabled_exceptions): Remove extern declaration.
21205         (feenableexcept): Use thread-local floating-point state and set
21206         global state from it as needed.
21207         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21208         extern declaration.
21209         (__sim_disabled_exceptions): Likewise.
21210         (__sim_round_mode): Likewise.
21211         (__fegetenv): Use thread-local floating-point state.
21212         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21213         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21214         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21215         floating-point state and set global state from it as needed.
21216         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21217         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21218         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21219         Likewise.
21220         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21221         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21222         Likewise.
21223         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21224         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21225         Use __sim_round_mode_thread.
21226         * math/test-fenv-tls.c: New file.
21227         * math/Makefile (tests): Add test-fenv-tls.
21228         ($(objpfx)test-fenv-tls): Depend on
21229         $(common-objpfx)nptl/libpthread.so.
21231 2013-11-19  Andreas Schwab  <schwab@suse.de>
21233         * locale/programs/locale.c (show_info): Decode wordarray elements.
21234         * locale/categories.def (LC_MONETARY): Add element for
21235         _NL_MONETARY_CRNCYSTR.
21236         * locale/C-monetary.c (conversion_rate): New variable.
21237         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21238         element.
21240 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
21242         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21243         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21245 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
21247         * elf/Makefile (tst-auxv): New test.
21248         * elf/tst-auxv.c: New
21249         * elf/rtld.c (dl_main): Adjust AT_EXECFN
21251 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
21253         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21254         (hidden_proto): Caller changed.
21255         (hidden_tls_proto): New macro.
21256         (libc_hidden_tls_proto): Likewise.
21257         (rtld_hidden_tls_proto): Likewise.
21258         (libm_hidden_tls_proto): Likewise.
21259         (libresolv_hidden_tls_proto): Likewise.
21260         (librt_hidden_tls_proto): Likewise.
21261         (libdl_hidden_tls_proto): Likewise.
21262         (libnss_files_hidden_tls_proto): Likewise.
21263         (libnsl_hidden_tls_proto): Likewise.
21264         (libnss_nisplus_hidden_tls_proto): Likewise.
21265         (libutil_hidden_tls_proto): Likewise.
21267 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
21269         [BZ #10253]
21270         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21271         (decompose_rpath): Defer expansion to fillin_rpath.
21272         (_dl_init_paths): Pass linkmap to fillin_rpath.
21274 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21276         * benchtests/Makefile: Add strsep.
21277         * benchtests/bench-strsep.c: New file: strsep benchtest.
21278         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21280 2013-11-18  Andreas Schwab  <schwab@suse.de>
21282         * locale/programs/locale.c (show_info) [case byte]: Check for
21283         '\377' instead of '\177'.
21284         * locale/C-monetary.c (not_available): Always use "\377".
21285         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21286         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
21287         detect unavailable sign_posn locale elements.
21288         * locale/localeconv.c (__localeconv): For grouping and
21289         mon_grouping handle "\177" and "\377" like no grouping.
21290         (INT_ELEM): New macro.  Use it to set all numeric members.
21291         * locale/programs/ld-monetary.c (monetary_read)
21292         <tok_mon_grouping>: Normalize single -1 to the empty string.
21293         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21294         Likewise.
21296 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
21298         [BZ #16055]
21299         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21300         when we match (nil).
21301         * stdio-common/tst-sscanf.c (struct test): Add testcase.
21303 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
21305         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21306         (NO_TEST_INLINE): Update value.
21307         (ERRNO_UNCHANGED): Likewise.
21308         (ERRNO_EDOM): Likewise.
21309         (ERRNO_ERANGE): Likewise.
21310         (IGNORE_RESULT): Likewise.
21311         (check_float_internal): Check signs of NaN results if
21312         TEST_NAN_SIGN used.
21313         (check_complex): Pass TEST_NAN_SIGN flag through to second
21314         check_float_internal call.
21315         (copysign_test_data): Add tests with quiet NaNs as second
21316         argument.  Use TEST_NAN_SIGN.
21317         (fabs_test_data): Add test of negative quiet NaN argument.  Use
21318         TEST_NAN_SIGN.
21319         (signbit_test_data): Add tests of quiet NaN argument.
21320         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21322         * math/gen-libm-test.pl (show_exceptions): Take extra argument
21323         $ignore_result.
21324         (parse_args): Handle function results specified as IGNORE.
21325         * math/libm-test.inc (IGNORE_RESULT): New macro.
21326         (check_float_internal): Do not check numerical result if flag
21327         IGNORE_RESULT set.
21328         (check_complex): Pass through IGNORE_RESULT to second
21329         check_float_internal call.
21330         (check_int): Do not check numerical result if flag IGNORE_RESULT
21331         set.
21332         (check_long): Likewise.
21333         (check_bool): Likewise.
21334         (check_longlong): Likewise.
21335         (lrint_test_data): Add tests of infinite and NaN arguments.
21336         (lrint_tonearest_test_data): Likewise.
21337         (lrint_towardzero_test_data): Likewise.
21338         (lrint_downward_test_data): Likewise.
21339         (lrint_upward_test_data): Likewise.
21340         (llrint_test_data): Likewise.
21341         (llrint_tonearest_test_data): Likewise.
21342         (llrint_towardzero_test_data): Likewise.
21343         (llrint_downward_test_data): Likewise.
21344         (llrint_upward_test_data): Likewise.
21345         (lround_test_data): Likewise.
21346         (llround_test_data): Likewise.
21348         * math/libm-test.inc (NO_TEST_INLINE): New macro.
21349         (ERRNO_UNCHANGED): Update value.
21350         (ERRNO_EDOM): Likewise.
21351         (ERRNO_ERANGE): Likewise.
21352         (NO_TEST_INLINE_FLOAT): New macro.
21353         (NO_TEST_INLINE_DOUBLE): Likewise.
21354         (enable_test): New function.
21355         (RUN_TEST_f_f): Check enable_test before running test.
21356         (RUN_TEST_2_f): Likewise.
21357         (RUN_TEST_fff_f): Likewise.
21358         (RUN_TEST_c_f): Likewise.
21359         (RUN_TEST_f_f1): Likewise.
21360         (RUN_TEST_fF_f1): Likewise.
21361         (RUN_TEST_fI_f1): Likewise.
21362         (RUN_TEST_ffI_f1): Likewise.
21363         (RUN_TEST_c_c): Likewise.
21364         (RUN_TEST_cc_c): Likewise.
21365         (RUN_TEST_f_i): Likewise.
21366         (RUN_TEST_f_i_tg): Likewise.
21367         (RUN_TEST_ff_i_tg): Likewise.
21368         (RUN_TEST_f_b): Likewise.
21369         (RUN_TEST_f_b_tg): Likewise.
21370         (RUN_TEST_f_l): Likewise.
21371         (RUN_TEST_f_L): Likewise.
21372         (RUN_TEST_fFF_11): Likewise.
21373         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21374         conditionals.
21375         (cosh_test_data): Likewise.
21376         (exp_test_data): Likewise.
21377         (expm1_test_data): Likewise.
21378         (hypot_test_data): Likewise.
21379         (pow_test_data): Likewise.
21380         (sinh_test_data): Likewise.
21381         (tanh_test_data): Likewise.
21382         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21383         flags argument.
21385         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21386         tests with quiet NaN input and output.
21387         (acosh_test_data): Likewise.
21388         (asin_test_data): Likewise.
21389         (asinh_test_data): Likewise.
21390         (atan_test_data): Likewise.
21391         (atanh_test_data): Likewise.
21392         (atan2_test_data): Likewise.
21393         (cbrt_test_data): Likewise.
21394         (cos_test_data): Likewise.
21395         (cosh_test_data): Likewise.
21396         (erf_test_data): Likewise.
21397         (erfc_test_data): Likewise.
21398         (exp_test_data): Likewise.
21399         (exp10_test_data): Likewise.
21400         (exp2_test_data): Likewise.
21401         (expm1_test_data): Likewise.
21402         (hypot_test_data): Likewise.
21403         (j0_test_data): Likewise.
21404         (j1_test_data): Likewise.
21405         (jn_test_data): Likewise.
21406         (lgamma_test_data): Likewise.
21407         (log_test_data): Likewise.
21408         (log10_test_data): Likewise.
21409         (log1p_test_data): Likewise.
21410         (log2_test_data): Likewise.
21411         (pow_test_data): Likewise.
21412         (scalb_test_data): Likewise.
21413         (sin_test_data): Likewise.
21414         (sincos_test_data): Likewise.
21415         (sinh_test_data): Likewise.
21416         (tan_test_data): Likewise.
21417         (tanh_test_data): Likewise.
21418         (tgamma_test_data): Likewise.
21419         (y0_test_data): Likewise.
21420         (y1_test_data): Likewise.
21421         (yn_test_data): Likewise.
21423         [BZ #16167]
21424         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
21425         argument being NaN and avoid computations with second argument in
21426         that case.
21427         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
21428         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
21429         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
21431 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
21433         * locale/iso-639.def: Add Chitwani Tharu (the).
21435 2013-11-14  Andreas Schwab  <schwab@suse.de>
21437         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
21438         word instead of empty string.
21440 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21443         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
21444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21445         (__fe_nomask_env): Likewise.
21447 2013-11-13  Steve Ellcey  <sellcey@mips.com>
21449         * benchtests/bench-timing.h: Include time.h.
21451 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
21453         [BZ #15997]
21454         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
21455         to 3.4.0 for x32.
21456         * sysdeps/unix/sysv/linux/configure: Regenerated.
21458 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
21460         [BZ #16151]
21461         * stdlib/strtod_l.c (round_and_return): Do not consider
21462         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
21463         exponent one less than half the least subnormal exponent.
21464         * stdlib/test-strtod-round-data: Add more tests.
21465         * stdlib/tst-strtod-round.c (tests): Regenerated.
21467 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21469         [BZ #14143]
21470         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
21471         (__fe_mask_env): Likewise.
21472         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
21473         libm_hidden_proto and add function prototype.
21474         (__fe_mask_env): Add function prototype.
21475         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21476         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
21477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
21478         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
21479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21480         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
21482 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21484         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
21485         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
21487 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21489         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
21490         of htab_find_slot().
21492 2013-11-11  David S. Miller  <davem@davemloft.net>
21494         [BZ #16150]
21495         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
21496         symbol in the non-vis3 case in static builds.
21497         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
21498         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
21499         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
21500         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
21502 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
21504         [BZ #387]
21505         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
21506         it is empty.
21508 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21510         * benchtests/Makefile: Add bench-strtod.
21511         * benchtests/bench-strtod.c: New file: strtod benchtest
21513 2013-11-11  Andreas Schwab  <schwab@suse.de>
21515         [BZ #16153]
21516         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
21517         terminating NUL in key length.
21519 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21521         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21522         Add artificial ODP entry for vDSO symbol for PPC64.
21523         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
21524         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21526 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
21528         [BZ #15374]
21529         * nss/getent.c (services_keys): Recognize services starting with digit.
21531 2013-11-06  David S. Miller  <davem@davemloft.net>
21533         [BZ #15985]
21534         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
21535         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
21537 2013-11-06  Will Newton  <will.newton@linaro.org>
21539         * manual/memory.texi (Malloc Examples): Remove register
21540         keyword from examples.
21542 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
21544         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
21546 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
21548         [BZ #6981]
21549         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
21550         depending on [__GCC_IEC_559 > 0].
21551         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
21552         depending on [__GCC_IEC_559_COMPLEX > 0].
21554 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
21556         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
21557         to iso-639.def.
21559 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
21561         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
21563 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
21565         [BZ #16112]
21566         * malloc/malloc (malloc_info): Do not handle first bin as
21567         special case.
21569 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
21571         * locale/iso-639.def: Add Central Nahuatl (nhn).
21573 2013-11-01  Bruno Haible  <bruno@clisp.org>
21575         [BZ #7003]
21576         * manual/math.texi (BSD Random): Specify range upper bound as
21577         in POSIX.
21579 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
21581         * locale/iso-639.def: Add Meadow Mari (mhr).
21583 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
21585         [BZ #14752], [BZ #15763]
21586         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
21587         Validate name.
21588         * rt/tst_shm.c: Add test for escaping directory.
21590 2013-10-31  Andreas Schwab  <schwab@suse.de>
21592         [BZ #15917]
21593         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
21594         followed by 'x' as part of digit sequence.
21595         * stdio-common/tst-sscanf.c (double_tests2): New tests.
21597 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
21599         [BZ #16037]
21600         * configure.ac: allow GNU Make 4.0 and greater.
21601         * configure: Regenerated.
21603 2013-10-30  Will Newton  <will.newton@linaro.org>
21605         [BZ #16038]
21606         * malloc/hooks.c (memalign_check): Limit alignment to the
21607         maximum representable power of two.
21608         * malloc/malloc.c (__libc_memalign): Likewise.
21609         * malloc/tst-memalign.c (do_test): Add test for very
21610         large alignment values.
21611         * malloc/tst-posix_memalign.c (do_test): Likewise.
21613 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
21615         [BZ #11087]
21616         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
21617         (munmap_chunk): Likewise.
21618         (mremap_chunk): Likewise.
21620 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
21622         [BZ #15799]
21623         * stdlib/div.c (div): Remove obsolete code.
21624         * stdlib/ldiv.c (ldiv): Likewise.
21625         * stdlib/lldiv.c (lldiv): Likewise.
21627 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21629         [BZ #16071]
21630         * nss/nss_files/files-XXX.c (get_contents_ret): New
21631         enumerator.
21632         (get_contents): New function.
21633         (internal_getent): Use it.  Expand size of LINEBUFLEN.
21635 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
21637         * configure.in: Moved to ...
21638         * configure.ac: ... here. Change reference to configure.in
21639         to configure.ac.
21640         * sysdeps/arm/preconfigure.ac: ... here.
21641         configure.in to configure.ac.
21642         * sysdeps/gnu/configure.in: Moved to ...
21643         * sysdeps/gnu/configure.ac: ... here.
21644         * sysdeps/i386/configure.in: Moved to ...
21645         * sysdeps/i386/configure.ac: ... here.
21646         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
21647         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
21648         * sysdeps/mach/configure.in: Moved to ...
21649         * sysdeps/mach/configure.ac: ... here.
21650         * sysdeps/mach/hurd/configure.in: Moved to ...
21651         * sysdeps/mach/hurd/configure.ac: ... here.
21652         * sysdeps/powerpc/configure.in: Moved to ...
21653         * sysdeps/powerpc/configure.ac: ... here.
21654         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
21655         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
21656         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
21657         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
21658         * sysdeps/s390/s390-32/configure.in: Moved to ...
21659         * sysdeps/s390/s390-32/configure.ac: ... here.
21660         * sysdeps/s390/s390-64/configure.in: Moved to ...
21661         * sysdeps/s390/s390-64/configure.ac: ... here.
21662         * sysdeps/sh/configure.in: Moved to ...
21663         * sysdeps/sh/configure.ac: ... here.
21664         * sysdeps/sparc/configure.in: Moved to ...
21665         * sysdeps/sparc/configure.ac: ... here.
21666         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
21667         * sysdeps/unix/sysv/linux/configure.ac: ... here.
21668         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
21669         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
21670         * sysdeps/x86_64/configure.in: Moved to ...
21671         * sysdeps/x86_64/configure.ac: ... here.
21672         * sysdeps/x86_64/preconfigure.in: Moved to ...
21673         * sysdeps/x86_64/preconfigure.ac: ... here.
21674         * aclocal.m4: Change reference to configure.in to configure.ac.
21675         * config.h.in: Likewise.
21676         * manual/install.texi: Likewise.
21677         * manual/maint.texi: Likewise.
21678         * Makefile: Likewise.
21679         * malloc/Makefile: Likewise.
21680         * nscd/Makefile: Likewise.
21681         * Makeconfig: Change reference to configure.in and
21682         preconfigure.in to configure.ac and preconfigure.ac
21683         respectively.
21684         * INSTALL: Regenerated.
21685         * configure: Likewise.
21686         * sysdeps/gnu/configure: Likewise.
21687         * sysdeps/i386/configure: Likewise.
21688         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
21689         * sysdeps/mach/configure: Likewise.
21690         * sysdeps/mach/hurd/configure: Likewise.
21691         * sysdeps/powerpc/configure: Likewise.
21692         * sysdeps/powerpc/powerpc32/configure: Likewise.
21693         * sysdeps/powerpc/powerpc64/configure: Likewise.
21694         * sysdeps/s390/s390-32/configure: Likewise.
21695         * sysdeps/s390/s390-64/configure: Likewise.
21696         * sysdeps/sh/configure: Likewise.
21697         * sysdeps/sparc/configure: Likewise.
21698         * sysdeps/unix/sysv/linux/configure: Likewise.
21699         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
21700         * sysdeps/x86_64/configure: Likewise.
21701         * sysdeps/x86_64/preconfigure: Likewise.
21703 2013-10-29  Andreas Schwab  <schwab@suse.de>
21705         * stdio-common/Makefile (tst-swscanf-ENV): Define.
21707 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21709         * benchtests/pow-inputs: Add new inputs.
21711         * benchtests/exp-inputs: Add new inputs.
21713         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
21714         conditional check for return value.
21715         (__cos32): Likewise.
21717 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21719         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
21720         to provide a boost for large inputs with word alignment.
21721         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
21722         implementation based on optimized PPC64 strcpy.
21723         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
21724         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
21725         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
21726         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
21728 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21730         [BZ #2801]
21731         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
21733 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21735         [BZ #14876]
21736         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
21737         * time/tst-strptime.c (day_tests): Add testcase.
21739 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
21741         [BZ #14029]
21742         * manual/pattern.texi: Acknowledge that fnmatch can fail.
21744 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
21746         [BZ #16074]
21747         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
21748         MAP_FAILED on error.
21750 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
21752         [BZ #16072]
21753         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
21754         heap for large requests.
21756 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
21758         [BZ #9954]
21759         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
21760         result if the result has no associated interface.
21761         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
21762         interface for all 127.X.Y.Z addresses.
21764 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
21766         * locale/iso-639.def: Add Ligurian (lij)
21768 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
21770         [BZ #15825]
21771         * sunrpc/rpc_main.c: Document rpcgen -5.
21773 2013-10-19  Michael Stahl  <mstahl@redhat.com>
21775         * elf/rtld.c (do_preload): Print the reason why preloading failed.
21777 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
21779         [BZ #10278]
21780         * posix/glob.c: Match only directories when trailing slash is present.
21781         * posix/tst-gnuglob.c (my_opendir): Do not open files.
21782         (main): Add testcase.
21784 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
21786         [BZ #15670]
21787         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
21789 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
21791         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
21792         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
21793         AUTH_DES and cindex for FIPS 140-2.
21794         (DES Encryption): Add cindex FIPS 46-3.
21796         * locale/locarchive.h (struct locarhandle): Add fname.
21797         * locale/programs/localedef.c (main): Pass ARGV[remaining]
21798         if an optional argument was specified to --list-archive,
21799         otherwise NULL.
21800         * locale/programs/locarchive.c (show_archive_content): Take new
21801         argument fname and pass it via ah.fname to open_archive.
21802         * locale/programs/localedef.h: Update decl.
21803         (open_archive): If AH->fname is non-null, open that file
21804         rather than the default file name, and don't ignore ENOENT.
21805         (create_archive): Set AH.fname to NULL.
21806         (delete_locales_from_archive): Likewise.
21807         (add_locales_to_archive): Likewise.
21808         * locale/programs/locfile.c (write_all_categories): Likewise.
21810 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
21811             Aldy Hernandez  <aldyh@redhat.com>
21813         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
21814         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
21815         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
21816         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
21817         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
21818         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
21819         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
21820         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
21821         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
21822         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
21823         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
21824         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
21825         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
21826         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
21827         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
21828         Likewise.
21829         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
21830         Likewise.
21831         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
21832         Likewise.
21833         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
21834         Likewise.
21835         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
21836         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
21837         Likewise.
21838         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
21839         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
21840         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
21841         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
21842         Likewise.
21843         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
21844         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
21845         * sysdeps/powerpc/preconfigure: Likewise.
21846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
21847         Likewise.
21848         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
21849         Replace contents of file by #include of <fenv_libc.h>.
21850         * sysdeps/powerpc/soft-fp/sfp-machine.h
21851         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
21852         and <sys/prctl.h>.
21853         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
21854         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
21855         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
21856         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
21857         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
21858         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
21859         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
21860         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
21861         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
21862         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
21863         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
21864         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
21865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
21866         Allow copysignl PLT reference to be missing.
21868 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
21869             Joseph Myers  <joseph@codesourcery.com
21871         [BZ #15948]
21872         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
21873         single character.
21874         (add_to_tablewc): Assert sequence of wide characters is nonempty.
21876 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21878         * elf/tst-tls-dlinfo.c: Don't include tls.h.
21879         * elf/tst-tls1.c: Likewise.
21880         * elf/tst-tls10.h: Likewise.
21881         * elf/tst-tls14.c: Likewise.
21882         * elf/tst-tls2.c: Likewise.
21883         * elf/tst-tls3.c: Likewise.
21884         * elf/tst-tls4.c: Likewise.
21885         * elf/tst-tls5.c: Likewise.
21886         * elf/tst-tls6.c: Likewise.
21887         * elf/tst-tls7.c: Likewise.
21888         * elf/tst-tls8.c: Likewise.
21889         * elf/tst-tls9.c: Likewise.
21890         * elf/tst-tlsmod1.c: Likewise.
21891         * elf/tst-tlsmod13.c: Likewise.
21892         * elf/tst-tlsmod13a.c: Likewise.
21893         * elf/tst-tlsmod14a.c: Likewise.
21894         * elf/tst-tlsmod16a.c: Likewise.
21895         * elf/tst-tlsmod16b.c: Likewise.
21896         * elf/tst-tlsmod2.c: Likewise.
21897         * elf/tst-tlsmod3.c: Likewise.
21898         * elf/tst-tlsmod4.c: Likewise.
21899         * elf/tst-tlsmod5.c: Likewise.
21900         * elf/tst-tlsmod6.c: Likewise.
21902 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
21904         [BZ #12486]
21905         * malloc/malloc.c: remove checks for statistics.
21907 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
21909         [BZ #15277]
21910         * inet/inet_net.c (inet_network): Detect additional invalid strings.
21911         * inet/tst-network.c: Add testcase.
21913 2013-10-17  Andreas Schwab  <schwab@suse.de>
21915         [BZ #15218]
21916         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
21917         to determine canonical name.
21919 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
21921         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
21922         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
21923         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21924         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
21925         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21926         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
21927         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
21928         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
21929         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
21930         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
21931         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
21932         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
21933         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21934         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
21935         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
21936         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
21937         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21938         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21939         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
21940         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
21941         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21942         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21943         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
21944         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
21945         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
21946         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21947         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21948         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
21949         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21950         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
21951         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
21952         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21953         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
21954         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
21955         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
21956         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21957         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21958         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
21959         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
21960         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
21961         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
21962         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
21963         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
21964         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
21965         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
21966         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21967         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
21968         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
21969         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
21970         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
21971         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
21972         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
21973         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
21974         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
21975         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21976         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
21977         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21978         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
21980 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
21982         [BZ #16041]
21983         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
21984         make result into a quiet NaN.
21986 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
21988         * soft-fp/adddf3.c: Fix horizontal whitespace.
21989         * soft-fp/addsf3.c: Likewise.
21990         * soft-fp/addtf3.c: Likewise.
21991         * soft-fp/divdf3.c: Likewise.
21992         * soft-fp/divsf3.c: Likewise.
21993         * soft-fp/divtf3.c: Likewise.
21994         * soft-fp/double.h: Likewise.
21995         * soft-fp/eqdf2.c: Likewise.
21996         * soft-fp/eqsf2.c: Likewise.
21997         * soft-fp/eqtf2.c: Likewise.
21998         * soft-fp/extenddftf2.c: Likewise.
21999         * soft-fp/extended.h: Likewise.
22000         * soft-fp/extendsfdf2.c: Likewise.
22001         * soft-fp/extendsftf2.c: Likewise.
22002         * soft-fp/extendxftf2.c: Likewise.
22003         * soft-fp/fixdfdi.c: Likewise.
22004         * soft-fp/fixdfsi.c: Likewise.
22005         * soft-fp/fixdfti.c: Likewise.
22006         * soft-fp/fixsfdi.c: Likewise.
22007         * soft-fp/fixsfsi.c: Likewise.
22008         * soft-fp/fixsfti.c: Likewise.
22009         * soft-fp/fixtfdi.c: Likewise.
22010         * soft-fp/fixtfsi.c: Likewise.
22011         * soft-fp/fixtfti.c: Likewise.
22012         * soft-fp/fixunsdfdi.c: Likewise.
22013         * soft-fp/fixunsdfsi.c: Likewise.
22014         * soft-fp/fixunsdfti.c: Likewise.
22015         * soft-fp/fixunssfdi.c: Likewise.
22016         * soft-fp/fixunssfsi.c: Likewise.
22017         * soft-fp/fixunssfti.c: Likewise.
22018         * soft-fp/fixunstfdi.c: Likewise.
22019         * soft-fp/fixunstfsi.c: Likewise.
22020         * soft-fp/fixunstfti.c: Likewise.
22021         * soft-fp/floatdidf.c: Likewise.
22022         * soft-fp/floatdisf.c: Likewise.
22023         * soft-fp/floatditf.c: Likewise.
22024         * soft-fp/floatsidf.c: Likewise.
22025         * soft-fp/floatsisf.c: Likewise.
22026         * soft-fp/floatsitf.c: Likewise.
22027         * soft-fp/floattidf.c: Likewise.
22028         * soft-fp/floattisf.c: Likewise.
22029         * soft-fp/floattitf.c: Likewise.
22030         * soft-fp/floatundidf.c: Likewise.
22031         * soft-fp/floatundisf.c: Likewise.
22032         * soft-fp/floatunditf.c: Likewise.
22033         * soft-fp/floatunsidf.c: Likewise.
22034         * soft-fp/floatunsisf.c: Likewise.
22035         * soft-fp/floatunsitf.c: Likewise.
22036         * soft-fp/floatuntidf.c: Likewise.
22037         * soft-fp/floatuntisf.c: Likewise.
22038         * soft-fp/floatuntitf.c: Likewise.
22039         * soft-fp/fmadf4.c: Likewise.
22040         * soft-fp/fmasf4.c: Likewise.
22041         * soft-fp/fmatf4.c: Likewise.
22042         * soft-fp/gedf2.c: Likewise.
22043         * soft-fp/gesf2.c: Likewise.
22044         * soft-fp/getf2.c: Likewise.
22045         * soft-fp/ledf2.c: Likewise.
22046         * soft-fp/lesf2.c: Likewise.
22047         * soft-fp/letf2.c: Likewise.
22048         * soft-fp/muldf3.c: Likewise.
22049         * soft-fp/mulsf3.c: Likewise.
22050         * soft-fp/multf3.c: Likewise.
22051         * soft-fp/negdf2.c: Likewise.
22052         * soft-fp/negsf2.c: Likewise.
22053         * soft-fp/negtf2.c: Likewise.
22054         * soft-fp/op-1.h: Likewise.
22055         * soft-fp/op-2.h: Likewise.
22056         * soft-fp/op-4.h: Likewise.
22057         * soft-fp/op-8.h: Likewise.
22058         * soft-fp/op-common.h: Likewise.
22059         * soft-fp/quad.h: Likewise.
22060         * soft-fp/single.h: Likewise.
22061         * soft-fp/soft-fp.h: Likewise.
22062         * soft-fp/sqrtdf2.c: Likewise.
22063         * soft-fp/sqrtsf2.c: Likewise.
22064         * soft-fp/sqrttf2.c: Likewise.
22065         * soft-fp/subdf3.c: Likewise.
22066         * soft-fp/subsf3.c: Likewise.
22067         * soft-fp/subtf3.c: Likewise.
22068         * soft-fp/truncdfsf2.c: Likewise.
22069         * soft-fp/trunctfdf2.c: Likewise.
22070         * soft-fp/trunctfsf2.c: Likewise.
22071         * soft-fp/trunctfxf2.c: Likewise.
22072         * soft-fp/unorddf2.c: Likewise.
22073         * soft-fp/unordsf2.c: Likewise.
22074         * soft-fp/unordtf2.c: Likewise.
22076 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
22078         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22079         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22081 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
22083         * elf/dl-libc.c: Clear initfini list after freeing.
22085 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
22087         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22088         * soft-fp/addsf3.c: Likewise.
22089         * soft-fp/addtf3.c: Likewise.
22090         * soft-fp/divdf3.c: Likewise.
22091         * soft-fp/divsf3.c: Likewise.
22092         * soft-fp/divtf3.c: Likewise.
22093         * soft-fp/double.h: Likewise.
22094         * soft-fp/eqdf2.c: Likewise.
22095         * soft-fp/eqsf2.c: Likewise.
22096         * soft-fp/eqtf2.c: Likewise.
22097         * soft-fp/extenddftf2.c: Likewise.
22098         * soft-fp/extended.h: Likewise.
22099         * soft-fp/extendsfdf2.c: Likewise.
22100         * soft-fp/extendsftf2.c: Likewise.
22101         * soft-fp/extendxftf2.c: Likewise.
22102         * soft-fp/fixdfdi.c: Likewise.
22103         * soft-fp/fixdfsi.c: Likewise.
22104         * soft-fp/fixdfti.c: Likewise.
22105         * soft-fp/fixsfdi.c: Likewise.
22106         * soft-fp/fixsfsi.c: Likewise.
22107         * soft-fp/fixsfti.c: Likewise.
22108         * soft-fp/fixtfdi.c: Likewise.
22109         * soft-fp/fixtfsi.c: Likewise.
22110         * soft-fp/fixtfti.c: Likewise.
22111         * soft-fp/fixunsdfdi.c: Likewise.
22112         * soft-fp/fixunsdfsi.c: Likewise.
22113         * soft-fp/fixunsdfti.c: Likewise.
22114         * soft-fp/fixunssfdi.c: Likewise.
22115         * soft-fp/fixunssfsi.c: Likewise.
22116         * soft-fp/fixunssfti.c: Likewise.
22117         * soft-fp/fixunstfdi.c: Likewise.
22118         * soft-fp/fixunstfsi.c: Likewise.
22119         * soft-fp/fixunstfti.c: Likewise.
22120         * soft-fp/floatdidf.c: Likewise.
22121         * soft-fp/floatdisf.c: Likewise.
22122         * soft-fp/floatditf.c: Likewise.
22123         * soft-fp/floatsidf.c: Likewise.
22124         * soft-fp/floatsisf.c: Likewise.
22125         * soft-fp/floatsitf.c: Likewise.
22126         * soft-fp/floattidf.c: Likewise.
22127         * soft-fp/floattisf.c: Likewise.
22128         * soft-fp/floattitf.c: Likewise.
22129         * soft-fp/floatundidf.c: Likewise.
22130         * soft-fp/floatundisf.c: Likewise.
22131         * soft-fp/floatunsidf.c: Likewise.
22132         * soft-fp/floatunsisf.c: Likewise.
22133         * soft-fp/floatuntidf.c: Likewise.
22134         * soft-fp/floatuntisf.c: Likewise.
22135         * soft-fp/floatuntitf.c: Likewise.
22136         * soft-fp/fmadf4.c: Likewise.
22137         * soft-fp/fmasf4.c: Likewise.
22138         * soft-fp/fmatf4.c: Likewise.
22139         * soft-fp/gedf2.c: Likewise.
22140         * soft-fp/gesf2.c: Likewise.
22141         * soft-fp/getf2.c: Likewise.
22142         * soft-fp/ledf2.c: Likewise.
22143         * soft-fp/lesf2.c: Likewise.
22144         * soft-fp/letf2.c: Likewise.
22145         * soft-fp/muldf3.c: Likewise.
22146         * soft-fp/mulsf3.c: Likewise.
22147         * soft-fp/multf3.c: Likewise.
22148         * soft-fp/negdf2.c: Likewise.
22149         * soft-fp/negsf2.c: Likewise.
22150         * soft-fp/negtf2.c: Likewise.
22151         * soft-fp/op-1.h: Likewise.
22152         * soft-fp/op-2.h: Likewise.
22153         * soft-fp/op-4.h: Likewise.
22154         * soft-fp/op-8.h: Likewise.
22155         * soft-fp/op-common.h: Likewise.
22156         * soft-fp/quad.h: Likewise.
22157         * soft-fp/single.h: Likewise.
22158         * soft-fp/soft-fp.h: Likewise.
22159         * soft-fp/sqrtdf2.c: Likewise.
22160         * soft-fp/sqrtsf2.c: Likewise.
22161         * soft-fp/sqrttf2.c: Likewise.
22162         * soft-fp/subdf3.c: Likewise.
22163         * soft-fp/subsf3.c: Likewise.
22164         * soft-fp/subtf3.c: Likewise.
22165         * soft-fp/truncdfsf2.c: Likewise.
22166         * soft-fp/trunctfdf2.c: Likewise.
22167         * soft-fp/trunctfsf2.c: Likewise.
22168         * soft-fp/trunctfxf2.c: Likewise.
22169         * soft-fp/unorddf2.c: Likewise.
22170         * soft-fp/unordsf2.c: Likewise.
22171         * soft-fp/unordtf2.c: Likewise.
22173 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
22175         [BZ #15672]
22176         * misc/error.c (error_tail): Fix possible buffer overflow.
22178 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
22180         [BZ #13028]
22181         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22182         address.
22184 2013-10-14  P. J. McDermott  <pj@pehjota.net>
22186         [BZ #832]
22187         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
22188         testing pipefail option.
22190 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
22192         * soft-fp/double.h: Indent preprocessor directives inside #if.
22193         * soft-fp/extended.h: Likewise.
22194         * soft-fp/op-2.h: Likewise.
22195         * soft-fp/op-4.h: Likewise.
22196         * soft-fp/op-common.h: Likewise.
22197         * soft-fp/quad.h: Likewise.
22198         * soft-fp/single.h: Likewise.
22199         * soft-fp/soft-fp.h: Likewise.
22201 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
22203         * iconv/iconv_prog.c: Fix typos.
22204         * stdio-common/psiginfo-data.h: Likewise.
22206 2013-10-12   Reuben Thomas <rrt@sc3d.org>
22208         [BZ #15764]
22209         * locale/setlocale.c: Fix typo.
22211 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
22213         [BZ #16036]
22214         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22215         signaling NaN arguments.
22216         * soft-fp/unordsf2.c (__unordsf2): Likewise.
22217         * soft-fp/unordtf2.c (__unordtf2): Likewise.
22219         [BZ #14910]
22220         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22221         unordered operands.
22222         * soft-fp/gesf2.c (__gesf2): Likewise.
22223         * soft-fp/getf2.c (__getf2): Likewise.
22224         * soft-fp/ledf2.c (__ledf2): Likewise.
22225         * soft-fp/lesf2.c (__lesf2): Likewise.
22226         * soft-fp/letf2.c (__letf2): Likewise.
22228         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22229         * soft-fp/eqsf2.c (__eqsf2): Likewise.
22230         * soft-fp/eqtf2.c (__eqtf2): Likewise.
22231         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22232         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22233         * soft-fp/fixdfti.c (__fixdfti): Likewise.
22234         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22235         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22236         * soft-fp/fixsfti.c (__fixsfti): Likewise.
22237         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22238         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22239         * soft-fp/fixtfti.c (__fixtfti): Likewise.
22240         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22241         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22242         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22243         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22244         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22245         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22246         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22247         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22248         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22249         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22250         * soft-fp/floatdisf.c (__floatdisf): Likewise.
22251         * soft-fp/floatsisf.c (__floatsisf): Likewise.
22252         * soft-fp/floattidf.c (__floattidf): Likewise.
22253         * soft-fp/floattisf.c (__floattisf): Likewise.
22254         * soft-fp/floattitf.c (__floattitf): Likewise.
22255         * soft-fp/floatundidf.c (__floatundidf): Likewise.
22256         * soft-fp/floatundisf.c (__floatundisf): Likewise.
22257         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22258         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22259         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22260         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22261         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22262         * soft-fp/gesf2.c (__gesf2): Likewise.
22263         * soft-fp/getf2.c (__getf2): Likewise.
22264         * soft-fp/ledf2.c (__ledf2): Likewise.
22265         * soft-fp/lesf2.c (__lesf2): Likewise.
22266         * soft-fp/letf2.c (__letf2): Likewise.
22268         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22269         Undefine and redefine.
22270         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22271         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22272         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22273         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22274         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22275         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22276         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22277         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22278         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22279         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22280         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22281         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22282         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22283         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22284         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22286         [BZ #16032]
22287         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22288         without decrementing exponent if mantissa >= that for the
22289         denominator, not >.
22290         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22291         denominator, not >.  Decrement exponent in < case instead of
22292         incrementing in >= case.
22293         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22294         without decrementing exponent if mantissa >= that for the
22295         denominator, not >.
22297         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22298         computing saturated result for unsigned overflow.
22300 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22301             Jeff Law  <law@redhat.com>
22303         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22304         (atan2Mp): Add systemtap probe marker.
22305         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22306         (__ieee754_log): Add systemtap probe marker.
22307         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22308         (atanMp): Add systemtap probe marker.
22309         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22310         (tanMp): Add systemtap probe marker.
22311         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22312         (__slowexp): Add systemtap probe marker.
22313         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22314         (__slowpow): Add systemtap probe marker.
22315         * manual/probes.texi: Document probes.
22317 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
22319         [BZ #15362]
22320         * libio/fileops.c (_IO_new_file_write): Return count of bytes
22321         written.
22322         (_IO_new_file_xsputn): Don't return EOF if nothing has been
22323         written.
22324         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22325         written to buffer but not flushed.
22326         * libio/iofwrite_u.c:  Likewise.
22327         * libio/iopadn.c:  Return bytes returned even if EOF was
22328         encountered.
22329         * libio/iowpadn.c:  Likewise.
22330         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22331         if _IO_padn does not write the whole buffer.
22332         [!COMPILE_WPRINTF] (PAD): Likewise.
22334 2013-10-10  David S. Miller  <davem@davemloft.net>
22336         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22337         directory block.
22339 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
22341         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
22342         instead of FSF address.
22343         * soft-fp/fixdfti.c: Likewise.
22344         * soft-fp/fixsfti.c: Likewise.
22345         * soft-fp/fixtfti.c: Likewise.
22346         * soft-fp/fixunsdfti.c: Likewise.
22347         * soft-fp/fixunssfti.c: Likewise.
22348         * soft-fp/fixunstfti.c: Likewise.
22349         * soft-fp/floattidf.c: Likewise.
22350         * soft-fp/floattisf.c: Likewise.
22351         * soft-fp/floattitf.c: Likewise.
22352         * soft-fp/floatuntidf.c: Likewise.
22353         * soft-fp/floatuntisf.c: Likewise.
22354         * soft-fp/floatuntitf.c: Likewise.
22355         * soft-fp/trunctfxf2.c: Likewise.
22357         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
22358         * soft-fp/fixdfti.c: Likewise.
22359         * soft-fp/fixsfti.c: Likewise.
22360         * soft-fp/fixtfti.c: Likewise.
22361         * soft-fp/fixunsdfti.c: Likewise.
22362         * soft-fp/fixunssfti.c: Likewise.
22363         * soft-fp/fixunstfti.c: Likewise.
22364         * soft-fp/floattidf.c: Likewise.
22365         * soft-fp/floattisf.c: Likewise.
22366         * soft-fp/floattitf.c: Likewise.
22367         * soft-fp/floatuntidf.c: Likewise.
22368         * soft-fp/floatuntisf.c: Likewise.
22369         * soft-fp/floatuntitf.c: Likewise.
22370         * soft-fp/trunctfxf2.c: Likewise.
22372 2013-10-10  David S. Miller  <davem@davemloft.net>
22374         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22376 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
22378         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22379         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22380         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22381         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22382         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22383         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22384         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22386         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22387         for NaNs before doing comparisons on argument.
22388         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22389         Likewise.
22391 2013-10-10  Will Newton  <will.newton@linaro.org>
22393         * malloc/hooks.c (memalign_check): Ensure the value of bytes
22394         passed to _int_memalign does not overflow.
22396 2013-10-10  Torvald Riegel  <triegel@redhat.com>
22398         * scripts/bench.pl: Add include-sources directive.
22399         * benchtests/README: Update documentation.
22401 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
22403         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22404         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22405         instead of FP_INIT_ROUNDMODE.
22406         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22407         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22409         [BZ #16034]
22410         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
22411         copy class of input value.
22412         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
22413         not handle exceptions.
22414         * soft-fp/negsf2.c (__negsf2): Likewise.
22415         * soft-fp/negtf2.c (__negtf2): Likewise.
22416         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22418 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
22420         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
22421         semicolon.  From Linux kernel.
22423 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
22425         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
22427 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
22429         [BZ #156]
22430         * manual/socket.texi: Added statement about buffer
22431         for gethostbyname2_r.
22433 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
22435         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
22436         Use .p2align directive instead, throughout.
22437         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
22438         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
22439         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
22440         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
22441         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
22442         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
22443         * sysdeps/x86_64/strchr.S: Likewise.
22444         * sysdeps/x86_64/strrchr.S: Likewise.
22446 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
22448         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
22450         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
22452         * sysdeps/generic/math_private.h (__mpsin1): Remove
22453         declaration.
22454         (__mpcos1): Likewise.
22455         (__mpsin): New argument __range_reduce.
22456         (__mpcos): Likewise.
22457         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22458         (slow): Use __mpsin and __mpcos.
22459         (slow1): Likewise.
22460         (slow2): Likewise.
22461         (sloww): Likewise.
22462         (sloww1): Likewise.
22463         (sloww2): Likewise.
22464         (bsloww): Likewise.
22465         (bsloww1): Likewise.
22466         (bsloww2): Likewise.
22467         (cslow2): Likewise.
22468         (csloww): Likewise.
22469         (csloww1): Likewise.
22470         (csloww2): Likewise.
22471         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
22472         range_reduce.  Merge in __mpsin1.
22473         (__mpcos): Likewise.
22474         (__mpsin1): Remove.
22475         (__mpcos1): Likewise.
22477 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
22479         * locale/loadlocale.c (_nl_intern_locale_data): Use
22480         LOCFILE_ALIGNED_P.
22481         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
22482         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
22483         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
22484         obstack data is appropriately aligned.
22485         (obstack_int32_grow_fast): Likewise.
22486         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
22487         * locale/programs/locfile.c (add_locale_uint32): Likewise.
22488         (add_locale_uint32_array): Likewise.
22490 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
22492         * benchtests/Makefile: Remove ARGLIST and RET variables.
22493         ($(objpfx)bench-%.c): Pass only function name to the script.
22494         * benchtests/README: Update documentation.
22495         * benchtests/acos-inputs: Add new directives.
22496         * benchtests/acosh-inputs: Likewise.
22497         * benchtests/asin-inputs: Likewise.
22498         * benchtests/asinh-inputs: Likewise.
22499         * benchtests/atan-inputs: Likewise.
22500         * benchtests/atanh-inputs: Likewise.
22501         * benchtests/cos-inputs: Likewise.
22502         * benchtests/cosh-inputs: Likewise.
22503         * benchtests/exp-inputs: Likewise.
22504         * benchtests/log-inputs: Likewise.
22505         * benchtests/pow-inputs: Likewise.
22506         * benchtests/rint-inputs: Likewise.
22507         * benchtests/sin-inputs: Likewise.
22508         * benchtests/sinh-inputs: Likewise.
22509         * benchtests/tan-inputs: Likewise.
22510         * benchtests/tanh-inputs: Likewise.
22511         * scripts/bench.pl: Add support for new directives.
22513 2013-10-07  Alan Modra  <amodra@gmail.com>
22515         * README: Fix careless merge.
22517 2013-10-05  Alan Modra  <amodra@gmail.com>
22519         * NEWS: Mention powerpc64le support and bugs fixed.
22520         * README: Both big-endian and little-endian powerpc64 supported.
22522 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22524         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
22525         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
22526         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
22527         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
22529 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
22531         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
22532         match prototype.
22534 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
22536         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
22537         Move -mhard-float appending from
22538         ports/sysdeps/powerpc/powerpc32/Makefile.
22539         [$(with-fp) = yes] (ASFLAGS): Likewise.
22540         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
22541         * sysdeps/powerpc/nofpu: Move directory from
22542         ports/sysdeps/powerpc/nofpu.
22543         * sysdeps/powerpc/soft-fp: Move directory from
22544         ports/sysdeps/powerpc/soft-fp.
22545         * sysdeps/powerpc/powerpc32/405: Move directory from
22546         ports/sysdeps/powerpc/powerpc32/405.
22547         * sysdeps/powerpc/powerpc32/440: Move directory from
22548         ports/sysdeps/powerpc/powerpc32/440.
22549         * sysdeps/powerpc/powerpc32/464: Move directory from
22550         ports/sysdeps/powerpc/powerpc32/464.
22551         * sysdeps/powerpc/powerpc32/476: Move directory from
22552         ports/sysdeps/powerpc/powerpc32/476.
22553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
22554         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
22555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
22556         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
22557         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
22558         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
22559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
22560         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
22561         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
22562         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
22563         * README: Update for powerpc-*-linux-gnu software floating point
22564         support in libc.
22566         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
22567         case to powerpc/powerpc32*.
22568         * sysdeps/unix/sysv/linux/configure: Regenerated.
22570         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
22571         (_FPU_MASK_OM): Define as 0x04.
22572         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
22573         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
22574         0x00c10080.
22575         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
22576         0x0000003c.
22577         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
22579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
22580         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22581         getcontext_e500.
22582         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
22583         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
22584         setcontext_e500.
22585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
22586         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
22587         and setcontext_e500.
22589 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
22591         * locale/iso-3166.def: Update iso-1366.def and related occurrences
22593 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22595         * manual/threads.texi (Default Thread Attributes): Fix typo.
22597 2013-10-04  Will Newton  <will.newton@linaro.org>
22599         * malloc/Makefile: Add tst-memalign.
22600         * malloc/tst-memalign.c: New file.
22602         * malloc/tst-posix_memalign.c: Add comments.
22603         (do_test): Add comments and call free on all potentially
22604         allocated pointers. Add space after cast.
22606         * malloc/tst-pvalloc.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         * malloc/tst-valloc.c: Add comments.
22612         (do_test): Add comments and call free on all potentially
22613         allocated pointers. Remove duplicate check for NULL pointer.
22614         Add space after cast.
22616 2013-10-04  Alan Modra  <amodra@gmail.com>
22618         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22619         Use stdint types in rather than __attribute__((mode())).
22620         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22622 2013-10-04  Alan Modra  <amodra@gmail.com>
22624         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
22625         Correct handling of unaligned relocs for little-endian.
22626         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
22628 2013-10-04  Alan Modra  <amodra@gmail.com>
22630         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
22631         * configure: Regenerate.
22632         * nptl/shlib-versions: Powerpc*le starts at 2.18.
22633         * shlib-versions: Likewise.
22635 2013-10-04  Alan Modra  <amodra@gmail.com>
22637         * string/tester.c (test_memrchr): Increment reported test cycle.
22639 2013-10-04  Alan Modra  <amodra@gmail.com>
22641         * string/test-memcpy.c (do_one_test): When reporting errors, print
22642         string address and don't overrun end of string.
22644 2013-10-04  Alan Modra  <amodra@gmail.com>
22646         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
22647         insrdi.  Make better use of reg selection to speed exit slightly.
22648         Schedule entry path a little better.  Remove useless "are we done"
22649         checks on entry to main loop.  Handle wrapping around zero address.
22650         Correct main loop count.  Handle single left-over word from main
22651         loop inline rather than by using loop_small.  Remove extra word
22652         case in loop_small caused by wrong loop count.  Add little-endian
22653         support.
22654         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
22655         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
22656         cache hint.
22657         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
22658         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
22659         support.  Avoid rlwimi.
22660         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
22662 2013-10-04  Alan Modra  <amodra@gmail.com>
22664         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
22665         insrdi.  Formatting.
22666         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
22667         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22668         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
22669         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
22670         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22671         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
22673 2013-10-04  Alan Modra  <amodra@gmail.com>
22675         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
22676         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22677         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
22678         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
22679         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
22680         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
22681         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22682         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
22683         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
22684         use of regs.  Use power7 mtocrf.  Tidy function tails.
22686 2013-10-04  Alan Modra  <amodra@gmail.com>
22688         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
22689         Formatting.  Consistently use rXXX register defines or rN defines.
22690         Use early exit labels that avoid restoring unused non-volatile regs.
22691         Make cr field use more consistent with rWORDn compares.  Rename
22692         regs used as shift registers for unaligned loop, using rN defines
22693         for short lifetime/multiple use regs.
22694         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
22695         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
22696         addi 1,1,64 to pop stack frame.  Simplify return value code.
22697         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22699 2013-10-04  Alan Modra  <amodra@gmail.com>
22701         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
22702         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
22703         rather than rlwimi.
22704         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
22705         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
22706         little-endian support.  Correct typos.
22707         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
22708         rather than rlwimi.
22709         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
22710         in loop and entry code to keep "and." results.
22711         (strchr): Add little-endian support.  Comment.  Move cntlzd
22712         earlier in tail.
22713         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
22715 2013-10-04  Alan Modra  <amodra@gmail.com>
22717         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
22718         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
22719         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
22720         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
22722 2013-10-04  Alan Modra  <amodra@gmail.com>
22724         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
22725         (rTMP): Define as r11.
22726         (strcmp): Add little-endian support.  Optimise tail.
22727         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
22728         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
22729         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
22730         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
22731         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
22732         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
22733         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
22735 2013-10-04  Alan Modra  <amodra@gmail.com>
22737         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
22738         little-endian support.  Remove unnecessary "are we done" tests.
22739         Handle "s" wrapping around zero and extremely large "size".
22740         Correct main loop count.  Handle single left-over word from main
22741         loop inline rather than by using small_loop.  Correct comments.
22742         Delete "zero" tail, use "end_max" instead.
22743         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
22745 2013-10-04  Alan Modra  <amodra@gmail.com>
22747         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
22748         support.  Don't branch over align.
22749         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
22750         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
22751         support.  Rearrange tmp reg use to suit.  Comment.
22752         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
22754 2013-10-04  Alan Modra  <amodra@gmail.com>
22756         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
22758 2013-10-04  Alan Modra  <amodra@gmail.com>
22760         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
22761         conditional form of branch and link when obtaining pc.
22762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
22764 2013-10-04  Alan Modra  <amodra@gmail.com>
22766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
22767         HIWORD/LOWORD.
22768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
22769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
22771 2013-10-04  Alan Modra  <amodra@gmail.com>
22773         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
22774         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
22775         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
22776         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
22777         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
22778         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22779         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
22780         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22781         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
22782         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
22784 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22785             Alistair Popple <alistair@ozlabs.au.ibm.com>
22786             Alan Modra <amodra@gmail.com>
22788         [BZ #15723]
22789         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
22790         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
22791         _dl_hwcap access for little-endian.
22792         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
22793         destroy vmx regs when saving unaligned.
22794         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
22795         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
22796         destroy vmx regs when saving unaligned.
22798 2013-10-04  Alan Modra  <amodra@gmail.com>
22800         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
22801         Don't use a union to pack hi/low value.
22803 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22805         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
22806         for little-endian.
22807         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
22808         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
22809         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
22810         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
22811         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
22813 2013-10-04  Alan Modra  <amodra@gmail.com>
22815         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
22816         constants to usual value for .cst8 section, and remove redundant
22817         high address load.
22818         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
22819         constant for 0x1p52.  Load little-endian words of double from
22820         correct stack offsets.
22822 2013-10-04  Alan Modra  <amodra@gmail.com>
22824         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
22825         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
22826         words of double from correct stack offsets.
22827         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
22828         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
22829         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
22830         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
22831         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
22832         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
22833         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
22834         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
22835         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
22836         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
22837         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
22838         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
22839         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
22840         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
22841         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
22842         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
22843         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
22845 2013-10-04  Alan Modra  <amodra@gmail.com>
22847         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
22848         64-bit int/double union.
22849         (_FPU_SETCW): Likewise.
22850         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
22851         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
22853 2013-10-04  Alan Modra  <amodra@gmail.com>
22855         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
22856         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
22858 2013-10-04  Alan Modra  <amodra@gmail.com>
22860         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
22861         use vector int constants.
22862         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
22864 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22866         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
22867         array with long long.
22868         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
22869         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
22870         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
22871         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
22872         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
22873         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
22874         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
22875         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
22876         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
22877         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
22878         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
22879         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
22880         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
22882 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
22884         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
22885         (__signbit): Likewise.  Correct for little-endian.
22886         (__signbitl): Call __signbit.
22887         (lrint): Correct for little-endian.
22888         (lrintf): Call lrint.
22890 2013-10-04  Alan Modra  <amodra@gmail.com>
22892         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
22893         union 32-bit int array member with 64-bit int array.
22894         (t515, tm256): Double rather than long double.
22895         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
22897 2013-10-04  Alan Modra  <amodra@gmail.com>
22899         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
22900         Delete.
22901         (IEEE854_LONG_DOUBLE_BIAS): Delete.
22902         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
22903         version of math_ldbl.h.
22905 2013-10-04  Alan Modra  <amodra@gmail.com>
22907         [BZ #15734], [BZ #15735]
22908         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
22909         all uses of ieee875 long double macros and unions.  Simplify test
22910         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
22911         ldbl_extract_mantissa value for ix,iy exponents.  Properly
22912         normalize after ldbl_extract_mantissa, and don't add hidden bit
22913         already handled.  Don't treat low word of ieee854 mantissa like
22914         low word of IBM long double and mask off bit when testing for
22915         zero.
22916         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
22917         all uses of ieee875 long double macros and unions.  Simplify tests
22918         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
22919         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
22920         two1022, instead use their values.  Recognise that tests for large
22921         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
22922         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
22923         Rewrite all uses of ieee875 long double macros and unions.  Simplify
22924         test for 0.0L and nan.  Correct negation.
22925         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
22926         ieee875 long double macros and unions.  Correct output for large
22927         magnitude x.  Correct absolute value calculation.
22928         (__erfcl): Likewise.
22929         * math/libm-test.inc: Add tests for errors discovered in IBM long
22930         double versions of fmodl, remainderl, erfl and erfcl.
22932 2013-10-04  Alan Modra  <amodra@gmail.com>
22934         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
22935         all uses of ieee854 long double macros and unions.  Simplify tests
22936         for long doubles that are fully specified by the high double.
22937         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
22938         Likewise.
22939         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
22940         Remove dead code too.
22941         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
22942         (__ieee754_ynl): Likewise.
22943         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
22944         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
22945         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
22946         Remove dead code too.
22947         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
22948         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
22949         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
22950         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
22951         Simplify.
22952         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
22953         Simplify.
22954         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
22955         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
22956         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
22957         Comment on variable precision.
22958         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
22959         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
22960         Likewise.
22961         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22962         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
22963         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
22964         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
22965         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
22967 2013-10-04  Alan Modra  <amodra@gmail.com>
22969         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
22970         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
22971         all uses of ieee854 long double macros and unions.
22972         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
22973         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
22974         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
22975         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
22976         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
22977         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
22978         Likewise.
22979         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
22980         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
22981         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
22982         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
22983         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
22984         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
22985         Simplify sign and nan test too.
22986         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
22987         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
22988         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
22989         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
22990         Likewise.
22991         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
22992         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
22993         Likewise.
22994         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
22995         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
22996         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
22997         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
22998         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
22999         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23001 2013-10-04  Alan Modra  <amodra@gmail.com>
23003         * stdio-common/printf_size.c (__printf_size): Don't use
23004         union ieee854_long_double in fpnum union.
23005         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
23006         signbit macro to retrieve sign from long double.
23007         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23008         retrieve sign from long double.
23009         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23010         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23011         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23012         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23013         * math/test-misc.c (main): Don't use union ieee854_long_double.
23015 2013-10-04  Alan Modra  <amodra@gmail.com>
23017         [BZ #15680]
23018         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23019         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23020         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23021         calculation.  Remove unnecessary test for denormal exponent.
23022         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23023         Correct handling of denormals.  Avoid undefined shift behaviour.
23024         Correct normalisation of low mantissa when low double is denormal.
23025         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23026         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
23027         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23028         Correct normalisation of low mantissa.  Test for overflow of high
23029         mantissa and normalise.
23030         (ldbl_nearbyint): Use more readable constant for two52.
23031         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23032         (__mpn_construct_long_double): Fix test for overflow of high
23033         mantissa and correct normalisation.  Avoid undefined shift.
23035 2013-10-04  Alan Modra  <amodra@gmail.com>
23037         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23038         (union ibm_extended_long_double): Define as an array of ieee754_double.
23039         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23040         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23041         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23042         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23043         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23044         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23045         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23046         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23047         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23048         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23049         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23051 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
23053         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23054         page size instead of calling getpagesize.
23056         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23057         (LOCFILE_ALIGN_MASK): Likewise.
23058         (LOCFILE_ALIGN_UP): Likewise.
23059         (LOCFILE_ALIGNED_P): Likewise.
23060         * locale/programs/ld-collate.c (collate_output): Use the new
23061         macros instead of __alignof__ (int32_t).
23062         * locale/weight.h (findidx): Likewise.
23064 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
23066         [BZ #431]
23067         * manual/string.texi: Fix strncat and wcsncat.
23069 2013-10-03  Brooks Moses  <bmoses@google.com>
23071         [BZ #15915]
23072         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23073         * Makerules: ...here, and adjust associated comments.
23075 2013-10-02  Will Newton  <will.newton@linaro.org>
23077         * malloc/Makefile: Add tst-pvalloc.
23078         * malloc/tst-pvalloc.c: New file.
23080 2013-10-02  Will Newton  <will.newton@linaro.org>
23082         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23083         improve test coverage.
23085 2013-10-02  Will Newton  <will.newton@linaro.org>
23087         * malloc/Makefile: Add tst-posix_memalign.
23088         * malloc/tst-posix_memalign.c: New file.
23090 2013-10-01  Eric Blake  <eblake@redhat.com>
23092         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23093         Use __THROWNL rather than __THROW on static functions.
23095 2013-09-30  Petr Machata  <pmachata@redhat.com>
23097         * elf/elf.h (R_AARCH64_ABS16): New macro.
23098         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23099         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23100         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23101         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23102         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23103         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23104         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23105         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23106         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23107         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23108         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23109         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23110         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23111         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23112         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23113         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23114         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23115         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23116         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23117         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23118         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23119         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23120         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23121         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23122         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23123         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23124         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23125         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23126         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23127         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23128         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23129         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23130         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23131         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23132         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23133         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23134         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23135         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23136         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23137         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23138         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23139         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23140         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23141         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23142         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23143         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23144         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23145         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23146         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23147         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23148         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23149         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23150         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23151         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23152         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23153         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23154         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23155         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23156         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23157         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23158         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23159         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23160         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23161         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23162         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23163         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23164         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23165         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23166         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23167         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23168         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23169         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23170         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23171         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23172         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23173         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23174         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23175         (R_AARCH64_TLSDESC_LDR): Likewise.
23176         (R_AARCH64_TLSDESC_ADD): Likewise.
23177         (R_AARCH64_TLSDESC_CALL): Likewise.
23179 2013-09-30  Andreas Schwab  <schwab@suse.de>
23181         [BZ #15048]
23182         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23183         the nss database lookup.
23184         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23185         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23187 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
23189         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23191 2013-09-28  P. J. McDermott  <pj@pehjota.net>
23193         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23194         ${Bash-specific parameter/pattern/string} parameter expansion.
23195         * sysdeps/unix/make-syscalls.sh: Likewise.
23197 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23199         * sysdeps/sh/stackguard-macros.h: New file.
23201 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
23203         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23204         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23205         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23206         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23207         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23208         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23210 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23212         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23213         Fix thread ID register.
23215 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
23217         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23218         [POSIX || UNIX98]: Require rather than permitting all symbols from
23219         <time.h>.
23220         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23221         element of struct sched_param.
23222         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23223         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23224         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23225         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23226         constant.
23228 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
23230         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23231         argument calculation.
23233 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
23235         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23236         Expect macro.
23237         [POSIX] (pthread_attr_t): Do not require type.
23238         [POSIX] (pthread_cond_t): Likewise.
23239         [POSIX] (pthread_condattr_t): Likewise.
23240         [POSIX] (pthread_key_t): Likewise.
23241         [POSIX] (pthread_mutex_t): Likewise.
23242         [POSIX] (pthread_mutexattr_t): Likewise.
23243         [POSIX] (pthread_once_t): Likewise.
23244         [POSIX] (pthread_t): Likewise.
23245         [POSIX-based standards] (pthread_atfork): Expect function.
23247 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
23248             Richard Sandiford  <richard@codesourcery.com>
23250         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23251         (swap_endianness_p): New extern variable.
23252         (set_big_endian): New inline function.
23253         (maybe_swap_uint32): Likewise.
23254         (maybe_swap_uint32_array): Likewise.
23255         (maybe_swap_uint32_obstack): Likewise.
23256         * locale/programs/locfile.c: Include <stdbool.h>.
23257         (swap_endianness_p): New variable.
23258         (add_locale_uint32): Call maybe_swap_uint32.
23259         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23260         (write_locale_data): Call maybe_swap_uint32_array.
23261         * locale/programs/ld-collate.c (obstack_int32_grow): Call
23262         maybe_swap_uint32.
23263         (obstack_int32_grow_fast): Likewise.
23264         (output_weightwc): Call maybe_swap_uint32_obstack.
23265         (collate_output): Likewise.
23266         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23267         (OPT_LITTLE_ENDIAN): Likewise.
23268         (options): Add --little-endian and --big-endian options.
23269         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23270         * locale/programs/locarchive.c: Include "locfile.h".
23271         (GET): New macro.
23272         (SET): Likewise.
23273         (INC): Likewise.
23274         (create_archive): Use the new macros to access fields of
23275         structures directly mapped from or written to locale archives.
23276         (oldlocrecentcmp): Likewise.
23277         (enlarge_archive): Likewise.
23278         (insert_name): Likewise.
23279         (add_alias): Likewise.
23280         (add_locale): Likewise.
23281         (delete_locales_from_archive): Likewise.
23282         (show_archive_content): Likewise.
23283         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
23284         locale data.
23286 2013-09-24  Roland McGrath  <roland@hack.frob.com>
23288         * manual/freemanuals.texi: Updated from (newly) canonical copy at
23289         http://www.gnu.org/doc/freemanuals.texi.
23290         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23292 2013-09-24  Will Newton  <will.newton@linaro.org>
23294         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23295         macro.
23297 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
23299         * locale/hashval.h (compute_hashval): Interpret bytes of key as
23300         unsigned char.
23302 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
23304         * manual/threads.texi (POSIX Threads): Fix a typo.
23306 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
23308         [BZ #14547]
23309         * string/tst-strcoll-overflow.c: New test case.
23310         * string/Makefile (xtests): Add tst-strcoll-overflow.
23311         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23312         cache if string sizes may cause integer overflow.
23314         [BZ #14547]
23315         * string/strcoll_l.c (coll_seq): New members rule, idx,
23316         save_idx and back_us.
23317         (get_next_seq_nocache): New function.
23318         (do_compare_nocache): New function.
23319         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23320         when malloc fails.
23322 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
23324         [BZ #15754]
23325         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23326         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23327         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23329         [BZ #15754]
23330         * elf/Makefile (tests): Add tst-ptrguard1.
23331         (tests-static): Add tst-ptrguard1-static.
23332         (tst-ptrguard1-ARGS): Define.
23333         (tst-ptrguard1-static-ARGS): Define.
23334         * elf/tst-ptrguard1.c: New file.
23335         * elf/tst-ptrguard1-static.c: New file.
23336         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23337         * sysdeps/i386/stackguard-macros.h: Likewise.
23338         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23339         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23340         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23341         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23342         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23343         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23345 2013-09-23  Hector Marco  <hecmargi@upv.es>
23346             Ismael Ripoll  <iripoll@disca.upv.es>
23347             Carlos O'Donell  <carlos@redhat.com>
23349         [BZ #15754]
23350         * sysdeps/generic/stackguard-macros.h: Define
23351         __pointer_chk_guard_local and POINTER_CHK_GUARD.
23352         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23353         Define __pointer_chk_guard_local.
23354         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23355         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23357 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
23359         [BZ #15859]
23360         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23362 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
23364         * include/string.h (__ffs): Declare as hidden.
23365         * string/ffs.c (__ffs): Define as hidden.
23366         * sysdeps/i386/ffs.c (__ffs): Likewise.
23367         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23368         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23369         * sysdeps/s390/ffs.c (__ffs): Likewise.
23370         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23372 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
23374         * NEWS: Mention malloc probes.
23376         * malloc/arena.c (new_heap): New memory_heap_new probe.
23377         (grow_heap): New memory_heap_more probe.
23378         (shrink_heap): New memory_heap_less probe.
23379         (heap_trim): New memory_heap_free probe.
23380         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23381         (systrim): New memory_sbrk_less probe.
23382         * manual/probes.texi: Document them.
23384         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23385         * manual/probes.texi: Document it.
23387         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23388         (__libc_realloc): Add memory_realloc_retry probe.
23389         (__libc_memalign): Add memory_memalign_retry probe.
23390         (__libc_valloc): Add memory_valloc_retry probe.
23391         (__libc_pvalloc): Add memory_pvalloc_retry probe.
23392         (__libc_calloc): Add memory_calloc_retry probe.
23393         * manual/probes.texi: Document them.
23395         * malloc/arena.c (get_free_list): Add probe
23396         memory_arena_reuse_free_list.
23397         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23398         and memory_arena_reuse.
23399         (arena_get2) [!PER_THREAD]: Likewise.
23400         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23401         memory_arena_reuse_realloc.
23402         * manual/probes.texi: Document them.
23404         * malloc/malloc.c (__libc_free): Add
23405         memory_mallopt_free_dyn_thresholds probe.
23406         (__libc_mallopt): Add multiple memory_mallopt probes.
23407         * manual/probes.texi: Document them.
23409         * malloc/malloc.c: Include stap-probe.h.
23410         (__libc_mallopt): Add memory_mallopt probe.
23411         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23412         * manual/probes.texi: New.
23413         * manual/Makefile (chapters): Add probes.
23414         * manual/threads.texi: Set next node.
23416 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
23418         [BZ #15963, #13985]
23419         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
23420         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
23421         Add `Chinese' to `nan' entry name.
23423 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23425         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
23426         (POLYNOMIAL): Likewise.
23427         (TAYLOR_SINCOS): Likewise.
23428         (TAYLOR_SLOW): Likewise.
23429         (__sin): Use TAYLOR_SINCOS.
23430         (__cos): Likewise.
23431         (slow): Use TAYLOR_SLOW.
23432         (sloww): Likewise.
23433         (bsloww): Likewise.
23434         (csloww): Likewise.
23436 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23438         * stdlib/strtod_l.c: Fix buffer overrun.
23440 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
23442         * benchtests/Makefile (bench): Add sincos.
23443         * benchtests/bench-sincos.c: New file.
23445         * math/libm-test.inc (cos_test_data): New test inputs.
23446         (sin_test_data): Likewise.
23448         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
23449         macro.
23450         (__sin): Use it.
23451         (__cos): Likewise.
23452         (slow1): Likewise.
23453         (slow2): Likewise.
23454         (sloww1): Likewise.
23455         (sloww2): Likewise.
23456         (bsloww1): Likewise.
23457         (bsloww2): Likewise.
23458         (cslow2): Likewise.
23459         (csloww1): Likewise.
23460         (csloww2): Likewise.
23462         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
23463         function.
23464         (__sin): Use it.
23465         (__cos): Likewise.
23467         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
23468         gotos.
23469         (__cos): Likewise.
23471 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
23473         * config.h.in (HAVE_MIPS_NAN2008): New macro.
23474         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
23475         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
23476         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
23477         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
23478         * elf/cache.c (print_entry): Handle the new cache flags.
23480 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
23481             Aldy Hernandez  <aldyh@redhat.com>
23483         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
23484         Change condition to [_SOFT_FLOAT].
23485         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
23486         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
23487         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
23488         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
23489         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
23490         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
23491         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
23492         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
23493         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
23494         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
23495         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
23496         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
23497         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
23498         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
23499         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
23500         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
23501         declaration.
23503 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
23505         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
23506         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23507         (__longjmp): Use LOAD_GP to load saved GPRs.
23508         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
23509         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
23510         (__sigsetjmp): Use SAVE_GP to save GPRs.
23512         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
23513         Do not append -msoft-float.
23514         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
23516 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
23518         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
23520 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
23522         [BZ #15966]
23523         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
23524         (_FPU_GETCW): Use initial "__" on variable and field names but not
23525         on macro parameter name.
23526         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
23527         parentheses around reference to macro parameter.
23529 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
23531         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
23532         prototype.
23533         (ctype_startup): Use uint32_t in cast and sizeof for
23534         ctype->charnames.
23536 2013-09-11  Jia Liu  <proljc@gmail.com>
23538         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
23539         __daddr_t_defined.
23540         [__FreeBSD__]: Likewise.
23542 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
23544         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
23545         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
23546         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
23547         (strchr): Remove __strchr_sse42 ifunc selection.
23548         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
23549         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
23551 2013-09-11  Will Newton  <will.newton@linaro.org>
23553         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
23554         parameter to RES. Remove hardcoded 1000 value.
23555         * benchtests/bench-skeleton.c (main): Pass RES parameter
23556         to TIMING_INIT and multiply result by 1000.
23558 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23560         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23562 2013-09-11  Andreas Schwab  <schwab@suse.de>
23564         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23565         if not defined.
23566         (O_TMPFILE) [__USE_GNU]: Define.
23567         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
23568         Define.
23570 2013-09-11  Will Newton  <will.newton@linaro.org>
23572         [BZ #15857]
23573         * malloc/malloc.c (__libc_memalign): Check the value of bytes
23574         does not overflow.
23576 2013-09-11  Will Newton  <will.newton@linaro.org>
23578         [BZ #15856]
23579         * malloc/malloc.c (__libc_valloc): Check the value of bytes
23580         does not overflow.
23582 2013-09-11  Will Newton  <will.newton@linaro.org>
23584         [BZ #15855]
23585         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
23586         does not overflow.
23588 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
23590         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
23591         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
23592         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
23593         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
23594         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
23596 2013-09-10  Allan McRae  <allan@archlinux.org>
23598         [BZ #15748]
23599         * manual/arith.texi (Parsing of Floats): Clarify
23600         cross-reference.
23602         [BZ #15849]
23603         * manual/install.texi (Running make install): Mention
23604         --enable-pt-chown.
23605         * INSTALL: Regenerated.
23607 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
23609         * csu/init-first.c (_init): Remove the !SHARED condition around
23610         FPU control word initialization.
23611         * elf/dl-support.c (_dl_fpu_control): New variable.
23612         (_dl_aux_init) <AT_FPUCW>: Initialize it.
23613         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
23614         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
23615         * math/test-fpucw-static.c: New file.
23616         * math/test-fpucw-ieee.c: New file.
23617         * math/test-fpucw-ieee-static.c: New file.
23618         * math/Makefile (tests): Add `test-fpucw-ieee' and
23619         `$(tests-static)'.
23620         (tests-static): New variable.
23621         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
23622         dependency to...
23623         [($(build-shared),yes)]
23624         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
23625         ... this.
23626         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
23627         New dependency.
23629 2013-09-09  Allan McRae  <allan@archlinux.org>
23631         [BZ #15939]
23632         * manual/string.texi (Collation Functions): Fix typo in
23633         strcoll example.
23634         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
23636         [BZ #15893]
23637         * stdlib/isomac.c (get_null_defines): Fix memory leak.
23639         [BZ #15892]
23640         * libio/memstream.c (open_memstream): Fix memory leak.
23641         * libio/wmemstream.c (open_wmemstream): Likewise.
23643         [BZ #15895]
23644         * nscd/netgroupcache.c: Fix nesting of ifdefs.
23646 2013-09-09  Will Newton  <will.newton@linaro.org>
23648         * malloc/Makefile: Add tst-realloc to tests.
23649         * malloc/tst-realloc.c: New file.
23651 2013-09-09  Allan McRae  <allan@archlinux.org>
23653         [BZ #15844]
23654         * COPYING: Update from GNU website to fix FSF address.
23655         * COPYING.LIB: Likewise.
23657 2013-09-06  David S. Miller  <davem@davemloft.net>
23659         * po/zh_TW.po: Update Chinese (traditional) translation from
23660         translation project.
23662 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
23663             Joseph Myers  <joseph@codesourcery.com>
23665         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
23666         "localeinfo.h".
23667         (obstack_chunk_alloc): New macro.
23668         (obstack_chunk_free): Likewise.
23669         (record_offset): New function.
23670         (init_locale_data): Likewise.
23671         (align_locale_data): Likewise.
23672         (add_locale_empty): Likewise.
23673         (add_locale_raw_data): Likewise.
23674         (add_locale_raw_obstack): Likewise.
23675         (add_locale_string): Likewise.
23676         (add_locale_wstring): Likewise.
23677         (add_locale_uint32): Likewise.
23678         (add_locale_uint32_array): Likewise.
23679         (add_locale_char): Likewise.
23680         (start_locale_structure): Likewise.
23681         (end_locale_structure): Likewise.
23682         (start_locale_prelude): Likewise.
23683         (end_locale_prelude): Likewise.
23684         (write_locale_data): Take locale_file structure rather than an
23685         iovec.
23686         * locale/programs/locfile.h: Include "obstack.h".
23687         (struct locale_file): Change to store locale file contents instead
23688         of header.
23689         (init_locale_data): New prototype.
23690         (align_locale_data): Likewise.
23691         (add_locale_empty): Likewise.
23692         (add_locale_raw_data): Likewise.
23693         (add_locale_raw_obstack): Likewise.
23694         (add_locale_string): Likewise.
23695         (add_locale_wstring): Likewise.
23696         (add_locale_uint32): Likewise.
23697         (add_locale_uint32_array): Likewise.
23698         (add_locale_char): Likewise.
23699         (start_locale_structure): Likewise.
23700         (end_locale_structure): Likewise.
23701         (start_locale_prelude): Likewise.
23702         (end_locale_prelude): Likewise.
23703         (write_locale_data): Update prototype.
23704         * locale/programs/3level.h (struct TABLE): Remove result field.
23705         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
23706         Use new locale_file interface.
23707         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
23708         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
23709         * locale/programs/ld-address.c (address_output): Use new
23710         locale_file interface.
23711         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
23712         NO_ADD_LOCALE.
23713         (collate_finish): Don't call collseq_table_finalize.
23714         (collate_output): Use new locale_file interface.
23715         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
23716         in file.
23717         (NO_FINALIZE): Change to NO_ADD_LOCALE.
23718         (TABLE): Move defines earlier in file.
23719         (ELEMENT): Likewise.
23720         (DEFAULT): Likewise.
23721         (wctrans_table_add): Move macro and inline function earlier in
23722         file.
23723         (struct wctype_table): Move type earlier in file.
23724         (add_locale_wctype_table): New static prototype.
23725         (struct locale_ctype_t): Use logical types instead of struct iovec
23726         pointers for members.
23727         (ctype_output): Use new locale_file interface.
23728         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
23729         new locale_file interface.
23730         (allocate_arrays): Update for use of new locale_file interface.
23731         * locale/programs/ld-identification.c (identification_output): Use
23732         new locale_file interface.
23733         * locale/programs/ld-measurement.c (measurement_output): Likewise.
23734         * locale/programs/ld-messages.c (messages_output): Likewise.
23735         * locale/programs/ld-monetary.c (monetary_output): Likewise.
23736         * locale/programs/ld-name.c (name_output): Likewise.
23737         * locale/programs/ld-numeric.c (numeric_output): Likewise.
23738         * locale/programs/ld-paper.c (paper_output): Likewise.
23739         * locale/programs/ld-telephone.c (telephone_output): Likewise.
23740         * locale/programs/ld-time.c (time_output): Likewise.
23742 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23744         * benchtests/Makefile: Add memrchr benchmark.
23745         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
23746         benchmark as memrchr.
23747         * benchtests/bench-memrchr-ifunc.c: New file.
23748         * benchtests/bench-memrchr.c: New file.
23750 2013-09-06   Will Newton  <will.newton@linaro.org>
23752         * benchtests/Makefile (string-bench): Add memcpy.
23754 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
23755             Cong Wang  <amwang@redhat.com>
23757         [BZ #15850]
23758         * sysdeps/unix/sysv/linux/bits/in.h
23759         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
23760         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
23761         before __USE_KERNEL_IPV6_DEFS uses.
23762         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
23763         IPPROTO_BEETPH.
23764         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
23765         sockaddr_in6, or ipv6_mreq.
23767 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23769         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
23770         memory access for final bytes in some large inputs.
23771         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
23773 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23775         * string/test-memrchr.c: New file.
23776         * string/test-memrchr-ifunc.c: New file.
23777         * string/Makefile: Add new memrchr testcase.
23779 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
23781         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
23782         fanotify_init returns EPERM.
23784 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
23786         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
23787         errors.
23788         (top level): Treat second token from macro or constant entries for
23789         allowed headers as allowed.
23790         * include/complex.h: Condition internal declarations on
23791         [!_ISOMAC].
23792         * include/fenv.h: Condition include of <stdbool.h> and internal
23793         declarations on [!_ISOMAC].
23795 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
23797         [BZ #15923]
23798         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
23800 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
23802         * configure.in (--enable-versioning): Remove configure option.
23803         (libc_cv_asm_symver_directive): Remove configure test.
23804         (libc_cv_ld_version_script_option): Likewise.
23805         (VERSIONING): Remove variable and AC_SUBST.
23806         (DO_VERSIONING): Remove AC_DEFINE.
23807         * configure: Regenerated.
23808         * config.h.in (DO_VERSIONING): Remove macro.
23809         * Makerules [$(versioning) = yes]: Change conditionals to
23810         [$(build-shared) = yes].
23811         * config.make.in (versioning): Remove variable.
23812         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
23813         [$(build-shared) = yes].
23814         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
23815         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
23816         * elf/Makefile [$(versioning) = yes]: Change conditionals to
23817         [$(build-shared) = yes].
23818         * extra-lib.mk [$(versioning) = yes]: Likewise.
23819         * hurd/Makefile [$(versioning) = yes]: Likewise.
23820         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
23821         [SHARED].
23822         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
23823         [SHARED].
23824         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23825         [SHARED && !NO_HIDDEN].
23826         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
23827         [SHARED].
23828         [SHARED && DO_VERSIONING]: Likewise..
23829         * libio/Makefile [$(versioning) = yes]: Change conditionals to
23830         [$(build-shared) = yes].
23831         * manual/install.texi (--disable-versioning): Remove
23832         documentation.
23833         * INSTALL: Regenerated.
23834         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
23835         to [SHARED].
23836         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
23837         [$(build-shared) = yes].
23838         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
23839         * sysdeps/i386/i686/multiarch/strstr-c.c
23840         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
23841         [SHARED && !NO_HIDDEN].
23842         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
23843         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
23844         * sysdeps/powerpc/powerpc32/dl-machine.c
23845         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
23846         * sysdeps/powerpc/powerpc32/sysdep.h
23847         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
23848         to [SHARED && PIC && !NO_HIDDEN].
23849         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
23850         conditional to [SHARED].
23852 2013-09-04   Will Newton  <will.newton@linaro.org>
23854         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
23855         * benchtests/bench-string.h: Include bench-timing.h instead
23856         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
23857         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
23858         call to HP_TIMING_DIFF_INIT.
23859         * benchtests/bench-memccpy.c: Use bench-timing.h macros
23860         instead of hp-timing.h macros.
23861         * benchtests/bench-memchr.c: Likewise.
23862         * benchtests/bench-memcmp.c: Likewise.
23863         * benchtests/bench-memcpy.c: Likewise.
23864         * benchtests/bench-memmem.c: Likewise.
23865         * benchtests/bench-memmove.c: Likewise.
23866         * benchtests/bench-memset.c: Likewise.
23867         * benchtests/bench-rawmemchr.c: Likewise.
23868         * benchtests/bench-strcasecmp.c: Likewise.
23869         * benchtests/bench-strcasestr.c: Likewise.
23870         * benchtests/bench-strcat.c: Likewise.
23871         * benchtests/bench-strchr.c: Likewise.
23872         * benchtests/bench-strcmp.c: Likewise.
23873         * benchtests/bench-strcpy.c: Likewise.
23874         * benchtests/bench-strcpy_chk.c: Likewise.
23875         * benchtests/bench-strlen.c: Likewise.
23876         * benchtests/bench-strncasecmp.c: Likewise.
23877         * benchtests/bench-strncat.c: Likewise.
23878         * benchtests/bench-strncmp.c: Likewise.
23879         * benchtests/bench-strncpy.c: Likewise.
23880         * benchtests/bench-strnlen.c: Likewise.
23881         * benchtests/bench-strpbrk.c: Likewise.
23882         * benchtests/bench-strrchr.c: Likewise.
23883         * benchtests/bench-strspn.c: Likewise.
23884         * benchtests/bench-strstr.c: Likewise.
23886 2013-09-04  Will Newton  <will.newton@linaro.org>
23888         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
23890 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
23892         [BZ #15427]
23893         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
23894         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
23895         * math/libm-test.inc (lgamma_test_data): Add more tests.
23896         * sysdeps/i386/fpu/libm-test-ulps: Update.
23897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23899 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
23901         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
23902         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
23903         Add ifunc.
23904         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
23905         Add strcmp-sse2-unaligned
23906         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
23908 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
23910         * Versions.def (libc): Add GLIBC_2.19.
23912 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
23914         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
23915         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
23917 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
23919         [BZ #14155]
23920         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
23921         intermediate calculations in recurrence.
23922         (__ieee754_ynf): Likewise.
23923         * math/libm-test.inc (jn_test_data): Do not allow spurious
23924         underflow exception.  Add more tests.
23925         (yn_test_data): Add more tests.
23926         * sysdeps/i386/fpu/libm-test-ulps: Update.
23927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23929 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
23931         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
23933 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
23935         * csu/init-first.c: Fix then/than typos.
23936         * locale/programs/ld-collate.c: Likewise.
23937         * locale/programs/linereader.h: Likewise.
23938         * manual/charset.texi: Likewise.
23939         * manual/filesys.texi: Likewise.
23940         * manual/stdio.texi: Likewise.
23941         * manual/string.texi: Likewise.
23942         * stdlib/fmtmsg.c: Likewise.
23943         * sysdeps/i386/stpncpy.S: Likewise.
23944         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23945         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23946         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23947         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23949 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
23951         * elf/dl-open.c: Fix typos.
23952         * iconvdata/gbbig5.c: Likewise.
23953         * iconvdata/iso-2022-jp.c: Likewise.
23954         * iconv/gconv_int.h: Likewise.
23955         * iconv/loop.c: Likewise.
23956         * nis/rpcsvc/nis.h: Likewise.
23957         * resolv/ns_name.c: Likewise.
23958         * stdio-common/vfscanf.c: Likewise.
23959         * streams/stropts.h: Likewise.
23960         * sunrpc/rpc_thread.c: Likewise.
23961         * sysdeps/i386/strpbrk.S: Likewise.
23962         * sysdeps/ieee754/k_standard.c: Likewise.
23963         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23964         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23965         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
23966         * sysdeps/mach/hurd/profil.c: Likewise.
23967         * sysdeps/s390/dl-procinfo.h: Likewise.
23968         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
23969         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
23970         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
23971         * sysdeps/x86_64/dl-trampoline.S: Likewise.
23972         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
23974 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
23976         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
23977         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
23979 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
23981         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
23982         aix specific files.
23983         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
23984         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
23985         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
23986         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
23987         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
23988         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
23989         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
23990         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
23992 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
23993             Roland McGrath  <roland@hack.frob.com>
23995         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
23996         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
23998 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24000         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24001         __executable_start symbol instead of _start.
24003 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
24005         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24006         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24007         Move macros to...
24008         * sysdeps/gnu/ldsodefs.h: ... this new file.
24010         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24011         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24012         instead of ELFOSABI_LINUX.
24014         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
24015         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24016         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24017         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24018         Likewise.
24019         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24020         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24021         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24022         Likewise.
24023         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24024         (ibm_extended_long_double): Add ieee_nan member.
24025         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24026         (do_test): New function.
24028         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24029         TEST_TRUNC.
24030         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24031         functions, renamed from truncdfsf_test, trunctfsf_test,
24032         trunctfdf_test.
24033         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24034         functions.
24035         (do_test): Run all these.
24037 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
24039         * argp/argp-help.c: Fix typos.
24040         * argp/argp-parse.c: Likewise.
24041         * debug/backtracesyms.c: Likewise.
24042         * elf/elf.h: Likewise.
24043         * malloc/malloc.c: Likewise.
24044         * nis/nis_print.c: Likewise.
24045         * resolv/res_comp.c: Likewise.
24046         * stdlib/stdlib.h: Likewise.
24047         * sunrpc/clnt_tcp.c: Likewise.
24048         * sunrpc/clnt_udp.c: Likewise.
24049         * sunrpc/clnt_unix.c: Likewise.
24050         * sysdeps/unix/bsd/ptsname.c: Likewise.
24051         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24052         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
24053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24054         Likewise.
24055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24056         Likewise.
24057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24058         Likewise.
24059         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24061 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24063         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24064         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24066 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
24068         [BZ #15897]
24069         * dlfcn/Makefile (tests): Add bug-dl-leaf.
24070         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24071         ($(objpfx)bug-dl-leaf): New rule.
24072         ($(objpfx)bug-dl-leaf.so): Likewise.
24073         ($(objpfx)bug-dl-leaf.out): Likewise.
24074         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24075         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24076         * dlfcn/bug-dl-leaf.c: New test.
24077         * dlfcn/bug-dl-leaf-lib.c: Likewise.
24078         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24079         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24080         (dlclose): Likewise.
24081         (dlmopen): Likewise.
24083 2013-08-27  Roland McGrath  <roland@hack.frob.com>
24085         * include/netdb.h [!_ISOMAC]:
24086         Don't include <tls.h>.
24087         (h_errno, __libc_h_errno): Move declaration and macros out of
24088         [_LIBC_REENTRANT].
24090         * include/resolv.h [_RESOLV_H_]:
24091         Don't include <tls.h>.
24092         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24093         * resolv/res_libc.c: Don't include <tls.h>.
24094         (_res): Use __attribute__ ((nocommon)) in place of
24095         __attribute__ ((section (".bss"))).
24097         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24098         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24100         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24102         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24103         only under [SIOCGIFCONF && SIOCGIFNETMASK].
24105         * resolv/res_mkquery.c: Include <sys/time.h>.
24107         * inet/ifreq.c: Moved to ...
24108         * sysdeps/unix/ifreq.c: ... here.
24109         * inet/ifreq.c: New file, true stub version.
24111         * socket/sa_len.c: New file.
24112         * socket/Makefile (aux): Add it.
24113         * sysdeps/unix/sysv/linux/Makefile
24114         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24115         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24116         and #include <socket/sa_len.c>.
24117         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24118         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24120         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24121         * bits/socket.h: ... here.
24123         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24124         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24125         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24127 2013-08-27  Andreas Schwab  <schwab@suse.de>
24129         [BZ #15736]
24130         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24131         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24132         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24133         * string/test-strcasecmp.c (test_main): Run tests in several
24134         locales.
24135         * string/test-strncasecmp.c (test_main): Likewise.
24137         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24138         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24139         to __strcasecmp_nonascii and __strncasecmp_nonascii.
24140         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24141         (__strncasecmp_ssse3) [PIC]: Likewise.
24143 2013-08-26  Roland McGrath  <roland@hack.frob.com>
24145         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24147         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24148         instead of explicitly declaring xdecrypt.
24149         * nis/nss_nis/nis-publickey.c: Likewise.
24151 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24153         [BZ #15890]
24154         * nscd/aicache.c: Include res_hconf.h.
24155         (addhstaiX): Initialize res_hconf.
24157 2013-08-26  Andreas Schwab  <schwab@suse.de>
24159         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24160         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24162 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24164         * nscd/aicache.c (addhstaiX): Fix indentation.
24166 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
24168         * configure.ac: Quote $build_pt_chown test.
24169         * configure: Regenerated.
24171 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
24173         [BZ #15532]
24174         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24175         * math/s_cexpf.c (__cexpf): Likewise.
24176         * math/s_cexpl.c (__cexpl): Likewise.
24177         * math/libm-test.inc (cexp_test_data): Correct expected return
24178         value for NaN + i0.  Add another test.
24180 2013-08-22  David S. Miller  <davem@davemloft.net>
24182         * po/ca.po: Update Catalan translation from translation project.
24183         * po/uk.po: Add Ukrainian translations from translation project.
24185 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
24187         [BZ #15797]
24188         * math/s_fdim.c (__fdim): Check for infinite arguments if result
24189         is infinite, not alongside NaN test.
24190         * math/s_fdimf.c (__fdimf): Likewise.
24191         * math/s_fdiml.c (__fdiml): Likewise.
24192         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
24193         errno is unchanged.
24195 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
24197         * argp/argp-help.c: Fix typos.
24198         * crypt/speeds.c: Likewise.
24199         * csu/check_fds.c: Likewise.
24200         * elf/dl-load.c: Likewise.
24201         * elf/dl-open.c: Likewise.
24202         * elf/reldep3.c: Likewise.
24203         * elf/reldep.c: Likewise.
24204         * elf/sprof.c: Likewise.
24205         * iconv/iconv_charmap.c: Likewise.
24206         * iconv/skeleton.c: Likewise.
24207         * iconv/strtab.c: Likewise.
24208         * io/lockf64.c: Likewise.
24209         * libio/libioP.h: Likewise.
24210         * resolv/gai_notify.c: Likewise.
24211         * resolv/ns_name.c: Likewise.
24212         * resolv/ns_samedomain.c: Likewise.
24213         * resolv/res_send.c: Likewise.
24214         * stdlib/random.c: Likewise.
24215         * sunrpc/rpc/xdr.h: Likewise.
24216         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24217         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24218         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24219         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24220         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24221         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24222         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24223         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24224         * sysdeps/mach/hurd/check_fds.c: Likewise.
24225         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24226         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24227         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24228         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24229         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24230         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24231         * sysdeps/pthread/aio_notify.c: Likewise.
24232         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24233         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24234         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24235         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24236         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24238 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24240         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24241         version if bit_Slow_SSE4_2 is set.
24242         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24243         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24245 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24247         [BZ #15867]
24248         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24249         trampoline stack frame information.
24250         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24251         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24252         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24253         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24254         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24255         * sysdeps/unix/sysv/linux/powerpc/init-first.c
24256         (_libc_vdso_platform_setup): Initialize the signal trampolines.
24257         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24258         sa_flags value.
24259         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24260         interrupting a syscall and set with option SA_SIGINFO.
24262 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
24264         [BZ #15531]
24265         * math/s_cproj.c (__cproj): Only return an infinity if one part of
24266         argument is infinite.
24267         * math/s_cprojf.c (__cprojf): Likewise.
24268         * math/s_cprojl.c (__cprojl): Likewise.
24269         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24270         * math/libm-test.inc (cproj_test_data): Add more tests.
24272         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24274         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24275         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24276         size.  Use __ffs to determine corresponding shift.
24278 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
24279             Roland McGrath  <roland@hack.frob.com>
24281         * Makefile (INSTALL): Remove trailing blank lines from output of
24282         makeinfo.
24284 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24286         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24287         Align 32 bit compat elf_greg to 8 bytes.
24289 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
24291         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24293 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24295         * string/strcoll_l.c (coll_seq): New structure.
24296         (get_next_seq_cached): New function.
24297         (get_next_seq): New function.
24298         (do_compare): New function.
24299         (STRCOLL): Use GNU style definition.  Simplify implementation
24300         by using get_next_seq, get_next_seq_cached and do_compare.
24302 2013-08-16  Florian Weimer  <fweimer@redhat.com>
24304         [BZ #14699]
24305         CVE-2013-4237
24306         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24307         member.
24308         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24309         member.
24310         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24311         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24312         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
24313         conditional.
24314         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24315         GETDENTS_64BIT_ALIGNED.
24316         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24317         * manual/filesys.texi (Reading/Closing Directory): Document
24318         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
24319         strongly.
24320         * manual/conf.texi (Limits for Files): Add portability note to
24321         NAME_MAX, PATH_MAX.
24322         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24324 2013-08-13  Andreas Schwab  <schwab@suse.de>
24326         [BZ #15749]
24327         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24328         of fabs.
24329         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24330         LDBL_MAX_EXP >= 16384]: Add tests for it.
24332 2013-08-12  David S. Miller  <davem@davemloft.net>
24334         * version.h (RELEASE): Set to "development".
24335         (VERSION): Set to "2.18.90".
24336         * NEWS: Add 2.19 section.
24338 2013-08-03  David S. Miller  <davem@davemloft.net>
24340         * po/ko.po: Update Korean translation from translation project.
24342 2013-08-01  David S. Miller  <davem@davemloft.net>
24344         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
24345         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24346         Bilka.
24348 2013-07-30  David S. Miller  <davem@davemloft.net>
24350         * po/fr.po: Update French translation from translation project.
24352 2013-07-28  David S. Miller  <davem@davemloft.net>
24354         * po/cs.po: Update Czech translation from translation project.
24356         * po/sv.po: Update Swedish translation from translation project.
24358 2013-07-27  David S. Miller  <davem@davemloft.net>
24360         * po/eo.po: Update Esperanto translation from translation project.
24362         * po/vi.po: Update Vietnamese translation from translation project.
24364         * po/de.po: Update German translation from translation project.
24366 2013-07-26  David S. Miller  <davem@davemloft.net>
24368         * po/bg.po: Update Bulgarian translation from translation project.
24370         * po/nl.po: Update Dutch translation from translation project.
24371         * po/pl.po: Update Polish translation from translation project.
24372         * po/ru.po: Update Russian translation from translation project.
24374 2013-07-24  David S. Miller  <davem@davemloft.net>
24376         * po/libc.pot: Update.
24378 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24380         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24381         variable page size.
24382         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24383         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24384         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24386 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24388         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24390 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24391             Andreas Schwab  <schwab@suse.de>
24392             Roland McGrath  <roland@hack.frob.com>
24393             Joseph Myers  <joseph@codesourcery.com>
24394             Carlos O'Donell  <carlos@redhat.com>
24396         [BZ #15755]
24397         * config.h.in: Define HAVE_PT_CHOWN.
24398         * config.make.in (build-pt-chown): New variable.
24399         * configure.in (--enable-pt_chown): New configure option.
24400         * configure: Regenerate.
24401         * login/Makefile: Include Makeconfig.  Build pt_chown only if
24402         build-pt-chown is enabled.
24403         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24404         pt_chown to fix pty ownership.
24405         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24406         CLOSE_ALL_FDS.
24407         * manual/install.texi (Configuring and compiling): Mention
24408         --enable-pt_chown. Add @findex for grantpt.
24409         * INSTALL: Regenerate.
24411 2013-07-20  David S. Miller  <davem@davemloft.net>
24413         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24414         difference between 32-bit and 64-bit.
24416 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
24418         [BZ #15711]
24419         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
24420         Avoid system header dependency with -ffreestanding.
24421         ($(objpfx)bits/syscall%d): Likewise.
24423 2013-07-13  David S. Miller  <davem@davemloft.net>
24425         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
24426         underflows from atanl/atan2l due to bug 15319.
24427         (casinh_test_data): Likewise.
24429 2013-07-07  David S. Miller  <davem@davemloft.net>
24431         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
24433 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
24435         * sysdeps/i386/fpu/libm-test-ulps: Update.
24436         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24438 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
24440         * configure.in (--enable-lock-elision): Fix message text.
24441         * INSTALL: Regenerate.
24442         * configure: Regenerate.
24444 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24446         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24448 2013-07-03  Andreas Jaeger  <aj@suse.de>
24450         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
24451         define.
24452         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
24453         (ptrace_peeksiginfo_args): Add.
24454         (__ptrace_peeksiginfo_flags): Add.
24455         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
24456         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
24457         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
24459 2013-07-03  Allan McRae  <allan@archlinux.org>
24461         * sysdeps/i386/fpu/libm-test-ulps: Update.
24463 2013-07-02  David S. Miller  <davem@davemloft.net>
24465         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24467 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
24469         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24471 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
24473         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
24474         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24476 2013-07-02  Andi Kleen <ak@linux.intel.com>
24478         * config.h.in (ENABLE_LOCK_ELISION): Add.
24479         * configure.in (--enable-lock-elision): Add option.
24480         * manual/install.texi: Document --enable lock elision.
24481         * configure: Regenerate
24482         * INSTALL: Regenerate.
24484 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
24486         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
24487         SSE4.2 strcasecmp for libc.a.
24488         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
24490 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
24492         [BZ #13304]
24493         * soft-fp/op-common.h (_FP_FMA): New macro.
24494         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
24495         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
24496         (_FP_MUL_MEAT_1_imm): ... here.
24497         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
24498         (_FP_MUL_MEAT_1_wide): ... here.
24499         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
24500         (_FP_MUL_MEAT_1_hard): ... here.
24501         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
24502         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
24503         (_FP_MUL_MEAT_2_wide): ... here.
24504         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
24505         (_FP_MUL_MEAT_2_wide_3mul): ... here.
24506         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
24507         (_FP_MUL_MEAT_2_gmp): ... here.
24508         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
24509         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
24510         (_FP_MUL_MEAT_4_wide): ... here.
24511         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
24512         (_FP_MUL_MEAT_4_gmp): ... here.
24513         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
24514         (_FP_WFRACBITS_DW_S): Likewise.
24515         (_FP_WFRACXBITS_DW_S): Likewise.
24516         (_FP_HIGHBIT_DW_S): Likewise.
24517         (FP_FMA_S): Likewise.
24518         (_FP_FRAC_HIGH_DW_S): Likewise.
24519         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
24520         (_FP_WFRACBITS_DW_D): Likewise.
24521         (_FP_WFRACXBITS_DW_D): Likewise.
24522         (_FP_HIGHBIT_DW_D): Likewise.
24523         (FP_FMA_D): Likewise.
24524         (_FP_FRAC_HIGH_DW_D): Likewise.
24525         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
24526         (_FP_WFRACBITS_DW_E): Likewise.
24527         (_FP_WFRACXBITS_DW_E): Likewise.
24528         (_FP_HIGHBIT_DW_E): Likewise.
24529         (FP_FMA_E): Likewise.
24530         (_FP_FRAC_HIGH_DW_E): Likewise.
24531         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
24532         (_FP_WFRACBITS_DW_Q): Likewise.
24533         (_FP_WFRACXBITS_DW_Q): Likewise.
24534         (_FP_HIGHBIT_DW_Q): Likewise.
24535         (FP_FMA_Q): Likewise.
24536         (_FP_FRAC_HIGH_DW_Q): Likewise.
24537         * soft-fp/fmasf4.c: New file.
24538         * soft-fp/fmadf4.c: Likewise.
24539         * soft-fp/fmatf4.c: Likewise.
24541 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24543         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
24544         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
24545         Silvermont.
24546         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
24547         macro.
24548         (index_Slow_SSE4_2): Likewise.
24549         (index_Prefer_PMINUB_for_stringop): Likewise.
24550         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
24551         bit_Slow_SSE4_2 is set.
24552         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24553         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24555 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24557         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
24558         rtld_global._dl_hwcap2.
24559         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
24560         POWER8.
24561         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
24562         POWER8 feature descriptions defined in _dl_hwcap2.
24563         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
24564         string handling for POWER8 feature bits.
24565         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
24566         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
24567         _dl_powerpc_cap_flags.
24568         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
24569         * sysdeps/powerpc/rtld-global-offsets.sym
24570         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
24571         _dl_hwcap2 in the rtld_global_ro structure.
24573 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24575         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
24576         hardware capabilities in support of AT_HWCAP2.
24577         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
24578         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
24579         GLRO(dl_hwcap2).
24580         (_dl_show_auxv): Add support for calling _dl_procinfo to display
24581         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
24582         explicitly the unknown a_type display mechanism is used.
24583         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
24584         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
24585         struct member.
24586         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
24587         to macro prototype for AT_HWCAP2 support.
24588         * sysdeps/i386/dl-procinfo.h: Likewise.
24589         * sysdeps/s390/dl-procinfo.h: Likewise.
24590         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
24591         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
24592         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
24593         return -1 for unknown a_type display fallback.
24594         * sysdeps/sparc/dl-procinfo.h: Likewise.
24595         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
24596         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
24598 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
24600         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
24601         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
24603 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
24605         [BZ #12492]
24606         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
24607         mprotect making __stack_prot writable.
24609 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
24610             Joseph Myers  <joseph@codesourcery.com>
24612         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
24613         as being properly aligned.
24615 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
24617         * dlfcn/modstatic5.c: New file.
24618         * dlfcn/tststatic5.c: New file.
24619         * dlfcn/Makefile (tests): Add tststatic5.
24620         (tests-static): Likewise.
24621         (modules-names): Add modstatic5.
24622         (tststatic5-ENV): New variable.
24623         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
24625         [BZ #15022]
24626         * elf/dl-support.c (_dl_main_map): New variable.
24627         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
24628         (_dl_nns, _dl_load_adds): Set to 1.
24629         (_dl_initial_searchlist): Refer to _dl_main_map.
24630         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
24631         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
24632         call to _dl_get_origin.
24633         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
24634         around call_map.
24635         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
24636         * dlfcn/modstatic3.c: New file.
24637         * dlfcn/tststatic3.c: New file.
24638         * dlfcn/tststatic4.c: New file.
24639         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
24640         (tests-static): Likewise.
24641         (modules-names): Add modstatic3.
24642         (tststatic3-ENV, tststatic4-ENV): New variables.
24643         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
24644         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
24646 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
24648         * configure.in (CC): Require GCC version 4.4 or later.
24649         * configure: Regenerated.
24650         * manual/install.texi (Tools for Compilation): Update GCC version
24651         requirement.
24652         * INSTALL: Regenerated.
24654 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24656         [BZ #15674]
24657         * string/test-memcmp.c (check2): New.
24658         (main): Call check2.
24660         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
24662 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
24664         [BZ #15022]
24665         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
24666         over to...
24667         (dl_open_worker) [!SHARED]: ... here.
24669 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24671         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
24673 2013-06-25  Richard Henderson  <rth@redhat.com>
24675         * locale/programs/locarchive.c: Include <libc-internal.h>
24677 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
24679         * manual/texinfo.tex: Update to version 2013-06-21.17, with
24680         trailing whitespace removed.
24682 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
24684         [BZ #10283]
24685         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
24686         * locale/programs/locarchive.c: Include libc-mmap.h.
24687         (prepare_address_space): Take two new outputs (the mmap base and len).
24688         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
24689         values.
24690         (create_archive): Declare new mmap base and len values for
24691         prepare_address_space, and store the result in ah.
24692         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
24693         (enlarge_archive): If ah->mmap_base is not NULL, use that and
24694         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24695         Declare new mmap base and len values for
24696         prepare_address_space, and store the result in new_ah.
24697         (open_archive): Declare new mmap base and len values for
24698         prepare_address_space, and store the result in ah.
24699         (close_archive): If ah->mmap_base is not NULL, use that and
24700         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
24701         * sysdeps/generic/libc-mmap.h: New file.
24703 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
24705         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
24706         (ALIGN_UP): Likewise.
24707         (PTR_ALIGN_DOWN): Likewise.
24708         (PTR_ALIGN_UP): Likewise.
24710 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24712         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
24713         entry mapped to PPC_PLATFORM_POWER8.
24714         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
24715         POWER8.
24716         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
24717         (_dl_string_platform): Add case for exporting platform position for
24718         POWER8.
24719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
24720         search path to sysdeps/powerpc/powerpc32/power8 directory.
24721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
24722         search path to sysdeps/powerpc/powerpc64/power8 directory.
24723         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
24724         power7 directories.
24725         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
24726         power7 directories.
24728 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
24730         * INSTALL: Regenerate.
24732         * nscd/connections.c (nscd_init): Fix comment.
24734 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
24736         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
24738         [BZ #15667]
24739         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
24740         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
24742 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
24744         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
24745         DL_DST_REQ_STATIC.
24746         (DL_DST_REQ_STATIC): Remove macro.
24748 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
24750         [BZ #7006]
24751         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
24752         with a shift of 0 bits.
24754 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
24756         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
24757         $(tststatic-ENV).
24759 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24761         [BZ #15655]
24762         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
24764 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24766         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
24767         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
24768         accepts -fno-tree-loop-distribute-patterns.
24769         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
24770         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
24771         recursive call.
24772         * string/memset.c (memset): Likewise.
24773         * string/test-memmove.c (simple_memmove): Disable loop transformation
24774         to library calls.
24775         * string/test-memset.c (simple_memset): Likewise.
24776         * benchtests/bench-memmove.c (simple_memmove): Likewise.
24777         * benchtests/bench-memset.c (simple_memset): Likewise.
24778         * configure: Regenerated.
24780 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
24782         * math/test-misc.c (main): Ignore fesetround failure when failures
24783         of subsequent rounding tests would be ignored.
24785         [BZ #15654]
24786         * math/fedisblxcpt.c (fedisableexcept): Return 0.
24787         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
24788         * math/fegetenv.c (__fegetenv): Return 0.
24789         * math/fegetexcept.c (fegetexcept): Return 0.
24790         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
24791         FE_TONEAREST.
24792         * math/feholdexcpt.c (feholdexcept): Return 0.
24793         * math/fesetenv.c (__fesetenv): Return 0.
24794         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
24795         argument FE_TONEAREST.
24796         * math/feupdateenv.c (__feupdateenv): Return 0.
24797         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
24799 2013-06-18  Roland McGrath  <roland@hack.frob.com>
24801         * elf/rtld-Rules (rtld-compile-command.S): New variable.
24802         (rtld-compile-command.s, rtld-compile-command.c): New variables.
24803         ($(objpfx)rtld-%.os rules): Use them.
24805 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24807         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
24808         fields.
24810 2013-06-17  Roland McGrath  <roland@hack.frob.com>
24812         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
24813         length of target pattern, then descending length of dependency pattern.
24814         * configure.in (AWK): Require gawk 3.1.2 or newer.
24815         * manual/install.texi (Tools for Compilation): Say that we do.
24816         * configure: Regenerated.
24818         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
24819         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
24820         * scripts/sysd-rules.awk: ... this new script.
24821         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
24822         than a glob-style pattern.
24824 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
24826         * math/test-misc.c (main): Do not treat incorrectly rounded
24827         conversions as failure unless ROUNDING_TESTS passes.
24829 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
24831         [BZ #15631]
24832         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
24833         restore exception state around main square root computation, then
24834         check for inexactness explicitly.
24836         * math/libm-test.inc (fma_test_data): Add another test.
24838 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
24840         * manual/threads.texi (Non-POSIX Extensions): New document
24841         node.  Document pthread_getattr_default_np and
24842         pthread_setattr_default_np.
24844         * Versions.def (libpthread): Add GLIBC_2.18.
24845         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
24846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24847         Likewise.
24848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24849         Likewise.
24850         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24851         Likewise.
24852         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24853         Likewise.
24854         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
24855         Likewise.
24856         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24857         Likewise.
24858         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24859         Likewise.
24860         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
24861         Likewise.
24862         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
24863         Likewise.
24865 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24867         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24868         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
24870 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
24871             H.J. Lu  <hjl.tools@gmail.com>
24873         [BZ #15627]
24874         * sysdeps/x86_64/rtld-memset.c: Remove file.
24875         * sysdeps/x86_64/rtld-memset.S: New file.
24877 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
24879         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
24880         (test_in_one_mode): Take arguments for whether the rounding mode
24881         is supported for each floating-point type.
24882         (do_test): Pass new arguments to test_in_one_mode using
24883         ROUNDING_TESTS.
24885 2013-06-13  Roland McGrath  <roland@hack.frob.com>
24887         * posix/tst-waitid.c (do_test): Distinguish different instances of
24888         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
24889         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
24890         before entering the kernel for waitpid.
24892 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24894         * NEWS: Fix note on clock function precision.  Text by Roland
24895         McGrath.
24897 2013-06-13  Roland McGrath  <roland@hack.frob.com>
24899         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
24900         it into place only when and if the sanity check passes.
24902 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
24904         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
24905         output for whether conversion result is exact.  Take argument
24906         indicating whether type is IBM long double.
24907         (round_for_all): Change need_exact field to ibm_ld.
24908         * stdlib/tst-strtod-round.c (struct exactness): New type.
24909         (struct test): Change bool ld_ok field to struct exactness exact.
24910         (TEST): Update all definitions for change to field.
24911         (tests): Regenerate array contents.
24912         (test_in_one_mode): Take pointer to new field instead of old ld_ok
24913         field value.  Check for IBM long double here.
24914         (do_test): Update calls to test_in_one_mode.
24916 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
24918         [BZ #12515]
24919         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
24920         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
24922 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24924         [BZ #15605]
24925         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
24926         generated by the compiler on loop optimizations.
24927         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
24928         general definitions.
24930 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
24932         * math/bug-nextafter.c: Include <math-tests.h>.
24933         (main): Only test for exceptions if EXCEPTION_TESTS is true for
24934         the relevant type.
24935         * math/bug-nexttoward.c: Include <math-tests.h>.
24936         (main): Only test for exceptions if EXCEPTION_TESTS is true for
24937         the relevant type.
24938         * math/test-misc.c: Include <math-tests.h>.
24939         (main): Only test for exceptions if EXCEPTION_TESTS is true for
24940         the relevant type.
24942 2013-06-12  Andreas Jaeger  <aj@suse.de>
24944         * po/ia.po: Update Interlingua translation from translation
24945         project.
24947 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
24949         * include/fenv.h: Include stdbool.h.
24950         (struct rm_ctx): New structure.
24951         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
24952         Define macro.
24953         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
24954         (SET_RESTORE_ROUNDF): Likewise.
24955         (SET_RESTORE_ROUNDL): Likewise.
24956         (SET_RESTORE_ROUND_NOEX): Likewise.
24957         (SET_RESTORE_ROUND_NOEXF): Likewise.
24958         (SET_RESTORE_ROUND_NOEXL): Likewise.
24959         (SET_RESTORE_ROUND_53BIT): Likewise.
24960         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
24961         (libc_feresetround_noexf_ctx): Likewise.
24962         (libc_feresetround_noexl_ctx): Likewise.
24963         (libc_feholdsetround_53bit_ctx): Likewise.
24964         (libc_feresetround_53bit_ctx): Likewise.
24965         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
24966         (libc_feholdexcept_setround_sse_ctx): New function.
24967         (libc_fesetenv_sse_ctx): Likewise.
24968         (libc_feupdateenv_sse_ctx): Likewise.
24969         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
24970         (libc_feholdexcept_setround_387_ctx): Likewise.
24971         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
24972         (libc_feholdsetround_387_prec_ctx): Likewise.
24973         (libc_feholdsetround_387_ctx): Likewise.
24974         (libc_feholdsetround_387_53bit_ctx): Likewise.
24975         (libc_feholdsetround_sse_ctx): Likewise.
24976         (libc_feresetround_sse_ctx): Likewise.
24977         (libc_feresetround_387_ctx): Likewise.
24978         (libc_feupdateenv_387_ctx): Likewise.
24979         (libc_feholdexcept_setroundf_ctx): Define macro.
24980         (libc_fesetenvf_ctx): Likewise.
24981         (libc_feupdateenvf_ctx): Likewise.
24982         (libc_feholdsetroundf_ctx): Likewise.
24983         (libc_feresetroundf_ctx): Likewise.
24984         (libc_feholdexcept_setround_ctx): Likewise.
24985         (libc_fesetenv_ctx): Likewise.
24986         (libc_feupdateenv_ctx): Likewise.
24987         (libc_feholdsetround_ctx): Likewise.
24988         (libc_feresetround_ctx): Likewise.
24989         (libc_feholdexcept_setroundl_ctx): Likewise.
24990         (libc_feupdateenvl_ctx): Likewise.
24991         (libc_feholdsetroundl_ctx): Likewise.
24992         (libc_feresetroundl_ctx): Likewise.
24993         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
24994         (libc_feresetround_53bit_ctx): Likewise.
24996 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
24998         * locale/iso-639.def: Convert to UTF-8.
25000 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
25002         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25003         (EXCEPTION_TESTS_double): Likewise.
25004         (EXCEPTION_TESTS_long_double): Likewise.
25005         (EXCEPTION_TESTS): Likewise.
25006         * math/libm-test.inc (test_exceptions): Only test exceptions if
25007         EXCEPTION_TESTS (FLOAT).
25009 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25011         * benchtests/Makefile (string-bench): Add strcpy_chk and
25012         stpcpy_chk.
25013         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25014         * benchtests/bench-stpcpy_chk.c: New file.
25015         * benchtests/bench-strcpy_chk-ifunc.c: New file.
25016         * benchtests/bench-strcpy_chk.c: New file.
25017         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25018         code.
25019         (do_test): Likewise.
25021 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25023         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25024         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25025         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25026         with tabs where appropriate.
25027         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25028         dl-procinfo.h.
25029         [PPC_PLATFORM_PPC440]: Likewise.
25030         [PPC_PLATFORM_PPC464]: Likewise.
25031         [PPC_PLATFORM_PPC476]: Likewise.
25032         (_dl_string_platform): Add support for detecting ppc405, ppc440,
25033         ppc464, and ppc476 platform strings merging from ports/
25034         dl-procinfo.h.
25036 2013-06-11  Andreas Schwab  <schwab@suse.de>
25038         [BZ #14991]
25039         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25040         (from_ucs4_idx): Regenerate.
25041         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25042         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25043         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25044         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25045         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25046         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25047         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25048         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25049         from FROM_LOOP and TO_LOOP specific macros.
25050         (BODY): Handle combining characters.
25051         * iconvdata/BIG5HKSCS.irreversible: Update.
25052         * iconvdata/BIG5HKSCS.precomposed: New file.
25053         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25054         characters.
25055         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25057 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25059         * include/sys/time.h: Fix indentation and add copyright header.
25061         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25062         (do_test): Likewise.
25063         * string/test-memchr.c (do_one_test): Likewise.
25064         (do_test): Likewise.
25065         * string/test-memcmp.c (do_one_test): Likewise.
25066         (do_test): Likewise.
25067         * string/test-memcpy.c (do_one_test): Likewise.
25068         (do_test): Likewise.
25069         * string/test-memmem.c (do_one_test): Likewise.
25070         (do_test): Likewise.
25071         (do_random_tests): Likewise.
25072         * string/test-memmove.c (do_one_test): Likewise.
25073         (do_test): Likewise.
25074         * string/test-memset.c (do_one_test): Likewise.
25075         (do_test): Likewise.
25076         * string/test-rawmemchr.c (do_one_test): Likewise.
25077         (do_test): Likewise.
25078         * string/test-strcasecmp.c (do_one_test): Likewise.
25079         (do_test): Likewise.
25080         * string/test-strcasestr.c (do_one_test): Likewise.
25081         (do_test): Likewise.
25082         * string/test-strcat.c (do_one_test): Likewise.
25083         (do_test): Likewise.
25084         * string/test-strchr.c (do_one_test): Likewise.
25085         (do_test): Likewise.
25086         * string/test-strcmp.c (do_one_test): Likewise.
25087         (do_test): Likewise.
25088         * string/test-strcpy.c (do_one_test): Likewise.
25089         (do_test): Likewise.
25090         * string/test-string.h: Likewise.
25091         (test_init): Likewise.
25092         * string/test-strlen.c (do_one_test): Likewise.
25093         (do_test): Likewise.
25094         * string/test-strncasecmp.c (do_one_test): Likewise.
25095         (do_test): Likewise.
25096         * string/test-strncat.c (do_one_test): Likewise.
25097         (do_test): Likewise.
25098         * string/test-strncmp.c (do_one_test): Likewise.
25099         (do_test_limit): Likewise.
25100         (do_test): Likewise.
25101         * string/test-strncpy.c (do_one_test): Likewise.
25102         (do_test): Likewise.
25103         * string/test-strnlen.c (do_one_test): Likewise.
25104         (do_test): Likewise.
25105         * string/test-strpbrk.c (do_one_test): Likewise.
25106         (do_test): Likewise.
25107         * string/test-strrchr.c (do_one_test): Likewise.
25108         (do_test): Likewise.
25109         * string/test-strspn.c (do_one_test): Likewise.
25110         (do_test): Likewise.
25111         * string/test-strstr.c (do_one_test): Likewise.
25112         (do_test): Likewise.
25114         * benchtests/Makefile (string-bench): Add string benchmarks.
25115         * benchtests/bench-bcopy-ifunc.c: New file.
25116         * benchtests/bench-bcopy.c: New file.
25117         * benchtests/bench-bzero-ifunc.c: New file.
25118         * benchtests/bench-bzero.c: New file.
25119         * benchtests/bench-memccpy-ifunc.c: New file.
25120         * benchtests/bench-memccpy.c: New file.
25121         * benchtests/bench-memchr-ifunc.c: New file.
25122         * benchtests/bench-memchr.c: New file.
25123         * benchtests/bench-memcmp-ifunc.c: New file.
25124         * benchtests/bench-memcmp.c: New file.
25125         * benchtests/bench-memmem-ifunc.c: New file.
25126         * benchtests/bench-memmem.c: New file.
25127         * benchtests/bench-memmove-ifunc.c: New file.
25128         * benchtests/bench-memmove.c: New file.
25129         * benchtests/bench-mempcpy-ifunc.c: New file.
25130         * benchtests/bench-mempcpy.c: New file.
25131         * benchtests/bench-memset-ifunc.c: New file.
25132         * benchtests/bench-memset.c: New file.
25133         * benchtests/bench-rawmemchr-ifunc.c: New file.
25134         * benchtests/bench-rawmemchr.c: New file.
25135         * benchtests/bench-stpcpy-ifunc.c: New file.
25136         * benchtests/bench-stpcpy.c: New file.
25137         * benchtests/bench-stpncpy-ifunc.c: New file.
25138         * benchtests/bench-stpncpy.c: New file.
25139         * benchtests/bench-strcasecmp-ifunc.c: New file.
25140         * benchtests/bench-strcasecmp.c: New file.
25141         * benchtests/bench-strcasestr-ifunc.c: New file.
25142         * benchtests/bench-strcasestr.c: New file.
25143         * benchtests/bench-strcat-ifunc.c: New file.
25144         * benchtests/bench-strcat.c: New file.
25145         * benchtests/bench-strchr-ifunc.c: New file.
25146         * benchtests/bench-strchr.c: New file.
25147         * benchtests/bench-strchrnul-ifunc.c: New file.
25148         * benchtests/bench-strchrnul.c: New file.
25149         * benchtests/bench-strcmp-ifunc.c: New file.
25150         * benchtests/bench-strcmp.c: New file.
25151         * benchtests/bench-strcpy-ifunc.c: New file.
25152         * benchtests/bench-strcpy.c: New file.
25153         * benchtests/bench-strcspn-ifunc.c: New file.
25154         * benchtests/bench-strcspn.c: New file.
25155         * benchtests/bench-strlen-ifunc.c: New file.
25156         * benchtests/bench-strlen.c: New file.
25157         * benchtests/bench-strncasecmp-ifunc.c: New file.
25158         * benchtests/bench-strncasecmp.c: New file.
25159         * benchtests/bench-strncat-ifunc.c: New file.
25160         * benchtests/bench-strncat.c: New file.
25161         * benchtests/bench-strncmp-ifunc.c: New file.
25162         * benchtests/bench-strncmp.c: New file.
25163         * benchtests/bench-strncpy-ifunc.c: New file.
25164         * benchtests/bench-strncpy.c: New file.
25165         * benchtests/bench-strnlen-ifunc.c: New file.
25166         * benchtests/bench-strnlen.c: New file.
25167         * benchtests/bench-strpbrk-ifunc.c: New file.
25168         * benchtests/bench-strpbrk.c: New file.
25169         * benchtests/bench-strrchr-ifunc.c: New file.
25170         * benchtests/bench-strrchr.c: New file.
25171         * benchtests/bench-strspn-ifunc.c: New file.
25172         * benchtests/bench-strspn.c: New file.
25173         * benchtests/bench-strstr-ifunc.c: New file.
25174         * benchtests/bench-strstr.c: New file.
25176         * benchtests/Makefile: Disable parallel execution of targets.
25177         (string-bench): Add memcpy.
25178         (benchset): New variable to store a list of benchmark sets.
25179         (bench-func): Renamed from bench.
25180         (bench-set): New target.
25181         (bench): Depend on bench-func and bench-set.
25182         * benchtests/README: Add section on benchmark sets.
25183         * benchtests/bench-memcpy-ifunc.c: New file.
25184         * benchtests/bench-memcpy.c: New file.
25185         * benchtests/bench-string.h: New file.
25187 2013-06-11  Andreas Schwab  <schwab@suse.de>
25189         [BZ #15577]
25190         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25191         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25192         values in the triple.
25193         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25194         terminator in the group key.
25196 2013-06-11  Andreas Jaeger  <aj@suse.de>
25198         * po/zh_TW.po: Update Chinese (traditional) translation from
25199         translation project.
25201 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25203         * include/time.h (__clock_gettime): Add libc_hidden_proto.
25204         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25205         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
25206         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25207         (clock_getcpuclockid): Likewise.
25208         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25209         Add weak_alias and libc_hidden_def.
25210         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25211         * rt/clock_gettime.c (clock_gettime): Rename to
25212         __clock_gettime.  Add weak_alias and libc_hidden_def.
25213         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25214         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25215         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
25216         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25217         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25218         Likewise.
25219         * rt/clock_settime.c (clock_settime): Rename to
25220         __clock_settime.  Add weak_alias and libc_hidden_def.
25221         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25223 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
25225         * mach/err_boot.sub: Remove trailing whitespace.
25226         * mach/err_ipc.sub: Likewise.
25227         * mach/err_mach.sub: Likewise.
25229         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25230         (ROUNDING_TESTS_double): Likewise.
25231         (ROUNDING_TESTS_long_double): Likewise.
25232         (ROUNDING_TESTS): Likewise.
25233         * math/libm-test.inc: Include <math-tests.h>.
25234         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25235         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25236         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25237         (IF_ROUND_INIT_FE_UPWARD): Likewise.
25239 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25241         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25242         of assigning.
25244 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
25246         * sysdeps/gnu/errlist.awk: Do not generate space at end of
25247         otherwise empty TRANS lines.
25248         * sysdeps/gnu/errlist.c: Regenerated.
25250         * catgets/gencat.c (error_print): Use (void) in function
25251         definition.
25252         * crypt/crypt_util.c (__init_des): Likewise.
25253         * crypt/speeds.c (Stop): Likewise.
25254         (main): Likewise.
25255         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25256         * inet/ruserpass.c (token): Likewise.
25257         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25258         * intl/localealias.c (extend_alias_table): Likewise.
25259         * intl/plural-exp.c (init_germanic_plural): Likewise.
25260         * libio/fcloseall.c (__fcloseall): Likewise.
25261         * libio/genops.c (_IO_flush_all): Likewise.
25262         (_IO_flush_all_linebuffered): Likewise.
25263         (_IO_cleanup): Likewise.
25264         (_IO_iter_begin): Likewise.
25265         (_IO_iter_end): Likewise.
25266         (_IO_list_lock): Likewise.
25267         (_IO_list_unlock): Likewise.
25268         (_IO_list_resetlock): Likewise.
25269         * libio/getchar.c (getchar): Likewise.
25270         * libio/getchar_u.c (getchar_unlocked): Likewise.
25271         * libio/getwchar.c (getwchar): Likewise.
25272         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25273         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25274         * login/getpt.c (__getpt): Likewise.
25275         * login/tst-utmp.c (main): Likewise.
25276         * malloc/hooks.c (__malloc_check_init): Likewise.
25277         * malloc/malloc.c (__malloc_stats): Likewise.
25278         * malloc/mtrace.c (tr_break): Likewise.
25279         (mtrace): Likewise.
25280         (muntrace): Likewise.
25281         * misc/fstab.c (endfsent): Likewise.
25282         * misc/getclktck.c (__getclktck): Likewise.
25283         * misc/getdtsz.c (__getdtablesize): Likewise.
25284         * misc/gethostid.c (gethostid): Likewise.
25285         * misc/getpagesize.c (__getpagesize): Likewise.
25286         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25287         (__get_nprocs): Likewise.
25288         (__get_phys_pages): Likewise.
25289         (__get_avphys_pages): Likewise.
25290         * misc/getttyent.c (getttyent): Likewise.
25291         (setttyent): Likewise.
25292         (endttyent): Likewise.
25293         * misc/getusershell.c (getusershell): Likewise.
25294         (endusershell): Likewise.
25295         (setusershell): Likewise.
25296         (initshells): Likewise.
25297         * misc/hsearch.c (__hdestroy): Likewise.
25298         * misc/sync.c (sync): Likewise.
25299         * misc/syslog.c (closelog_internal): Likewise.
25300         (closelog): Likewise.
25301         * misc/ttyslot.c (ttyslot): Likewise.
25302         * misc/vhangup.c (vhangup): Likewise.
25303         * posix/fork.c (__fork): Likewise.
25304         * posix/getegid.c (__getegid): Likewise.
25305         * posix/geteuid.c (__geteuid): Likewise.
25306         * posix/getgid.c (__getgid): Likewise.
25307         * posix/getpid.c (__getpid): Likewise.
25308         * posix/getppid.c (__getppid): Likewise.
25309         * posix/getuid.c (__getuid): Likewise.
25310         * posix/pause.c (pause): Likewise.
25311         * posix/setpgrp.c (setpgrp): Likewise.
25312         * posix/setsid.c (__setsid): Likewise.
25313         * posix/test-vfork.c (noop): Likewise.
25314         * resolv/gethnamaddr.c (_endhtent): Likewise.
25315         (_gethtent): Likewise.
25316         (ht_endhostent): Likewise.
25317         (gethostent): Likewise.
25318         (dns_service): Likewise.
25319         * stdlib/drand48.c (drand48): Likewise.
25320         * stdlib/lrand48.c (lrand48): Likewise.
25321         * stdlib/mrand48.c (mrand48): Likewise.
25322         * stdlib/rand.c (rand): Likewise.
25323         * stdlib/random.c (__random): Likewise.
25324         * stdlib/setenv.c (clearenv): Likewise.
25325         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25326         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25327         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25328         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25329         (__get_nprocs): Likewise.
25330         (__get_phys_pages): Likewise.
25331         (__get_avphys_pages): Likewise.
25332         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25333         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25334         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25335         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25336         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25337         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25338         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25339         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25340         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25341         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25342         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25343         * sysdeps/mach/hurd/sync.c (sync): Likewise.
25344         * sysdeps/posix/clock.c (clock): Likewise.
25345         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25346         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25347         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25348         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25349         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25350         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25351         (__get_nprocs_conf): Likewise.
25352         (__get_phys_pages): Likewise.
25353         (__get_avphys_pages): Likewise.
25354         * time/clock.c (clock): Likewise.
25355         * time/tzset.c (__tzname_max): Likewise.
25357 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
25359         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25360         (__bswap_32): Do not use "register".
25361         * crypt/crypt.c (_ufc_doit_r): Likewise.
25362         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25363         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25364         * gmon/gmon.c (__monstartup): Likewise.
25365         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25366         * hurd/hurdmalloc.c (more_memory): Likewise.
25367         (malloc): Likewise.
25368         (free): Likewise.
25369         (realloc): Likewise.
25370         (malloc_fork_prepare): Likewise.
25371         (malloc_fork_parent): Likewise.
25372         (malloc_fork_child): Likewise.
25373         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25374         (_svcauth_des): Likewise.
25375         * inet/inet_lnaof.c (inet_lnaof): Likewise.
25376         * inet/inet_net.c (inet_network): Likewise.
25377         * inet/inet_netof.c (inet_netof): Likewise.
25378         * inet/rcmd.c (__validuser2_sa): Likewise.
25379         * io/fts.c (fts_open): Likewise.
25380         (fts_load): Likewise.
25381         (fts_close): Likewise.
25382         (fts_read): Likewise.
25383         (fts_children): Likewise.
25384         (fts_build): Likewise.
25385         (fts_stat): Likewise.
25386         (fts_sort): Likewise.
25387         (fts_alloc): Likewise.
25388         (fts_lfree): Likewise.
25389         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25390         (_IO_file_xsgetn): Likewise.
25391         (_IO_file_xsgetn_mmap): Likewise.
25392         * libio/iofopncook.c (_IO_cookie_read): Likewise.
25393         (_IO_cookie_write): Likewise.
25394         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25395         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25396         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25397         * malloc/obstack.c (_obstack_begin): Likewise.
25398         (_obstack_begin_1): Likewise.
25399         (_obstack_newchunk): Likewise.
25400         (_obstack_allocated_p): Likewise.
25401         (obstack_free): Likewise.
25402         (_obstack_memory_used): Likewise.
25403         * misc/getttyent.c (getttynam): Likewise.
25404         (getttyent): Likewise.
25405         (skip): Likewise.
25406         (value): Likewise.
25407         * misc/getusershell.c (initshells): Likewise.
25408         * misc/syslog.c (__vsyslog_chk): Likewise.
25409         * misc/ttyslot.c (ttyslot): Likewise.
25410         * nis/nis_hash.c (__nis_hash): Likewise.
25411         * posix/fnmatch_loop.c (FCT): Likewise.
25412         * posix/getconf.c (print_all): Likewise.
25413         (main): Likewise.
25414         * posix/getopt.c (exchange): Likewise.
25415         * posix/glob.c (globfree): Likewise.
25416         (prefix_array): Likewise.
25417         (__glob_pattern_type): Likewise.
25418         * resolv/arpa/nameser.h (NS_GET16): Likewise.
25419         (NS_GET32): Likewise.
25420         (NS_PUT16): Likewise.
25421         (NS_PUT32): Likewise.
25422         * resolv/gethnamaddr.c (getanswer): Likewise.
25423         (gethostbyname2): Likewise.
25424         (gethostbyaddr): Likewise.
25425         (_gethtent): Likewise.
25426         (_gethtbyname2): Likewise.
25427         (_gethtbyaddr): Likewise.
25428         * resolv/ns_print.c (dst_s_get_int16): Likewise.
25429         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
25430         * resolv/res_init.c (__res_vinit): Likewise.
25431         (net_mask): Likewise.
25432         * resolv/res_mkquery.c (outchar): Likewise.
25433         (PRINT): Likewise.
25434         * stdio-common/printf_fp.c (outchar): Likewise.
25435         (PRINT): Likewise.
25436         * stdio-common/printf_fphex.c (outchar): Likewise.
25437         (PRINT): Likewise.
25438         * stdio-common/printf_size.c (outchar): Likewise.
25439         (PRINT): Likewise.
25440         * stdio-common/test_rdwr.c (main): Likewise.
25441         * stdio-common/tfformat.c (matches): Likewise.
25442         * stdio-common/vfprintf.c (outchar): Likewise.
25443         (printf_unknown): Likewise.
25444         (buffered_vfprintf): Likewise.
25445         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
25446         * stdio-common/xbug.c (AppendToBuffer): Likewise.
25447         (ReadFile): Likewise.
25448         * stdlib/qsort.c (SWAP): Likewise.
25449         (_quicksort): Likewise.
25450         * stdlib/setenv.c (__add_to_environ): Likewise.
25451         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
25452         * stdlib/strtol_l.c (__strtol_l): Likewise.
25453         * stdlib/tst-strtod.c (main): Likewise.
25454         * stdlib/tst-strtol.c (main): Likewise.
25455         * stdlib/tst-strtoll.c (main): Likewise.
25456         * string/bits/string2.h (__strcmp_cc): Likewise.
25457         (__strcmp_cg): Likewise.
25458         (__strcspn_c1): Likewise.
25459         (__strcspn_c2): Likewise.
25460         (__strcspn_c3): Likewise.
25461         (__strspn_c1): Likewise.
25462         (__strspn_c2): Likewise.
25463         (__strspn_c3): Likewise.
25464         (__strsep_1c): Likewise.
25465         (__strsep_2c): Likewise.
25466         (__strsep_3c): Likewise.
25467         * string/memccpy.c (__memccpy): Likewise.
25468         * string/stpcpy.c (__stpcpy): Likewise.
25469         * string/strcmp.c (strcmp): Likewise.
25470         * string/strrchr.c (strrchr): Likewise.
25471         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
25472         Likewise.
25473         * sysdeps/mach/hurd/getcwd.c
25474         (_hurd_canonicalize_directory_name_internal): Likewise.
25475         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
25476         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
25477         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
25478         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
25479         Likewise, in both definitions.
25480         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
25481         definitions.
25482         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
25483         64] (__bswap_64): Likewise.
25484         * time/test_time.c (main): Likewise.
25485         * time/tzfile.c (__tzfile_read): Likewise.
25486         (__tzfile_compute): Likewise.
25487         * time/tzset.c (__tzset_parse_tz): Likewise.
25488         (tzset_internal): Likewise.
25489         (compute_change): Likewise.
25490         * wcsmbs/wcscat.c (__wcscat): Likewise.
25491         * wcsmbs/wcschr.c (wcschr): Likewise.
25492         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
25493         * wcsmbs/wcscspn.c (wcscspn): Likewise.
25494         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
25495         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
25496         * wcsmbs/wcsspn.c (wcsspn): Likewise.
25497         * wcsmbs/wcsstr.c (wcsstr): Likewise.
25498         * wcsmbs/wmemchr.c (wmemchr): Likewise.
25499         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
25500         * wcsmbs/wmemset.c (wmemset): Likewise.
25502 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
25504         * scripts/config.guess: Update to version 2013-05-16.
25505         * scripts/config.sub: Update to version 2013-04-24.
25506         * scripts/install-sh: Update to version 2011-11-20.07.
25507         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
25508         * scripts/move-if-change: Update to version 2012-01-06 07:23.
25510 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
25512         * debug/fgetws_u_chk.c: Fix leading whitespaces.
25513         * elf/sln.c: Likewise.
25514         * hurd/hurd/ioctl.h: Likewise.
25515         * hurd/hurdmalloc.c: Likewise.
25516         * hurd/xattr.c: Likewise.
25517         * include/shlib-compat.h: Likewise.
25518         * inet/ruserpass.c: Likewise.
25519         * libio/iofgets_u.c: Likewise.
25520         * libio/iofgetws_u.c: Likewise.
25521         * locale/programs/ld-identification.c: Likewise.
25522         * locale/programs/ld-time.c: Likewise.
25523         * mach/msg-destroy.c: Likewise.
25524         * nss/nss_files/files-netgrp.c: Likewise.
25525         * resolv/res_data.c: Likewise.
25526         * soft-fp/op-1.h: Likewise.
25527         * soft-fp/op-2.h: Likewise.
25528         * soft-fp/op-4.h: Likewise.
25529         * soft-fp/op-common.h: Likewise.
25530         * stdio-common/printf_fphex.c: Likewise.
25531         * stdlib/strtod_l.c: Likewise.
25532         * sunrpc/rpc/clnt.h: Likewise.
25533         * sysdeps/generic/framestate.c: Likewise.
25534         * sysdeps/i386/bsd-_setjmp.S: Likewise.
25535         * sysdeps/i386/bsd-setjmp.S: Likewise.
25536         * sysdeps/i386/__longjmp.S: Likewise.
25537         * sysdeps/i386/setjmp.S: Likewise.
25538         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
25539         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
25540         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25541         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
25542         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
25543         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
25544         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
25545         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
25546         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
25547         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
25548         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
25549         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
25550         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
25551         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
25552         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
25553         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
25554         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
25555         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
25556         * sysdeps/ieee754/support.c: Likewise.
25557         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
25558         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
25559         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
25560         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
25561         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
25562         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
25563         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
25564         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
25565         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
25566         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
25567         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
25568         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
25569         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
25570         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
25571         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
25572         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
25573         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
25574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
25576 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
25578         * posix/transbug.c: Remove executable mode.
25580 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
25582         * crypt/speeds.c: Remove trailing whitespace.
25583         * dlfcn/default.c: Likewise.
25584         * elf/ifuncdep2.c: Likewise.
25585         * elf/ifuncmain1.c: Likewise.
25586         * elf/ifuncmain1vis.c: Likewise.
25587         * elf/testobj.h: Likewise.
25588         * elf/tst-stackguard1.c: Likewise.
25589         * gmon/sys/gmon.h: Likewise.
25590         * hurd/hurdmsg.c: Likewise.
25591         * hurd/new-fd.c: Likewise.
25592         * hurd/ports-get.c: Likewise.
25593         * iconvdata/ibm1008_420.c: Likewise.
25594         * inet/tst-getni1.c: Likewise.
25595         * inet/tst-getni2.c: Likewise.
25596         * libio/ioungetc.c: Likewise.
25597         * libio/wfiledoalloc.c: Likewise.
25598         * manual/libm-err-tab.pl: Likewise.
25599         * math/w_dremf.c: Likewise.
25600         * misc/ftruncate.c: Likewise.
25601         * posix/bug-glob2.c: Likewise.
25602         * posix/tst-pcre.c: Likewise.
25603         * posix/wait4.c: Likewise.
25604         * resolv/README: Likewise.
25605         * resolv/res_debug.h: Likewise.
25606         * resolv/tst-inet_ntop.c: Likewise.
25607         * setjmp/bug269-setjmp.c: Likewise.
25608         * soft-fp/extended.h: Likewise.
25609         * soft-fp/op-1.h: Likewise.
25610         * soft-fp/op-2.h: Likewise.
25611         * soft-fp/op-4.h: Likewise.
25612         * soft-fp/op-8.h: Likewise.
25613         * soft-fp/testit.c: Likewise.
25614         * stdio-common/bug16.c: Likewise.
25615         * stdlib/random.c: Likewise.
25616         * sunrpc/rpcsvc/rquota.x: Likewise.
25617         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
25618         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
25619         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
25620         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
25621         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
25622         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
25623         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
25624         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
25625         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
25626         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
25627         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
25628         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
25629         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
25630         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
25631         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
25632         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
25633         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
25634         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
25635         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
25636         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
25637         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
25638         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
25639         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
25640         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
25641         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
25642         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
25643         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25644         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
25645         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
25646         * sysdeps/ieee754/s_lib_version.c: Likewise.
25647         * sysdeps/mach/hurd/check_fds.c: Likewise.
25648         * sysdeps/mach/hurd/getsockname.c: Likewise.
25649         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
25650         * sysdeps/mach/hurd/recvfrom.c: Likewise.
25651         * sysdeps/powerpc/bits/link.h: Likewise.
25652         * sysdeps/powerpc/dl-procinfo.c: Likewise.
25653         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
25654         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
25655         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
25656         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
25657         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
25658         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
25659         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
25660         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
25661         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
25662         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
25663         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
25664         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
25665         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
25666         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
25667         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
25668         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
25669         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
25670         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
25671         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
25672         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
25673         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
25674         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25675         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
25676         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
25677         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
25678         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
25679         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
25680         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
25681         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
25682         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
25683         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
25684         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
25685         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25686         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
25687         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
25688         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
25689         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
25690         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
25691         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
25692         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
25693         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
25694         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
25695         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
25696         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
25697         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
25698         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
25699         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
25700         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
25701         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
25702         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
25703         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
25704         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
25705         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
25706         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
25707         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
25708         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
25709         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
25710         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
25711         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
25712         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
25713         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
25714         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
25715         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
25716         * sysdeps/powerpc/sysdep.h: Likewise.
25717         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
25718         * sysdeps/s390/s390-64/sub_n.S: Likewise.
25719         * sysdeps/sh/dl-trampoline.S: Likewise.
25720         * sysdeps/sh/memset.S: Likewise.
25721         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
25722         * sysdeps/sh/strlen.S: Likewise.
25723         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
25724         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
25725         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
25726         * sysdeps/sparc/sparc32/rem.S: Likewise.
25727         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
25728         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
25729         * sysdeps/sparc/sparc32/strchr.S: Likewise.
25730         * sysdeps/sparc/sparc32/udiv.S: Likewise.
25731         * sysdeps/sparc/sparc32/urem.S: Likewise.
25732         * sysdeps/sparc/sparc64/add_n.S: Likewise.
25733         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25734         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
25735         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
25736         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
25737         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
25738         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
25739         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
25740         * sysdeps/unix/bsd/times.c: Likewise.
25741         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
25742         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
25743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
25744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
25745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
25746         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
25747         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
25748         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
25749         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
25750         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
25751         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
25752         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
25753         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
25754         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
25755         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
25756         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
25757         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
25758         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
25759         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
25760         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
25761         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
25762         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
25763         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
25764         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
25765         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
25766         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
25767         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
25768         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
25769         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
25770         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
25771         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
25772         * sysdeps/x86_64/strcspn.S: Likewise.
25774 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25776         * locale/C-translit.h: Revert #include <stdint.h> because this is a
25777         generated file.  Regenerate properly from gen-translit.pl.
25778         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
25779         locale/C-translit.h.
25781 2013-06-05  Andreas Schwab  <schwab@suse.de>
25783         [BZ #15100]
25784         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
25785         week as 6 instead of -1.
25786         * time/tst-strptime.c (day_tests): Add test case.
25788 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25790         * sysdeps/generic/math_private.h
25791         (libc_feholdexcept_setround_53bit): Replace with
25792         libc_feholdsetround_53bit.
25793         (libc_feupdateenv_53bit): Replace with
25794         libc_feresetround_53bit.
25795         (SET_RESTORE_ROUND_53BIT): Adjust.
25797 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
25799         * string/test-strchrnul.c: Add copyright header.
25801         * posix/tst-getaddrinfo4.c: Increase test timeout.
25803 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
25805         [BZ #15536]
25806         * math/libm-test.inc (MAX_EXP): Remove
25807         (MIN_EXP): Define.
25808         (ulp): Use MIN_EXP - MANT_DIG.
25809         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
25811 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
25813         * po/be.po: Revert last change.
25814         * po/zh_CN.po: Likewise.
25815         * po/header.pot: Likewise.
25817 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
25819         * Makefile ($(common-objpfx)linkobj/libc.so): Define
25820         link-libc-deps to empty as target-specific variable.
25821         * Makerules (link-libc-args): New variable.
25822         (libc-for-link): Likewise.
25823         (link-libc-deps): Likewise.
25824         (lib%.so): Depend on $(link-libc-deps).  Link with
25825         $(link-libc-args).
25826         (build-module): Link with $(link-libc-args).
25827         (build-module-asneeded): Likewise.
25828         (build-module-helper-objlist): Filter out $(link-libc-deps) from
25829         list of objects.
25830         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
25831         target-specific variable.
25832         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
25833         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
25834         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
25835         libc.
25836         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
25837         libc and ld.so.
25838         ($(objpfx)libpcprofile.so): Likewise.
25839         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
25840         libc_nonshared.a.
25841         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
25842         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
25843         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
25844         $(link-libc-deps).
25845         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
25846         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
25847         * login/Makefile ($(objpfx)libutil.so): Likewise.
25848         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
25849         * math/Makefile ($(objpfx)libm.so): Likewise.
25850         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
25851         $(objpfx)libnsl.so): Define libc-for-link as target-specific
25852         variable instead of depending directly on libc.
25853         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
25854         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
25855         $(link-libc-deps).
25856         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
25857         libc.
25858         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
25859         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
25860         ($(objpfx)libanl.so): Likewise.
25861         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
25862         ld.so.
25863         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
25864         $(link-libc-deps).
25865         * sysdeps/i386/fpu/Makefile: Remove file.
25866         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
25867         ($(objpfx)libm.so): Remove dependency on ld.so.
25869 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
25871         [BZ # 15553]
25872         * nis/yp_xdr.c (XDRMAXNAME): Define.
25873         (XDRMAXRECORD): Define.
25874         (xdr_domainname): Use XDRMAXNAME.
25875         (xdr_mapname): Likewise.
25876         (xdr_peername): Likewise.
25877         (xdr_keydat): Use XDRMAXRECORD.
25878         (xdr_valdat): Likewise.
25880 2013-05-30  Jeff Law  <law@redhat.com>
25882         [BZ #14256]
25883         * manual/errno.texi (ESTALE): Update to account for more than
25884         just NFS file systems.
25885         * sysdeps/gnu/errlist.c: Regenerated.
25887 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25889         [BZ #15465]
25890         * elf/Makefile (tests): Add tst-null-argv.
25891         (modules-names):  Add tst-null-argv-lib.
25892         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
25893         (tst-null-argv-ENV): Set environment for tst-null-argv.
25894         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
25895         (RTLD_PROGNAME): New macro.
25896         * elf/tst-null-argv.c: New test case.
25897         * elf/tst-null-argv-lib.c: Library for test case.
25898         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
25899         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
25900         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
25901         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
25902         * elf/dl-init.c (call_init): Likewise.
25903         (_dl_init): Likewise.
25904         * elf/dl-load.c (print_search_path): Likewise.
25905         (_dl_map_object): Likewise.
25906         * elf/dl-lookup.c (do_lookup_x): Likewise.
25907         (add_dependency): Likewise.
25908         (_dl_lookup_symbol_x): Likewise.
25909         (_dl_debug_bindings): Likewise.
25910         * elf/dl-open.c (_dl_show_scope): Likewise.
25911         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
25912         * elf/dl-version.c (match_symbol): Likewise.
25913         (_dl_check_map_versions): Likewise.
25914         * elf/rtld.c (dl_main): Likewise.
25915         (print_unresolved): Use RTLD_PROGNAME.
25916         (print_missing_version): Likewise.
25917         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
25918         (elf_machine_rela): Likewise.
25919         * sysdeps/powerpc/powerpc32/dl-machine.c
25920         (__process_machine_rela): Likewise.
25921         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
25922         Likewise.
25923         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
25924         Likewise.
25925         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
25926         Likewise.
25927         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
25928         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
25929         Likewise.
25930         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
25931         Likewise.
25932         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
25934 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
25936         * po/be.po: Add descriptive title.
25937         * po/zh_CN.po: Likewise.
25938         * po/header.pot: Likewise.
25940 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
25942         * locale/programs/locarchive.c (create_archive): Inlucde fname in
25943         error message.
25944         (enlarge_archive): Likewise.
25946 2013-05-28  Ben North  <ben@redfrontdoor.org>
25948         * manual/arith.texi (frexp): It is the magnitude of the return
25949         value which lies in [0.5, 1), not the return value itself.
25951 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25953         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25955 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
25957         * stdio-common/bug26.c (main): Correct fscanf template.
25959         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
25960         declare _dl_skip_args.
25962         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
25963         Don't declare.
25965         * manual/platform.texi: Add missing @end deftypefun.
25967 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
25969         [BZ #15529]
25970         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
25971         bit of mantissa of 2^16382.
25972         * math/libm-test.inc (hypot_test_data): Add more tests.
25974         * math/libm-test.inc: Add drem and pow10 to list of tested
25975         functions.
25976         (pow10_test): New function.
25977         (drem_test): Likewise.
25978         (drem_test_tonearest): Likewise.
25979         (drem_test_towardzero): Likewise.
25980         (drem_test_downward): Likewise.
25981         (drem_test_upward): Likewise.
25982         (main): Call the new functions.
25984         * math/libm-test.inc (finite_test_data): Remove.
25985         (finite_test): Run tests from isfinite_test_data.
25986         (gamma_test_data): Remove.
25987         (gamma_test): Run tests from lgamma_test_data.
25988         * sysdeps/i386/fpu/libm-test-ulps: Update.
25989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25991 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25993         * manual/platform.texi: Add PowerPC PPR function set documentation.
25994         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
25995         implementation.
25997 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
25999         * math/libm-test.inc (MAX_EXP): Define.
26000         (ULPDIFF): Define.
26001         (ulp): New function.
26002         (check_float_internal): Use ULPDIFF.
26003         (cpow_test): Disable failing test.
26004         (check_ulp): Test ulp() implemetnation.
26005         (main): Call check_ulp before starting tests.
26007 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
26009         * math/gen-libm-test.pl (generate_testfile): Do not handle
26010         START_DATA and END_DATA.
26011         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26012         END_DATA.
26013         (acos_tonearest_test_data): Likewise.
26014         (acos_towardzero_test_data): Likewise.
26015         (acos_downward_test_data): Likewise.
26016         (acos_upward_test_data): Likewise.
26017         (acosh_test_data): Likewise.
26018         (asin_test_data): Likewise.
26019         (asin_tonearest_test_data): Likewise.
26020         (asin_towardzero_test_data): Likewise.
26021         (asin_downward_test_data): Likewise.
26022         (asin_upward_test_data): Likewise.
26023         (asinh_test_data): Likewise.
26024         (atan_test_data): Likewise.
26025         (atanh_test_data): Likewise.
26026         (atan2_test_data): Likewise.
26027         (cabs_test_data): Likewise.
26028         (cacos_test_data): Likewise.
26029         (cacosh_test_data): Likewise.
26030         (carg_test_data): Likewise.
26031         (casin_test_data): Likewise.
26032         (casinh_test_data): Likewise.
26033         (catan_test_data): Likewise.
26034         (catanh_test_data): Likewise.
26035         (cbrt_test_data): Likewise.
26036         (ccos_test_data): Likewise.
26037         (ccosh_test_data): Likewise.
26038         (ceil_test_data): Likewise.
26039         (cexp_test_data): Likewise.
26040         (cimag_test_data): Likewise.
26041         (clog_test_data): Likewise.
26042         (clog10_test_data): Likewise.
26043         (conj_test_data): Likewise.
26044         (copysign_test_data): Likewise.
26045         (cos_test_data): Likewise.
26046         (cos_tonearest_test_data): Likewise.
26047         (cos_towardzero_test_data): Likewise.
26048         (cos_downward_test_data): Likewise.
26049         (cos_upward_test_data): Likewise.
26050         (cosh_test_data): Likewise.
26051         (cosh_tonearest_test_data): Likewise.
26052         (cosh_towardzero_test_data): Likewise.
26053         (cosh_downward_test_data): Likewise.
26054         (cosh_upward_test_data): Likewise.
26055         (cpow_test_data): Likewise.
26056         (cproj_test_data): Likewise.
26057         (creal_test_data): Likewise.
26058         (csin_test_data): Likewise.
26059         (csinh_test_data): Likewise.
26060         (csqrt_test_data): Likewise.
26061         (ctan_test_data): Likewise.
26062         (ctan_tonearest_test_data): Likewise.
26063         (ctan_towardzero_test_data): Likewise.
26064         (ctan_downward_test_data): Likewise.
26065         (ctan_upward_test_data): Likewise.
26066         (ctanh_test_data): Likewise.
26067         (ctanh_tonearest_test_data): Likewise.
26068         (ctanh_towardzero_test_data): Likewise.
26069         (ctanh_downward_test_data): Likewise.
26070         (ctanh_upward_test_data): Likewise.
26071         (erf_test_data): Likewise.
26072         (erfc_test_data): Likewise.
26073         (exp_test_data): Likewise.
26074         (exp_tonearest_test_data): Likewise.
26075         (exp_towardzero_test_data): Likewise.
26076         (exp_downward_test_data): Likewise.
26077         (exp_upward_test_data): Likewise.
26078         (exp10_test_data): Likewise.
26079         (exp2_test_data): Likewise.
26080         (expm1_test_data): Likewise.
26081         (fabs_test_data): Likewise.
26082         (fdim_test_data): Likewise.
26083         (finite_test_data): Likewise.
26084         (floor_test_data): Likewise.
26085         (fma_test_data): Likewise.
26086         (fma_towardzero_test_data): Likewise.
26087         (fma_downward_test_data): Likewise.
26088         (fma_upward_test_data): Likewise.
26089         (fmax_test_data): Likewise.
26090         (fmin_test_data): Likewise.
26091         (fmod_test_data): Likewise.
26092         (fpclassify_test_data): Likewise.
26093         (frexp_test_data): Likewise.
26094         (gamma_test_data): Likewise.
26095         (hypot_test_data): Likewise.
26096         (ilogb_test_data): Likewise.
26097         (isfinite_test_data): Likewise.
26098         (isgreater_test_data): Likewise.
26099         (isgreaterequal_test_data): Likewise.
26100         (isinf_test_data): Likewise.
26101         (isless_test_data): Likewise.
26102         (islessequal_test_data): Likewise.
26103         (islessgreater_test_data): Likewise.
26104         (isnan_test_data): Likewise.
26105         (isnormal_test_data): Likewise.
26106         (issignaling_test_data): Likewise.
26107         (isunordered_test_data): Likewise.
26108         (j0_test_data): Likewise.
26109         (j1_test_data): Likewise.
26110         (jn_test_data): Likewise.
26111         (ldexp_test_data): Likewise.
26112         (lgamma_test_data): Likewise.
26113         (lrint_test_data): Likewise.
26114         (lrint_tonearest_test_data): Likewise.
26115         (lrint_towardzero_test_data): Likewise.
26116         (lrint_downward_test_data): Likewise.
26117         (lrint_upward_test_data): Likewise.
26118         (llrint_test_data): Likewise.
26119         (llrint_tonearest_test_data): Likewise.
26120         (llrint_towardzero_test_data): Likewise.
26121         (llrint_downward_test_data): Likewise.
26122         (llrint_upward_test_data): Likewise.
26123         (log_test_data): Likewise.
26124         (log10_test_data): Likewise.
26125         (log1p_test_data): Likewise.
26126         (log2_test_data): Likewise.
26127         (logb_test_data): Likewise.
26128         (logb_downward_test_data): Likewise.
26129         (lround_test_data): Likewise.
26130         (llround_test_data): Likewise.
26131         (modf_test_data): Likewise.
26132         (nearbyint_test_data): Likewise.
26133         (nextafter_test_data): Likewise.
26134         (nexttoward_test_data): Likewise.
26135         (pow_test_data): Likewise.
26136         (pow_tonearest_test_data): Likewise.
26137         (pow_towardzero_test_data): Likewise.
26138         (pow_downward_test_data): Likewise.
26139         (pow_upward_test_data): Likewise.
26140         (remainder_test_data): Likewise.
26141         (remainder_tonearest_test_data): Likewise.
26142         (remainder_towardzero_test_data): Likewise.
26143         (remainder_downward_test_data): Likewise.
26144         (remainder_upward_test_data): Likewise.
26145         (remquo_test_data): Likewise.
26146         (rint_test_data): Likewise.
26147         (rint_tonearest_test_data): Likewise.
26148         (rint_towardzero_test_data): Likewise.
26149         (rint_downward_test_data): Likewise.
26150         (rint_upward_test_data): Likewise.
26151         (round_test_data): Likewise.
26152         (scalb_test_data): Likewise.
26153         (scalbn_test_data): Likewise.
26154         (scalbln_test_data): Likewise.
26155         (signbit_test_data): Likewise.
26156         (sin_test_data): Likewise.
26157         (sin_tonearest_test_data): Likewise.
26158         (sin_towardzero_test_data): Likewise.
26159         (sin_downward_test_data): Likewise.
26160         (sin_upward_test_data): Likewise.
26161         (sincos_test_data): Likewise.
26162         (sinh_test_data): Likewise.
26163         (sinh_tonearest_test_data): Likewise.
26164         (sinh_towardzero_test_data): Likewise.
26165         (sinh_downward_test_data): Likewise.
26166         (sinh_upward_test_data): Likewise.
26167         (sqrt_test_data): Likewise.
26168         (tan_test_data): Likewise.
26169         (tan_tonearest_test_data): Likewise.
26170         (tan_towardzero_test_data): Likewise.
26171         (tan_downward_test_data): Likewise.
26172         (tan_upward_test_data): Likewise.
26173         (tanh_test_data): Likewise.
26174         (tgamma_test_data): Likewise.
26175         (trunc_test_data): Likewise.
26176         (y0_test_data): Likewise.
26177         (y1_test_data): Likewise.
26178         (yn_test_data): Likewise.
26179         (significand_test_data): Likewise.
26181         * math/gen-libm-test.pl (@functions): Remove variable.
26182         (generate_testfile): Don't handle START and END lines.
26183         * math/libm-test.inc (START): New macro.
26184         (END): Likewise.
26185         (END_COMPLEX): Likewise.
26186         (acos_test): Use END macro without arguments.
26187         (acos_test_tonearest): Likewise.
26188         (acos_test_towardzero): Likewise.
26189         (acos_test_downward): Likewise.
26190         (acos_test_upward): Likewise.
26191         (acosh_test): Likewise.
26192         (asin_test): Likewise.
26193         (asin_test_tonearest): Likewise.
26194         (asin_test_towardzero): Likewise.
26195         (asin_test_downward): Likewise.
26196         (asin_test_upward): Likewise.
26197         (asinh_test): Likewise.
26198         (atan_test): Likewise.
26199         (atanh_test): Likewise.
26200         (atan2_test): Likewise.
26201         (cabs_test): Likewise.
26202         (cacos_test): Use END_COMPLEX macro without arguments.
26203         (cacosh_test): Likewise.
26204         (carg_test): Use END macro without arguments.
26205         (casin_test): Use END_COMPLEX macro without arguments.
26206         (casinh_test): Likewise.
26207         (catan_test): Likewise.
26208         (catanh_test): Likewise.
26209         (cbrt_test): Use END macro without arguments.
26210         (ccos_test): Use END_COMPLEX macro without arguments.
26211         (ccosh_test): Likewise.
26212         (ceil_test): Use END macro without arguments.
26213         (cexp_test): Use END_COMPLEX macro without arguments.
26214         (cimag_test): Use END macro without arguments.
26215         (clog_test): Use END_COMPLEX macro without arguments.
26216         (clog10_test): Likewise.
26217         (conj_test): Likewise.
26218         (copysign_test): Use END macro without arguments.
26219         (cos_test): Likewise.
26220         (cos_test_tonearest): Likewise.
26221         (cos_test_towardzero): Likewise.
26222         (cos_test_downward): Likewise.
26223         (cos_test_upward): Likewise.
26224         (cosh_test): Likewise.
26225         (cosh_test_tonearest): Likewise.
26226         (cosh_test_towardzero): Likewise.
26227         (cosh_test_downward): Likewise.
26228         (cosh_test_upward): Likewise.
26229         (cpow_test): Use END_COMPLEX macro without arguments.
26230         (cproj_test): Likewise.
26231         (creal_test): Use END macro without arguments.
26232         (csin_test): Use END_COMPLEX macro without arguments.
26233         (csinh_test): Likewise.
26234         (csqrt_test): Likewise.
26235         (ctan_test): Likewise.
26236         (ctan_test_tonearest): Likewise.
26237         (ctan_test_towardzero): Likewise.
26238         (ctan_test_downward): Likewise.
26239         (ctan_test_upward): Likewise.
26240         (ctanh_test): Likewise.
26241         (ctanh_test_tonearest): Likewise.
26242         (ctanh_test_towardzero): Likewise.
26243         (ctanh_test_downward): Likewise.
26244         (ctanh_test_upward): Likewise.
26245         (erf_test): Use END macro without arguments.
26246         (erfc_test): Likewise.
26247         (exp_test): Likewise.
26248         (exp_test_tonearest): Likewise.
26249         (exp_test_towardzero): Likewise.
26250         (exp_test_downward): Likewise.
26251         (exp_test_upward): Likewise.
26252         (exp10_test): Likewise.
26253         (exp2_test): Likewise.
26254         (expm1_test): Likewise.
26255         (fabs_test): Likewise.
26256         (fdim_test): Likewise.
26257         (finite_test): Likewise.
26258         (floor_test): Likewise.
26259         (fma_test): Likewise.
26260         (fma_test_towardzero): Likewise.
26261         (fma_test_downward): Likewise.
26262         (fma_test_upward): Likewise.
26263         (fmax_test): Likewise.
26264         (fmin_test): Likewise.
26265         (fmod_test): Likewise.
26266         (fpclassify_test): Likewise.
26267         (frexp_test): Likewise.
26268         (gamma_test): Likewise.
26269         (hypot_test): Likewise.
26270         (ilogb_test): Likewise.
26271         (isfinite_test): Likewise.
26272         (isgreater_test): Likewise.
26273         (isgreaterequal_test): Likewise.
26274         (isinf_test): Likewise.
26275         (isless_test): Likewise.
26276         (islessequal_test): Likewise.
26277         (islessgreater_test): Likewise.
26278         (isnan_test): Likewise.
26279         (isnormal_test): Likewise.
26280         (issignaling_test): Likewise.
26281         (isunordered_test): Likewise.
26282         (j0_test): Likewise.
26283         (j1_test): Likewise.
26284         (jn_test): Likewise.
26285         (ldexp_test): Likewise.
26286         (lgamma_test): Likewise.
26287         (lrint_test): Likewise.
26288         (lrint_test_tonearest): Likewise.
26289         (lrint_test_towardzero): Likewise.
26290         (lrint_test_downward): Likewise.
26291         (lrint_test_upward): Likewise.
26292         (llrint_test): Likewise.
26293         (llrint_test_tonearest): Likewise.
26294         (llrint_test_towardzero): Likewise.
26295         (llrint_test_downward): Likewise.
26296         (llrint_test_upward): Likewise.
26297         (log_test): Likewise.
26298         (log10_test): Likewise.
26299         (log1p_test): Likewise.
26300         (log2_test): Likewise.
26301         (logb_test): Likewise.
26302         (logb_test_downward): Likewise.
26303         (lround_test): Likewise.
26304         (llround_test): Likewise.
26305         (modf_test): Likewise.
26306         (nearbyint_test): Likewise.
26307         (nextafter_test): Likewise.
26308         (nexttoward_test): Likewise.
26309         (pow_test): Likewise.
26310         (pow_test_tonearest): Likewise.
26311         (pow_test_towardzero): Likewise.
26312         (pow_test_downward): Likewise.
26313         (pow_test_upward): Likewise.
26314         (remainder_test): Likewise.
26315         (remainder_test_tonearest): Likewise.
26316         (remainder_test_towardzero): Likewise.
26317         (remainder_test_downward): Likewise.
26318         (remainder_test_upward): Likewise.
26319         (remquo_test): Likewise.
26320         (rint_test): Likewise.
26321         (rint_test_tonearest): Likewise.
26322         (rint_test_towardzero): Likewise.
26323         (rint_test_downward): Likewise.
26324         (rint_test_upward): Likewise.
26325         (round_test): Likewise.
26326         (scalb_test): Likewise.
26327         (scalbn_test): Likewise.
26328         (scalbln_test): Likewise.
26329         (signbit_test): Likewise.
26330         (sin_test): Likewise.
26331         (sin_test_tonearest): Likewise.
26332         (sin_test_towardzero): Likewise.
26333         (sin_test_downward): Likewise.
26334         (sin_test_upward): Likewise.
26335         (sincos_test): Likewise.
26336         (sinh_test): Likewise.
26337         (sinh_test_tonearest): Likewise.
26338         (sinh_test_towardzero): Likewise.
26339         (sinh_test_downward): Likewise.
26340         (sinh_test_upward): Likewise.
26341         (sqrt_test): Likewise.
26342         (tan_test): Likewise.
26343         (tan_test_tonearest): Likewise.
26344         (tan_test_towardzero): Likewise.
26345         (tan_test_downward): Likewise.
26346         (tan_test_upward): Likewise.
26347         (tanh_test): Likewise.
26348         (tgamma_test): Likewise.
26349         (trunc_test): Likewise.
26350         (y0_test): Likewise.
26351         (y1_test): Likewise.
26352         (yn_test): Likewise.
26353         (significand_test): Likewise.
26355 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
26357         [BZ #15381]
26358         * libio/genops.c (_IO_no_init): Initialize wide struct info.
26360 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
26362         [BZ #14894]
26363         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26364         __ppc_mdoio and __ppc_mdoom.
26365         * manual/platform.texi: Document new functions __ppc_yield,
26366         __ppc_mdoio and __ppc_mdoom.
26368 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
26370         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26371         (main): Mention "tls" pseudo-hwcap is legacy.
26372         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26374 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
26376         * math/gen-libm-test.pl (parse_args): Output only string of
26377         arguments as text for test name, not full call or descriptions of
26378         tests for extra outputs.
26379         (generate_testfile): Do not pass function name to parse_args.
26380         Generate this_func variable from START.
26381         * math/libm-test.inc (struct test_f_f_data): Rename test_name
26382         field to arg_str.
26383         (struct test_ff_f_data): Likewise.
26384         (test_ff_f_data_nexttoward): Likewise.
26385         (struct test_fi_f_data): Likewise.
26386         (struct test_fl_f_data): Likewise.
26387         (struct test_if_f_data): Likewise.
26388         (struct test_fff_f_data): Likewise.
26389         (struct test_c_f_data): Likewise.
26390         (struct test_f_f1_data): Likewise.  Remove field extra_name.
26391         (struct test_fF_f1_data): Likewise.
26392         (struct test_ffI_f1_data): Likewise.
26393         (struct test_c_c_data): Rename test_name field to arg_str.
26394         (struct test_cc_c_data): Likewise.
26395         (struct test_f_i_data): Likewise.
26396         (struct test_ff_i_data): Likewise.
26397         (struct test_f_l_data): Likewise.
26398         (struct test_f_L_data): Likewise.
26399         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
26400         and extra2_name.
26401         (COMMON_TEST_SETUP): New macro.
26402         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26403         (COMMON_TEST_CLEANUP): Likewise.
26404         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26405         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
26406         macros.
26407         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26408         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
26409         macros.
26410         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26411         (RUN_TEST_fff_f): Take argument string.  Call new setup and
26412         cleanup macros.
26413         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26414         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
26415         macros.
26416         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26417         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
26418         macros.
26419         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26420         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
26421         cleanup macros.
26422         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26423         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
26424         cleanup macros.
26425         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26426         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
26427         cleanup macros.
26428         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26429         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
26430         macros.
26431         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
26432         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
26433         macros.
26434         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
26435         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
26436         macros.
26437         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
26438         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
26439         cleanup macros.
26440         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
26441         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
26442         cleanup macros.
26443         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
26444         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
26445         macros.
26446         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
26447         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
26448         cleanup macros.
26449         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
26450         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
26451         macros.
26452         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
26453         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
26454         macros.
26455         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
26456         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
26457         cleanup macros.
26458         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
26460 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
26462         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
26463         to _sifields.sigfault.
26464         (si_addr_lsb): Define new macro.
26465         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
26466         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
26467         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
26469 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
26471         [BZ #15441]
26472         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
26473         returns -1.
26474         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
26475         null return -1.
26476         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
26477         loading the domain.
26479 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
26481         * math/gen-libm-test.pl (parse_args): Do not include expected
26482         result in test name.
26483         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
26484         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26485         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26486         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26487         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26488         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26490 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26492         * benchtests/Makefile: Sort function entries.
26494         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
26495         tanh, asinh, acosh, atanh.
26496         * benchtests/acos-inputs: New file.
26497         * benchtests/acosh-inputs: New file.
26498         * benchtests/asin-inputs: New file.
26499         * benchtests/asinh-inputs: New file.
26500         * benchtests/atanh-inputs: New file.
26501         * benchtests/cosh-inputs: New file.
26502         * benchtests/log-inputs: New file.
26503         * benchtests/sinh-inputs: New file.
26504         * benchtests/tanh-inputs: New file.
26506 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
26508         [BZ #15339]
26509         * posix/tst-getaddrinfo4.c: New test.
26510         * posix/Makefile (tests): Add it.
26512 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26514         [BZ #15339]
26515         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
26516         when no services were used.
26517         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
26518         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
26520 2013-05-21  Andreas Schwab  <schwab@suse.de>
26522         [BZ #15014]
26523         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
26524         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
26525         successful.
26526         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
26527         redundant variable declarations and reallocation of buffer when
26528         parsing as IPv6 address.  Always set NSS status when called from
26529         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
26530         buffer too small.  Correct computation of needed size.
26531         * nss/Makefile (tests): Add test-digits-dots.
26532         * nss/test-digits-dots.c: New test.
26534 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
26536         * benchtests/Makefile: Remove instructions for adding
26537         benchmark tests.
26538         * benchtests/README: New file to explain how to execute and
26539         enhance the benchmark tests.
26541 2013-05-21  Andreas Schwab  <schwab@suse.de>
26543         [BZ #15493]
26544         * setjmp/Makefile (tests): Add tst-sigsetjmp.
26545         * setjmp/tst-sigsetjmp.c: New test.
26547 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
26549         * sysdeps/x86_64/memset.S (memset): New implementation.
26550         (__bzero): Likewise.
26551         (__memset_tail): New function.
26553 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
26555         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
26556         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
26557         __memcpy_sse2_unaligned ifunc selection.
26558         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
26559         Add memcpy-sse2-unaligned.S.
26560         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
26561         Add: __memcpy_sse2_unaligned.
26563 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
26565         [BZ #15490]
26566         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
26567         math_force_eval before restoring floating-point envrionment.
26568         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
26569         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
26570         Likewise.
26571         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
26572         <math_private.h>.
26573         (__nearbyintl): Use math_force_eval before restoring
26574         floating-point environment.
26575         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
26577         * math/gen-libm-test.pl (special_functions): Remove.
26578         (parse_args): Don't handle TEST_extra.  Handle functions with no
26579         return value.
26580         * math/libm-test.inc (struct test_sincos_data): Replace with
26581         struct test_fFF_11_data.
26582         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
26583         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
26584         (sincos_test_data): Change element type to struct
26585         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
26586         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
26587         RUN_TEST_LOOP_sincos.
26588         * math/README.libm-test: Don't mention special handling of
26589         individual functions.
26590         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
26591         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
26592         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
26593         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
26594         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
26595         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26597         * math/gen-libm-test.pl (get_variable): Remove function.
26598         (parse_args): Don't show pointer parameters to call in test
26599         names.  Use "extra output N" in test names for extra outputs
26600         rather than naming variables.
26602 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
26604         [BZ #15488]
26605         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
26606         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
26607         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
26608         double tests.
26609         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
26610         disable.
26611         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
26612         check_long_double.
26614         * math/gen-libm-test.pl (@tests): Remove variable.
26615         ($count): Likewise.
26616         (new_test): Remove function.
26617         (show_exceptions): New function.
26618         (special_functions): Use show_exceptions instead of new_test.
26619         (parse_args): Likewise.
26620         (generate_testfile): Pass only function name in generated call to
26621         print_max_error or print_complex_max_error.
26622         (get_ulps): Do not handle complex tests specially.
26623         (output_test): Rename to ...
26624         (get_all_ulps_for_test): ... this.  Return a string rather than
26625         printing to a file.  Require ulps to be present.
26626         (output_ulps): Generate arrays rather than #defines.
26627         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
26628         (struct ulp_data): New type.
26629         (BUILD_COMPLEX_ULP): Remove macro.
26630         (compare_ulp_data): New function.
26631         (find_ulps): Likewise.
26632         (find_test_ulps): Likewise.
26633         (find_function_ulps): Likewise.
26634         (find_complex_function_ulps): Likewise.
26635         (print_max_error): Determine allowed ulps using
26636         find_function_ulps.
26637         (print_complex_max_error): Determine allowed ulps using
26638         find_complex_function_ulps.
26639         (check_float_internal): Determine max ulps using find_test_ulps.
26640         (check_float): Do not take max_ulp parameter.  Update call to
26641         check_float_internal.
26642         (check_complex): Likewise.
26643         (check_int): Do not take max_ulp parameter.
26644         (check_long): Likewise.
26645         (check_bool): Likewise.
26646         (check_longlong): Likewise.
26647         (struct test_f_f_data): Remove max_ulp field.
26648         (struct test_ff_f_data): Likewise.
26649         (struct test_ff_f_data_nexttoward): Likewise.
26650         (struct test_fi_f_data): Likewise.
26651         (struct test_fl_f_data): Likewise.
26652         (struct test_if_f_data): Likewise.
26653         (struct test_fff_f_data): Likewise.
26654         (struct test_c_f_data): Likewise.
26655         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
26656         (struct test_fF_f1_data): Likewise.
26657         (struct test_ffI_f1_data): Likewise.
26658         (struct test_c_c_data): Remove max_ulp field.
26659         (struct test_cc_c_data): Likewise.
26660         (struct test_f_i_data): Likewise.
26661         (struct test_ff_i_data): Likewise.
26662         (struct test_f_l_data): Likewise.
26663         (struct test_f_L_data): Likewise.
26664         (struct test_sincos_data): Likewise.
26665         (RUN_TEST_f_f): Do not handle ulps.
26666         (RUN_TEST_LOOP_f_f): Likewise.
26667         (RUN_TEST_2_f): Likewise.
26668         (RUN_TEST_LOOP_2_f): Likewise.
26669         (RUN_TEST_fff_f): Likewise.
26670         (RUN_TEST_LOOP_fff_f): Likewise.
26671         (RUN_TEST_c_f): Likewise.
26672         (RUN_TEST_LOOP_c_f): Likewise.
26673         (RUN_TEST_f_f1): Likewise.
26674         (RUN_TEST_LOOP_f_f1): Likewise.
26675         (RUN_TEST_fF_f1): Likewise.
26676         (RUN_TEST_LOOP_fF_f1): Likewise.
26677         (RUN_TEST_fI_f1): Likewise.
26678         (RUN_TEST_LOOP_fI_f1): Likewise.
26679         (RUN_TEST_ffI_f1): Likewise.
26680         (RUN_TEST_LOOP_ffI_f1): Likewise.
26681         (RUN_TEST_c_c): Likewise.
26682         (RUN_TEST_LOOP_c_c): Likewise.
26683         (RUN_TEST_cc_c): Likewise.
26684         (RUN_TEST_LOOP_cc_c): Likewise.
26685         (RUN_TEST_f_i): Likewise.
26686         (RUN_TEST_LOOP_f_i): Likewise.
26687         (RUN_TEST_f_i_tg): Likewise.
26688         (RUN_TEST_LOOP_f_i_tg): Likewise.
26689         (RUN_TEST_ff_i_tg): Likewise.
26690         (RUN_TEST_LOOP_ff_i_tg): Likewise.
26691         (RUN_TEST_f_b): Likewise.
26692         (RUN_TEST_LOOP_f_b): Likewise.
26693         (RUN_TEST_f_b_tg): Likewise.
26694         (RUN_TEST_LOOP_f_b_tg): Likewise.
26695         (RUN_TEST_f_l): Likewise.
26696         (RUN_TEST_LOOP_f_l): Likewise.
26697         (RUN_TEST_f_L): Likewise.
26698         (RUN_TEST_LOOP_f_L): Likewise.
26699         (RUN_TEST_sincos): Likewise.
26700         (RUN_TEST_LOOP_sincos): Likewise.
26702 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
26704         [BZ #15480]
26705         [BZ #15485]
26706         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
26707         main case of finite arguments, set rounding mode to FE_TONEAREST
26708         and discard exceptions.
26709         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
26710         exceptions.
26711         (remainder_tonearest_test_data): New variable.
26712         (remainder_test_tonearest): New function.
26713         (remainder_towardzero_test_data): New variable.
26714         (remainder_test_towardzero): New function.
26715         (remainder_downward_test_data): New variable.
26716         (remainder_test_downward): New function.
26717         (remainder_upward_test_data): New variable.
26718         (remainder_test_upward): New function.
26719         (main): Call the new test functions.
26721         * math/libm-test.inc (struct test_f_f1_data): Remove field
26722         extra_init.
26723         (struct test_fF_f1_data): Likewise.
26724         (struct test_ffI_f1_data): Likewise.
26725         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
26726         based on value of EXTRA_EXPECTED.
26727         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
26728         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
26729         EXTRA_VAR based on value of EXTRA_EXPECTED.
26730         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
26731         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
26732         EXTRA_VAR based on value of EXTRA_EXPECTED.
26733         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
26734         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
26735         EXTRA_VAR based on value of EXTRA_EXPECTED.
26736         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
26737         * math/gen-libm-test.pl (parse_args): Don't output initializers
26738         for extra output values.
26740         * math/libm-test.inc (check_int): Expect result to be exactly
26741         equal to expected value and do not handle ulps.
26742         (check_long): Likewise.
26743         (check_longlong): Likewise.
26745         * math/libm-test.inc (ceil_test_data): Test for "inexact"
26746         exceptions.
26747         (cimag_test_data): Likewise.
26748         (conj_test_data): Likewise.
26749         (copysign_test_data): Likewise.
26750         (cproj_test_data): Likewise.
26751         (creal_test_data): Likewise.
26752         (fabs_test_data): Likewise.
26753         (fdim_test_data): Likewise.
26754         (finite_test_data): Likewise.
26755         (floor_test_data): Likewise.
26756         (fmax_test_data): Likewise.
26757         (fmin_test_data): Likewise.
26758         (fmod_test_data): Likewise.
26759         (fpclassify_test_data): Likewise.
26760         (frexp_test_data): Likewise.
26761         (ilogb_test_data): Likewise.
26762         (isfinite_test_data): Likewise.
26763         (isgreater_test_data): Likewise.
26764         (isgreaterequal_test_data): Likewise.
26765         (isinf_test_data): Likewise.
26766         (isless_test_data): Likewise.
26767         (islessequal_test_data): Likewise.
26768         (islessgreater_test_data): Likewise.
26769         (isnan_test_data): Likewise.
26770         (isnormal_test_data): Likewise.
26771         (issignaling_test_data): Likewise.
26772         (isunordered_test_data): Likewise.
26773         (ldexp_test_data): Likewise.
26774         (lrint_test_data): Likewise.
26775         (lrint_test_data) [TEST_FLOAT]: Disable one test.
26776         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
26777         (lrint_tonearest_test_data): Test for "inexact" exceptions.
26778         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26779         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
26780         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26781         test input.
26782         (lrint_towardzero_test_data): Test for "inexact" exceptions.
26783         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26784         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
26785         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
26786         that test input.
26787         (lrint_downward_test_data): Test for "inexact" exceptions.
26788         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26789         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
26790         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
26791         test input.
26792         (lrint_upward_test_data): Test for "inexact" exceptions.
26793         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
26794         test input.
26795         (llrint_test_data): Test for "inexact" exceptions.
26796         (llrint_test_data) [TEST_FLOAT]: Disable one test.
26797         (llrint_tonearest_test_data): Test for "inexact" exceptions.
26798         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
26799         (llrint_towardzero_test_data): Test for "inexact" exceptions.
26800         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
26801         (llrint_downward_test_data): Test for "inexact" exceptions.
26802         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
26803         (llrint_upward_test_data): Test for "inexact" exceptions.
26804         (logb_test_data): Likewise.
26805         (logb_downward_test_data): Likewise.
26806         (nextafter_test_data): Likewise.
26807         (nexttoward_test_data): Likewise.
26808         (remainder_test_data): Likewise.
26809         (remquo_test_data): Likewise.
26810         (scalbn_test_data): Likewise.
26811         (scalbln_test_data): Likewise.
26812         (signbit_test_data): Likewise.
26813         (sqrt_test_data): Likewise.
26814         (significand_test_data): Likewise.
26816 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26818         [BZ #15424]
26819         * benchtests/bench-modf.c (struct args): Mark arg0 as
26820         volatile.
26821         * scripts/bench.pl: Mark members of struct args as volatile.
26823 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26825         [BZ # 15497]
26826         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
26827         negative infinity on POWER6 or lower.
26828         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
26830 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
26832         [BZ #15442]
26833         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
26834         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
26835         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
26836         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
26837         (_FP_SETQNAN): New macro.
26838         (_FP_SETQNAN_SEMIRAW): Likewise.
26839         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
26840         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
26841         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
26842         (FP_EXTEND): Use _FP_FRAC_SNANP.
26843         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
26844         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
26845         into account.
26846         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26847         New macro.
26848         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
26849         Likewise.
26851 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
26853         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
26854         with DIVIDE_BY_ZERO_EXCEPTION.
26855         (gamma_test_data): Likewise.
26856         (lgamma_test_data): Likewise.
26857         (log_test_data): Likewise.
26858         (log10_test_data): Likewise.
26859         (log2_test_data): Likewise.
26860         (tgamma_test_data): Likewise.
26862         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
26863         (acos_test_tonearest): Likewise.
26864         (acos_test_towardzero): Likewise.
26865         (acos_test_downward): Likewise.
26866         (acos_test_upward): Likewise.
26867         (acosh_test): Likewise.
26868         (asin_test): Likewise.
26869         (asin_test_tonearest): Likewise.
26870         (asin_test_towardzero): Likewise.
26871         (asin_test_downward): Likewise.
26872         (asin_test_upward): Likewise.
26873         (asinh_test): Likewise.
26874         (atan_test): Likewise.
26875         (atanh_test): Likewise.
26876         (atan2_test): Likewise.
26877         (cabs_test): Likewise.
26878         (cacos_test): Likewise.
26879         (cacosh_test): Likewise.
26880         (casin_test): Likewise.
26881         (casinh_test): Likewise.
26882         (catan_test): Likewise.
26883         (catanh_test): Likewise.
26884         (cbrt_test): Likewise.
26885         (ccos_test): Likewise.
26886         (ccosh_test): Likewise.
26887         (cexp_test): Likewise.
26888         (clog_test): Likewise.
26889         (clog10_test): Likewise.
26890         (cos_test): Likewise.
26891         (cos_test_tonearest): Likewise.
26892         (cos_test_towardzero): Likewise.
26893         (cos_test_downward): Likewise.
26894         (cos_test_upward): Likewise.
26895         (cosh_test): Likewise.
26896         (cosh_test_tonearest): Likewise.
26897         (cosh_test_towardzero): Likewise.
26898         (cosh_test_downward): Likewise.
26899         (cosh_test_upward): Likewise.
26900         (cpow_test): Likewise.
26901         (csin_test): Likewise.
26902         (csinh_test): Likewise.
26903         (csqrt_test): Likewise.
26904         (ctan_test): Likewise.
26905         (ctan_test_tonearest): Likewise.
26906         (ctan_test_towardzero): Likewise.
26907         (ctan_test_downward): Likewise.
26908         (ctan_test_upward): Likewise.
26909         (ctanh_test): Likewise.
26910         (ctanh_test_tonearest): Likewise.
26911         (ctanh_test_towardzero): Likewise.
26912         (ctanh_test_downward): Likewise.
26913         (ctanh_test_upward): Likewise.
26914         (erf_test): Likewise.
26915         (erfc_test): Likewise.
26916         (exp_test): Likewise.
26917         (exp_test_tonearest): Likewise.
26918         (exp_test_towardzero): Likewise.
26919         (exp_test_downward): Likewise.
26920         (exp_test_upward): Likewise.
26921         (exp10_test): Likewise.
26922         (exp2_test): Likewise.
26923         (expm1_test): Likewise.
26924         (fmod_test): Likewise.
26925         (gamma_test): Likewise.
26926         (hypot_test): Likewise.
26927         (j0_test): Likewise.
26928         (j1_test): Likewise.
26929         (jn_test): Likewise.
26930         (lgamma_test): Likewise.
26931         (log_test): Likewise.
26932         (log10_test): Likewise.
26933         (log1p_test): Likewise.
26934         (log2_test): Likewise.
26935         (logb_test_downward): Likewise.
26936         (pow_test): Likewise.
26937         (pow_test_tonearest): Likewise.
26938         (pow_test_towardzero): Likewise.
26939         (pow_test_downward): Likewise.
26940         (pow_test_upward): Likewise.
26941         (remainder_test): Likewise.
26942         (remquo_test): Likewise.
26943         (sin_test): Likewise.
26944         (sin_test_tonearest): Likewise.
26945         (sin_test_towardzero): Likewise.
26946         (sin_test_downward): Likewise.
26947         (sin_test_upward): Likewise.
26948         (sincos_test): Likewise.
26949         (sinh_test): Likewise.
26950         (sinh_test_tonearest): Likewise.
26951         (sinh_test_towardzero): Likewise.
26952         (sinh_test_downward): Likewise.
26953         (sinh_test_upward): Likewise.
26954         (sqrt_test): Likewise.
26955         (tan_test): Likewise.
26956         (tan_test_tonearest): Likewise.
26957         (tan_test_towardzero): Likewise.
26958         (tan_test_downward): Likewise.
26959         (tan_test_upward): Likewise.
26960         (tanh_test): Likewise.
26961         (tgamma_test): Likewise.
26962         (y0_test): Likewise.
26963         (y1_test): Likewise.
26964         (yn_test): Likewise.
26966         * math/gen-libm-test.pl (adjust_arg): Remove function.
26967         (special_function): Remove argument $in_func.  Only handle
26968         generating output for tables of tests, not inside functions.
26969         (parse_args): Likewise.
26970         (generate_testfile): Remove variable $in_func.  Update call to
26971         parse_args.
26972         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
26973         (MINUS_ZERO_INIT): Rename macro to minus_zero.
26974         (PLUS_INFTY_INIT): Rename macro to plus_infty.
26975         (MINUS_INFTY_INIT): Rename macro to minus_infty.
26976         (QNAN_VALUE_INIT): Rename macro to qnan_value.
26977         (MAX_VALUE_INIT): Rename macro to max_value.
26978         (MIN_VALUE_INIT): Rename macro to min_value.
26979         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
26980         (plus_zero): Remove variable.
26981         (minus_zero): Likewise.
26982         (plus_infty): Likewise.
26983         (minus_infty): Likewise.
26984         (qnan_value): Likewise.
26985         (max_value): Likewise.
26986         (min_value): Likewise.
26987         (min_subnorm_value): Likewise.
26989 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26991         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
26992         uint64_t or uint32_t usage.
26993         * crypt/sha256-block.c: Likewise.
26994         * crypt/sha256-crypt.c: Likewise.
26995         * crypt/sha256.c: Likewise.
26996         * crypt/sha512-block.c: Likewise.
26997         * crypt/sha512-crypt.c: Likewise.
26998         * crypt/sha512.c: Likewise.
26999         * debug/backtrace-tst.c: Likewise.
27000         * debug/pcprofiledump.c: Likewise.
27001         * elf/cache.c: Likewise.
27002         * elf/dl-cache.c: Likewise.
27003         * elf/dl-misc.c: Likewise.
27004         * elf/dl-profile.c: Likewise.
27005         * elf/dl-support.c: Likewise.
27006         * elf/ldconfig.c: Likewise.
27007         * elf/sprof.c: Likewise.
27008         * iconv/dummy-repertoire.c: Likewise.
27009         * iconv/iconv_charmap.c: Likewise.
27010         * iconv/skeleton.c: Likewise.
27011         * iconvdata/8bit-generic.c: Likewise.
27012         * iconvdata/cp737.h: Likewise.
27013         * iconvdata/cp775.h: Likewise.
27014         * iconvdata/ibm1008.h: Likewise.
27015         * iconvdata/ibm1025.h: Likewise.
27016         * iconvdata/ibm1046.h: Likewise.
27017         * iconvdata/ibm1097.h: Likewise.
27018         * iconvdata/ibm1112.h: Likewise.
27019         * iconvdata/ibm1122.h: Likewise.
27020         * iconvdata/ibm1123.h: Likewise.
27021         * iconvdata/ibm1124.h: Likewise.
27022         * iconvdata/ibm1129.h: Likewise.
27023         * iconvdata/ibm1130.h: Likewise.
27024         * iconvdata/ibm1132.h: Likewise.
27025         * iconvdata/ibm1133.h: Likewise.
27026         * iconvdata/ibm1137.h: Likewise.
27027         * iconvdata/ibm1140.h: Likewise.
27028         * iconvdata/ibm1141.h: Likewise.
27029         * iconvdata/ibm1142.h: Likewise.
27030         * iconvdata/ibm1143.h: Likewise.
27031         * iconvdata/ibm1144.h: Likewise.
27032         * iconvdata/ibm1145.h: Likewise.
27033         * iconvdata/ibm1146.h: Likewise.
27034         * iconvdata/ibm1147.h: Likewise.
27035         * iconvdata/ibm1148.h: Likewise.
27036         * iconvdata/ibm1149.h: Likewise.
27037         * iconvdata/ibm1153.h: Likewise.
27038         * iconvdata/ibm1154.h: Likewise.
27039         * iconvdata/ibm1155.h: Likewise.
27040         * iconvdata/ibm1156.h: Likewise.
27041         * iconvdata/ibm1157.h: Likewise.
27042         * iconvdata/ibm1158.h: Likewise.
27043         * iconvdata/ibm1160.h: Likewise.
27044         * iconvdata/ibm1161.h: Likewise.
27045         * iconvdata/ibm1162.h: Likewise.
27046         * iconvdata/ibm1163.h: Likewise.
27047         * iconvdata/ibm1164.h: Likewise.
27048         * iconvdata/ibm1166.h: Likewise.
27049         * iconvdata/ibm1167.h: Likewise.
27050         * iconvdata/ibm12712.h: Likewise.
27051         * iconvdata/ibm1390.h: Likewise.
27052         * iconvdata/ibm1399.h: Likewise.
27053         * iconvdata/ibm16804.h: Likewise.
27054         * iconvdata/ibm4517.h: Likewise.
27055         * iconvdata/ibm4899.h: Likewise.
27056         * iconvdata/ibm4909.h: Likewise.
27057         * iconvdata/ibm4971.h: Likewise.
27058         * iconvdata/ibm5347.h: Likewise.
27059         * iconvdata/ibm803.h: Likewise.
27060         * iconvdata/ibm856.h: Likewise.
27061         * iconvdata/ibm901.h: Likewise.
27062         * iconvdata/ibm902.h: Likewise.
27063         * iconvdata/ibm9030.h: Likewise.
27064         * iconvdata/ibm9066.h: Likewise.
27065         * iconvdata/ibm921.h: Likewise.
27066         * iconvdata/ibm922.h: Likewise.
27067         * iconvdata/ibm9448.h: Likewise.
27068         * iconvdata/isiri-3342.h: Likewise.
27069         * iconvdata/jis0201.h: Likewise.
27070         * include/link.h: Likewise.
27071         * include/netdb.h: Likewise.
27072         * inet/check_native.c: Likewise.
27073         * inet/check_pf.c: Likewise.
27074         * inet/getipv4sourcefilter.c: Likewise.
27075         * inet/getnameinfo.c: Likewise.
27076         * inet/getsourcefilter.c: Likewise.
27077         * inet/htonl.c: Likewise.
27078         * inet/setipv4sourcefilter.c: Likewise.
27079         * inet/setsourcefilter.c: Likewise.
27080         * inet/test-inet6_opt.c: Likewise.
27081         * inet/tst-network.c: Likewise.
27082         * locale/C-collate.c: Likewise.
27083         * locale/C-ctype.c: Likewise.
27084         * locale/C-time.c: Likewise.
27085         * locale/C-translit.h: Likewise.
27086         * locale/loadarchive.c: Likewise.
27087         * locale/programs/3level.h: Likewise.
27088         * locale/programs/charmap.c: Likewise.
27089         * locale/programs/charmap.h: Likewise.
27090         * locale/programs/ld-address.c: Likewise.
27091         * locale/programs/ld-collate.c: Likewise.
27092         * locale/programs/ld-ctype.c: Likewise.
27093         * locale/programs/ld-identification.c: Likewise.
27094         * locale/programs/ld-measurement.c: Likewise.
27095         * locale/programs/ld-messages.c: Likewise.
27096         * locale/programs/ld-monetary.c: Likewise.
27097         * locale/programs/ld-name.c: Likewise.
27098         * locale/programs/ld-numeric.c: Likewise.
27099         * locale/programs/ld-paper.c: Likewise.
27100         * locale/programs/ld-telephone.c: Likewise.
27101         * locale/programs/ld-time.c: Likewise.
27102         * locale/programs/linereader.c: Likewise.
27103         * locale/programs/locale.c: Likewise.
27104         * locale/programs/locarchive.c: Likewise.
27105         * locale/programs/locfile.h: Likewise.
27106         * locale/programs/repertoire.c: Likewise.
27107         * locale/programs/simple-hash.c: Likewise.
27108         * locale/programs/simple-hash.h: Likewise.
27109         * malloc/memusage.c: Likewise.
27110         * malloc/memusagestat.c: Likewise.
27111         * nis/nis_defaults.c: Likewise.
27112         * nis/nis_hash.c: Likewise.
27113         * nis/nis_print.c: Likewise.
27114         * nis/nis_xdr.c: Likewise.
27115         * nscd/connections.c: Likewise.
27116         * nscd/hstcache.c: Likewise.
27117         * nscd/nscd_gethst_r.c: Likewise.
27118         * nscd/nscd_getserv_r.c: Likewise.
27119         * nscd/nscd_helper.c: Likewise.
27120         * nscd/servicescache.c: Likewise.
27121         * nss/makedb.c: Likewise.
27122         * nss/nss_db/db-XXX.c: Likewise.
27123         * nss/nss_db/db-initgroups.c: Likewise.
27124         * nss/nss_db/db-netgrp.c: Likewise.
27125         * nss/nss_files/files-network.c: Likewise.
27126         * nss/nss_files/files-parse.c: Likewise.
27127         * posix/bug-regex5.c: Likewise.
27128         * posix/fnmatch_loop.c: Likewise.
27129         * posix/regcomp.c: Likewise.
27130         * posix/regexec.c: Likewise.
27131         * posix/tst-rfc3484-2.c: Likewise.
27132         * posix/tst-rfc3484-3.c: Likewise.
27133         * posix/tst-rfc3484.c: Likewise.
27134         * resolv/nss_dns/dns-canon.c: Likewise.
27135         * resolv/nss_dns/dns-network.c: Likewise.
27136         * resolv/res_init.c: Likewise.
27137         * resolv/res_mkquery.c: Likewise.
27138         * resolv/tst-aton.c: Likewise.
27139         * stdlib/cxa_atexit.c: Likewise.
27140         * stdlib/cxa_finalize.c: Likewise.
27141         * stdlib/gen-fpioconst.c: Likewise.
27142         * stdlib/strtol_l.c: Likewise.
27143         * string/tst-endian.c: Likewise.
27144         * sunrpc/auth_des.c: Likewise.
27145         * sunrpc/clnt_udp.c: Likewise.
27146         * sunrpc/rtime.c: Likewise.
27147         * sunrpc/svcauth_des.c: Likewise.
27148         * sunrpc/xdr.c: Likewise.
27149         * sunrpc/xdr_intXX_t.c: Likewise.
27150         * sunrpc/xdr_rec.c: Likewise.
27151         * sysdeps/generic/ldconfig.h: Likewise.
27152         * sysdeps/generic/ldsodefs.h: Likewise.
27153         * sysdeps/generic/memusage.h: Likewise.
27154         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27155         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27156         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27157         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27158         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27159         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27160         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27161         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27162         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27163         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27164         * sysdeps/posix/getaddrinfo.c: Likewise.
27165         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27166         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27167         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27168         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27169         * sysdeps/powerpc/test-gettimebase.c: Likewise.
27170         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27171         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27172         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27173         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27174         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27175         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27176         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27177         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27178         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27179         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27180         * sysdeps/x86_64/dl-tls.h: Likewise.
27181         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27182         * time/alt_digit.c: Likewise.
27183         * time/era.c: Likewise.
27184         * wcsmbs/tst-c16c32-1.c: Likewise.
27186 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
27188         * math/libm-test.inc (struct test_sincos_data): New type.
27189         (RUN_TEST_LOOP_sincos): New macro.
27190         (sincos_test_data): New variable.
27191         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27193 2013-05-16  Richard Henderson  <rth@redhat.com>
27195         * math/atest-exp2.c (LIMB64): New macro.
27196         (CONSTSZ): New macro.
27197         (mp_exp1, mp_exp_m1, mp_log2): New variables.
27198         (hexdig): Move ...
27199         (print_mpn_fp): ... to function scope.
27200         (read_mpn_hex): Remove.
27201         (get_log2): Remove.
27202         (exp2_mpn): Use mp_log2.
27203         (main): Use mp_exp1.
27205 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
27207         * math/libm-test.inc: Remove comment about not testing "inexact"
27208         exceptions.
27209         (INEXACT_EXCEPTION): New macro.
27210         (NO_INEXACT_EXCEPTION): Likewise.
27211         (INVALID_EXCEPTION_OK): Update value.
27212         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27213         (OVERFLOW_EXCEPTION_OK): Likewise.
27214         (UNDERFLOW_EXCEPTION_OK): Likewise.
27215         (IGNORE_ZERO_INF_SIGN): Likewise.
27216         (ERRNO_UNCHANGED): Likewise.
27217         (ERRNO_EDOM): Likewise.
27218         (ERRNO_ERANGE): Likewise.
27219         (test_exceptions): Handle testing "inexact" exceptions.
27220         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27221         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27222         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27223         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27224         INEXACT_EXCEPTION.
27225         (rint_towardzero_test_data): Likewise.
27226         (rint_downward_test_data): Likewise.
27227         (rint_upward_test_data): Likewise.
27229         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27230         with OVERFLOW_EXCEPTION.
27231         (exp10_test_data): Likewise.
27232         (exp2_test_data): Likewise.
27233         (expm1_test_data): Likewise.
27234         (lgamma_test_data): Likewise.
27235         (pow_test_data): Likewise.
27236         (tgamma_test_data): Likewise.
27237         (yn_test_data): Remove duplicate test of overflow.
27239         * math/libm-test.inc (struct test_cc_c_data): New type.
27240         (RUN_TEST_LOOP_cc_c): New macro.
27241         (cpow_test_data): New variable.
27242         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27244         * math/libm-test.inc (struct test_f_L_data): New type.
27245         (RUN_TEST_LOOP_f_L): New macro.
27246         (llrint_test_data): New variable.
27247         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27248         (llrint_tonearest_test_data): New variable.
27249         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27250         (llrint_towardzero_test_data): New variable.
27251         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27252         (llrint_downward_test_data): New variable.
27253         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27254         (llrint_upward_test_data): New variable.
27255         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27256         (llround_test_data): New variable.
27257         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27259 2013-05-13  Peter Collingbourne  <pcc@google.com>
27261         * math/atest-exp2.c (get_log2): Remove const attribute.
27263 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
27265         * math/libm-test.inc (struct test_f_l_data): New type.
27266         (RUN_TEST_LOOP_f_l): New macro.
27267         (lrint_test_data): New variable.
27268         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27269         (lrint_tonearest_test_data): New variable.
27270         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27271         (lrint_towardzero_test_data): New variable.
27272         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27273         (lrint_downward_test_data): New variable.
27274         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27275         (lrint_upward_test_data): New variable.
27276         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27277         (lround_test_data): New variable.
27278         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27280 2013-05-15  Peter Collingbourne  <pcc@google.com>
27282         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27283         (EXTRACT_WORDS64) Use where appropriate.
27284         (INSERT_WORDS64) Likewise.
27286         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27287         constraints with x constraints.
27288         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27290         * malloc/obstack.c (_obstack_compat): Add initializer.
27292 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
27294         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27295         si_trapno and add si_addr_lsb to _sifields.sigfault.
27296         (si_trapno): Remove macro.
27297         (si_addr_lsb): Define new macro.
27298         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27300 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
27302         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27303         instead of TEST_f_l.
27304         (llrint_test_tonearest): Likewise.
27305         (llrint_test_towardzero): Likewise.
27306         (llrint_test_downward): Likewise.
27307         (llrint_test_upward): Likewise.
27308         (llround_test): Likewise.
27310         * math/libm-test.inc (struct test_f_i_data): Add comment.
27311         (RUN_TEST_LOOP_f_b): New macro.
27312         (RUN_TEST_LOOP_f_b_tg): Likewise.
27313         (finite_test_data): New variable.
27314         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27315         (isfinite_test_data): New variable.
27316         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27317         (isinf_test_data): New variable.
27318         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27319         (isnan_test_data): New variable.
27320         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27321         (isnormal_test_data): New variable.
27322         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27323         (issignaling_test_data): New variable.
27324         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27325         (signbit_test_data): New variable.
27326         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27328         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27329         with INVALID_EXCEPTION.
27330         (acosh_test_data): Likewise.
27331         (asin_test_data): Likewise.
27332         (atanh_test_data): Likewise.
27333         (fmod_test_data): Likewise.
27334         (log_test_data): Likewise.
27335         (log10_test_data): Likewise.
27336         (log2_test_data): Likewise.
27337         (pow_test_data): Likewise.
27338         (sqrt_test_data): Likewise.
27339         (y0_test_data): Likewise.
27340         (y1_test_data): Likewise.
27341         (yn_test_data): Likewise.
27343         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27344         function contents.
27346         * math/libm-test.inc (struct test_ff_i_data): New type.
27347         (RUN_TEST_LOOP_ff_i_tg): New macro.
27348         (isgreater_test_data): New variable.
27349         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27350         (isgreaterequal_test_data): New variable.
27351         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27352         (isless_test_data): New variable.
27353         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27354         (islessequal_test_data): New variable.
27355         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27356         (islessgreater_test_data): New variable.
27357         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27358         (isunordered_test_data): New variable.
27359         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27361 2013-05-14  David S. Miller  <davem@davemloft.net>
27363         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27365 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
27367         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27369         * math/libm-test.inc (struct test_fF_f1_data): Change type of
27370         extra_test to int.
27371         (struct test_f_i_data): Change type of max_ulp to int.
27373         * math/libm-test.inc (test_ffI_f1_data): New type.
27374         (RUN_TEST_LOOP_ffI_f1): New macro.
27375         (remquo_test_data): New variable.
27376         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27378         * setjmp/tst-setjmp-fp.c: New file.
27379         * setjmp/Makefile (tests): Add tst-setjmp-fp.
27380         (link-libm): New variable.
27381         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27383         * math/libm-test.inc (struct test_f_i_data): New type.
27384         (RUN_TEST_LOOP_f_i): New macro.
27385         (RUN_TEST_LOOP_f_i_tg): Likewise.
27386         (fpclassify_test_data): New variable.
27387         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27388         (ilogb_test_data): New variable.
27389         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27391         * math/libm-test.inc (scalbln_test): Correct function name in END
27392         call.
27394         * math/libm-test.inc (struct test_f_f1_data): Add comment.
27395         (RUN_TEST_LOOP_fI_f1): New macro.
27396         (frexp_test_data): New variable.
27397         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27399         * math/libm-test.inc (struct test_fF_f1_data): New type.
27400         (RUN_TEST_LOOP_fF_f1): New macro.
27401         (modf_test_data): New variable.
27402         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27404         * math/libm-test.inc (struct test_f_f1_data): New type.
27405         (RUN_TEST_LOOP_f_f1): New macro.
27406         (gamma_test_data): New variable.
27407         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27408         (lgamma_test_data): New variable.
27409         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27411 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
27413         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27414         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27415         (main): Comment "tls" pseudo-hwcap.
27417 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
27419         * math/libm-test.inc (struct test_fl_f_data): New type.
27420         (RUN_TEST_LOOP_fl_f): New variable.
27421         (scalbln_test_data): New variable.
27422         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
27424         * math/libm-test.inc (struct test_fi_f_data): New type.
27425         (RUN_TEST_LOOP_fi_f): New macro.
27426         (ldexp_test_data): New variable.
27427         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
27428         (scalbn_test_data): New variable.
27429         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
27431         * math/libm-test.inc (struct test_c_f_data): New type.
27432         (RUN_TEST_LOOP_c_f): New macro.
27433         (cabs_test_data): New variable.
27434         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
27435         (carg_test_data): New variable.
27436         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
27437         (cimag_test_data): New variable.
27438         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
27439         (creal_test_data): New variable.
27440         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
27442         * math/libm-test.inc (struct test_if_f_data): New type.
27443         (RUN_TEST_LOOP_if_f): New macro.
27444         (jn_test_data): New variable.
27445         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
27446         (yn_test_data): New variable.
27447         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
27449         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
27451 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27453         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
27454         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
27456 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
27458         * benchtests/Makefile (CPPFLAGS-nonlib): Add
27459         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
27460         (bench-deps): Add bench-timing.h.
27461         * benchtests-bench-skeleton.c: Include bench-timing.h.
27462         (main): Use TIMING_* macros instead of clock_gettime.
27463         * benchtests/bench-timing.h: New file.
27465         [BZ #14582]
27466         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
27467         Renamed from _LIB_VERSION.
27468         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
27470 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
27472         * math/libm-test.inc (struct test_fff_f_data): New type.
27473         (RUN_TEST_LOOP_fff_f): New macro.
27474         (fma_test_data): New variable.
27475         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
27476         (fma_towardzero_test_data): New variable.
27477         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
27478         (fma_downward_test_data): New variable.
27479         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
27480         (fma_upward_test_data): New variable.
27481         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
27483         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
27484         (struct test_c_c_data): New type.
27485         (RUN_TEST_LOOP_c_c): New macro.
27486         (cacos_test_data): New variable.
27487         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
27488         (cacosh_test_data): New variable.
27489         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
27490         (casin_test_data): New variable.
27491         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
27492         (casinh_test_data): New variable.
27493         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
27494         (catan_test_data): New variable.
27495         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
27496         (catanh_test_data): New variable.
27497         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
27498         (ccos_test_data): New variable.
27499         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
27500         (ccosh_test_data): New variable.
27501         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
27502         (cexp_test_data): New variable.
27503         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
27504         (clog_test_data): New variable.
27505         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
27506         (clog10_test_data): New variable.
27507         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
27508         (conj_test_data): New variable.
27509         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
27510         (cproj_test_data): New variable.
27511         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
27512         (csin_test_data): New variable.
27513         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
27514         (csinh_test_data): New variable.
27515         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
27516         (csqrt_test_data): New variable.
27517         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
27518         (ctan_test_data): New variable.
27519         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
27520         (ctan_tonearest_test_data): New variable.
27521         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27522         (ctan_towardzero_test_data): New variable.
27523         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27524         (ctan_downward_test_data): New variable.
27525         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27526         (ctan_upward_test_data): New variable.
27527         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27528         (ctanh_test_data): New variable.
27529         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
27530         (ctanh_tonearest_test_data): New variable.
27531         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
27532         (ctanh_towardzero_test_data): New variable.
27533         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
27534         (ctanh_downward_test_data): New variable.
27535         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
27536         (ctanh_upward_test_data): New variable.
27537         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
27538         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
27539         of BUILD_COMPLEX.
27541         * math/libm-test.inc (struct test_ff_f_data): New type.
27542         (struct test_ff_f_data_nexttoward): Likewise.
27543         (RUN_TEST_LOOP_2_f): New macro.
27544         (RUN_TEST_LOOP_ff_f): Likewise.
27545         (atan2_test_data): New variable.
27546         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
27547         (copysign_test_data): New variable.
27548         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
27549         (fdim_test_data): New variable.
27550         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
27551         (fmax_test_data): New variable.
27552         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
27553         (fmin_test_data): New variable.
27554         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
27555         (fmod_test_data): New variable.
27556         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
27557         (hypot_test_data): New variable.
27558         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
27559         (nextafter_test_data): New variable.
27560         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
27561         (nexttoward_test_data): New variable.
27562         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
27563         (pow_test_data): New variable.
27564         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
27565         (pow_tonearest_test_data): New variable.
27566         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
27567         (pow_towardzero_test_data): New variable.
27568         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
27569         (pow_downward_test_data): New variable.
27570         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
27571         (pow_upward_test_data): New variable.
27572         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
27573         (remainder_test_data): New variable.
27574         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
27575         (scalb_test_data): New variable.
27576         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
27577         * sysdeps/i386/fpu/libm-test-ulps: Update.
27579 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
27581         * math/libm-test.inc (fma_test): Use max_value instead of local
27582         variable fltmax.
27583         (nextafter_test): Likewise.
27585         * math/libm-test.inc (acos_towardzero_test_data): New variable.
27586         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27587         (acos_downward_test_data): New variable.
27588         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27589         (acos_upward_test_data): New variable.
27590         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27591         (acosh_test_data): New variable.
27592         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
27593         (asin_test_data): New variable.
27594         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
27595         (asin_tonearest_test_data): New variable.
27596         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27597         (asin_towardzero_test_data): New variable.
27598         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27599         (asin_downward_test_data): New variable.
27600         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27601         (asin_upward_test_data): New variable.
27602         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27603         (asinh_test_data): New variable.
27604         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
27605         (atan_test_data): New variable.
27606         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
27607         (atanh_test_data): New variable.
27608         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
27609         (cbrt_test_data): New variable.
27610         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
27611         (ceil_test_data): New variable.
27612         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
27613         (cos_test_data): New variable.
27614         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
27615         (cos_tonearest_test_data): New variable.
27616         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27617         (cos_towardzero_test_data): New variable.
27618         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27619         (cos_downward_test_data): New variable.
27620         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27621         (cos_upward_test_data): New variable.
27622         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27623         (cosh_test_data): New variable.
27624         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
27625         (cosh_tonearest_test_data): New variable.
27626         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27627         (cosh_towardzero_test_data): New variable.
27628         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27629         (cosh_downward_test_data): New variable.
27630         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27631         (cosh_upward_test_data): New variable.
27632         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27633         (erf_test_data): New variable.
27634         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
27635         (erfc_test_data): New variable.
27636         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
27637         (exp_test_data): New variable.
27638         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
27639         (exp_tonearest_test_data): New variable.
27640         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27641         (exp_towardzero_test_data): New variable.
27642         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27643         (exp_downward_test_data): New variable.
27644         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27645         (exp_upward_test_data): New variable.
27646         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27647         (exp10_test_data): New variable.
27648         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
27649         (exp2_test_data): New variable.
27650         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
27651         (expm1_test_data): New variable.
27652         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
27653         (fabs_test_data): New variable.
27654         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
27655         (floor_test_data): New variable.
27656         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
27657         (j0_test_data): New variable.
27658         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
27659         (j1_test_data): New variable.
27660         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
27661         (log_test_data): New variable.
27662         (log_test): Run tests with RUN_TEST_LOOP_f_f.
27663         (log10_test_data): New variable.
27664         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
27665         (log1p_test_data): New variable.
27666         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
27667         (log2_test_data): New variable.
27668         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
27669         (logb_test_data): New variable.
27670         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
27671         (logb_downward_test_data): New variable.
27672         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27673         (nearbyint_test_data): New variable.
27674         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
27675         (rint_test_data): New variable.
27676         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
27677         (rint_tonearest_test_data): New variable.
27678         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27679         (rint_towardzero_test_data): New variable.
27680         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27681         (rint_downward_test_data): New variable.
27682         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27683         (rint_upward_test_data): New variable.
27684         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27685         (round_test_data): New variable.
27686         (round_test): Run tests with RUN_TEST_LOOP_f_f.
27687         (sin_test_data): New variable.
27688         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
27689         (sin_tonearest_test_data): New variable.
27690         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27691         (sin_towardzero_test_data): New variable.
27692         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27693         (sin_downward_test_data): New variable.
27694         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27695         (sin_upward_test_data): New variable.
27696         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27697         (sinh_test_data): New variable.
27698         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
27699         (sinh_tonearest_test_data): New variable.
27700         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27701         (sinh_towardzero_test_data): New variable.
27702         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27703         (sinh_downward_test_data): New variable.
27704         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27705         (sinh_upward_test_data): New variable.
27706         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27707         (sqrt_test_data): New variable.
27708         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
27709         (tan_test_data): New variable.
27710         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
27711         (tan_tonearest_test_data): New variable.
27712         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27713         (tan_towardzero_test_data): New variable.
27714         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
27715         (tan_downward_test_data): New variable.
27716         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
27717         (tan_upward_test_data): New variable.
27718         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
27719         (tanh_test_data): New variable.
27720         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
27721         (tgamma_test_data): New variable.
27722         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
27723         (trunc_test_data): New variable.
27724         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
27725         (y0_test_data): New variable.
27726         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
27727         (y1_test_data): New variable.
27728         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
27729         (significand_test_data): New variable.
27730         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
27732 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
27734         [BZ #12387]
27735         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
27737 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
27739         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
27741 2013-05-10  Andreas Jaeger  <aj@suse.de>
27743         [BZ #15448]
27744         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
27745         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
27747 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
27749         * math/gen-libm-test.pl (adjust_arg): New function.
27750         (special_functions): Handle generating output in both functions
27751         and arrays.
27752         (parse_args): Likewise.
27753         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
27754         $in_func argument to parse_args.
27755         * math/libm-test.inc (struct test_f_f_data): New type.
27756         (IF_ROUND_INIT_): New macro.
27757         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
27758         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
27759         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
27760         (IF_ROUND_INIT_FE_UPWARD): Likewise.
27761         (ROUND_RESTORE_): Likewise.
27762         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
27763         (ROUND_RESTORE_FE_TONEAREST): Likewise.
27764         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
27765         (ROUND_RESTORE_FE_UPWARD): Likewise.
27766         (RUN_TEST_LOOP_f_f): New macro.
27767         (acos_test_data): New variable.
27768         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
27769         (acos_tonearest_test_data): New variable.
27770         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
27772 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27774         * benchtests/bench-skeleton.c (startup): Fix coding style.
27776 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
27778         [BZ #6809]
27779         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
27780         negative infinity argument.
27781         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
27782         negative infinity argument.
27783         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
27784         negative infinity argument.
27785         * math/libm-test.inc (tgamma_test): Expect errno to be set for
27786         domain errors.
27788 2013-05-10  Florian Weimer  <fweimer@redhat.com>
27790         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
27791         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
27792         * iconv/iconv_prog.c (main): Likewise.
27793         * locale/programs/charmap-dir.c (charmap_readdir)
27794         (fopen_uncompressed): Likewise.
27795         * locale/programs/locfile.c (siblings_uncached)
27796         (write_locale_data): Use lstat64 instead of lstat.
27797         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
27798         stat.
27800 2013-05-10  Andreas Jaeger  <aj@suse.de>
27802         [BZ #15395]
27803         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
27804         localization.
27805         Include <locale.h>.
27807 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
27809         * elf/dl-close.c (_dl_close_worker): Add comments.
27811 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
27813         [BZ #15359]
27814         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
27815         high part of pi/2.
27816         (__ieee754_rem_pio2l): Update comments.
27818         [BZ #15429]
27819         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
27820         high part of pi/2.
27821         (__ieee754_rem_pio2l): Update comments.
27823         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
27824         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
27826         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
27827         M_PI_4l.
27829         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
27830         (M_PI_34_LOG10El): Likewise.
27831         (M_PI2_LOG10El): Likewise.
27832         (M_PI4_LOG10El): Likewise.
27833         (M_PI_LOG10El): Likewise.
27835 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27837         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27839 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
27841         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
27842         (MINUS_ZERO_INIT): Likewise.
27843         (PLUS_INFTY_INIT): Likewise.
27844         (MINUS_INFTY_INIT): Likewise.
27845         (QNAN_VALUE_INIT): Likewise.
27846         (MAX_VALUE_INIT): Likewise.
27847         (MIN_VALUE_INIT): Likewise.
27848         (MIN_SUBNORM_VALUE_INIT): Likewise.
27849         (plus_zero): Initialize with PLUS_ZERO_INIT.
27850         (minus_zero): Initialize with MINUS_ZERO_INIT.
27851         (plus_infty): Initialize with PLUS_INFTY_INIT.
27852         (minus_infty): Initialize with MINUS_INFTY_INIT.
27853         (qnan_value): Initialize with QNAN_VALUE_INIT.
27854         (max_value): Initialize with MAX_VALUE_INIT.
27855         (min_value): Initialize with MIN_VALUE_INIT.
27856         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
27858         * math/libm-test.inc (RUN_TEST_if_f): New macro.
27859         (jn_test): Use TEST_if_f instead of TEST_ff_f.
27860         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
27861         (yn_test): Use TEST_if_f instead of TEST_ff_f.
27863         * math/libm-test.inc (RUN_TEST_f_f): New macro.
27864         (RUN_TEST_2_f): Likewise.
27865         (RUN_TEST_ff_f): Likewise.
27866         (RUN_TEST_fi_f): Likewise.
27867         (RUN_TEST_fl_f): Likewise.
27868         (RUN_TEST_fff_f): Likewise.
27869         (RUN_TEST_c_f): Likewise.
27870         (RUN_TEST_f_f1): Likewise.
27871         (RUN_TEST_fF_f1): Likewise.
27872         (RUN_TEST_fI_f1): Likewise.
27873         (RUN_TEST_ffI_f1): Likewise.
27874         (RUN_TEST_c_c): Likewise.
27875         (RUN_TEST_cc_c): Likewise.
27876         (RUN_TEST_f_i): Likewise.
27877         (RUN_TEST_f_i_tg): Likewise.
27878         (RUN_TEST_ff_i_tg): Likewise.
27879         (RUN_TEST_f_b): Likewise.
27880         (RUN_TEST_f_b_tg): Likewise.
27881         (RUN_TEST_f_l): Likewise.
27882         (RUN_TEST_f_L): Likewise.
27883         (RUN_TEST_sincos): Likewise.
27884         * math/gen-libm-test.pl (new_test): Take new argument to indicate
27885         whether to show exceptions.  Do not include ");\n" in return
27886         value.
27887         (special_functions): Output call to RUN_TEST_sincos instead of
27888         check_float calls.  Update calls to new_test.
27889         (parse_args): Output call to single RUN_TEST_* macro instead of
27890         check_* calls and other assignments.  Update calls to new_test.
27892         [BZ #2546]
27893         [BZ #2560]
27894         [BZ #5159]
27895         [BZ #15426]
27896         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
27897         input to result for tgamma overflow.
27898         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
27899         (gamma_coeff): New variable.
27900         (NCOEFF): New macro.
27901         (gamma_positive): New function.
27902         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
27903         underflow here.  Use gamma_positive instead of exp (lgamma) for
27904         other arguments.
27905         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
27906         (gamma_coeff): New variable.
27907         (NCOEFF): New macro.
27908         (gammaf_positive): New function.
27909         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
27910         underflow here.  Use gamma_positive instead of exp (lgamma) for
27911         other arguments.
27912         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
27913         (gamma_coeff): New variable.
27914         (NCOEFF): New macro.
27915         (gammal_positive): New function.
27916         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
27917         underflow here.  Use gamma_positive instead of exp (lgamma) for
27918         other arguments.
27919         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
27920         (gamma_coeff): New variable.
27921         (NCOEFF): New macro.
27922         (gammal_positive): New function.
27923         (__ieee754_gammal_r): Handle positive infinity, overflow and
27924         underflow here.  Handle NaN the same as positive infinity.  Remove
27925         check x < 0xffffffff for negative integers.  Use gamma_positive
27926         instead of exp (lgamma) for other arguments.
27927         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
27928         (gamma_coeff): New variable.
27929         (NCOEFF): New macro.
27930         (gammal_positive): New function.
27931         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
27932         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
27933         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
27934         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
27935         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
27936         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
27937         * sysdeps/generic/math_private.h (__gamma_productf): New
27938         prototype.
27939         (__gamma_product): Likewise.
27940         (__gamma_productl): Likewise.
27941         * math/Makefile (libm-calls): Add gamma_product.
27942         * math/libm-test.inc (tgamma_test): Add more tests.
27943         * sysdeps/i386/fpu/libm-test-ulps: Update.
27944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27946 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
27948         * benchtests/bench-skeleton.c (main): Preheat CPU.
27950 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
27952         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
27954 2013-05-07  Roland McGrath  <roland@hack.frob.com>
27956         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
27957         and _dl_skip_args_internal.
27959 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
27961         * manual/message.texi (Message Translation): Talk about users.
27962         Message to key mapping impacts design.
27964 2013-05-06  Roland McGrath  <roland@hack.frob.com>
27966         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
27968         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
27970         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
27971         * sysdeps/wordsize-64/glob64.c: ... here.
27973         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
27974         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
27975         New macros.
27977         * debug/getlogin_r_chk.c: Moved to ...
27978         * login/getlogin_r_chk.c: ... here.
27979         * debug/Makefile (routines): Move getlogin_r_chk to ...
27980         * login/Makefile (routines): ... here.
27981         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
27982         * login/Versions (libc: GLIBC_2.4): ... here.
27984         * io/poll.c (__poll): Renamed from poll.
27985         Add libc_hidden_def.
27986         (poll): Define as weak alias.
27988         * debug/ptsname_r_chk.c: Moved to ...
27989         * login/ptsname_r_chk.c: ... here.
27990         * debug/Makefile (routines): Move ptsname_r_chk to ...
27991         * login/Makefile (routines): ... here.
27992         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
27993         * login/Versions (libc: GLIBC_2.4): ... here.
27995         * posix/getlogin.c: Moved to ...
27996         * login/getlogin.c: ... here.
27997         * posix/getlogin_r.c: Moved to ...
27998         * login/getlogin_r.c: ... here.
27999         * posix/getlogin_r.c: Moved to ...
28000         * login/getlogin_r.c: ... here.
28001         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28002         * login/Makefile (routines): ... here.
28003         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28004         * login/Versions (libc: GLIBC_2.0): ... here.
28006         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28007         (setrlimit): Define as weak alias.
28009         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28010         Call __ names for open, ftruncate, and close.
28011         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28012         (truncate): Define as weak alias.
28014 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
28016         * math/gen-libm-test.pl (parse_args): Initialize x before each
28017         test of frexp, modf and remquo.
28019         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28020         test signgam value.
28022 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28024         [BZ #15418]
28025         [BZ #15419]
28026         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28027         internal tests.
28028         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28030 2013-05-06  Roland McGrath  <roland@hack.frob.com>
28032         * elf/dl-writev.h: New file.
28033         * elf/dl-misc.c: Include it.
28034         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28035         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28037 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
28039         * math/libm-test.inc (noXFails): Remove variable.
28040         (noXPasses): Likewise.
28041         (BUILD_COMPLEX_INT): Remove macro.
28042         (print_screen): Remove xfail argument.
28043         (print_screen_max_error): Likewise.
28044         (update_stats): Likewise.
28045         (print_max_error): Likewise.  Update calls to other affected
28046         functions.
28047         (print_complex_max_error): Likewise.
28048         (test_single_exception): Update calls to print_screen.
28049         (test_single_errno): Likewise.
28050         (check_float_internal): Remove xfail argument.  Update calls to
28051         other affected functions.
28052         (check_float): Likewise.
28053         (check_complex): Likewise.
28054         (check_int): Likewise.
28055         (check_long): Likewise.
28056         (check_bool): Likewise.
28057         (check_longlong): Likewise.
28058         (main): Don't print noXFails and noXPasses.
28059         * math/gen-libm-test.pl (top level): Don't mention expected
28060         failure handling in comment.
28061         (new_test): Don't handle expected failures.
28062         (parse_args): Don't mention expected failure handling in comment.
28063         (generate_testfile): Don't handle expected failures.
28064         (parse_ulps): Likewise.
28065         (print_ulps_file): Likewise.
28066         (get_failure): Remove function.
28067         (output_test): Don't handle expected failures.
28068         * make/README.libm-test: Don't mention expected failure handling.
28070         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
28071         (minus_zero): Likewise.
28072         (plus_infty): Likewise.
28073         (minus_infty): Likewise.
28074         (qnan_value): Likewise.
28075         (max_value): Likewise.
28076         (min_value): Likewise.
28077         (min_subnorm_value): Likewise.
28078         (initialize): Do not initialize those variables dynamically.
28080 2013-05-03  Roland McGrath  <roland@hack.frob.com>
28082         * io/open.c (__open_2): Moved to ...
28083         * io/open_2.c: ... this new file.
28084         * io/open64.c (__open64_2): Moved to ...
28085         * io/open64_2.c: ... this new file.
28086         * io/openat.c (__openat_2): Moved to ...
28087         * io/openat_2.c: ... this new file.
28088         * io/openat64.c (__openat64_2): Moved to ...
28089         * io/openat64_2.c: ... this new file.
28090         * io/Makefile (routines): Add them.
28091         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28092         * sysdeps/unix/sysv/linux/open_2.c: File removed.
28093         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28094         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28095         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28096         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28097         (__openat64): Add hidden_ver.
28098         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28099         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28101         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28102         Separately conditionalize setting of GLRO(dl_sysinfo) so
28103         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28104         as well, but the actual setting is only under [NEED_DL_SYSINFO].
28106 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28108         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28109         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28110         definition.
28111         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28112         * sysdeps/unix/sysv/linux/powerpc/init-first.c
28113         (_libc_vdso_platform_setup): Add __vdso_time initialization.
28114         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28115         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28117 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
28119         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28120         test signgam value.
28122         * math/libm-test.inc (hypot_test): Do not use
28123         IGNORE_ZERO_INF_SIGN.
28125 2013-05-03  Andreas Jaeger  <aj@suse.de>
28127         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28128         Linux 3.9.
28129         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28130         (PF_MAX): Adjust for VSOCK change.
28132 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28134         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28136 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
28138         [BZ #15264]
28139         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28140         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28141         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28143 2013-05-02  David S. Miller  <davem@davemloft.net>
28145         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28147 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
28149         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28151 2013-05-01  Roland McGrath  <roland@hack.frob.com>
28153         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28155 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
28157         [BZ #14952]
28158         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28159         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28160         Use __attribute__ ((__gnu_inline__)).
28161         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28162         Don't use __attribute__ ((__gnu_inline__)).
28164 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
28166         [BZ #15423]
28167         * math/s_catan.c (__catan): Handle small real or imaginary part of
28168         input specially to avoid spurious underflow.
28169         * math/s_catanf.c (__catanf): Likewise.
28170         * math/s_catanh.c (__catanh): Likewise.
28171         * math/s_catanhf.c (__catanhf): Likewise.
28172         * math/s_catanhl.c (__catanhl): Likewise.
28173         * math/s_catanl.c (__catanl): Likewise.
28174         * math/libm-test.inc (catan_test): Add more tests.
28175         (catanh_test): Likewise.
28176         * sysdeps/i386/fpu/libm-test-ulps: Update.
28177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28179 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28181         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28183 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
28185         [BZ #15416]
28186         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28187         accurately for denominator in atan2.
28188         * math/s_catanf.c (__catanf): Likewise.
28189         * math/s_catanh.c (__catanh): Likewise.
28190         * math/s_catanhf.c (__catanhf): Likewise.
28191         * math/s_catanhl.c (__catanhl): Likewise.
28192         * math/s_catanl.c (__catanl): Likewise.
28193         * math/libm-test.inc (catan_test): Add more tests.
28194         (catanh_test): Likewise.
28195         * sysdeps/i386/fpu/libm-test-ulps: Update.
28196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28198 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28200         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28202         * benchtests/Makefile (bench): Remove slow benchmarks.
28203         * benchtests/atan-inputs: Add slow benchmark inputs.
28204         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28205         (BENCH_FUNC): Accept variant offset.
28206         (VARIANT): Define.
28207         * benchtests/bench-skeleton.c (main): Run benchmark for each
28208         variant.
28209         * benchtests/cos-inputs: Add slow benchmark inputs.
28210         * benchtests/exp-inputs: Likewise.
28211         * benchtests/pow-inputs: Likewise.
28212         * benchtests/sin-inputs: Likewise.
28213         * benchtests/slowatan-inputs: Remove.
28214         * benchtests/slowatan.c: Remove.
28215         * benchtests/slowcos-inputs: Remove.
28216         * benchtests/slowcos.c: Remove.
28217         * benchtests/slowexp-inputs: Remove.
28218         * benchtests/slowexp.c: Remove.
28219         * benchtests/slowpow-inputs: Remove.
28220         * benchtests/slowpow.c: Remove.
28221         * benchtests/slowsin-inputs: Remove.
28222         * benchtests/slowsin.c: Remove.
28223         * benchtests/slowtan-inputs: Remove.
28224         * benchtests/slowtan.c: Remove.
28225         * benchtests/tan-inputs: Add slow benchmark inputs.
28226         * scripts/bench.pl: Parse comments and directives.
28228         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
28229         in CPPFLAGS.
28230         ($(objpfx)bench-%.c): Remove *-ITER.
28231         * benchtests/bench-modf.c: Remove definition of ITER.
28232         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28233         (main): Loop for DURATION seconds instead of fixed number of
28234         iterations.
28235         * scripts/bench.pl: Don't expect iterations in parameters.
28237 2013-04-29  Roland McGrath  <roland@hack.frob.com>
28239         * io/fchdir.c (__fchdir): Renamed from fchdir.
28240         (fchdir): Define as weak alias.
28242 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
28244         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28245         (ERRNO_EDOM): Likewise.
28246         (ERRNO_ERANGE): Likewise.
28247         (noErrnoTests): New variable.
28248         (init_max_error): Set errno to 0.
28249         (test_single_errno): New function.
28250         (test_errno): Likewise.
28251         (check_float_internal): Call test_errno.  Set errno to 0.
28252         (check_complex): Refer to errno tests in comment.
28253         (check_int): Call test_errno.  Set errno to 0.
28254         (check_long): Likewise.
28255         (check_bool): Likewise.
28256         (check_longlong): Likewise.
28257         (cos_test): Use ERRNO_* flags for errno tests instead of
28258         check_int.
28259         (expm1_test): Likewise.
28260         (fmod_test): Likewise.
28261         (ilogb_test): Likewise.
28262         (lgamma_test): Likewise.
28263         (pow_test): Likewise.
28264         (remainder_test): Likewise.
28265         (sin_test): Likewise.
28266         (tan_test): Likewise.
28267         (yn_test): Likewise.
28268         (initialize): Set errno to 0.
28269         (main): Print number of errno tests.
28270         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28272 2013-04-29  Andreas Jaeger  <aj@suse.de>
28274         [BZ #15084]
28275         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28276         and RES_USEVC.
28278         [BZ #15085]
28279         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28280         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28281         unimplemented.
28283         [BZ #15380]
28284         * stdlib/random.c (__initstate): Return NULL if
28285         __initstate fails.
28287         [BZ #15086]
28288         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28289         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28290         RES_SNGLKUPREOP.
28292 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28294         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28296 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
28298         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28299         of individual tests.
28300         (casin_test): Likewise.
28301         (casinh_test): Likewise.
28303 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
28305         [BZ #15409]
28306         * math/s_catan.c (__catan): Handle arguments with large real or
28307         imaginary part separately without squaring.
28308         * math/s_catanf.c (__catanf): Likewise.
28309         * math/s_catanh.c (__catanh): Likewise.
28310         * math/s_catanhf.c (__catanhf): Likewise.
28311         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28312         and redefine.
28313         (__catanhl): Handle arguments with large real or imaginary part
28314         separately without squaring.
28315         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28316         and redefine.
28317         (__catanl): Handle arguments with large real or imaginary part
28318         separately without squaring.
28319         * math/libm-test.inc (catan_test): Add more tests.
28320         (catanh_test): Likewise.
28321         * sysdeps/i386/fpu/libm-test-ulps: Update.
28322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28324 2013-04-27  Andreas Jaeger  <aj@suse.de>
28326         [BZ #15007]
28327         * stdlib/stdlib.h: Update guards for qecvt.
28328         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28329         <stdlib.h>.
28331 2013-04-27  Allan McRae  <allan@archlinux.org>
28333         * sysdeps/i386/fpu/libm-test-ulps: Update.
28335 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
28337         [BZ #15406]
28338         * math/s_catan.c: Include <float.h>.
28339         (__catan): Ensure underflow exception occurs for underflowed
28340         result.
28341         * math/s_catanf.c: Include <float.h>.
28342         (__catanf): Ensure underflow exception occurs for underflowed
28343         result.
28344         * math/s_catanh.c: Include <float.h>.
28345         (__catanh): Ensure underflow exception occurs for underflowed
28346         result.
28347         * math/s_catanhf.c: Include <float.h>.
28348         (__catanhf): Ensure underflow exception occurs for underflowed
28349         result.
28350         * math/s_catanhl.c: Include <float.h>.
28351         (__catanhl): Ensure underflow exception occurs for underflowed
28352         result.
28353         * math/s_catanl.c: Include <float.h>.
28354         (__catanl): Ensure underflow exception occurs for underflowed
28355         result.
28356         * math/libm-test.inc (catan_test): Add more tests.
28357         (catanh_test): Likewise.
28359         [BZ #15405]
28360         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28361         underflowed result.
28362         * math/s_ccoshf.c (__ccoshf): Likewise.
28363         * math/s_ccoshl.c (__ccoshl): Likewise.
28364         * math/s_csin.c (__csin): Likewise.
28365         * math/s_csinf.c (__csinf): Likewise.
28366         * math/s_csinh.c (__csinh): Likewise.
28367         * math/s_csinhf.c (__csinhf): Likewise.
28368         * math/s_csinhl.c (__csinhl): Likewise.
28369         * math/s_csinl.c (__csinl): Likewise.
28370         * math/libm-test.inc (ccos_test): Add more tests.
28371         (ccosh_test): Likewise.
28372         (csin_test): Likewise.
28373         (csinh_test): Likewise.
28375 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28377         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28378         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28379         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28380         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28381         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28382         powerpc/power5+/fpu folders.
28383         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28386 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
28388         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28390 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
28392         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28393         additions to variable.
28394         [$(config-machine) = x86_64] (modules-names): Likewise.
28395         ($(objpfx)tst-audit3): Remove dependency.
28396         ($(objpfx)tst-audit3.out): Likewise.
28397         ($(objpfx)tst-audit4): Likewise.
28398         ($(objpfx)tst-audit4.out): Likewise.
28399         ($(objpfx)tst-audit5): Likewise.
28400         ($(objpfx)tst-audit5.out): Likewise.
28401         ($(objpfx)tst-audit6): Likewise.
28402         ($(objpfx)tst-audit6.out): Likewise.
28403         ($(objpfx)tst-audit7): Likewise.
28404         ($(objpfx)tst-audit7.out): Likewise.
28405         (tst-audit3-ENV): Remove variable.
28406         (tst-audit4-ENV): Likewise.
28407         (tst-audit5-ENV): Likewise.
28408         (tst-audit6-ENV): Likewise.
28409         (tst-audit7-ENV): Likewise.
28410         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28411         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28412         addition to variable.
28413         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28414         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28415         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28416         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28417         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28418         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28419         tst-audit3, tst-audit4 and tst-audit5.
28420         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
28421         tst-audit6 and tst-audit7.
28422         [$(subdir) = elf] (modules-names): Add audit modules for those
28423         tests.
28424         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
28425         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
28426         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
28427         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
28428         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
28429         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
28430         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
28431         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
28432         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
28433         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
28434         [$(subdir) = elf] (tst-audit3-ENV): New variable.
28435         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
28436         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
28437         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
28438         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
28439         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
28440         Likewise.
28441         [$(subdir) = elf && $(config-cflags-avx) = yes]
28442         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
28443         [$(subdir) = elf && $(config-cflags-avx) = yes]
28444         (CFLAGS-tst-auditmod4a.c): Likewise.
28445         [$(subdir) = elf && $(config-cflags-avx) = yes]
28446         (CFLAGS-tst-auditmod4b.c): Likewise.
28447         [$(subdir) = elf && $(config-cflags-avx) = yes]
28448         (CFLAGS-tst-auditmod6b.c): Likewise.
28449         [$(subdir) = elf && $(config-cflags-avx) = yes]
28450         (CFLAGS-tst-auditmod6c.c): Likewise.
28451         [$(subdir) = elf && $(config-cflags-avx) = yes]
28452         (CFLAGS-tst-auditmod7b.c): Likewise.
28453         * elf/tst-audit3.c: Move to ...
28454         * sysdeps/x86_64/tst-audit3.c: ... here.
28455         * elf/tst-audit4.c: Move to ...
28456         * sysdeps/x86_64/tst-audit4.c: ... here.
28457         * elf/tst-audit5.c: Move to ...
28458         * sysdeps/x86_64/tst-audit5.c: ... here.
28459         * elf/tst-audit6.c: Move to ...
28460         * sysdeps/x86_64/tst-audit6.c: ... here.
28461         * elf/tst-audit7.c: Move to ...
28462         * sysdeps/x86_64/tst-audit7.c: ... here.
28463         * elf/tst-auditmod3a.c: Move to ...
28464         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
28465         * elf/tst-auditmod3b.c: Move to ...
28466         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
28467         * elf/tst-auditmod4a.c: Move to ...
28468         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
28469         * elf/tst-auditmod4b.c: Move to ...
28470         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
28471         * elf/tst-auditmod5a.c: Move to ...
28472         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
28473         * elf/tst-auditmod5b.c: Move to ...
28474         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
28475         * elf/tst-auditmod6a.c: Move to ...
28476         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
28477         * elf/tst-auditmod6b.c: Move to ...
28478         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
28479         * elf/tst-auditmod6c.c: Move to ...
28480         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
28481         * elf/tst-auditmod7a.c: Move to ...
28482         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
28483         * elf/tst-auditmod7b.c: Move to ...
28484         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
28486 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
28488         [BZ #15366]
28489         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
28490         define unconditionally.
28491         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
28492         define unconditionally.
28493         (INT8_C, INT16_C, etc.): Likewise.
28495 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
28497         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
28498         __ehdr_start with hidden visibility.
28500         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
28502 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
28504         * math/libm-test.inc (cos_test): Use accurate hex constants.
28505         (sincost_test): Likewise.
28507 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
28509         * math/libm-test.inc (catan_test): Add more tests.
28510         (catanh_test): Likewise.
28512         * math/s_catanf.c (__catanf): Use suffixed floating-point
28513         constants.
28514         * math/s_catanhf.c (__catanhf): Likewise.
28515         * math/s_catanhl.c (__catanhl): Likewise.
28516         * math/s_catanl.c (__catanl): Likewise.
28518         [BZ #15394]
28519         * math/s_catan.c (__catan): Calculate imaginary part of result
28520         with log1p not log unless computing log of number close to 0.
28521         * math/s_catanf.c (__catanf): Likewise.
28522         * math/s_catanl.c (__catanl): Likewise.
28523         * math/s_catanh.c (__catanh): Calculate real part of result with
28524         log1p not log unless computing log of number close to 0.
28525         * math/s_catanhf.c (__catanhf): Likewise.
28526         * math/s_catanhl.c (__catanhl): Likewise.
28527         * math/libm-test.inc (catan_test): Add more tests.
28528         (catanh_test): Likewise.
28529         * sysdeps/i386/fpu/libm-test-ulps: Update.
28530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28532 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
28534         * benchtests/Makefile: Mention files in which fast and slow
28535         paths of math functions are implemented.
28537 2013-04-23  Roland McGrath  <roland@hack.frob.com>
28539         * sysdeps/posix/timespec_get.c: New file.
28541 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28543         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
28544         POWER.
28545         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
28546         for POWER.
28547         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
28548         powerpc/power5/fpu folders.
28549         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
28550         * benchtests/Makefile: Add modf testcase.
28551         * benchtests/bench-modf.c: New file: Benchmark test for mo
28553 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
28555         [BZ #14888]
28556         * time/Makefile (tests): Add tst-strptime-whitespace.
28557         * time/strptime_l.c (get_number): Use ISSPACE.
28558         (__strptime_internal): Likewise.
28559         * time/tst-strptime-whitespace.c: New test case.
28561 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
28563         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
28564         member.
28565         (_nss_files_init): Set it here.
28567 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
28569         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
28570         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
28571         unsigned.
28573 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
28575         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
28577 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
28579         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
28580         size just once.
28582 2013-04-21  David S. Miller  <davem@davemloft.net>
28584         * po/ru.po: Update Russion translation from translation project.
28586 2013-04-17  Adam Conrad  <adconrad@0c3.net>
28588         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
28589         and setfsgid.
28591 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
28593         * configure.in: Remove i386 configure warning. Remove i386 case.
28594         * configure: Regenerate.
28595         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
28596         Add example to error message.
28597         * sysdeps/i386/configure: Regenerate.
28599 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28601         * benchtests/Makefile (bench): Add cos, tan, slowcos and
28602         slowtan.
28603         * benchtests/cos-inputs: New file.
28604         * benchtests/slowcos-inputs: New file.
28605         * benchtests/slowcos.c: New file.
28606         * benchtests/slowtan-inputs: New file.
28607         * benchtests/slowtan.c: New file.
28608         * benchtests/tan-inputs: New file.
28610 2013-04-16  Roland McGrath  <roland@hack.frob.com>
28612         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
28613         considered kosher.
28615 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
28617         * benchtests/Makefile: Include cppflags-iterator.mk to add
28618         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
28620         * Makefile.in (bench-clean): New target.
28621         * benchtests/Makefile (bench-clean): Likewise.
28623 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
28625         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
28627 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
28629         * stdio-common/tstdiomisc.c: Fix coding-style violation.
28631 2013-04-15  Andreas Schwab  <schwab@suse.de>
28633         * nscd/grpcache.c (cache_addgr): Properly check for short write.
28634         * nscd/initgrcache.c (addinitgroupsX): Likewise.
28635         * nscd/pwdcache.c (cache_addpw): Likewise.
28636         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
28637         more than recsize.
28639 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28641         * benchtests/Makefile (bench): Write all output to
28642         bench-out.tmp together.
28644 2013-04-15  Andreas Schwab  <schwab@suse.de>
28646         * nscd/nscd.c (main): Don't fork again after closing files.
28648 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
28650         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
28652         * benchtests/Rules (bench-deps): Collect dependencies into a
28653         single variable.  Add Makefile to dependencies.
28654         ($(objpfx)bench-%.c): Depend on bench-deps.
28656 2013-04-12  Roland McGrath  <roland@hack.frob.com>
28657             Xavier Roche  <roche+kml2@exalead.com>
28659         [BZ #15361]
28660         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
28661         just that it's a file descriptor.
28662         * manual/llio.texi (Synchronizing AIO Operations): Update description
28663         for EBADF error from aio_fsync.
28665 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
28667         * Rules (bench): Move target definition...
28668         * benchtests/Makefile: ... here.
28670 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
28672         * math/libm-test.inc (cos_test): Fix PI/2 test.
28673         (sincos_test): Likewise.
28674         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
28675         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
28677 2013-04-11  Andreas Schwab  <schwab@suse.de>
28679         [BZ #13988]
28680         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
28681         accept exponent character only when digits were seen.
28682         * stdio-common/Makefile (tests): Add bug26.
28683         * stdio-common/bug26.c: New file.
28685         [BZ #14293]
28686         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
28687         non-freeable.
28689 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
28691         * Makeconfig (rtld-prefix): Define built linker prefix.
28692         * Rules (run-bench): Use it.
28693         * math/Makefile (run-regen-ulps): Likewise.
28695         * Rules (bench): Remove eval.
28697 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28698             Roland McGrath  <roland@hack.frob.com>
28699             Ondrej Bilka  <neleai@seznam.cz>
28701         [BZ #15346]
28702         * time/getdate.c: Include ctype.h and alloca.h.
28703         (__getdate_r): Trim leading and trailing spaces of input.
28704         * time/tst-getdate.c (tests): Add tests with leading and
28705         trailing spaces.
28707 2013-04-08  Roland McGrath  <roland@hack.frob.com>
28709         [BZ #14280]
28710         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
28711         when computing value.
28713 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28715         * math/README.libm-test (How can I generate "libm-test-ulps"?):
28716         Use testrun.sh to run libm tests.
28718         [BZ #15309]
28719         * elf/dl-open.c (dl_open_worker): memset all of seen array.
28721 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
28723         [BZ #15264]
28724         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
28726 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28728         * Makefile.in (regen-ulps): New target.
28729         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
28730         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
28731         [ifneq (no,$(PERL)] (regen-ulps): New target.
28732         [ifeq (no,$(PERL)] (regen-ulps): New target.
28733         * math/libm-test.inc (ulps_file_name): Define.
28734         (output_dir): New variable.
28735         (options): Add "output-dir" option.
28736         (parse_opt): Handle 'o' case.
28737         (main): If output_dir is non-NULL use it as a prefix
28738         otherwise use "".
28739         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
28741 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28743         [BZ #10060, #10062]
28744         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
28745         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
28746         fail configure if __sync_val_compare_and_swap is not inlined.
28747         * sysdeps/i386/configure: Regenerate.
28748         * configure.in: Build for i686 when configured for i386.
28749         * configure: Regenerate.
28750         * README: Remove i386 reference.
28752 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
28754         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
28755         * sysdeps/s390/s390-64/sysdep.h: Likewise.
28757 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
28759         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
28760         (lmsnanval): New variables.
28761         (F): Add conversion tests.
28762         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
28763         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
28765         * stdio-common/tstdiomisc.c (F): Properly collect individual
28766         tests' results.
28768         [BZ #14686, #15336]
28769         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
28770         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
28771         Instead, use input NaN values or generate a qNaN by arithmetic
28772         operation.  Also fix bugs to comply with the standard.
28773         * math/libm-test.inc (remainder_test): Add more tests.
28775         [BZ #15335, #15342]
28776         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
28777         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
28778         input NaN values or generate a qNaN by arithmetic operation.
28780         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
28781         unreachable code.
28783         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
28784         definitions.
28786 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
28788         [BZ #14478]
28789         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
28790         underflowed result.
28791         * math/s_cexpf.c (__cexpf): Likewise.
28792         * math/s_cexpl.c (__cexpl): Likewise.
28793         * math/libm-test.inc (cexp_test): Add more tests.
28795 2013-04-03  Andreas Schwab  <schwab@suse.de>
28797         [BZ #15330]
28798         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
28799         order arrays from heap if bigger than alloca cutoff.
28801 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
28803         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
28804         (SNAN_TESTS_double): Refer to GCC PR56831.
28805         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
28806         GCC PR56828.
28808 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
28810         * Rules (bench): Move bench.out after the run is complete.
28812         * Rules (bench): Echo currently running benchmark.
28814         * benchtests/Makefile (bench): Add atan and slowatan.
28815         * benchtests/atan-inputs: New file.
28816         * benchtests/slowatan-inputs: New file.
28817         * benchtests/slowatan.c: New file.
28819         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
28820         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
28821         its value.
28823         [BZ #15305]
28824         * sysdeps/unix/sysv/linux/kernel-features.h
28825         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
28826         __ASSUME_XFS_RESTRICTED_CHOWN.
28827         * sysdeps/unix/sysv/linux/pathconf.c
28828         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
28829         Save and restore errno.
28831 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
28833         [BZ #15327]
28834         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
28835         arguments using __kernel_casinh.
28836         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
28837         arguments using __kernel_casinhf.
28838         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
28839         arguments using __kernel_casinhl.
28840         * math/libm-test.inc (cacosh_test): Add more tests.
28841         * sysdeps/i386/fpu/libm-test-ulps: Update.
28842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28844 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
28846         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
28847         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
28849         * bench/Makefile (bench): Add sin and slowsin.
28850         * benchtests/sin-inputs: New file.
28851         * benchtests/slowsin-inputs: New file.
28852         * benchtests/slowsin.c: New file.
28854         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
28855         (bench): Add slowexp and slowpow.
28856         (exp-ITER): Increase iterations.
28857         (pow-ITER): Likewise.
28858         * benchtests/exp-inputs: Change input.
28859         * benchtests/pow-inputs: Likewise.
28860         * benchtests/slowexp-inputs: New file.
28861         * benchtests/slowexp.c: New file.
28862         * benchtests/slowpow-inputs: New file.
28863         * benchtests/slowpow.c: New file.
28865 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28867         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
28868         instructions.
28869         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
28870         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
28871         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
28872         * benchtests/Makefile: Add rint benchtest.
28873         * benchtests/rint-inputs: Input for rint benchtest.
28875 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
28877         * Versions.def (libm): Add GLIBC_2.18.
28878         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
28879         hidden libm prototypes.
28880         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
28881         * math/Makefile (libm-calls): Add s_issignaling.
28882         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
28883         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
28884         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
28885         declaration.
28886         * math/math.h [__USE_GNU] (issignaling): New macro.
28887         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
28888         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
28889         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
28890         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
28891         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
28892         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
28893         * manual/arith.texi (issignaling): New section.
28894         * manual/libm-err-tab.pl (@all_functions): Update comment.
28895         * math/gen-libm-test.pl (parse_args): Apply special handling for
28896         issignaling.
28897         * math/libm-test.inc (print_float, issignaling_test): New
28898         functions.
28899         (check_float_internal): Add issignaling checks.
28900         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
28901         default definition.
28902         * sysdeps/powerpc/math-tests.h: New file.
28903         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
28904         tests.
28905         * math/test-snan.c (TEST_FUNC): Likewise.
28907 2013-03-30  David S. Miller  <davem@davemloft.net>
28909         * po/de.po: Update from translation team.
28911 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
28913         [BZ #10357]
28914         * math/k_casinh.c (__kernel_casinh): Handle arguments with
28915         imaginary part less than 1.0 and real part less than 0.5
28916         specially.
28917         * math/k_casinhf.c (__kernel_casinhf): Likewise.
28918         * math/k_casinhl.c (__kernel_casinhl): Likewise.
28919         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
28920         (cacos_test): Add more tests.
28921         (casin_test): Likewise.
28922         (casinh_test): Likewise.
28923         * sysdeps/i386/fpu/libm-test-ulps: Update.
28924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28926 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
28928         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
28929         ONE with its value.
28931         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
28932         (__pow_mp): Replace ONE and MONE with their values.
28933         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28934         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
28935         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28936         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
28937         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28938         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
28940         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
28942         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
28943         (__pow_mp): Replace ZERO and MZERO with their values.
28944         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
28945         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
28946         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
28947         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
28948         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
28949         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
28950         (__sqr): Likewise.
28952         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
28954         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
28956 2013-03-28  Roland McGrath  <roland@hack.frob.com>
28958         * include/stdlib.h [!SHARED] (__call_tls_dtors):
28959         Declare with __attribute__ ((weak)).
28960         * stdlib/exit.c (__libc_atexit) [!SHARED]:
28961         Call __call_tls_dtors only if it's not NULL.
28963 2013-03-28  Roland McGrath  <roland@hack.frob.com>
28965         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
28966         didn't do it already, then set _dl_phdr and _dl_phnum based on the
28967         magic __ehdr_start linker symbol if it's defined.
28968         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
28969         them up here if it was already done.
28971         * elf/dl-support.c (_dl_phdr): Make pointer to const.
28972         (_dl_aux_init): Use const in cast when setting it.
28973         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
28974         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
28975         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
28977         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
28978         Declare them here.
28979         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
28980         * csu/libc-tls.c: Nor here.
28981         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
28983         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
28984         (__libc_message): Never call vsyslog.
28986 2013-03-28  Alan Modra  <amodra@gmail.com>
28988         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
28989         Define as empty.
28990         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
28991         Likewise.
28993 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28995         [BZ #15214]
28996         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
28997         underflow.
28998         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29000 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29002         [BZ #15304]
29003         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29004         Don't add gid passed as argument.
29006         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29008 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
29010         [BZ #15307]
29011         * math/k_casinh.c (__kernel_casinh): Handle arguments with
29012         imaginary part between 1.0 and 1.5 and real part less than 0.5
29013         specially.
29014         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29015         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29016         * math/libm-test.inc (cacos_test): Add more tests.
29017         (casin_test): Likewise.
29018         (casinh_test): Likewise.
29019         * sysdeps/i386/fpu/libm-test-ulps: Update.
29020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29022 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29024         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29025         constants.
29026         (norm): Likewise.
29027         (denorm): Likewise.
29028         (__dbl_mp): Likewise.
29029         (add_magnitudes): Likewise.
29030         (sub_magnitudes): Likewise.
29031         (__add): Likewise.
29032         (__sub): Likewise.
29033         (__mul): Likewise.
29034         (__sqr): Likewise.
29035         (__inv): Likewise.
29036         (__dvd): Likewise.
29038         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29039         commented code.
29040         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29041         (__dubcos): Likewise.
29042         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29043         (__ieee754_acos): Likewise.
29044         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29045         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29046         (__exp1): Likewise.
29047         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29048         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29049         (log1): Likewise.
29050         (my_log2): Likewise.
29051         (checkint): Likewise.
29052         * sysdeps/ieee754/dbl-64/e_remainder.c
29053         (__ieee754_remainder): Likewise.
29054         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29055         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29056         (bsloww): Likewise.
29057         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29059         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29060         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29061         MANTISSA_STORE_T to store computations on mantissa.  Use
29062         macros for rounding and division.
29063         (denorm): Likewise.
29064         (__dbl_mp): Likewise.
29065         (add_magnitudes): Likewise.
29066         (sub_magnitudes): Likewise.
29067         (__mul): Likewise.
29068         (__sqr): Likewise.
29069         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
29070         powers of two in terms of TWOPOW macro.
29071         (mp_no): Make type of mantissa as MANTISSA_T.
29072         [!RADIXI]: Define RADIXI.
29073         [!TWO52]: Define TWO52.
29074         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29076 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29078         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29079         llroundl symbol when building for PPC32.
29081 2013-03-24  Mark H Weaver  <mhw@netris.org>
29083         * manual/arith.texi (Normalization Functions): Fix prototypes for
29084         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29086 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29088         [BZ #13889]
29089         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29090         high value to check if expl overflow.
29091         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29092         to check for underflow and overflow.
29093         * math/libm-test.inc: Add exp test.
29095 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
29097         [BZ #11120]
29098         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29099         with NOT_IN_libc.
29101 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29103         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29104         symbol.
29106 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
29108         * math/gen-libm-test.pl (parse_args, special_functions): Properly
29109         wrap blocks consisting of several statements.
29111         * sysdeps/generic/math-tests.h: New file.
29112         * sysdeps/i386/fpu/math-tests.h: Likewise.
29113         * math/test-snan.c: Include it.
29114         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29116 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
29118         [BZ #15285]
29119         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29120         (__ieee754_j0l): Do not improve calculations using cos of twice
29121         input for inputs above LDBL_MAX / 2.0L.
29122         (__ieee754_y0l): Likewise.
29123         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29124         (__ieee754_j1l): Do not improve calculations using cos of twice
29125         input for inputs above LDBL_MAX / 2.0L.
29126         (__ieee754_y1l): Likewise.
29127         * math/libm-test.inc (j0_test): Add another test.
29128         (j1_test): Likewise.
29129         (y0_test): Likewise.
29130         (y1_test): Likewise.
29131         * sysdeps/i386/fpu/libm-test-ulps: Update.
29133 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29135         * Rules ($(objpfx)bench-%.c): Include code from a C source
29136         file.
29138 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
29140         [BZ #15287]
29141         * math/k_casinh.c (__kernel_casinh): Handle arguments with
29142         imaginary part 1.0 and real part less than 0.5 specially.
29143         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29144         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29145         * math/libm-test.inc (cacos_test): Add more tests.
29146         (casin_test): Likewise.
29147         (casinh_test): Likewise.
29148         * sysdeps/i386/fpu/libm-test-ulps: Update.
29149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29151 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29153         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29154         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29156 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
29158         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29159         * config.make.in (config-cflags-sse4): Remove variable.
29160         (config-cflags-avx): Likewise.
29161         (config-cflags-sse2avx): Likewise.
29162         (config-cflags-novzeroupper): Likewise.
29163         (config-asflags-i686): Likewise.
29164         (have-mfma4): Likewise.
29165         (have-as-vis3): Likewise.
29166         (MIG): Likewise.
29167         * configure.in (MIG): Do not AC_SUBST.
29168         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29169         (libc_cv_cc_sse4): Do not AC_SUBST.
29170         (libc_cv_cc_avx): Likewise.
29171         (libc_cv_cc_sse2avx): Likewise.
29172         (libc_cv_cc_novzeroupper): Likewise.
29173         (libc_cv_cc_fma4): Likewise.
29174         (libc_cv_as_i686): Likewise.
29175         (libc_cv_sparc_as_vis3): Likewise.
29176         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29177         LIBC_CONFIG_VAR.
29178         (config-asflags-i686): Likewise.
29179         (config-cflags-avx): Likewise.
29180         (config-cflags-sse2avx): Likewise.
29181         (have-mfma4): Likewise.
29182         (config-cflags-novzeroupper): Likewise.
29183         * sysdeps/mach/configure.in (MIG): Likewise.
29184         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29185         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29186         LIBC_CONFIG_VAR.
29187         (config-cflags-avx): Likewise.
29188         (config-cflags-sse2avx): Likewise.
29189         (have-mfma4): Likewise.
29190         (config-cflags-novzeroupper): Likewise.
29191         * configure: Regenerated.
29192         * sysdeps/i386/configure: Likewise.
29193         * sysdeps/mach/configure: Likewise.
29194         * sysdeps/sparc/configure: Likewise.
29195         * sysdeps/x86_64/configure: Likewise.
29197 2013-03-20  Roland McGrath  <roland@hack.frob.com>
29199         [BZ #14812]
29200         * locale/programs/localedef.c (options): Put N_ translation marker
29201         on argument names, not just descriptions.
29203 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29205         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29207 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
29209         [BZ #14176]
29210         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29212 2013-03-19  Roland McGrath  <roland@hack.frob.com>
29214         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29215         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29216         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29217         [!BEFORE_ABORT] (before_abort): New function.
29218         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29219         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29220         (writev_for_fatal): New function.
29221         (WRITEV_FOR_FATAL): New macro; call that.
29222         (backtrace_and_maps): New function.
29223         (BEFORE_ABORT): New macro; call that.
29224         (struct str_list): Type removed.
29225         (__libc_message, __libc_fatal): Functions removed.
29226         Include <sysdeps/posix/libc_fatal.c> instead.
29228 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
29230         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29231         constants.
29232         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29233         double constants.
29235 2013-03-19  Andreas Schwab  <schwab@suse.de>
29237         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29238         * sysdeps/gnu/configure: Regenerate.
29240         * configure.in: Substitute libc_cv_rtlddir.
29241         * configure: Regenerate.
29242         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29243         * Makeconfig (rtlddir, inst_rtlddir): New variables.
29244         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29245         * elf/Makefile (install-others, CFLAGS-interp.c)
29246         (ldso_install, common-ldd-rewrite): Likewise.
29247         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29248         $(inst_slibdir)/$(rtld-installed-name).
29249         * scripts/rellns-sh: Add -p option.
29250         * Makerules (make-shlib-link): Use rellns-sh to get relative name
29251         for source.
29253 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29255         * manual/nptl.texi: Renamed to ...
29256         * manual/threads.texi: ... this.
29257         * manual/Makefile (chapters): Update.
29259 2013-03-18  Roland McGrath  <roland@hack.frob.com>
29261         [BZ #14812]
29262         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29263         on argument names, not just descriptions.
29264         * malloc/memusagestat.c (options): Likewise.
29265         * nss/getent.c (options): Likewise.
29267 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
29269         [BZ #14812]
29270         * iconv/iconv_prog.c (options): Put N_ translation marker
29271         on argument names, not just descriptions.
29272         * iconv/iconvconfig.c (options): Likewise.
29274 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
29276         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29277         implementation which is faster on all x86_64 architectures.
29278         Tested on AMD, Intel Nehalem, SNB, IVB.
29279         * sysdeps/x86_64/strnlen.S: Likewise.
29281         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29282         Remove all multiarch strlen and strnlen versions.
29283         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29284         Remove strlen and strnlen related parts.
29286         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29287         Inline strlen part.
29288         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29290         * sysdeps/x86_64/multiarch/strlen.S: Remove.
29291         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29292         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29293         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29294         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29295         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29297 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
29299         * manual/memory.texi (Malloc Tunable Parameters):
29300         Sort parameters alphabetically. Add comments for missing entries.
29302 2013-03-17  David S. Miller  <davem@davemloft.net>
29304         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29306 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
29308         [BZ #15283]
29309         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29310         for arguments at most half maximum finite value.
29311         * math/libm-test.inc (j0_test): Add more tests.
29312         (j1_test): Likewise.
29313         (y0_test): Likewise.
29314         (y1_test): Likewise.
29315         * sysdeps/i386/fpu/libm-test-ulps: Update.
29316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29318         [BZ #14155]
29319         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29320         1 / x and functions P and Q for arguments above 0x1p256L.
29321         (__ieee754_y0l): Likewise.
29322         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29323         (__ieee754_y1l): Likewise.
29324         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29325         (j1_test): Likewise.
29326         (y0_test): Likewise.
29327         (y1_test): Likewise.
29329 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
29331         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29332         variable.
29334 2013-03-15  Roland McGrath  <roland@hack.frob.com>
29336         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29337         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29338         zero since it's initialized to EXEC_PAGESIZE.
29340         * sysdeps/unix/sysv/linux/ldsodefs.h
29341         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29342         * sysdeps/generic/ldsodefs.h: ... here.
29344 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
29346         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29348         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29349         math/test-snan.c.
29350         * math/test-snan.c: Renamed from
29351         sysdeps/powerpc/fpu/test-powerpc-snan.c.
29352         * math/Makefile (tests): Add test-snan.
29353         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29354         test-powerpc-snan.
29356         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29357         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
29358         functions.
29359         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
29360         __builtin_nan family of functions.
29361         * math/libm-test.inc (initialize): Initialize qnan_value with
29362         __builtin_nan family of functions.
29363         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29364         Remove variables.
29365         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29366         Remove functions.
29367         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
29368         storage class.  Initialize qNaN_var and sNaN_var with
29369         __builtin_nan and __builtin_nans families of functions,
29370         respectively.
29372         * math/libm-test.inc (acosh_test): Also test with qNaN input.
29373         (sqrt_test): Remove duplicate test with qNaN input.
29374         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29375         (round_test, signbit_test, significand_test): Note missing +/-Inf
29376         as well as qNaN tests.
29378         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29379         qNaN_var.  Fix a few strings, too.
29380         * math/libm-test.inc (nan_value): Rename to qnan_value.
29381         * math/gen-libm-test.pl (%beautify): Adjust to that.
29382         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29383         * math/test-misc.c (main): Likewise.
29384         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29385         to __qnan_bytes, and __qnan_union, respectively.
29386         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29387         Likewise.
29388         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29389         and lqnanval, respectively.
29390         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29391         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29392         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29393         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29395         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29396         * math/test-misc.c (main) [__x86_64__]: Enable test for long
29397         doubles.
29399         * math/test-misc.c (main): Fix copy'n'pastos.
29400         * misc/tst-efgcvt.c (special): Likewise.
29402         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29403         Remove declarations.
29405 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29407         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29408         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29409         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29410         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29412 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29414         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29415         macro to return vdso values correctly in IFUNC implementations.
29416         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29417         Optimization by using IFUNC.
29419 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29420             Richard Henderson  <rth@redhat.com>
29421             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29423         * Makefile.in (bench): New target.
29424         * NEWS: Mention the benchmark framework.
29425         * Rules (bench): Likewise.
29426         (binaries-bench): Generate binaries for functions to
29427         benchmark.
29428         * benchtests/Makefile: New makefile for benchmark tests.
29429         * benchtests/bench-skeleton.c: New skeleton file for benchmark
29430         programs.
29431         * benchtests/exp-inputs: New input file for EXP function.
29432         * benchtests/pow-inputs: New input file for POW function.
29433         * scripts/bench.pl: New script to generate source files for
29434         benchmark programs.
29436 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29438         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29439         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
29440         computations on mantissa.  Use macros for rounding and
29441         division.
29442         (denorm): Likewise.
29443         (__dbl_mp): Likewise.
29444         (add_magnitudes): Likewise.
29445         (sub_magnitudes): Likewise.
29446         (__mul): Likewise.
29447         (__sqr): Likewise.
29448         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
29449         powers of two in terms of TWOPOW macro.
29450         (mp_no): Make type of mantissa as MANTISSA_T.
29451         [!RADIXI]: Define RADIXI.
29452         [!TWO52]: Define TWO52.
29453         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29455         * manual/nptl.texi (cindex): Modify threads to pthreads.
29457 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
29459         * sysdeps/x86_64/preconfigure: Regenerated.
29461 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
29463         [BZ #14155]
29464         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
29465         0x1p28 and above.
29466         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
29467         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
29468         0x1p28 and above.
29469         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
29470         * math/libm-test.inc (j0_test): Do not allow one spurious
29471         underflow exception.
29472         (y1_test): Likewise.
29474 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29476         * manual/Makefile (chapters): Add nptl.
29477         * manual/debug.texi (Debugging Support): Add link to Threads
29478         chapter.
29479         * manual/nptl.texi: New file.
29481         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
29483 2013-03-14  Petr Baudis  <pasky@ucw.cz>
29485         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
29486         for non-NULL pointer before the memory validity test. Pointed
29487         out by Holger Brunck <holger.brunck@keymile.com>.
29489 2013-03-13  Andreas Schwab  <schwab@suse.de>
29491         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
29492         instead of .os.
29494 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
29496         * timezone/zic.c: Update from tzcode 2013b.
29498 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
29500         * manual/install.texi (Configuring and compiling):
29501         Mention i686 and i586.
29502         * INSTALL: Regenerate.
29504 2013-03-12  Roland McGrath  <roland@hack.frob.com>
29506         * sysdeps/init_array/elf-init.c: New file.
29507         * csu/elf-init.c
29508         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
29509         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
29511         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
29512         __gmon_start__ as global, but as static with a .preinit_array pointer.
29513         * sysdeps/init_array/gmon-start.c: New file.  Use that.
29514         * sysdeps/init_array/crti.S: New file, empty except for comments.
29515         * sysdeps/init_array/crtn.S: Likewise.
29517 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
29519         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
29520         definining bcopy.
29521         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
29522         Remove Prefer_SSE_for_memop.
29523         * sysdeps/x86_64/multiarch/init-arch.h: Remove
29524         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
29525         HAS_PREFER_SSE_FOR_MEMOP.
29526         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
29527         memset-x86-64.
29528         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29529         Remove bzero, memset ifunc support.
29530         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
29531         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
29532         * sysdeps/x86_64/multiarch/memset.S: Likewise.
29533         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
29535 2013-03-11  Andreas Schwab  <schwab@suse.de>
29537         [BZ #15234]
29538         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
29539         by SHLIB_COMPAT.
29540         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
29541         (GLIBC_2.16): Remove pthread_atfork.
29543 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
29545         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
29546         (ptestcases.h): Likewise.
29548 2013-03-08  Roland McGrath  <roland@hack.frob.com>
29550         * Makeconfig ($(common-objpfx)config.status): Depend on
29551         sysdeps/*/preconfigure{,.in} too.
29553 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
29555         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
29556         (__free_hook): Use void * instead of __malloc_ptr_t.
29557         (__malloc_hook): Likewise.
29558         (__realloc_hook): Likewise.
29559         (__memalign_hook): Likewise.
29560         (__after_morecore_hook): Likewise.
29561         * malloc/arena.c (save_malloc_hook): Likewise.
29562         (save_free_hook): Likewise.
29563         * malloc/hooks.c (malloc_hook_ini): Likewise.
29564         (realloc_hook_ini): Likewise.
29565         (memalign_hook_ini): Likewise.
29566         * malloc/malloc.c (malloc_hook_ini): Likewise.
29567         (realloc_hook_ini): Likewise.
29568         (memalign_hook_ini): Likewise.
29569         (__free_hook): Likewise.
29570         (__malloc_hook): Likewise.
29571         (__realloc_hook): Likewise.
29572         (__memalign_hook): Likewise.
29573         (__libc_malloc): Likewise.
29574         (__libc_free): Likewise.
29575         (__libc_realloc): Likewise.
29576         (__libc_memalign): Likewise.
29577         (__libc_valloc): Likewise.
29578         (__libc_pvalloc): Likewise.
29579         (__libc_calloc): Likewise.
29580         (__posix_memalign): Likewise.
29581         * malloc/morecore.c (__sbrk): Likewise.
29582         (__default_morecore): Likewise.
29584         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
29586         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
29587         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
29588         __malloc_ptrdiff_t.
29590         * malloc/malloc.h (__malloc_size_t): Remove macro.
29591         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
29592         __malloc_size_t.
29593         (old_memalign_hook): Likewise.
29594         (old_realloc_hook): Likewise.
29595         (struct hdr): Likewise.
29596         (flood): Likewise.
29597         (mallochook): Likewise.
29598         (memalignhook): Likewise.
29599         (reallochook): Likewise.
29600         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
29601         (tr_old_realloc_hook): Likewise.
29602         (tr_old_memalign_hook): Likewise.
29603         (tr_mallochook): Likewise.
29604         (tr_reallochook): Likewise.
29605         (tr_memalignhook): Likewise.
29607 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29609         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
29610         default_ldbl_pack and using as default implementation.
29611         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
29612         implementation.
29613         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
29614         redundant definition.
29615         (ldbl_insert_mantissa): Likewise.
29616         (ldbl_canonicalize): Likewise.
29617         (ldbl_nearbyint): Likewise.
29618         (ldbl_pack): Rename to ldbl_pack_ppc.
29619         (ldbl_unpack): Rename to ldbl_unpack_ppc.
29620         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
29621         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
29623 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
29625         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
29626         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
29627         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
29628         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
29629         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
29630         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
29631         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
29632         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
29634 2013-03-07  Andreas Jaeger  <aj@suse.de>
29636         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29637         bits/mman-linux.h.
29639 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
29641         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
29642         Include mpa.h and declare __MPEXP.
29643         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
29644         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29645         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29646         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
29647         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29648         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
29649         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
29651         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
29652         (__slowpow): Use long double EXPL and LOGL functions to
29653         compute POW.
29654         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
29655         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29656         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
29657         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
29658         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
29659         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
29661         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
29662         intermediate variable to calculate exponent.
29663         (__sqr): Likewise.
29664         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
29665         Likewise.
29666         (__sqr): Likewise.
29668         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
29669         [!NO__SQR]: Define __sqr.
29670         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
29671         and NO__SQR.  Remove all code except __mul and __sqr.  Include
29672         sysdeps/ieee754/dbl-64/mpa.c.
29673         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
29675         [BZ #12723]
29676         * posix/Makefile (tests): Add tst-pathconf.
29677         * posix/tst-pathconf.c: New test case.
29678         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
29679         _PC_PIPE_BUF.
29680         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
29682 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
29684         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
29686 2013-03-06  Andreas Jaeger  <aj@suse.de>
29688         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
29689         definition via __MAP_ANONYMOUS.
29691         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
29692         it's not part of Linux headers.
29694         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
29695         (MAP_HUGE_MASK): Define.
29697         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29698         Define.
29699         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29700         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29701         Define.
29702         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29703         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
29704         Define.
29705         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29706         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
29707         Define.
29708         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
29710         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
29711         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
29712         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
29713         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
29714         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
29715         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
29717         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
29718         Handle f2fs.
29720         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
29721         Handle f2fs and efivarfs.
29723         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
29724         f2fs.
29726         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
29727         (EFIVARFS_MAGIC): Add.
29728         (F2FS_LINK_MAX): Add.
29730 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
29732         * stdio-common/vfprintf.c: Replace __builtin_expect with
29733         __glibc_unlikely.
29735 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
29737         [BZ #13550]
29738         * sysdeps/generic/bp-sym.h: Remove file.
29739         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
29740         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
29741         <bp-sym.h> and <bp-asm.h>.
29742         (__longjmp): Don't use BP_SYM.
29743         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
29744         and <bp-asm.h>.
29745         (memcpy): Don't use BP_SYM.
29746         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
29747         <bp-sym.h> and <bp-asm.h>.
29748         (memcpy): Don't use BP_SYM.
29749         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
29750         <bp-asm.h>.
29751         (memcpy): Don't use BP_SYM.
29752         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
29753         <bp-asm.h>.
29754         (memset): Don't use BP_SYM.
29755         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29756         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29757         (__bzero): Don't use BP_SYM.
29758         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29759         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29760         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
29761         <bp-sym.h> and <bp-asm.h>.
29762         (memcmp): Don't use BP_SYM.  Remove comment about bounded
29763         pointers.
29764         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
29765         <bp-sym.h> and <bp-asm.h>.
29766         (memcpy): Don't use BP_SYM.
29767         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
29768         <bp-sym.h> and <bp-asm.h>.
29769         (memset): Don't use BP_SYM.
29770         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29771         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29772         (__bzero): Don't use BP_SYM.
29773         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29774         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29775         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
29776         <bp-sym.h> and <bp-asm.h>.
29777         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29778         pointers.
29779         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
29780         <bp-sym.h> and <bp-asm.h>.
29781         (memcpy): Don't use BP_SYM.
29782         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
29783         <bp-sym.h> and <bp-asm.h>.
29784         (memset): Don't use BP_SYM.
29785         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
29786         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
29787         (__bzero): Don't use BP_SYM.
29788         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
29789         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
29790         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
29791         <bp-sym.h> and <bp-asm.h>.
29792         (__memchr): Don't use BP_SYM.
29793         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
29794         <bp-sym.h> and <bp-asm.h>.
29795         (memcmp): Don't use BP_SYM.  Remove comment about bounded
29796         pointers.
29797         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
29798         <bp-sym.h> and <bp-asm.h>.
29799         (memcpy): Don't use BP_SYM.
29800         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
29801         <bp-sym.h> and <bp-asm.h>.
29802         (__mempcpy): Don't use BP_SYM.
29803         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
29804         <bp-sym.h> and <bp-asm.h>.
29805         (__memrchr): Don't use BP_SYM.
29806         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
29807         <bp-sym.h> and <bp-asm.h>.
29808         (memset): Don't use BP_SYM.
29809         (__bzero): Likewise.
29810         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
29811         <bp-sym.h> and <bp-asm.h>.
29812         (__rawmemchr): Don't use BP_SYM.
29813         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
29814         <bp-sym.h> and <bp-asm.h>.
29815         (__STRCMP): Don't use BP_SYM.
29816         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
29817         <bp-sym.h> and <bp-asm.h>.
29818         (strchr): Don't use BP_SYM.
29819         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
29820         <bp-sym.h> and <bp-asm.h>.
29821         (__strchrnul): Don't use BP_SYM.
29822         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
29823         <bp-sym.h> and <bp-asm.h>.
29824         (strlen): Don't use BP_SYM.
29825         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
29826         <bp-sym.h> and <bp-asm.h>.
29827         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29828         pointers.
29829         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
29830         <bp-sym.h> and <bp-asm.h>.
29831         (__strnlen): Don't use BP_SYM.
29832         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
29833         <bp-sym.h> and <bp-asm.h>.
29834         (__GI__setjmp): Don't use BP_SYM.
29835         (_setjmp): Likewise.
29836         (__sigsetjmp): Likewise.
29837         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
29838         (L(start_addresses)): Don't use BP_SYM.
29839         (_start): Likewise.
29840         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
29841         <bp-asm.h>.
29842         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
29843         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
29844         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29845         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29846         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
29847         <bp-asm.h>.
29848         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
29849         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
29850         about bounded pointers.
29851         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29852         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29853         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
29854         <bp-asm.h>.
29855         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
29856         about bounded pointers.  Remove GKM FIXME comments.
29857         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29858         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
29859         <bp-asm.h>.
29860         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
29861         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
29862         Remove GKM FIXME comments.
29863         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29864         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
29865         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
29866         <bp-asm.h>.
29867         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
29868         about bounded pointers.  Remove GKM FIXME comment.
29869         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
29870         and <bp-asm.h>.
29871         (strncmp): Don't use BP_SYM.  Remove comment about bounded
29872         pointers.
29873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
29874         <bp-sym.h> and <bp-asm.h>.
29875         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
29876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
29877         <bp-sym.h> and <bp-asm.h>.
29878         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
29879         comment.
29881 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29883         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
29884         call free(NULL).
29886 2013-03-05  David S. Miller  <davem@davemloft.net>
29888         * po/es.po: Update from translation team.
29890 2013-03-05  Andreas Jaeger  <aj@suse.de>
29892         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
29893         <bits/mman-linux.h>.
29894         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29895         is fine.
29896         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
29897         <bits/mman-linux.h> to end of file.
29898         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29899         is fine.
29900         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
29901         <bits/mman-linux.h> to end of file.
29902         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
29903         is fine.
29904         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
29905         <bits/mman-linux.h> to end of file.
29907         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
29908         (MCL_CURRENT, MCL_FUTURE): Define here.
29910 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29912         [BZ #15232]
29913         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
29914         attribute_hidden.
29915         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
29917 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29919         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
29920         fourth parameter needed for rt_sigprocmask syscall.
29921         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
29922         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
29923         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
29924         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
29925         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
29926         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
29928 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
29930         [BZ #13550]
29931         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
29932         comment about bounded pointers.
29933         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
29934         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
29936 2013-03-04  Andreas Jaeger  <aj@suse.de>
29938         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
29939         common definitions.
29941         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
29942         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
29943         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
29944         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
29945         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
29946         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
29948 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29950         [BZ #15055]
29951         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
29952         __ieee754_sqrl instead of __sqrl.
29954 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
29956         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
29957         * sysdeps/powerpc/fpu_control.h: ... here.
29958         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
29959         * sysdeps/powerpc/bits/fenvinline.h: ... here.
29960         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
29961         * sysdeps/powerpc/bits/mathinline.h: ... here.
29963 2013-03-01  Roland McGrath  <roland@hack.frob.com>
29965         * elf/dl-hwcaps.c (_dl_important_hwcaps):
29966         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
29967         to just [NEED_DL_SYSINFO_DSO].
29968         * elf/dl-support.c: Likewise.
29969         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
29970         * elf/rtld.c (dl_main): Likewise.
29971         * elf/setup-vdso.h (setup_vdso): Likewise.
29972         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
29973         * sysdeps/unix/sysv/linux/dl-sysdep.c
29974         (_dl_discover_osversion): Likewise.
29976 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
29978         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
29979         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29981 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
29983         * NEWS: Mention libm performance improvements and non-x86 PI
29984         futex support.
29986         * csu/libc-start.c (__pthread_initialize_minimal): Change
29987         function arguments.
29988         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
29990 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
29992         [BZ #13550]
29993         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
29994         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
29995         <bp-sym.h> and <bp-asm.h>.
29996         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
29997         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
29998         and <bp-asm.h>.
29999         (memcpy): Don't use BP_SYM.
30000         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30001         <bp-asm.h>.
30002         (__mpn_add_n): Don't use BP_SYM.
30003         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30004         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30005         and <bp-asm.h>.
30006         (__mpn_addmul_1): Don't use BP_SYM.
30007         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30008         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30009         <bp-sym.h>.
30010         (_setjmp): Don't use BP_SYM.
30011         (__novmx_setjmp): Likewise.
30012         (__GI__setjmp): Likewise.
30013         (__vmx_setjmp): Likewise.
30014         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30015         <bp-sym.h>.
30016         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30017         (__bzero): Don't use BP_SYM.
30018         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30019         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30020         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30021         <bp-sym.h> and <bp-asm.h>.
30022         (memcpy): Don't use BP_SYM.
30023         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30024         <bp-sym.h> and <bp-asm.h>.
30025         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30026         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30027         <bp-sym.h> and <bp-asm.h>.
30028         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30029         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30030         <bp-asm.h>.
30031         (__mpn_lshift): Don't use BP_SYM.
30032         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30033         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30034         <bp-asm.h>.
30035         (memset): Don't use BP_SYM.
30036         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30037         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30038         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30039         <bp-asm.h>.
30040         (__mpn_mul_1): Don't use BP_SYM.
30041         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30042         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30043         <bp-sym.h> and <bp-asm.h>.
30044         (memcmp): Don't use BP_SYM.
30045         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30046         <bp-sym.h> and <bp-asm.h>.
30047         (memcpy): Don't use BP_SYM.
30048         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30049         <bp-sym.h> and <bp-asm.h>.
30050         (memset): Don't use BP_SYM.
30051         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30052         <bp-sym.h> and <bp-asm.h>.
30053         (strncmp): Don't use BP_SYM.
30054         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30055         <bp-sym.h> and <bp-asm.h>.
30056         (memcpy): Don't use BP_SYM.
30057         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30058         <bp-sym.h> and <bp-asm.h>.
30059         (memset): Don't use BP_SYM.
30060         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30061         <bp-sym.h> and <bp-asm.h>.
30062         (__memchr): Don't use BP_SYM.
30063         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30064         <bp-sym.h> and <bp-asm.h>.
30065         (memcmp): Don't use BP_SYM.
30066         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30067         <bp-sym.h> and <bp-asm.h>.
30068         (memcpy): Don't use BP_SYM.
30069         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30070         <bp-sym.h> and <bp-asm.h>.
30071         (__mempcpy): Don't use BP_SYM.
30072         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30073         <bp-sym.h> and <bp-asm.h>.
30074         (__memrchr): Don't use BP_SYM.
30075         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30076         <bp-sym.h> and <bp-asm.h>.
30077         (memset): Don't use BP_SYM.
30078         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30079         <bp-sym.h> and <bp-asm.h>.
30080         (__rawmemchr): Don't use BP_SYM.
30081         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30082         <bp-sym.h> and <bp-asm.h>.
30083         (__STRCMP): Don't use BP_SYM.
30084         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30085         <bp-sym.h> and <bp-asm.h>.
30086         (strchr): Don't use BP_SYM.
30087         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30088         <bp-sym.h> and <bp-asm.h>.
30089         (__strchrnul): Don't use BP_SYM.
30090         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30091         <bp-sym.h> and <bp-asm.h>.
30092         (strlen): Don't use BP_SYM.
30093         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30094         <bp-sym.h> and <bp-asm.h>.
30095         (strncmp): Don't use BP_SYM.
30096         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30097         <bp-sym.h> and <bp-asm.h>.
30098         (__strnlen): Don't use BP_SYM.
30099         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30100         <bp-asm.h>.
30101         (__mpn_rshift): Don't use BP_SYM.
30102         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30103         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30104         <bp-sym.h> and <bp-asm.h>.
30105         (__sigsetjmp): Don't use BP_SYM.
30106         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30107         (L(start_addresses)): Don't use BP_SYM.
30108         (_start): Likewise.
30109         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30110         <bp-asm.h>.
30111         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30112         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30113         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30114         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30115         <bp-asm.h>.
30116         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30117         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30118         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30119         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30120         <bp-asm.h>.
30121         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
30122         comments.
30123         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30124         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30125         <bp-asm.h>.
30126         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
30127         FIXME comments.
30128         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30129         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30130         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30131         <bp-asm.h>.
30132         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
30133         comment.
30134         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30135         and <bp-asm.h>.
30136         (strncmp): Don't use BP_SYM,
30137         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30138         <bp-asm.h>.
30139         (__mpn_sub_n): Don't use BP_SYM.
30140         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30141         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30142         and <bp-asm.h>.
30143         (__mpn_submul_1): Don't use BP_SYM.
30144         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30146         <bp-sym.h> and <bp-asm.h>.
30147         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30149         <bp-sym.h> and <bp-asm.h>.
30150         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
30151         comment.
30153 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30155         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30156         Use ZK to minimize writes to Z.
30157         (sub_magnitudes): Simplify code a bit.
30158         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30159         Use ZK to minimize writes to Z.
30160         (sub_magnitudes): Simplify code a bit.
30162 2013-02-27  Roland McGrath  <roland@hack.frob.com>
30164         * csu/gmon-start.c: Add special exception to license text.
30166 2013-02-27  Richard Henderson  <rth@redhat.com>
30168         * scripts/config.guess: Update from config.git.
30169         * scripts/config.sub: Likewise.
30171 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30173         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30175         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30177         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30179         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30181         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30183 2013-02-26  Roland McGrath  <roland@hack.frob.com>
30185         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30186         [$(build-shared = yes].
30188 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30190         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30191         (__mul): Reduce iterations for calculating mantissa.
30193         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30194         MPTWO.
30195         (__mpranred): Likewise.
30197         [BZ #15160]
30198         * malloc/memusagestat.c (main): Draw graphs for heap and stack
30199         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30201 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
30203         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30204         Define __attribute__.
30206 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30208         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30209         unused.
30210         * posix/regex_internal.h (__attribute): Remove.
30211         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30212         (re_string_context_at): Likewise.
30213         (bitset_not): Use __attribute__ and mark function as possibly
30214         unused.
30215         (bitset_merge): Likewise.
30216         (bitset_mask): Likewise.
30217         (re_string_char_size_at): Likewise.
30218         (re_string_wchar_at): Likewise.
30219         (re_string_elem_size_at): Likewise.
30221 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30223         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30224         code.
30225         (cc32): Likewise.
30227         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30228         (__acr): Likewise.
30229         (__cpy): Likewise.
30230         (norm): Likewise.
30231         (denorm): Likewise.
30232         (__dbl_mp): Likewise.
30233         (add_magnitudes): Likewise.
30234         (sub_magnitudes): Likewise.
30235         (__mul): Likewise.
30236         (__inv): Likewise.
30238         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30239         style.
30241         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30242         style.
30244         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30245         code.
30247         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30248         up changes with default code.
30249         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30250         Likewise.
30252 2013-02-24  Allan McRae  <allan@archlinux.org>
30254         * manual/socket.texi (The Internet Namespace): Order menu items
30255         to match that in the file.
30257         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30258         node listing of the info page menu.
30260 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
30262         [BZ #13550]
30263         * sysdeps/i386/bp-asm.h: Remove file.
30264         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30265         (PARMS): Do not use macros from bp-asm.h.
30266         (S1): Likewise.
30267         (S2): Likewise.
30268         (SIZE): Likewise.
30269         (__mpn_add_n): Do not use BP_SYM
30270         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30271         "bp-asm.h".
30272         (PARMS): Do not use macros from bp-asm.h.
30273         (S1): Likewise.
30274         (SIZE): Likewise.
30275         (__mpn_addmul_1): 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/bsd-setjmp.S: Do not include "bp-sym.h" and
30282         "bp-asm.h".
30283         (PARMS): Do not use macros from bp-asm.h.
30284         (SIGMSK): Likewise.
30285         (setjmp): Likewise.  Do not use BP_SYM.
30286         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30287         "bp-asm.h".
30288         (PARMS): Do not use macros from bp-asm.h.
30289         (__frexp): Do not use BP_SYM.
30290         (frexp): Likewise.
30291         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30292         "bp-asm.h".
30293         (PARMS): Do not use macros from bp-asm.h.
30294         (__frexpf): Do not use BP_SYM.
30295         (frexpf): Likewise.
30296         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30297         "bp-asm.h".
30298         (PARMS): Do not use macros from bp-asm.h.
30299         (__frexpl): Do not use BP_SYM.
30300         (frexpl): Likewise.
30301         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30302         "bp-asm.h".
30303         (PARMS): Do not use macros from bp-asm.h.
30304         (__remquo): Do not use BP_SYM.
30305         (remquo): Likewise.
30306         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30307         "bp-asm.h".
30308         (PARMS): Do not use macros from bp-asm.h.
30309         (__remquof): Do not use BP_SYM.
30310         (remquof): Likewise.
30311         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30312         "bp-asm.h".
30313         (PARMS): Do not use macros from bp-asm.h.
30314         (__remquol): Do not use BP_SYM.
30315         (remquol): Likewise.
30316         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30317         "bp-asm.h".
30318         (PARMS): Do not use macros from bp-asm.h.
30319         (DEST): Likewise.
30320         (SRC): Likewise.
30321         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
30322         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30323         "bp-asm.h".
30324         (PARMS): Do not use macros from bp-asm.h.
30325         (strlen): Do not use BP_SYM.
30326         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30327         "bp-asm.h".
30328         (PARMS): Do not use macros from bp-asm.h.
30329         (S1): Likewise.
30330         (S2): Likewise.
30331         (SIZE): Likewise.
30332         (__mpn_add_n): Do not use BP_SYM.
30333         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30334         "bp-asm.h".
30335         (PARMS): Do not use macros from bp-asm.h.
30336         (S1): Likewise.
30337         (SIZE): Likewise.
30338         (__mpn_addmul_1): Do not use BP_SYM.
30339         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30340         weak_alias.
30341         (bzero): Likewise.
30342         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30343         "bp-asm.h".
30344         (PARMS): Do not use macros from bp-asm.h.
30345         (S): Likewise.
30346         (SIZE): Likewise.
30347         (__mpn_lshift): Do not use BP_SYM.
30348         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30349         "bp-asm.h".
30350         (PARMS): Do not use macros from bp-asm.h.
30351         (DEST): Likewise.
30352         (SRC): Likewise.
30353         (LEN): Likewise.
30354         (memcpy): Likewise.  Do not use BP_SYM.
30355         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30356         libc_hidden_def and weak_alias.
30357         (mempcpy): Do not use BP_SYM in weak_alias.
30358         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30359         "bp-asm.h".
30360         (PARMS): Do not use macros from bp-asm.h.
30361         (DEST): Likewise.
30362         (LEN): Likewise.
30363         [!BZERO_P] (CHR): Likewise.
30364         (memset): Likewise.  Do not use BP_SYM.
30365         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30366         "bp-asm.h".
30367         (PARMS): Do not use macros from bp-asm.h.
30368         (S1): Likewise.
30369         (SIZE): Likewise.
30370         (__mpn_mul_1): Do not use BP_SYM.
30371         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30372         "bp-asm.h".
30373         (PARMS): Do not use macros from bp-asm.h.
30374         (S): Likewise.
30375         (SIZE): Likewise.
30376         (__mpn_rshift): Do not use BP_SYM.
30377         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30378         "bp-asm.h".
30379         (PARMS): Do not use macros from bp-asm.h.
30380         (STR): Likewise.
30381         (CHR): Likewise.
30382         (strchr): Likewise.  Do not use BP_SYM.
30383         (index): Do not use BP_SYM in weak_alias.
30384         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30385         "bp-asm.h".
30386         (PARMS): Do not use macros from bp-asm.h.
30387         (DEST): Likewise.
30388         (SRC): Likewise.
30389         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
30390         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30391         "bp-asm.h".
30392         (PARMS): Do not use macros from bp-asm.h.
30393         (strlen): Do not use BP_SYM.
30394         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30395         "bp-asm.h".
30396         (PARMS): Do not use macros from bp-asm.h.
30397         (S1): Likewise.
30398         (S2): Likewise.
30399         (SIZE): Likewise.
30400         (__mpn_sub_n): Do not use BP_SYM.
30401         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30402         "bp-asm.h".
30403         (PARMS): Do not use macros from bp-asm.h.
30404         (S1): Likewise.
30405         (SIZE): Likewise.
30406         (__mpn_submul_1): Do not use BP_SYM.
30407         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30408         "bp-asm.h".
30409         (PARMS): Do not use macros from bp-asm.h.
30410         (S1): Likewise.
30411         (S2): Likewise.
30412         (SIZE): Likewise.
30413         (__mpn_add_n): Do not use BP_SYM.
30414         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30415         weak_alias.
30416         (bzero): Likewise.
30417         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30418         "bp-asm.h".
30419         (PARMS): Do not use macros from bp-asm.h.
30420         (BLK2): Likewise.
30421         (LEN): Likewise.
30422         (memcmp): Do not use BP_SYM.
30423         (bcmp): Do not use BP_SYM in weak_alias.
30424         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
30425         "bp-asm.h".
30426         (PARMS): Do not use macros from bp-asm.h.
30427         (DEST): Likewise.
30428         (SRC): Likewise.
30429         (LEN): Likewise.
30430         (memcpy): Likewise.  Do not use BP_SYM.
30431         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
30432         "bp-asm.h".
30433         (PARMS): Do not use macros from bp-asm.h.
30434         (DEST): Likewise.
30435         (SRC): Likewise.
30436         (LEN): Likewise.
30437         (memmove): Likewise.  Do not use BP_SYM.
30438         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
30439         "bp-asm.h".
30440         (PARMS): Do not use macros from bp-asm.h.
30441         (DEST): Likewise.
30442         (SRC): Likewise.
30443         (LEN): Likewise.
30444         (__mempcpy): Likewise.  Do not use BP_SYM.
30445         (mempcpy): Do not use BP_SYM in weak_alias.
30446         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
30447         "bp-asm.h".
30448         (PARMS): Do not use macros from bp-asm.h.
30449         (DEST): Likewise.
30450         (LEN): Likewise.
30451         [!BZERO_P] (CHR): Likewise.
30452         (memset): Likewise.  Do not use BP_SYM.
30453         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
30454         "bp-asm.h".
30455         (PARMS): Do not use macros from bp-asm.h.
30456         (STR2): Likewise.
30457         (strcmp): Do not use BP_SYM.
30458         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
30459         "bp-asm.h".
30460         (PARMS): Do not use macros from bp-asm.h.
30461         (STR): Likewise.
30462         (DELIM): Likewise.
30463         [USE_AS_STRTOK_R] (SAVE): Likewise.
30464         (FUNCTION): Likewise.  Do not use BP_SYM.
30465         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
30466         aliases.
30467         (strtok_r): Likewise.
30468         (__GI___strtok_r): Likewise.
30469         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30470         (PARMS): Do not use macros from bp-asm.h.
30471         (S): Likewise.
30472         (SIZE): Likewise.
30473         (__mpn_lshift): Do not use BP_SYM.
30474         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30475         (PARMS): Do not use macros from bp-asm.h.
30476         (STR): Likewise.
30477         (CHR): Likewise.
30478         (__memchr): Do not use BP_SYM.
30479         (memchr): Do not use BP_SYM in weak_alias.
30480         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30481         (PARMS): Do not use macros from bp-asm.h.
30482         (BLK2): Likewise.
30483         (LEN): Likewise.
30484         (memcmp): Do not use BP_SYM.
30485         (bcmp): Do not use BP_SYM in weak_alias.
30486         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
30487         (PARMS): Do not use macros from bp-asm.h.
30488         (S1): Likewise.
30489         (SIZE): Likewise.
30490         (__mpn_mul_1): Do not use BP_SYM.
30491         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
30492         "bp-asm.h".
30493         (PARMS): Do not use macros from bp-asm.h.
30494         (STR): Likewise.
30495         (CHR): Likewise.
30496         (__rawmemchr): Do not use BP_SYM.
30497         (rawmemchr): Do not use BP_SYM in weak_alias.
30498         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
30499         (PARMS): Do not use macros from bp-asm.h.
30500         (S): Likewise.
30501         (SIZE): Likewise.
30502         (__mpn_rshift): Do not use BP_SYM.
30503         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
30504         (PARMS): Do not use macros from bp-asm.h.
30505         (SIGMSK): Likewise.
30506         (__sigsetjmp): Likewise.  Do not use BP_SYM.
30507         * sysdeps/i386/start.S: Do not include "bp-sym.h".
30508         (_start): Do not use BP_SYM.
30509         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
30510         (PARMS): Do not use macros from bp-asm.h.
30511         (DEST): Likewise.
30512         (SRC): Likewise.
30513         (__stpcpy): Likewise.  Do not use BP_SYM.
30514         (stpcpy): Do not use BP_SYM in weak_alias.
30515         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
30516         "bp-asm.h".
30517         (PARMS): Do not use macros from bp-asm.h.
30518         (DEST): Likewise.
30519         (SRC): Likewise.
30520         (LEN): Likewise.
30521         (__stpncpy): Likewise.  Do not use BP_SYM.
30522         (stpncpy): Do not use BP_SYM in weak_alias.
30523         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
30524         (PARMS): Do not use macros from bp-asm.h.
30525         (STR): Likewise.
30526         (CHR): Likewise.
30527         (strchr): Likewise.  Do not use BP_SYM.
30528         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
30529         "bp-asm.h".
30530         (PARMS): Do not use macros from bp-asm.h.
30531         (STR): Likewise.
30532         (CHR): Likewise.
30533         (__strchrnul): Likewise.  Do not use BP_SYM.
30534         (strchrnul): Do not use BP_SYM in weak_alias.
30535         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
30536         "bp-asm.h".
30537         (PARMS): Do not use macros from bp-asm.h.
30538         (STOP): Likewise.
30539         (strcspn): Do not use BP_SYM.
30540         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
30541         "bp-asm.h".
30542         (PARMS): Do not use macros from bp-asm.h.
30543         (STR): Likewise.
30544         (STOP): Likewise.
30545         (strpbrk): Likewise.  Do not use BP_SYM.
30546         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
30547         "bp-asm.h".
30548         (PARMS): Do not use macros from bp-asm.h.
30549         (STR): Likewise.
30550         (CHR): Likewise.
30551         (strrchr): Likewise.  Do not use BP_SYM.
30552         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
30553         (PARMS): Do not use macros from bp-asm.h.
30554         (SKIP): Likewise.
30555         (strspn): Do not use BP_SYM.
30556         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
30557         (PARMS): Do not use macros from bp-asm.h.
30558         (STR): Likewise.
30559         (DELIM): Likewise.
30560         (SAVE): Likewise.
30561         (FUNCTION): Likewise.  Do not use BP_SYM.
30562         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
30563         aliases.
30564         (strtok_r): Likewise.
30565         (__GI___strtok_r): Likewise.
30566         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30567         (PARMS): Do not use macros from bp-asm.h.
30568         (S1): Likewise.
30569         (S2): Likewise.
30570         (SIZE): Likewise.
30571         (__mpn_sub_n): Do not use BP_SYM.
30572         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
30573         "bp-asm.h".
30574         (PARMS): Do not use macros from bp-asm.h.
30575         (S1): Likewise.
30576         (SIZE): Likewise.
30577         (__mpn_submul_1): Do not use BP_SYM.
30578         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
30579         <bp-sym.h>.
30580         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
30581         and <bp-asm.h>.
30582         (PARMS): Do not use macros from bp-asm.h.
30583         (FLAGS): Likewise.
30584         (PTID): Likewise.
30585         (TLS): Likewise.
30586         (CTID): Likewise.
30587         (__clone): Do not use BP_SYM.
30588         (clone): Do not use BP_SYM in weak_alias.
30589         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
30590         and <bp-asm.h>.
30591         (PARMS): Do not use macros from bp-asm.h.
30592         (LEN): Likewise.
30593         (__mmap64): Do not use BP_SYM.
30594         (mmap64): Do not use BP_SYM in weak_alias.
30595         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
30596         <bp-sym.h> and <bp-asm.h>.
30597         (PARMS): Do not use macros from bp-asm.h.
30598         (__posix_fadvise64_l64): Do not use BP_SYM.
30599         * sysdeps/unix/sysv/linux/i386/semtimedop.S
30600         (PARMS): Do not use macros from bp-asm.h.
30601         (NSOPS): Likewise.
30602         (semtimedop): Do not use BP_SYM.
30603         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
30604         and <bp-asm.h>.
30606 2013-02-21  Allan McRae  <allan@archlinux.org>
30608         * manual/message.texi (Charset conversion in gettext):
30609         Move @end statement to beginning of line.
30611 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30613         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
30614         static.
30615         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30616         Likewise.
30618         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
30619         (denorm): Likewise.
30620         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
30621         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
30623 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30625         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
30626         tail-call to the resolved function if pltexit isn't needed.
30628 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
30630         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
30631         or Y being zero as being unlikely.
30632         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30633         Likewise.
30635 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
30637         * manual/nss.texi (System Databases and Name Service Switch):
30638         Remove frobnicate @pxref.
30640 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
30642         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30643         __attribute__ ((unused)) to __attribute__ ((__unused__)).
30645 2013-02-20  Petr Machata  <pmachata@redhat.com>
30647         * elf/elf.h (R_ARM_TARGET1): New macro.
30648         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
30649         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
30650         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
30651         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
30652         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
30653         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
30654         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
30655         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
30656         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
30657         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
30658         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
30659         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
30660         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
30661         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
30662         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
30663         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
30664         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
30665         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
30666         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
30667         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
30668         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
30669         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
30670         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
30671         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
30672         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
30673         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
30674         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
30675         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
30676         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
30677         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
30678         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
30679         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
30680         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
30681         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
30682         (R_ARM_THM_GOT_BREL12): Likewise.
30683         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
30684         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
30685         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
30686         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
30687         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
30688         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
30689         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
30690         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
30691         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
30693 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
30695         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
30696         __attribute_used__ to __attribute__ ((unused)).
30698 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
30700         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
30701         powerpc mpa.c.
30702         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
30703         comment formatting.
30704         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
30706 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
30708         [BZ #13550]
30709         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
30710         Remove macro.
30711         (ENTER): Remove both macro definitions.
30712         (LEAVE): Likewise.
30713         (CHECK_BOUNDS_LOW): Likewise.
30714         (CHECK_BOUNDS_HIGH): Likewise.
30715         (CHECK_BOUNDS_BOTH): Likewise.
30716         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
30717         (RETURN_BOUNDED_POINTER): Likewise.
30718         (RETURN_NULL_BOUNDED_POINTER): Likewise.
30719         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
30720         (POP_ERRNO_LOCATION_RETURN): Likewise.
30721         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
30722         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30723         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
30724         macros.
30725         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30726         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
30727         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
30728         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
30729         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
30730         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
30731         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
30732         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
30733         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
30734         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
30735         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
30736         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
30737         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30738         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
30739         removed macros.
30740         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30741         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
30742         macros.
30743         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30744         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
30745         * sysdeps/i386/i586/memset.S (memset): Likewise.
30746         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
30747         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30748         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
30749         macros.
30750         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30751         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
30752         Change uses of L(2) to L(out).
30753         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
30754         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
30755         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
30756         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30757         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
30758         removed macros.
30759         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30760         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
30761         macros.
30762         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30763         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
30764         (RETURN): Do not use macro LEAVE.
30765         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
30766         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
30767         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
30768         * sysdeps/i386/i686/memset.S (memset): Likewise.
30769         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
30770         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
30771         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30772         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
30773         Likewise.
30774         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30775         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
30776         L(1_2) and L(1_3) into L(1).
30777         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30778         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
30779         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30780         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
30781         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30782         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
30783         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
30784         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30785         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
30786         macros.
30787         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
30788         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30789         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
30790         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
30791         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
30792         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30793         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
30794         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
30795         * sysdeps/i386/strcspn.S (strcspn): Likewise.
30796         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
30797         * sysdeps/i386/strrchr.S (strrchr): Likewise.
30798         * sysdeps/i386/strspn.S (strspn): Likewise.
30799         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
30800         conditional code.
30801         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30802         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
30803         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
30804         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
30805         L(1_3) into L(1_1).
30806         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
30807         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30808         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
30809         macros.
30810         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30812 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
30814         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
30815         macro.
30817 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30819         * math/atest-exp.c (exp_mpn): Remove ROUND.
30820         * math/atest-exp2.c (exp_mpn): Likewise.
30821         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
30823         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
30824         * stdlib/tst-tls-atexit-lib.c: Likewise.
30825         * stdlib/tst-tls-atexit.c: Likewise.
30827 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30829         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
30830         and __attribute_alloc_size__.
30832 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30834         * include/programs/xmalloc.h: Change __attribute_alloc_size to
30835         __attribute_alloc_size__.
30836         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
30837         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
30839 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
30841         * include/programs/xmalloc.h: New file.
30842         * catgets/gencat.c: Include it.
30843         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
30844         * elf/pldd.c: Likewise.
30845         * iconv/iconv_charmap.c: Likewise.
30846         * iconv/iconvconfig.c: Likewise.
30847         * iconv/strtab.c: Likewise.
30848         * locale/programs/locale.c: Likewise.
30849         * locale/programs/localedef.h: Likewise.
30850         * locale/programs/simple-hash.c: Likewise.
30851         * nscd/nscd.h: Likewise.
30852         * nss/makedb.c: Likewise.
30853         * sysdeps/generic/ldconfig.h: Likewise.
30855 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30857         * Versions.def: Add GLIBC_2.18.
30858         * include/link.h (struct link_map): New member l_tls_dtor_count.
30859         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
30860         (__call_tls_dtors): Likewise.
30861         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
30862         __cxa_thread_atexit_impl.
30863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30864         Likewise.
30865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
30866         Likewise.
30867         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
30868         Likewise.
30869         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
30870         Likewise.
30871         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
30872         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
30873         Likewise.
30874         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
30875         Likewise.
30876         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
30877         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
30878         Likewise.
30879         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
30880         (tests): Add test case tst-tls-atexit.
30881         (modules-names): Add shared library for tst-tls-atexit.
30882         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
30883         (GLIBC_PRIVATE): Add __call_tls_dtors.
30884         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
30885         for libstdc++.
30886         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
30887         * stdlib/tst-tls-atexit.c: New test case.
30888         * stdlib/tst-tls-atexit-lib.c: New test case.
30890         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
30892         * elf/Versions (ld): Add _dl_find_dso_for_object.
30893         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
30894         * elf/dl-open.c (_dl_find_dso_for_object): New function.
30895         (dl_open_worker): Use _dl_find_dso_for_object.
30896         * elf/dl-sym.c (do_sym): Likewise.
30897         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
30899 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30901         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
30902         Syntactic changes only.
30903         (_dl_runtime_profile): Do a tail-call to the resolved function.
30905 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
30907         [BZ #13550]
30908         * sysdeps/x86_64/bp-asm.h: Remove file.
30909         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
30910         <bp-sym.h> and <bp-asm.h>.
30911         (__clone): Do not use BP_SYM.
30912         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
30913         <bp-sym.h> and <bp-asm.h>.
30914         * sysdeps/unix/x86_64/sysdep.S: Likewise.
30915         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
30916         "bp-asm.h".
30917         (_setjmp): Do not use BP_SYM.
30918         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
30919         "bp-asm.h".
30920         (setjmp): Do not use BP_SYM.
30921         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
30922         libc_hidden_def.
30923         (mempcpy): Do not use BP_SYM in weak_alias.
30924         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
30925         "bp-asm.h".
30926         (strchr): Do not use BP_SYM.
30927         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
30928         "bp-asm.h".
30929         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
30930         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
30931         (_start): Do not use BP_SYM.
30932         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
30933         "bp-asm.h".
30934         (strcat): Do not use BP_SYM.
30935         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
30936         "bp-asm.h".
30937         (STRCMP): Do not use BP_SYM.
30938         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
30939         "bp-asm.h".
30940         (STRCPY): Do not use BP_SYM.
30941         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
30942         "bp-asm.h".
30943         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
30944         "bp-asm.h".
30945         (FUNCTION): Do not use BP_SYM.
30946         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
30947         weak_alias.
30948         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
30950 2013-02-17  Andreas Jaeger  <aj@suse.de>
30952         * time/Versions: Sort entries.
30953         * string/Versions: Likewise.
30954         * resolv/Versions: Likewise.
30955         * posix/Versions: Likewise.
30956         * iconv/Versions: Likewise.
30957         * elf/Versions: Likewise.
30958         * wcsmbs/Versions: Likewise.
30960 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30962         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
30963         loop termination condition.
30965         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
30966         variable to calculate EZ.
30967         (__sqr): Likewise.
30969         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
30970         the lower precision input.
30972 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
30974         [BZ #13550]
30975         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
30976         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
30977         (run-via-rtld-prefix): Do not handle %-bp tests.
30978         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
30979         (all-object-suffixes): Remove .ob.
30980         (bppfx): Remove variable.
30981         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
30982         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
30983         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
30984         [$(build-bounded) = yes] (libtype.ob): Likewise.
30985         * Makerules (elide-routines.ob): Remove variable.
30986         (do-tests-clean): Do not handle *-bp.out.
30987         (common-mostlyclean): Do not handle *-bp and *-bp.out.
30988         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
30989         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
30990         (tests): Do not include $(tests-bp.out).
30991         (xtests): Do not include $(xtests-bp.out).
30992         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
30993         [$(build-bounded) = yes] ($(addprefix
30994         $(objpfx),$(binaries-bounded))): Remove rule.
30995         ($(objpfx)%-bp.out): Remove rule.
30996         * config.make.in (build-bounded): Remove variable.
30997         * crypt/Makefile [$(build-bounded) = yes]
30998         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
30999         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31000         append to variable.
31001         [$(build-bounded) = yes] (install-lib): Likewise.
31002         [$(build-bounded) = yes] (generated): Likewise.
31003         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31004         Remove rule.
31005         * intl/Makefile [$(build-bounded) = yes]
31006         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31007         * math/Makefile [$(build-bounded) = yes]
31008         ($(tests:%=$(objpfx)%-bp): Likewise.
31009         * misc/Makefile [$(build-bounded) = yes]
31010         ($(objpfx)tst-tsearch-bp): Likewise.
31011         * nptl/Makeconfig (bounded-thread-library): Remove variable.
31012         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31013         Remove dependency.
31014         * string/Makefile (o-objects.ob): Remove variable.
31015         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31016         (CFLAGS-.ob): Remove variable.
31017         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31018         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31019         both definitions of variable.
31020         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31021         (ASFLAGS-.ob): Remove variable.
31023 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
31025         [BZ #13550]
31026         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31027         Remove __BOUNDED_POINTERS__ from condition.
31028         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31029         * string/bits/string2.h [!__NO_STRING_INLINES &&
31030         !__BOUNDED_POINTERS__]: Likewise.
31031         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31032         Likewise.
31033         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31034         Remove conditional code.
31035         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31036         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31037         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31038         condition.
31040         [BZ #13550]
31041         * csu/libc-start.c: Do not include <bp-sym.h>.
31042         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31043         * elf/dl-open.c: Do not include <bp-sym.h>.
31044         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31045         * math/fegetenv.c: Do not include <bp-sym.h>.
31046         (fegetenv): Do not use BP_SYM in versioned symbols.
31047         * nptl/sysdeps/pthread/bits/libc-lockP.h
31048         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31049         <bp-sym.h>.
31050         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31051         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31052         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31053         (__pthread_mutex_destroy): Likewise.
31054         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31055         (__pthread_mutex_lock): Likewise.
31056         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31057         (__pthread_mutex_trylock): Likewise.
31058         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31059         (__pthread_mutex_unlock): Likewise.
31060         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31061         (__pthread_mutexattr_init): Likewise.
31062         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31063         (__pthread_mutexattr_destroy): Likewise.
31064         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31065         (__pthread_mutexattr_settype): Likewise.
31066         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31067         (__pthread_rwlock_init): Likewise.
31068         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31069         (__pthread_rwlock_destroy): Likewise.
31070         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31071         (__pthread_rwlock_rdlock): Likewise.
31072         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31073         (__pthread_rwlock_tryrdlock): Likewise.
31074         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31075         (__pthread_rwlock_wrlock): Likewise.
31076         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31077         (__pthread_rwlock_trywrlock): Likewise.
31078         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31079         (__pthread_rwlock_unlock): Likewise.
31080         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31081         (__pthread_key_create): Likewise.
31082         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31083         (__pthread_setspecific): Likewise.
31084         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31085         (__pthread_getspecific): Likewise.
31086         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31087         Likewise.
31088         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31089         (_pthread_cleanup_push_defer): Likewise.
31090         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31091         (_pthread_cleanup_pop_restore): Likewise.
31092         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31093         (pthread_setcancelstate): Likewise.
31094         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31095         <bp-sym.h>.
31096         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31097         (memchr): Do not use BP_SYM in weak_alias.
31098         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31099         (fegetenv): Do not use BP_SYM in versioned symbols.
31100         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31101         (fesetenv): Do not use BP_SYM in versioned symbols.
31102         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31103         (feupdateenv): Do not use BP_SYM in versioned symbols.
31104         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31105         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31106         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31107         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31108         (open64): Do not use BP_SYM in weak_alias.
31109         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31110         (fegetenv): Do not use BP_SYM in versioned symbols.
31111         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31112         (fesetenv): Do not use BP_SYM in versioned symbols.
31113         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31114         (feupdateenv): Do not use BP_SYM in versioned symbols.
31115         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31116         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31117         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31118         (feraiseexcept): Do not use BP_SYM in versioned symbols.
31119         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31120         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31121         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31122         <bp-sym.h>.
31123         (__libc_start_main): Do not use BP_SYM.
31125 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31127         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31128         redundant return line.
31129         (norm): Likewise.
31130         (denorm): Likewise.
31131         (dbl_mp): Likewise.
31132         (sub_magnitudes): Likewise.
31133         (__add): Likewise.
31134         (__sub): Likewise.
31135         (__mul): Likewise.
31136         (__inv): Likewise.
31137         (__dvd): Likewise.
31138         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31139         (norm): Likewise.
31140         (denorm): Likewise.
31141         (dbl_mp): Likewise.
31142         (sub_magnitudes): Likewise.
31143         (__add): Likewise.
31144         (__sub): Likewise.
31145         (__mul): Likewise.
31146         (__inv): Likewise.
31147         (__dvd): Likewise.
31149         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31150         instead of __mul.
31151         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31152         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31153         (cc32): Likewise.
31155         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31156         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31157         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31158         of __mul for squares.
31159         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31160         function
31161         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31162         Likewise.
31163         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31164         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31166 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
31168         [BZ #13550]
31169         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31170         code.
31171         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31172         prototype or function definition.  Rename ubp_* variables and
31173         parameters.  Remove argv definitions conditional on
31174         [__BOUNDED_POINTERS__].
31175         * debug/backtrace.c (__backtrace): Do not use __unbounded.
31176         * elf/dl-runtime.c (_dl_fixup): Likewise.
31177         * include/set-hooks.h (RUN_HOOK): Likewise.
31178         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31179         definition.
31180         * string/strcpy.c (strcpy): Do not use __unbounded.
31181         * sysdeps/generic/frame.h (struct layout): Likewise.
31182         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31183         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31184         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31185         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31186         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31187         (__backtrace): Likewise.
31188         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31189         use __ptrvalue.
31190         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31191         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31192         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31193         Likewise.
31194         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31195         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31196         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31197         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31198         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31199         Do not use __unbounded.
31200         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31201         Rename __unboundedrlimits parameter to rlimits in prototype.
31202         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31203         Do not use __unbounded.
31204         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31205         not use __ptrvalue.
31206         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31207         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31208         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31209         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31210         __ptrvalue or __unbounded.
31211         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31212         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31213         use __unbounded.
31214         (__new_msgctl): Do not use __ptrvalue.
31215         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31216         __unbounded.
31217         (__libc_msgrcv): Do not use __ptrvalue.
31218         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31219         startup_info): Do not use __unbounded.
31220         (__libc_start_main): Likewise.  Rename ubp_* variables and
31221         parameters.  Remove argv definitions conditional on
31222         [__BOUNDED_POINTERS__].
31223         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31224         __ptrvalue.
31225         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31226         use __unbounded.
31227         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31228         or __ptrvalue.
31229         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31230         use __unbounded.
31231         (__new_shmctl): Do not use __ptrvalue.
31232         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31233         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31234         Likewise.
31235         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31236         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31237         (__libc_sigaction): Likewise.
31238         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31239         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31240         Likewise.
31241         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31243 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
31245         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
31247         * string/mempcpy.c: Implement by calling memcpy.
31249 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31251         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31253         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31254         evaluation.
31256         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31257         values in the mantissa.
31259         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31260         minimize writes to Z.
31261         (sub_magnitudes): Simplify code a bit.
31263 2013-02-12  Roland McGrath  <roland@hack.frob.com>
31265         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31266         from the message.  The linker prefixes all warnings with that already.
31268 2013-02-12  Andreas Schwab  <schwab@suse.de>
31270         [BZ #15078]
31271         * posix/regexec.c (extend_buffers): Add parameter min_len.
31272         (check_matching): Pass minimum needed length.
31273         (clean_state_log_if_needed): Likewise.
31274         (get_subexp): Likewise.
31275         * posix/Makefile (tests): Add bug-regex34.
31276         (bug-regex34-ENV): Define.
31277         * posix/bug-regex34.c: New file.
31279         [BZ #11561]
31280         * posix/regcomp.c (parse_bracket_exp): When looking up collating
31281         elements compare against the byte sequence of it, not its name.
31282         * posix/Makefile (tests): Add bug-regex35.
31283         (bug-regex35-ENV): Define.
31284         * posix/bug-regex35.c: New file.
31286 2013-02-11  Tom de Vries  <tom@codesourcery.com>
31288         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
31289         comment.
31290         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31291         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31292         (CHECK_EOL): Add undef.
31294 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
31296         * bits/stdlib-bsearch.h: New file.
31297         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
31298         * stdlib/stdlib.h: Likewise.
31300 2013-02-11  Roland McGrath  <roland@hack.frob.com>
31302         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31303         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31304         declaration.
31305         * manual/search.texi (Array Search Function): Add missing const in
31306         lfind prototype.
31307         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31308         declaration to use rlim_t.
31309         (Basic Scheduling Functions): Remove erroneous const from
31310         sched_getparam prototype.  Remove erroneous * from
31311         sched_get_priority_max and sched_get_priority_min prototypes.
31312         (Resource Usage): Fix summary @comment on vtimes to refer to
31313         sys/vtimes.h rather than vtimes.h.
31314         Add missing *s in vtimes prototype.
31315         (Limits on Resources): Fix ulimit prototype to return long int.
31316         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31317         prototypes to use long int rather than double.
31318         (BSD Random): Fix initstate and setstate to use char *, not void *.
31319         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31320         prototype to make second argument 'struct aiocb64 *const[]'.
31321         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31322         (Status of AIO Operations): Remove erroneous const in aio_return and
31323         aio_return64 prototypes.
31324         (Synchronizing I/O): Fix sync prototype to return void.
31325         * manual/startup.texi (Suboptions): Remove an erroneous const in
31326         getsubopt prototype.
31327         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31328         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31329         use size_t rather than int.
31330         (Scanning All Users): Likewise for getpwent_r.
31331         (Setting Groups): Add missing const to setgroups prototype.
31332         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31333         * manual/socket.texi (Host Names): Fix gethostbyaddr and
31334         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31335         'const void *' rather than 'const char *'.
31336         (Host Address Functions): Likewise for inet_ntop.
31337         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31338         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31339         ssize_t for return value.
31340         (Sending Data): Likewise for send, sendto, sendmsg.
31341         (Socket Option Functions): Add a missing const in setsockopt prototype.
31342         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31343         use wchar_t for the argument.
31344         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31345         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31346         take no arguments.
31347         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31348         double/float/long double for second argument.
31349         Fix return types of significand, significandf, significandl.
31350         * manual/filesys.texi (Setting Permissions): Use mode_t for second
31351         argument in fchmod prototype.
31352         (File Owner): Use uid_t and gid_t in fchown prototype.
31353         (File Times): Add const to utimes, futimes, and lutimes prototypes.
31354         (Making Special Files): Use mode_t and dev_t in mknod prototype.
31355         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31356         use 'const struct dirent **' as argument types to CMP function pointer
31357         argument.
31358         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31359         (File Times): Fix summary magic @comment for struct utimbuf and utime
31360         to refer to utime.h, not time.h.
31361         * manual/string.texi (Argz Functions): Add missing const in
31362         argz_extract and argz_next prototypes.
31363         (Finding Tokens in a String): Likewise for basename.
31364         (String/Array Comparison): Fix typo in wcscasecmp prototype.
31365         (Copying and Concatenation): Fix typo in wmemmove prototype.
31366         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31367         (Signal Stack): Remove erroneous const in sigstack prototype.
31368         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31369         prototype.
31370         (Simple Calendar Time): Likewise for stime.
31371         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31372         prototype.
31373         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31374         say sys/sysctl.h instead.
31375         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31376         and vsyslog prototypes.
31378 2013-02-11  Tom de Vries  <tom@codesourcery.com>
31380         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31381         Remove.
31383 2013-02-11  Roland McGrath  <roland@hack.frob.com>
31385         * misc/sys/mman.h: Fix typo in mremap comment.
31387 2013-02-08  Roland McGrath  <roland@hack.frob.com>
31389         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31390         the '\0' terminator.
31392 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
31394         [BZ #13550]
31395         * debug/segfault.c: Don't include <bp-checks.h>.
31396         * sysdeps/generic/bp-checks.h: Remove file.
31397         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31398         (__GETDENTS): Don't use CHECK_N.
31399         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31400         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31401         (__getgroups): Don't use CHECK_N.
31402         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31403         (setgroups): Don't use CHECK_N.
31404         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31405         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31406         (__libc_msgrcv): Don't use CHECK_N.
31407         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31408         (__libc_msgsnd): Don't use CHECK_N.
31409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31410         <bp-checks.h>.
31411         (__libc_pread): Don't use CHECK_N.
31412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31413         include <bp-checks.h>.
31414         (__libc_pread64): Don't use CHECK_N.
31415         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31416         include <bp-checks.h>.
31417         (__libc_pwrite): Don't use CHECK_N.
31418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31419         include <bp-checks.h>.
31420         (__libc_pwrite64): Don't use CHECK_N.
31421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
31422         <bp-checks.h>.
31423         (__libc_pread): Don't use CHECK_N.
31424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
31425         include <bp-checks.h>.
31426         (__libc_pread64): Don't use CHECK_N.
31427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
31428         include <bp-checks.h>.
31429         (__libc_pwrite): Don't use CHECK_N.
31430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
31431         include <bp-checks.h>.
31432         (__libc_pwrite64): Don't use CHECK_N.
31433         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
31434         (do_pread): Don't use CHECK_N.
31435         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
31436         (do_pread64): Don't use CHECK_N.
31437         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
31438         (do_pwrite): Don't use CHECK_N.
31439         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
31440         (do_pwrite64): Don't use CHECK_N.
31441         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
31442         (__libc_readv): Don't use CHECK_N.
31443         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
31444         (semop): Don't use CHECK_N.
31445         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
31446         <bp-checks.h>.
31447         (semtimedop): Don't use CHECK_N.
31448         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
31449         (__libc_pread): Don't use CHECK_N.
31450         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
31451         <bp-checks.h>.
31452         (__libc_pread64): Don't use CHECK_N.
31453         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
31454         <bp-checks.h>.
31455         (__libc_pwrite): Don't use CHECK_N.
31456         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
31457         <bp-checks.h>.
31458         (__libc_pwrite64): Don't use CHECK_N.
31459         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
31460         <bp-checks.h>.
31461         (__libc_msgrcv): Don't use CHECK_N.
31462         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
31463         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
31464         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
31465         (__libc_writev): Don't use CHECK_N.
31467 2013-02-08  Roland McGrath  <roland@hack.frob.com>
31469         * string/strcpy.c: Removed unused variable.
31471         * Makeconfig (+sysdep-includes): Define with := rather than =.
31472         Use an existing include/ subdir of each sysdeps dir before it.
31474 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31476         * nscd/connection.c (register_traced_file): Comment function.
31477         [HAVE_INOTIFY] (union __inev): Define.
31478         [HAVE_INOTIFY] (inotify_check_files): New function.
31479         [HAVE_INOTIFY] (clear_db_cache): Likewise.
31480         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
31481         clear_db_cache.
31482         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
31484 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31486         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
31487         loaded if not already and that a failure is permanent.
31489 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
31491         [BZ #15006]
31492         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
31493         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
31495 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
31497         [BZ #13550]
31498         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
31499         (CHECK_1_NULL_OK): Likewise.
31500         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
31501         (__fxstat): Do not use CHECK_1.
31502         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
31503         <bp-checks.h>.
31504         (___fxstat64): Do not use CHECK_1.
31505         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
31506         <bp-checks.h>.
31507         (__fxstatat): Do not use CHECK_1.
31508         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
31509         <bp-checks.h>.
31510         (__fxstatat64): Do not use CHECK_1.
31511         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
31512         <bp-checks.h>.
31513         (__fxstat): Do not use CHECK_1.
31514         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
31515         <bp-checks.h>.
31516         (__fxstatat): Do not use CHECK_1.
31517         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
31518         <bp-checks.h>.
31519         (__getresgid): Do not use CHECK_1.
31520         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
31521         <bp-checks.h>.
31522         (__getresuid): Do not use CHECK_1.
31523         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
31524         <bp-checks.h>.
31525         (__lxstat): Do not use CHECK_1.
31526         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
31527         <bp-checks.h>.
31528         (__old_msgctl): Do not use CHECK_1.
31529         (__new_msgctl): Likewise.
31530         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
31531         <bp-checks.h>.
31532         (__new_setrlimit): Do not use CHECK_1.
31533         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
31534         <bp-checks.h>.
31535         (__old_shmctl): Do not use CHECK_1.
31536         (__new_shmctl): Likewise.
31537         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
31538         <bp-checks.h>.
31539         (__xstat): Do not use CHECK_1.
31540         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
31541         (__lxstat): Do not use CHECK_1.
31542         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
31543         <bp-checks.h>.
31544         (___lxstat64): Do not use CHECK_1.
31545         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
31546         (__old_msgctl): Do not use CHECK_1.
31547         (__new_msgctl): Likewise.
31548         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
31549         <bp-checks.h>.
31550         (__gettimeofday): Do not use CHECK_1.
31551         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
31552         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
31553         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
31554         <bp-checks.h>.
31555         (__gettimeofday): Do not use CHECK_1.
31556         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
31557         (__old_shmctl): Do not use CHECK_1_NULL_OK.
31558         (__new_shmctl): Do not use CHECK_1.
31559         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
31560         <bp-checks.h>.
31561         (do_sigtimedwait): Do not use CHECK_1.
31562         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
31563         <bp-checks.h>.
31564         (do_sigwaitinfo): Do not use CHECK_1.
31565         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
31566         <bp-checks.h>.
31567         (msgctl): Do not use CHECK_1.
31568         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
31569         <bp-checks.h>.
31570         (shmctl): Do not use CHECK_1.
31571         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
31572         (ustat): Do not use CHECK_1.
31573         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
31574         <bp-checks.h>.
31575         (__fxstat): Do not use CHECK_1.
31576         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
31577         <bp-checks.h>.
31578         (__fxstatat): Do not use CHECK_1.
31579         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
31580         <bp-checks.h>.
31581         (__lxstat): Do not use CHECK_1.
31582         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
31583         <bp-checks.h>.
31584         (__xstat): Do not use CHECK_1.
31585         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
31586         (__xstat): Do not use CHECK_1.
31587         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
31588         (___xstat64): Do not use CHECK_1.
31590         [BZ #13550]
31591         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
31592         definitions.
31593         (CHECK_BOUNDS_HIGH): Likewise.
31594         * string/strcpy.c: Do not include <bp-checks.h>.
31595         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
31597 2013-02-07  Roland McGrath  <roland@hack.frob.com>
31599         * nscd/nscd-client.h (__nscd_drop_map_ref):
31600         Add __attribute__ ((unused)).
31601         * nis/nss-nisplus.h (niserr2nss): Likewise.
31603         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
31604         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
31606         * csu/libc-tls.c (init_static_tls, init_slotinfo):
31607         Remove inline keyword.
31608         * include/rounding-mode.h (round_away): Likewise.
31609         * libio/wfileops.c (adjust_wide_data): Likewise.
31610         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
31611         (__m128i_strloadu_tolower): Likewise.
31612         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
31613         (__m128i_strloadu_tolower): Likewise.
31614         * time/mktime.c (ydhms_diff): Likewise.
31615         * locale/elem-hash.h (elem_hash): Likewise.
31616         * locale/setlocale.c (setdata): Likewise.
31617         * posix/regex_internal.h (re_string_char_size_at): Likewise.
31618         (re_string_wchar_at): Likewise.
31619         (bitset_not, bitset_merge, bitset_mask): Likewise.
31620         [!(__GNUC__ > 3)] (inline): Remove macro.
31621         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
31622         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
31623         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
31624         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
31625         * string/memcmp.c (memcmp_bytes): Likewise.
31626         * locale/programs/locarchive.c (compute_hashval): Likewise.
31627         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
31628         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
31629         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
31630         * nss/getent.c (print_rpc, print_protocols): Likewise.
31631         (print_passwd, print_group, print_aliases): Likewise.
31632         * nis/nss-nisplus.h (niserr2nss): Likewise.
31633         * nscd/connections.c (restart_p): Likewise.
31634         Change return type to bool.
31636 2013-02-05  Roland McGrath  <roland@hack.frob.com>
31638         * Makeconfig (all-Depend-files): Add existing
31639         $(sorted-subdirs:=/Depend) files.
31640         (all-subdirs): Remove nss.
31641         * sysdeps/unix/inet/Subdirs: Add it here instead.
31642         * hesiod/Depend: New file.
31644         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
31645         instead of calling alloca.
31647         * io/lseek.c (__lseek): Rename to __libc_lseek.
31648         Define __lseek as an alias.
31650         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
31652 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
31654         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
31655         else clause and remove check for non-standard endianness.
31657 2013-02-04  David S. Miller  <davem@davemloft.net>
31659         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31661 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
31663         [BZ #13550]
31664         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
31665         (__ubp_memchr): Remove prototype.
31666         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
31667         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31668         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
31669         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
31670         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
31671         Remove alias.
31672         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
31673         (__ubp_memchr): Likewise.
31674         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
31675         (__ubp_memchr): Likewise.
31676         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
31677         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
31678         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
31679         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
31680         CHECK_STRING.
31681         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
31682         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
31683         (__getcwd): Do not use CHECK_STRING.
31684         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
31685         <bp-checks.h>.
31686         (__real_chown): Do not use CHECK_STRING.
31687         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
31688         <bp-checks.h>.
31689         (fchownat): Do not use CHECK_STRING.
31690         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
31691         CHECK_STRING.
31692         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
31693         <bp-checks.h>.
31694         (__lchown): Do not use CHECK_STRING.
31695         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31696         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31697         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31698         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
31699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
31700         include <bp-checks.h>.
31701         (truncate64): Do not use CHECK_STRING.
31702         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
31703         <bp-checks.h>.
31704         (__real_chown): Do not use CHECK_STRING.
31705         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
31706         <bp-checks.h>.
31707         (__lchown): Do not use CHECK_STRING.
31708         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
31709         <bp-checks.h>.
31710         (__chown): Do not use CHECK_STRING.
31711         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
31712         <bp-checks.h>.
31713         (truncate64): Do not use CHECK_STRING.
31714         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
31715         Likewise.
31716         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
31717         (__xmknod): Do not use CHECK_STRING.
31718         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
31719         <bp-checks.h>.
31720         (__xmknodat): Do not use CHECK_STRING.
31721         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31722         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
31724 2013-02-04  Andreas Schwab  <schwab@suse.de>
31726         [BZ #14142]
31727         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
31728         * include/netdb.h: Likewise for h_errno.
31729         * elf/tst-stackguard1.c: Include <tls.h>.
31731 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
31733         * elf/link.h (struct link_map): Extend the l_addr comment.
31734         * include/link.h (struct link_map): Likewise.
31736 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
31738         [BZ #13550]
31739         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
31740         (BOUNDED_1): Remove macro.
31741         * debug/backtrace.c: Don't include <bp-checks.h>.
31742         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
31743         (__backtrace): Likewise.
31744         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
31745         <bp-checks.h>.
31746         (__backtrace): Don't use BOUNDED_1.
31747         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
31748         <bp-checks.h>.
31749         (__backtrace): Don't use BOUNDED_1.
31750         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
31751         (__backtrace): Don't use BOUNDED_1.
31752         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
31753         (shmat): Don't use BOUNDED_N.
31755 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
31757         [BZ #13550]
31758         * sysdeps/generic/bp-start.h: Remove file.
31759         * csu/libc-start.c: Don't include <bp-start.h>.
31760         (LIBC_START_MAIN): Set up __environ directly instead of using
31761         INIT_ARGV_and_ENVIRON.
31762         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
31763         <bp-start.h>.
31765         [BZ #13550]
31766         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
31767         definitions.
31768         (CHECK_FCNTL): Likewise.
31769         (CHECK_N_PAGES): Likewise.
31771         [BZ #13550]
31772         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
31773         definitions.
31774         (CHECK_SIGSET_NULL_OK): Likewise.
31775         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
31776         <bp-checks.h>.
31777         (sigpending): Don't use CHECK_SIGSET.
31778         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
31779         <bp-checks.h>.
31780         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31781         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
31782         <bp-checks.h>.
31783         (do_sigsuspend): Don't use CHECK_SIGSET.
31784         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
31785         use CHECK_SIGSET.
31786         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
31787         (do_sigwait): Don't use CHECK_SIGSET.
31788         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
31789         use CHECK_SIGSET.
31790         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
31791         include <bp-checks.h>.
31792         (sigpending): Don't use CHECK_SIGSET.
31793         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
31794         include <bp-checks.h>.
31795         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31796         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
31797         <bp-checks.h>.
31798         (sigpending): Don't use CHECK_SIGSET.
31799         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
31800         <bp-checks.h>.
31801         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
31803         [BZ #13550]
31804         * sysdeps/generic/bp-semctl.h: Remove file.
31805         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
31806         <bp-checks.h> and <bp-semctl.h>.
31807         (__old_semctl): Don't use CHECK_SEMCTL.
31808         (__new_semctl): Likewise.
31809         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
31810         and <bp-semctl.h>.
31811         (__old_semctl): Don't use CHECK_SEMCTL.
31812         (__new_semctl): Likewise.
31813         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
31814         <bp-checks.h> and <bp-semctl.h>.
31815         (__old_semctl): Don't use CHECK_SEMCTL.
31816         (__new_semctl): Likewise.
31817         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
31818         <bp-checks.h> and <bp-semctl.h>.
31819         (semctl): Don't use CHECK_SEMCTL.
31821         [BZ #13550]
31822         * Makerules (elide-bp-thunks): Remove variable.
31823         (elide-routines.oS): Don't use $(elide-bp-thunks).
31824         (elide-routines.os): Likewise.
31825         (elide-routines.o): Likewise.
31826         (elide-routines.op): Likewise.
31827         (elide-routines.og): Likewise.
31828         (objects): Don't use $(bp-thunks).
31829         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
31830         include.
31831         (common-generated): Do not add s-proto-bp.d.
31832         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
31833         (int): Likewise.
31834         (typ): Likewise.
31835         Do not generate makefile rules for bounded-pointer thunks.
31836         * sysdeps/generic/bp-thunks.h: Remove file.
31837         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
31838         * sysdeps/unix/s-proto-bp.S: Likewise.
31840         [BZ #15062]
31841         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
31842         parts of result separately when argument is not close to line from
31843         -i to i and one part of argument is small.
31844         * math/k_casinhf.c (__kernel_casinhf): Likewise.
31845         * math/k_casinhl.c (__kernel_casinhl): Likewise.
31846         * math/libm-test.inc (cacos_test): Add more tests.
31847         (casin_test): Likewise.
31848         (casinh_test): Likewise.
31849         * sysdeps/i386/fpu/libm-test-ulps: Update.
31850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31852 2013-01-31  David S. Miller  <davem@davemloft.net>
31854         * po/de.po: Update from translation team.
31856 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
31858         * time/tzfile.c: Include stdint.h for SIZE_MAX.
31860 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
31862         * configure.in (_AC_PROG_CC_C89): New definition.
31863         * configure: Regenerate.
31865         * configure.in (AC_PROG_CPP): New definition.
31866         * configure: Regenerate.
31868 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
31870         * debug/tst-backtrace.h: New file.
31871         * debug/tst-backtrace2.c: Include tst-backtrace.h.
31872         (ret): Remove variable.
31873         (x): Likewise.
31874         (FAIL): Remove macro.
31875         (NO_INLINE): Likewise.
31876         (fn1): Use match function instead of strstr.
31877         * debug/tst-backtrace3.c: Include tst-backtrace.h.
31878         (ret): Remove variable.
31879         (x): Likewise.
31880         (FAIL): Remove macro.
31881         (NO_INLINE): Likewise.
31882         (fn): Use match function instead of strstr.
31883         * debug/tst-backtrace4.c: Include tst-backtrace.h.
31884         (ret): Remove variable.
31885         (x): Likewise.
31886         (FAIL): Remove macro.
31887         (NO_INLINE): Likewise.
31888         (handle_signal): Use match function instead of strstr.
31889         * debug/tst-backtrace5.c: Include tst-backtrace.h.
31890         (ret): Remove variable.
31891         (x): Likewise.
31892         (FAIL): Remove macro.
31893         (NO_INLINE): Likewise.
31894         (handle_signal): Use match function instead of strstr.
31896 2013-01-23  Roland McGrath  <roland@hack.frob.com>
31898         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
31900 2013-01-23  David S. Miller  <davem@davemloft.net>
31902         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
31903         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
31904         argument of CAS if possible.
31905         * sysdeps/sparc/sparc64/bits/atomic.h
31906         (__arch_compare_and_exchange_val_32_acq): Likewise.
31907         (__arch_compare_and_exchange_val_64_acq): Likewise.
31909 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
31911         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
31912         * sysdeps/posix/ulimit.c: ... this.
31913         Include <limits.h>.
31914         * sysdeps/unix/bsd/ulimit.c: Remove file.
31916 2013-01-23  Adam Conrad  <adconrad@0c3.net>
31918         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
31919         (LDFLAGS-tst-array5): Likewise.
31921 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
31923         [BZ #15036]
31924         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
31925         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
31926         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
31927         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
31929 2013-01-21  David S. Miller  <davem@davemloft.net>
31931         * sysdeps/sparc/backtrace.c: New file.
31932         * sysdeps/sparc/sparc32/backtrace.h: New file.
31933         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
31934         * sysdeps/sparc/sparc64/backtrace.h: New file.
31935         * sysdeps/sparc/sparc64/backtrace.c: Delete.
31936         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
31937         -funwind-tables.
31939 2013-01-21  Andreas Schwab  <schwab@suse.de>
31941         [BZ #15020]
31942         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
31943         closed its stdout.
31945 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
31947         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
31948         "mpa2.h".
31949         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31951 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
31952             Mark Mitchell  <mark@codesourcery.com>
31953             Tom de Vries  <tom@codesourcery.com>
31954             Paul Pluzhnikov  <ppluzhnikov@google.com>
31956         * debug/tst-backtrace2.c: New file.
31957         * debug/tst-backtrace3.c: Likewise.
31958         * debug/tst-backtrace4.c: Likewise.
31959         * debug/tst-backtrace5.c: Likewise.
31960         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
31961         (CFLAGS-tst-backtrace3.c): Likewise.
31962         (CFLAGS-tst-backtrace4.c): Likewise.
31963         (CFLAGS-tst-backtrace5.c): Likewise.
31964         (LDFLAGS-tst-backtrace2): Likewise.
31965         (LDFLAGS-tst-backtrace3): Likewise.
31966         (LDFLAGS-tst-backtrace4): Likewise.
31967         (LDFLAGS-tst-backtrace5): Likewise.
31968         (tests): Add new tests tst-backtrace2, tst-backtrace3,
31969         tst-backtrace4 and tst-backtrace5.
31971 2013-01-18  Anton Blanchard  <anton@samba.org>
31972             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
31974         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
31975         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
31976         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
31977         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
31978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31979         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
31980         "+r" and remove output regs list as redundant.  Add explicit inline
31981         asm to specify register of return val to work around compiler codegen
31982         bug.  Remove (int) cast on return value.  Add return type parameter to
31983         use in macro so that this macro does not truncate return value for
31984         64-bit values.
31985         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
31986         pass to INTERNAL_VSYSCALL_NCS.
31987         (INLINE_VSYSCALL): Add 'long int' as return type to
31988         INTERNAL_VSYSCALL_NCS macro invocation.
31989         (INTERNAL_VSYSCALL): Add 'long int' as return type to
31990         INTERNAL_VSYSCALL_NCS macro invocation.
31991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31993 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31995         [BZ #14496]
31996         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
31997         Fix application of SIMD FP exception mask.
31999         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32000         mp_no from a power of two.
32001         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32002         __mpexp_twomm1.  Use __pow_mp.
32004         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32005         multiplication.
32007 2013-01-17  David S. Miller  <davem@davemloft.net>
32009         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32011 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
32013         [BZ #15023]
32014         * include/complex.h: Condition contents on [!_COMPLEX_H].
32015         (__kernel_casinhf): New prototype.
32016         (__kernel_casinh): Likewise.
32017         (__kernel_casinhl): Likewise.
32018         * math/Makefile (libm_calls): Add k_casinh.
32019         * math/k_casinh.c: New file.
32020         * math/k_casinhf.c: Likewise.
32021         * math/k_casinhl.c: Likewise.
32022         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32023         finite nonzero arguments.
32024         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32025         finite nonzero arguments.
32026         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32027         finite nonzero arguments.
32028         * math/s_casinh.c: Do not include <float.h>.
32029         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32030         * math/s_casinhf.c: Do not include <float.h>.
32031         (__casinhf): Move code for finite nonzero arguments to
32032         k_casinhf.c.
32033         * math/s_casinhl.c: Do not include <float.h>.
32034         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32035         redefine.
32036         (__casinhl): Move code for finite nonzero arguments to
32037         k_casinhl.c.
32038         * math/libm-test.inc (cacos_test): Add more tests.
32039         * sysdeps/i386/fpu/libm-test-ulps: Update.
32040         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32042 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
32044         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32045         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32046         [!HAVE_MREMAP]: Remove [defined linux] case.
32047         * malloc/arena.c: Do not include <malloc-sysdep.h>.
32049 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32051         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32053 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
32055         * elf/elf.h (R_386_SIZE32): New relocation.
32056         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32057         R_386_SIZE32.
32058         (elf_machine_rela): Likewise.
32059         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32060         R_X86_64_SIZE64 and R_X86_64_SIZE32.
32062 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
32064         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32065         (FP_FAST_FMA): Do not define.
32066         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32067         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32068         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32069         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32070         !_SOFT_FLOAT]: Likewise.
32071         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32072         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32073         value.
32074         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32075         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32076         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32077         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32078         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32079         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32080         file.
32082 2013-01-16  Andreas Schwab  <schwab@suse.de>
32084         [BZ #14327]
32085         * include/stdlib.h (__mktemp): Add declaration.
32086         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32087         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32089 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32091         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32092         definitions.
32093         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32094         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32095         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32096         definitions here.
32097         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32098         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32099         definitions.
32100         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32101         and ONE.
32102         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32103         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32104         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32105         definitions.
32106         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32107         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32108         definitions.
32109         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32111         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32113 2013-01-15  David S. Miller  <davem@davemloft.net>
32115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32116         trunc{,f} to libm-sysdep_routes.
32117         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32119         file.
32120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32122         file.
32123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32124         file.
32125         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32126         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32127         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32128         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32129         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32130         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32131         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32132         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32134         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32135         nearbyint{,f} to libm-sysdep_routes.
32136         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32137         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32138         New file.
32139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32140         file.
32141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32142         New file.
32143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32144         file.
32145         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32146         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32147         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32148         file.
32149         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32150         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32151         file.
32152         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32153         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32154         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32156         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32157         libc_feholdexcept and libc_fesetenv.
32159 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
32161         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32163 2013-01-14  David S. Miller  <davem@davemloft.net>
32165         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32166         (SPARC_ASM_VIS2_IFUNC): Likewise.
32167         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32168         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32169         use of 'siam' instruction.
32170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32171         Likewise.
32172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32173         Likewise.
32174         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32175         Likewise.
32176         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32177         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32178         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32179         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32181         file.
32182         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32183         file.
32184         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32185         file.
32186         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32187         file.
32188         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32189         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32190         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32191         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32192         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32193         new VIS2 routines.
32194         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32195         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32196         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32197         Likewise.
32198         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32199         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32200         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32201         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32203         routines to libm-sysdep_routines.
32204         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32207         fdim/fdimf to libm-sysdep_routines.
32208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32209         file.
32210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32211         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32212         file.
32213         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32214         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32215         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32216         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32217         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32218         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32219         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32221 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32223         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32224         to optimize copies.
32226         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32227         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32228         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32230         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32231         local variable MPTWO.
32232         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32233         Likewise.
32235 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
32237         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32238         GLOB_NOESCAPE.
32240 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
32242         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32244 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
32246         * manual/pattern.texi (glob_t): Document gl_flags.
32247         (glob64_t): Likewise.
32249 2013-01-11  David S. Miller  <davem@davemloft.net>
32251         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32252         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32253         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
32254         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32255         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32256         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32257         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32258         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32259         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32260         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32261         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32262         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32263         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32265         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32266         sparc V9 rather than using V8 code.
32267         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32268         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32270         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32271         Move to...
32272         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32273         Here.
32275 2013-01-11  Roland McGrath  <roland@hack.frob.com>
32277         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32278         not in the main loop.
32279         * configure: Regenerated.
32281 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
32283         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32284         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32285         to just #else.
32286         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
32287         [!__GLIBC_HAVE_LONG_LONG] case.
32288         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32289         condition to just #else.
32290         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32291         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32292         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32293         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32294         unconditional.
32295         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32296         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32297         #elif condition to just #else.
32298         * sysdeps/unix/sysv/linux/sys/sysmacros.h
32299         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32300         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32301         #elif condition to just #else.
32303 2013-01-11  Steve Ellcey  <sellcey@mips.com>
32305         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32306         (EF_MIPS_ARCH_64): Fix value.
32307         (EF_MIPS_ARCH_32R2): New.
32308         (EF_MIPS_ARCH_64R2): New.
32310 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
32312         * Makeconfig (+link-pie-before-libc): New.
32313         (+link-pie-after-libc): Likewise.
32314         (+link-pie-tests): Likewise.
32315         (+link-pie): Rewritten.
32316         (link-before-libc): Remove $(config-LDFLAGS).
32317         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32318         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32319         (config-LDFLAGS): Renamed to ...
32320         (rtld-LDFLAGS): This.
32321         (rtld-tests-LDFLAGS): New macro.
32322         (link-libc-rpath-link): Likewise.
32323         (link-libc-tests-rpath-link): Likewise.
32324         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32325         (link-libc): Prepand $(link-libc-rpath-link).
32326         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32327         (test-program-prefix): New macro.
32328         (test-via-rtld-prefix): Likewise.
32329         (test-program-cmd): Likewise.
32330         (host-test-program-cmd): Likewise.
32331         * Makefile ($(common-objpfx)testrun.sh): Replace
32332         $(run-program-prefix) with $(test-program-prefix).
32333         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32334         $(rtld-LDFLAGS).
32335         ($(common-objpfx)shlib.lds): Likewise.
32336         (build-module-helper): Likewise.
32337         ($(common-objpfx)format.lds): Likewise.
32338         * Rules (binaries-pie-tests): New.
32339         (binaries-pie-notests): Likewise.
32340         (binaries-pie): Rewritten.
32341         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32342         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32343         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32344         (make-test-out): Replace $(host-built-program-cmd) with
32345         $(host-test-program-cmd).
32346         * config.make.in (build-hardcoded-path-in-tests): New variable.
32347         * configure.in (--enable-hardcoded-path-in-tests): New configure
32348         option.
32349         (hardcoded_path_in_tests): New AC_SUBST.
32350         * configure: Regenerated.
32351         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32352         $(built-program-cmd) with $(test-program-cmd).
32353         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32354         (test_program_cmd): This.
32355         * elf/Makefile ($(objpfx)order.out): Run test with
32356         $(test-program-prefix).
32357         ($(objpfx)order2.out): Likewise.
32358         ($(objpfx)tst-initorder.out): Likewise.
32359         ($(objpfx)tst-initorder2.out): Likewise.
32360         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32361         $(test-program-cmd).
32362         ($(objpfx)tst-array1-static.out): Likewise.
32363         ($(objpfx)tst-array2.out): Likewise.
32364         ($(objpfx)tst-array3.out): Likewise.
32365         ($(objpfx)tst-array4.out): Likewise.
32366         ($(objpfx)tst-array5.out): Likewise.
32367         ($(objpfx)tst-array5-static.out): Likewise.
32368         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32369         $(test-program-cmd).
32370         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32371         $(run-program-prefix) with $(test-program-prefix).
32372         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32373         (test_program_prefix): This.
32374         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32375         $(run-program-prefix) with $(test-program-prefix).
32376         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32377         (test_program_prefix): This.
32378         * iconvdata/tst-tables.sh: Likewise.
32379         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32380         $(run-program-prefix) with $(test-program-prefix).
32381         ($(objpfx)tst-translit.out): Likewise.
32382         ($(objpfx)tst-gettext2.out): Likewise.
32383         ($(objpfx)tst-gettext4.out): Likewise.
32384         ($(objpfx)tst-gettext6.out): Likewise.
32385         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32386         (test_program_prefix): This.
32387         * intl/tst-gettext2.sh: Likewise.
32388         * intl/tst-gettext4.sh  Likewise.
32389         * intl/tst-gettext6.sh: Likewise.
32390         * intl/tst-translit.sh: Likewise.
32391         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32392         with $(test-program-cmd).
32393         * libio/Makefile ($(objpfx)test-freopen.out): Replace
32394         $(run-program-prefix) with $(test-program-prefix).
32395         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32396         (test_program_prefix): This.
32397         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32398         $(run-program-prefix) with $(test-program-prefix).
32399         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32400         (test_program_prefix): This.
32401         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32402         * posix/Makefile ($(objpfx)globtest.out): Replace
32403         $(run-via-rtld-prefix) and $(test-wrapper) with
32404         $(test-program-prefix) and $(test-via-rtld-prefix).
32405         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32406         $(test-program-prefix).
32407         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32408         $(host-test-program-cmd).
32409         (tst-spawn-ARGS): Likewise.
32410         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32411         $(test-program-prefix).
32412         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32413         (test_via_rtld_prefix): This.
32414         (test_wrapper): Renamed to ...
32415         (test_program_prefix): This.
32416         (run_program_prefix): Replaced by test_program_prefix.
32417         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32418         (test_program_prefix): This.
32419         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
32420         with $(host-test-program-cmd).
32421         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
32422         $(run-program-prefix) with $(test-program-prefix).
32423         ($(objpfx)tst-printf.out): Likewise.
32424         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
32425         $(test-program-cmd).
32426         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
32427         (test_program_prefix): This.
32428         * stdio-common/tst-unbputc.sh: Likewise.
32429         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
32430         $(run-program-prefix) with $(test-program-prefix).
32431         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
32432         (test_program_prefix): This.
32433         * string/Makefile ($(objpfx)tst-svc.out):  Replace
32434         $(built-program-cmd) with $(test-program-cmd).
32436 2013-01-11  Andreas Jaeger  <aj@suse.de>
32438         [BZ #15003]
32439         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
32440         value. Sync with Linux 3.7.
32442 2013-01-10  David S. Miller  <davem@davemloft.net>
32444         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
32445         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32446         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32448 2013-01-10  Roland McGrath  <roland@hack.frob.com>
32450         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
32451         never set.
32452         * configure: Regenerated.
32454 2013-01-10  David S. Miller  <davem@davemloft.net>
32456         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32457         sparc V9 rather than using V8 code.
32458         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32459         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32461 2013-01-10  Roland McGrath  <roland@hack.frob.com>
32463         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
32464         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
32465         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
32466         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
32467         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
32468         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
32469         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
32470         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
32471         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
32472         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
32473         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
32474         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
32475         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
32476         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
32477         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
32478         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
32479         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
32480         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
32481         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
32482         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
32483         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
32484         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
32485         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
32486         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
32487         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
32488         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
32489         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
32491 2013-01-10  David S. Miller  <davem@davemloft.net>
32493         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32495 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
32497         * posix/Makefile (tests-static): New variable.
32498         (tests): Add $(tests-static).
32499         (tst-exec-static-ARGS): New variable.
32500         (tst-spawn-static-ARGS): Likewise.
32501         * posix/tst-exec-static.c: New file.
32502         * posix/tst-spawn-static.c: Likewise.
32503         * posix/tst-exec.c: Support run directly.
32504         * posix/tst-spawn.c: Likewise.
32506 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
32508         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
32509         long.
32510         * math/bits/mathcalls.h (llrint): Likewise.
32511         (llround): Likewise.
32512         * stdlib/stdlib.h (struct drand48_data): Likewise.
32513         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
32514         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
32515         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
32516         Likewise.
32517         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
32518         Likewise.
32519         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
32520         (elf_greg_t): Likewise.
32521         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
32522         (__jmp_buf): Likewise.
32523         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
32524         definitions.
32525         (llrint): Likewise, for all definitions.
32526         (llrintl): Likewise.
32528         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
32529         Remove [__GNUC__] condition.
32530         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
32531         condition to just [__USE_ISOC99].
32532         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
32534 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
32536         [BZ #14200]
32537         * sysdeps/unix/sysv/linux/x86/bits/environments.h
32538         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
32539         defined.
32540         (_POSIX_V6_ILP32_OFF32): Likewise.
32541         (_XBS5_ILP32_OFF32): Likewise.
32542         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
32543         (__ILP32_OFFBIG_LDFLAGS): Likewise.
32545 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
32547         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
32549         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
32550         doubles __mpexp_twomm1.  Adjust usage.
32551         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
32552         Remove.
32554 2013-01-10  Andreas Schwab  <schwab@suse.de>
32556         [BZ #14964]
32557         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
32558         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
32560 2013-01-09  David S. Miller  <davem@davemloft.net>
32562         [BZ #15003]
32563         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
32564         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
32565         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
32566         (TCP_FASTOPEN): Define.
32567         (tcp_repair_opt): New structure.
32568         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
32569         enum values.
32570         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
32571         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
32572         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
32573         (tcp_cookie_transactions): New structure.
32575 2013-01-09  Anton Blanchard  <anton@samba.org>
32577         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
32578         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
32579         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
32580         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
32582 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
32584         * include/features.h (__USE_ANSI): Remove.
32586 2013-01-09  Roland McGrath  <roland@hack.frob.com>
32588         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
32590         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
32592 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
32594         * sysdeps/s390/fpu/libm-test-ulps: Update.
32596         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32598         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
32599         (__acr): Likewise.
32600         (__cpy): Likewise.
32601         (norm): Likewise.
32602         (denorm): Likewise.
32603         (__mp_dbl): Likewise.
32604         (__dbl_mp): Likewise.
32605         (add_magnitudes): Likewise.
32606         (sub_magnitudes): Likewise.
32607         (__add): Likewise.
32608         (__sub): Likewise.
32609         (__mul): Likewise.
32610         (__inv): Likewise.
32611         (__dvd): Likewise.
32612         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
32613         (__acr): Likewise.
32614         (__cpy): Likewise.
32615         (norm): Likewise.
32616         (denorm): Likewise.
32617         (__mp_dbl): Likewise.
32618         (__dbl_mp): Likewise.
32619         (add_magnitudes): Likewise.
32620         (sub_magnitudes): Likewise.
32621         (__add): Likewise.
32622         (__sub): Likewise.
32623         (__mul): Likewise.
32624         (__inv): Likewise.
32625         (__dvd): Likewise.
32626         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
32627         (__acr): Likewise.
32628         (__cpy): Likewise.
32629         (norm): Likewise.
32630         (denorm): Likewise.
32631         (__mp_dbl): Likewise.
32632         (__dbl_mp): Likewise.
32633         (add_magnitudes): Likewise.
32634         (sub_magnitudes): Likewise.
32635         (__add): Likewise.
32636         (__sub): Likewise.
32637         (__mul): Likewise.
32638         (__inv): Likewise.
32639         (__dvd): Likewise.
32641 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
32643         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
32644         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
32645         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
32646         2 && __USE_EXTERN_INLINES]: Likewise.
32648 2013-01-08  Andreas Jaeger  <aj@suse.de>
32650         [BZ# 14985]
32651         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
32652         Remove.
32653         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32654         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
32656 2013-01-07  Anton Blanchard  <anton@samba.org>
32658         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
32659         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
32660         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
32661         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
32662         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
32663         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
32664         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
32665         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
32666         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32667         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
32668         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
32669         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
32670         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
32671         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
32672         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
32673         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
32674         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
32675         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
32676         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
32677         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
32678         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
32679         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
32680         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
32681         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
32682         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
32683         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
32684         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32685         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
32686         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
32687         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
32688         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
32689         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32690         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
32691         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
32692         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
32693         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
32694         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
32695         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
32696         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
32697         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
32698         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
32699         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32700         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
32702 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
32704         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
32705         (__MALLOC_PMT): Likewise.
32706         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
32707         [__GNUC__], only on [_LIBC].
32708         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32709         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
32710         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
32711         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
32712         forward declaration.
32713         (realloc_hook_ini): Likewise.
32714         (memalign_hook_ini): Likewise.
32715         (__libc_memalign): Do not use __MALLOC_PMT in variable
32716         declaration.
32717         (__libc_valloc): Likewise.
32718         (__libc_pvalloc): Likewise.
32719         (__libc_calloc): Likewise.
32720         (__posix_memalign): Likewise.
32722         [BZ #14996]
32723         * math/s_casinh.c: Include <float.h>.
32724         (__casinh): Do not do computation with squaring and square root
32725         for large arguments.
32726         * math/s_casinhf.c: Include <float.h>.
32727         (__casinhf): Do not do computation with squaring and square root
32728         for large arguments.
32729         * math/s_casinhl.c: Include <float.h>.
32730         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
32731         (__casinhl): Do not do computation with squaring and square root
32732         for large arguments.
32733         * math/libm-test.inc (casin_test): Add more tests.
32734         (casinh_test): Likewise.
32735         * sysdeps/i386/fpu/libm-test-ulps: Update.
32736         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32738 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
32740         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
32741         (__x86_64_raw_data_cache_size): Likewise.
32742         (__x86_64_data_cache_size_half): Likewise.
32743         (__x86_64_raw_data_cache_size_half): Likewise.
32744         (__x86_64_shared_cache_size): Likewise.
32745         (__x86_64_raw_shared_cache_size): Likewise.
32746         (__x86_64_shared_cache_size_half): Likewise.
32747         (__x86_64_raw_shared_cache_size_half): Likewise.
32748         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
32749         to ...
32750         (__x86_data_cache_size): This.
32751         (__x86_64_raw_data_cache_size): Renamed to ...
32752         (__x86_raw_data_cache_size): This.
32753         (__x86_64_data_cache_size_half): Renamed to ...
32754         (__x86_data_cache_size_half): This.
32755         (__x86_64_raw_data_cache_size_half): Renamed to ...
32756         (__x86_raw_data_cache_size_half): This.
32757         (__x86_64_shared_cache_size): Renamed to ...
32758         (__x86_shared_cache_size): This.
32759         (__x86_64_raw_shared_cache_size): Renamed to ...
32760         (__x86_raw_shared_cache_size): This.
32761         (__x86_64_shared_cache_size_half): Renamed to ...
32762         (__x86_shared_cache_size_half): This.
32763         (__x86_64_raw_shared_cache_size_half): Renamed to ...
32764         (__x86_raw_shared_cache_size_half): This.
32765         * sysdeps/x86_64/memcpy.S: Updated.
32766         * sysdeps/x86_64/memset.S: Likewise.
32767         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
32768         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
32769         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
32771 2013-01-04  David S. Miller  <davem@davemloft.net>
32773         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32775 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
32777         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
32778         1 to avoid redefinition warning.
32779         (__USE_GNU): Don't define.
32780         (init_signaling_nan): Protoize.
32782         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32784 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32786         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
32787         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
32788         (__cpymn): Likewise.
32789         (norm): Remove commented code.
32790         (denorm): Likewise.
32791         (__mp_dbl): Likewise.
32792         (__inv): Likewise.
32793         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
32794         (__cpymn): Likewise.
32795         (norm): Remove commented code.
32796         (denorm): Likewise.
32797         (__mp_dbl): Likewise.
32798         (__inv): Likewise.
32800         * sysdeps/powerpc/powerpc32/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.
32805         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
32806         mp_no value for 1.0 and 2.0.
32807         (norm): Use RADIXI instead of radixi.d.
32808         (denorm): Likewise.
32809         (__mul): Use 0.0 instead of zero.d.
32811 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
32813         [BZ #14994]
32814         * math/s_casinh.c (__casinh): Reduce finite argument to first
32815         quadrant then set signs of results at the end.
32816         * math/s_casinhf.c (__casinhf): Likewise.
32817         * math/s_casinhl.c (__casinhl): Likewise.
32818         * math/libm-test.inc (casin_test): Add more tests.
32819         (casinh_test): Likewise.
32820         * sysdeps/i386/fpu/libm-test-ulps: Update.
32821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32823 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
32825         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
32827         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
32829         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
32830         declarations.
32831         (denorm): Likewise.
32832         (__mp_dbl): Likewise.
32833         (__inv): Likewise.
32835         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
32836         and adjust the header comment.
32838         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
32839         variable name from declaration.
32841 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
32843         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
32844         Initialize COMMON_CPUID_INDEX_7 element.
32845         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
32846         (CPUID_RTM): Likewise.
32847         (HAS_RTM): Likewise.
32848         (COMMON_CPUID_INDEX_7): New enum.
32850 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
32852         [BZ #14981]
32853         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
32854         size is zero, record memory as freed.
32856 2013-01-03  Andreas Jaeger  <aj@suse.de>
32858         * po/ia.po: Add new Interlingua translation.
32860 2012-01-03  Allan McRae  <allan@archlinux.org>
32862         * locale/programs/localedef.c: Fix description of '--posix' flag.
32864 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
32866         * NEWS: Update dates in second copyright notice.
32867         * README: Update copyright dates in example.
32868         * manual/libc.texinfo: Update copyright dates.
32869         * scripts/test-installation.pl: Update copyright date in --version
32870         output.
32872         * hurd/ctty-input.c: Fix copyright notice formatting.
32873         * hurd/ctty-output.c: Likewise.
32874         * hurd/dtable.c: Likewise.
32875         * hurd/hurd-raise.c: Likewise.
32876         * hurd/hurdprio.c: Likewise.
32877         * hurd/msgportdemux.c: Likewise.
32878         * misc/sys/file.h: Likewise.
32879         * misc/sys/ioctl.h: Likewise.
32880         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
32881         * sysdeps/mach/hurd/chdir.c: Likewise.
32882         * sysdeps/mach/hurd/fchdir.c: Likewise.
32883         * sysdeps/mach/hurd/rename.c: Likewise.
32884         * sysdeps/mach/hurd/rmdir.c: Likewise.
32885         * sysdeps/mach/hurd/seekdir.c: Likewise.
32886         * sysdeps/mach/hurd/setsid.c: Likewise.
32887         * sysdeps/posix/wait3.c: Likewise.
32889         * All files with FSF copyright notices: Update copyright dates
32890         using scripts/update-copyrights.
32891         * intl/plural.c: Regenerated.
32892         * locale/programs/charmap-kw.h: Likewise.
32893         * locale/programs/locfile-kw.h: Likewise.
32895 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
32897         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
32898         four values.
32900         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
32901         calculation loop and add branch prediction.
32903         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
32904         check access beyond bounds of m1np.
32906         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
32907         MPTWO.
32908         (__inv): Remove local variable MPTWO to use the global
32909         constant.
32910         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
32911         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
32912         variable MPTWO.
32913         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
32914         MP3HALFS static const.
32916 2013-01-01  David S. Miller  <davem@davemloft.net>
32918         * po/ca.po: Update from translation team.
32920 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
32922         * scripts/update-copyrights: New file.
32923         * Makeconfig: Reformat copyright notice.
32924         * ctype/ctype.h: Likewise.
32925         * debug/swprintf_chk.c: Likewise.
32926         * elf/dl-cache.c: Likewise.
32927         * elf/dl-debug.c: Likewise.
32928         * elf/dl-object.c: Likewise.
32929         * grp/initgroups.c: Likewise.
32930         * hurd/Makefile: Likewise.
32931         * hurd/hurd/signal.h: Likewise.
32932         * hurd/hurdfault.c: Likewise.
32933         * hurd/hurdioctl.c: Likewise.
32934         * hurd/hurdlookup.c: Likewise.
32935         * hurd/intr-msg.c: Likewise.
32936         * iconv/gconv_open.c: Likewise.
32937         * libio/swprintf.c: Likewise.
32938         * locale/lc-ctype.c: Likewise.
32939         * locale/nl_langinfo.c: Likewise.
32940         * mach/Machrules: Likewise.
32941         * mach/Makefile: Likewise.
32942         * malloc/obstack.h: Likewise.
32943         * manual/Makefile: Likewise.
32944         * manual/tsort.awk: Likewise.
32945         * misc/bits/stab.def: Likewise.
32946         * nis/nis_print_group_entry.c: Likewise.
32947         * nis/nis_table.c: Likewise.
32948         * nis/nss_compat/compat-pwd.c: Likewise.
32949         * nis/nss_compat/compat-spwd.c: Likewise.
32950         * po/Makefile: Likewise.
32951         * posix/fnmatch.c: Likewise.
32952         * posix/regex.h: Likewise.
32953         * resolv/Makefile: Likewise.
32954         * resolv/nss_dns/dns-network.c: Likewise.
32955         * resolv/res_hconf.c: Likewise.
32956         * scripts/gen-sorted.awk: Likewise.
32957         * soft-fp/soft-fp.h: Likewise.
32958         * stdio-common/printf.h: Likewise.
32959         * stdlib/monetary.h: Likewise.
32960         * stdlib/random.c: Likewise.
32961         * stdlib/random_r.c: Likewise.
32962         * sysdeps/generic/Makefile: Likewise.
32963         * sysdeps/gnu/Makefile: Likewise.
32964         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
32965         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
32966         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
32967         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
32968         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
32969         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
32970         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
32971         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
32972         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
32973         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
32974         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
32975         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
32976         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
32977         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
32978         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
32979         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
32980         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
32981         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
32982         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
32983         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
32984         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
32985         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
32986         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
32987         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
32988         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
32989         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
32990         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
32991         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
32992         * sysdeps/mach/hurd/errnos.awk: Likewise.
32993         * sysdeps/mach/hurd/fork.c: Likewise.
32994         * sysdeps/mach/hurd/getcwd.c: Likewise.
32995         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
32996         * sysdeps/mach/hurd/mmap.c: Likewise.
32997         * sysdeps/mach/hurd/utimes.c: Likewise.
32998         * sysdeps/mach/hurd/xmknod.c: Likewise.
32999         * sysdeps/posix/profil.c: Likewise.
33000         * sysdeps/posix/readdir_r.c: Likewise.
33001         * sysdeps/powerpc/bits/mathdef.h: Likewise.
33002         * sysdeps/powerpc/bits/setjmp.h: Likewise.
33003         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33004         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33005         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33006         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33007         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33008         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33009         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33010         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33011         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33012         * sysdeps/pthread/lio_listio.c: Likewise.
33013         * sysdeps/sparc/dl-procinfo.h: Likewise.
33014         * sysdeps/unix/i386/sysdep.S: Likewise.
33015         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33016         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33017         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33018         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33020         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33021         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33022         * sysdeps/unix/sysv/linux/speed.c: Likewise.
33023         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33024         * sysdeps/wordsize-32/divdi3.c: Likewise.
33025         * time/sys/time.h: Likewise.
33026         * wcsmbs/Makefile: Likewise.
33028 2013-01-01  David S. Miller  <davem@davemloft.net>
33030         * po/fr.po: Update from translation team.
33032         * catgets/gencat.c: Update copyright year.
33033         * csu/version.c: Likewise.
33034         * debug/catchsegv.sh: Likewise.
33035         * debug/pcprofiledump.c: Likewise.
33036         * debug/xtrace.sh: Likewise.
33037         * elf/ldconfig.c: Likewise.
33038         * elf/ldd.bash.in: Likewise.
33039         * elf/pldd.c: Likewise.
33040         * elf/sotruss.ksh: Likewise.
33041         * elf/sprof.c: Likewise.
33042         * iconv/iconv_prog.c: Likewise.
33043         * iconv/iconvconfig.c: Likewise.
33044         * locale/programs/locale.c: Likewise.
33045         * locale/programs/localedef.c: Likewise.
33046         * login/programs/pt_chown.c: Likewise.
33047         * malloc/memusage.sh: Likewise.
33048         * malloc/memusagestat.c: Likewise.
33049         * malloc/mtrace.pl: Likewise.
33050         * nscd/nscd.c: Likewise.
33051         * nss/getent.c: Likewise.
33052         * nss/makedb.c: Likewise.
33053         * posix/getconf.c: Likewise.
33055 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33057         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33058         numbers.
33060 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
33062         * math/bits/mathcalls.h (modf): Use __nonnull.
33064 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33066         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33067         (split): Use macro CN instead of the bare value.
33068         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33069         could be used.
33070         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33071         instead of the bare value.
33072         (power1): Likewise.
33074 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33076         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33077         __ATAN_TWOM.
33078         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33080         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33081         their values.
33082         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33083         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33084         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33085         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33087 2012-12-28  Andreas Jaeger  <aj@suse.de>
33089         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
33090         values are from Linux 3.7.
33092         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33093         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
33095 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33097         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
33098         TRUE case.
33100         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33101         (norm): Likewise.
33102         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33103         variables with preprocessor constants.
33104         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33105         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33106         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33108 2012-12-27  Bruno Haible  <bruno@clisp.org>
33110         [BZ #14317]
33111         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33112         only if needed.
33114 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33116         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33117         and use variable directly.
33118         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33120         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33121         MPONE.
33122         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33123         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33124         variable MPONE.
33125         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33126         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33127         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33128         include directive.  Remove local variable MPONE.
33129         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33130         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33131         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33133 2012-12-25  David S. Miller  <davem@davemloft.net>
33135         * version.h (RELEASE): Set to "development".
33136         (VERSION): Set to "2.17.90".
33137         * NEWS: Add 2.18 section.
33139 2012-12-21  David S. Miller  <davem@davemloft.net>
33141         * po/hr.po: Update from translation team.
33143 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33145         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33147 2012-12-19  Steve Ellcey  <sellcey@mips.com>
33149         * NEWS:  Mention new memcpy for MIPS.
33151 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33153         * manual/contrib.texi (Contributors): Spelling correction.
33155 2012-12-15  David S. Miller  <davem@davemloft.net>
33157         * po/ru.po: Update from translation team.
33159 2012-12-13  David S. Miller  <davem@davemloft.net>
33161         * NEWS: Mention IFUNC testsuite enhancements.
33163         * po/pl.po: Update from translation team.
33164         * po/bg.po: Likewise.
33166         * manual/contrib.texi (Contributors): Update entries for Hongjiu
33167         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
33169 2012-12-11  David S. Miller  <davem@davemloft.net>
33171         * po/sv.po: Update from translation team.
33173         * po/vi.po: Update from translation team.
33175         * po/cs.po: Update from translation team.
33177         * po/de.po: Update from translation team.
33178         * po/eo.po: Likewise.
33179         * po/nl.po: Likewise.
33181 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33183         [BZ #14246]
33184         * manual/argp.texi (Argp Helper Functions): Move node to follow
33185         Argp Parsing State.
33187         [BZ #14872]
33188         * manual/conf.texi (Limits on File System Capacity): Mention if
33189         terminating null is included in the max size.
33191 2012-12-10  Andreas Jaeger  <aj@suse.de>
33193         * po/cs.po: Update from translation team.
33195 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
33197         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33198         void pointer and cast to uintptr_t.
33199         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33200         path.
33201         * sysdeps/s390/s390-64/memcpy.S: Likewise.
33202         * sysdeps/s390/s390-64/memset.S: Likewise.
33204 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
33206         [BZ #14833]
33207         * menual/message.texi (Message Translation): Fix typos.
33208         (Helper programs for gettext): Likewise.
33210 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
33212         [BZ #14898]
33213         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33214         Change to -1.
33216 2012-12-07  David S. Miller  <davem@davemloft.net>
33218         * po/libc.pot: Update.
33220 2012-12-07  Richard Henderson  <rth@redhat.com>
33222         [BZ #10114]
33223         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33224         normal/normal case to before the switch.
33225         (_FP_DIV): Likewise.
33227 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
33228             Mike Frysinger  <vapier@gentoo.org>
33230         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33231         check for __NR_fadvise64_64.
33233 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
33235         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33236         0, not just to plain "0" as a statement.
33237         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33238         with cw.
33240 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
33242         * NEWS: Use sourceware.org in Bugzilla URL.
33244 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33247         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33249         * stdio-common/tst-put-error.c (do_test): Add newline to the
33250         padded test to ensure flush.
33252 2012-12-05  Jeff Law  <law@redhat.com>
33254         * sunrpc/etc.rpc (fedfs_admin): Add entry.
33256 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
33258         * README: Don't refer to ports add-on as distributed separately.
33259         Mention AArch64 in list of systems supported in the ports add-on.
33261         * LICENSES: Add more non-FSF copyright and license notices.
33263         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33264         ((unused)).
33266         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33268         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33269         10000 as width of padded output.
33271 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
33273         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33275         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33276         variable LX with __attribute__ ((unused)).
33277         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33278         Likewise.
33279         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33280         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33281         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33282         with __attribute__ ((unused)).
33284 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
33286         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33288 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
33290         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33291         (CFLAGS-nldbl-acos.c): New variable.
33292         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33293         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33294         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33295         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33296         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33297         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33298         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33299         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33300         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33301         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33302         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33303         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33304         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33305         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33306         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33307         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33308         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33309         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33310         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33311         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33312         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33313         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33314         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33315         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33316         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33317         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33318         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33319         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33320         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33321         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33322         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33323         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33324         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33325         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33326         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33327         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33328         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33329         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33330         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33331         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33332         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33333         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33334         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33335         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33336         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33337         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33338         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33339         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33340         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33341         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33342         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33343         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33344         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33345         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33346         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33347         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33348         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33349         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33350         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33351         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33352         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33353         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33354         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33355         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33356         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33357         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33358         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33359         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33360         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33361         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33362         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33363         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33364         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33365         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33366         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33367         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33368         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33369         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33370         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33371         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33372         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33373         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33374         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33375         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33376         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33377         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33378         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33379         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33380         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33381         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33382         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33383         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33384         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33385         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33386         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33387         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33388         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33391         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33393         [BZ #14914]
33394         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33395         whole low double instead of just low 47 bits when splitting values
33396         into two parts.
33398 2012-12-03  Allan McRae  <allan@archlinux.org>
33400         * manual/stdio.texi (Predefined Printf Handlers): Remove
33401         @hsep and @vsep usage.
33403 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
33405         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33406         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33408 2012-12-03  Jeff Law  <law@redhat.com>
33410         * time/sys/time.h (settimeofday): Do not mark TV argument
33411         as __nonnull.
33413 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
33415         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33416         when currently writing and seek to current position when not.
33417         * libio/Makefile (tests): Remove bug-fclose1.
33418         * libio/bug-fclose1.c: Delete.
33420 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
33422         * manual/arith.texi (feenableexcept): Fix typo.
33423         (fedisableexcept): Likewise.
33425 2012-11-30  Roland McGrath  <roland@hack.frob.com>
33427         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
33428         second, differently-typed declaration, rather than a cast.
33430 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33432         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
33433         * include/rpc/svc.h: ... here.
33435 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
33437         [BZ #13013]
33438         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
33439         depending n and resplen2 to catch cases where answer
33440         equals answerp2.
33442 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
33444         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
33445         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
33447 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
33449         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
33451 2012-11-29  Roland McGrath  <roland@hack.frob.com>
33453         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
33455 2012-11-28  Jeff Law  <law@redhat.com>
33457         [BZ #13761]
33458         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
33459         dataset_temporary.  Track alloca usage into alloca_used.
33460         If dataset is large allocate and release it via malloc/free.
33462 2012-06-04  Florian Weimer  <fweimer@redhat.com>
33464         [BZ #14197]
33465         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
33467 2012-11-28  David S. Miller  <davem@davemloft.net>
33469         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33471 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
33473         [BZ #14803]
33474         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
33475         of pi/2 rounded to nearest to 64 bits.
33476         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
33477         nearest to 64 bits.
33478         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
33479         bits.
33481 2012-11-28  Jeff Law <law@redhat.com>
33482             Martin Osvald <mosvald@redhat.com>
33484         [BZ #14889]
33485         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
33486         * sunrpc/svc.c: Include time.h.
33487         (__svc_accept_failed): New function.
33488         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
33489         any reason other than EINTR, call __svc_accept_failed.
33490         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
33491         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
33493 2012-11-28  Andreas Schwab  <schwab@suse.de>
33495         * scripts/abilist.awk: Also handle indirect functions in .opd
33496         section.
33498 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
33500         [BZ #13881]
33501         * sysdeps/x86/fpu/powl_helper.c: New file.
33502         * sysdeps/x86/fpu/Makefile: Likewise.
33503         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
33504         (p3): New object.
33505         (__ieee754_powl): Use __powl_helper for finite arguments except
33506         integer exponents below 8.
33507         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
33508         (p3): New object.
33509         (__ieee754_powl): Use __powl_helper for finite arguments except
33510         integer exponents below 8.
33511         * math/libm-test.inc (pow_test): Add more tests and enable some
33512         previously disabled tests.
33513         * sysdeps/i386/fpu/libm-test-ulps: Update.
33514         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33516 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33517             Carlos O'Donell  <carlos_odonell@mentor.com>
33519         * nss/makedb.c (is_prime): Assert that input is odd and greater
33520         than 4.  Note that fact in a comment too.
33521         (next_prime): Add 4 to input.
33523 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33525         [BZ #11741]
33526         * libio/Makefile (tests): Add test case tst-fwrite-error.
33527         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
33528         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
33529         * libio/tst-fwrite-error.c: New test case.
33531 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
33533         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
33534         before casting to void *.
33535         * include/libc-internal.h (__pointer_type): New macro.
33536         (__integer_if_pointer_type_sub): Likewise.
33537         (__integer_if_pointer_type): Likewise.
33538         (cast_to_integer): Likewise.
33539         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
33540         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
33541         before casting to atomic64_t.
33542         (atomic_exchange_acq): Likewise.
33543         (__arch_exchange_and_add_body): Likewise.
33544         (__arch_add_body): Likewise.
33545         (atomic_add_negative): Likewise.
33546         (atomic_add_zero): Likewise.
33548 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
33550         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
33551         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
33552         (add_fdes): Likewise.
33553         (linear_search_fdes): Likewise.
33554         (binary_search_unencoded_fdes): Likewise.
33556 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
33558         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
33560 2012-11-24  Adam Conrad  <adconrad@0c3.net>
33562         * configure.in: Autodetect C++ header directories.
33563         * configure: Regenerated.
33565 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
33567         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
33569 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
33571         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33573 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
33575         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
33576         LDBL_MANT_DIG == 106]: Disable some tests.
33577         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33578         Likewise.
33579         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
33580         Likewise.
33582         [BZ #14871]
33583         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
33584         input for small inputs.  Return +/- pi/2 for large inputs.
33585         * math/libm-test.inc (atan_test): Add more tests.
33587         * sysdeps/generic/unwind-dw2-fde-glibc.c
33588         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
33589         __attribute__ ((unused)).
33591         [BZ #14645]
33592         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
33593         x * y if x and y are nonzero and z is zero.
33595         [BZ #14811]
33596         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
33597         nonzero exponents with absolute value below 0x1p-117 to +/-
33598         0x1p-117.
33600         [BZ #14869]
33601         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
33602         up arguments below 2**-450, not just those below 2**-500.
33603         * math/libm-test.inc (hypot_test): Add another test.
33605         [BZ #14868]
33606         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
33607         Return a+b for ratio over 2**120, not 2**60.
33608         * math/libm-test.inc (hypot_test): Add another test.
33610         * math/libm-test.inc (clog_test): Use
33611         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
33612         (clog10_test): Likewise.
33614         [BZ #6778]
33615         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
33617 2012-11-22  Andreas Schwab  <schwab@suse.de>
33619         * sysdeps/i386/fpu/libm-test-ulps: Update.
33621 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
33623         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
33624         printf output with newline.
33626 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
33628         [BZ #14865]
33629         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
33630         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
33631         -z nodlopen, -z initfirst and -z execstack support.
33632         * configure: Regenerated.
33634         * elf/elf.h (DF_1_NODIRECT): New macro.
33635         (DF_1_IGNMULDEF): Likewise.
33636         (DF_1_NOKSYMS): Likewise.
33637         (DF_1_NOHDR): Likewise.
33638         (DF_1_EDITED): Likewise.
33639         (DF_1_NORELOC): Likewise.
33640         (DF_1_SYMINTPOSE): Likewise.
33641         (DF_1_GLOBAUDIT): Likewise.
33642         (DF_1_SINGLETON): Likewise.
33643         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
33644         DT_1_SUPPORTED_MASK bits.
33645         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
33647 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
33649         * sysdeps/unix/make-syscalls.sh: Document prefixes.
33651 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
33653         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
33654         macro.
33656         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
33657         (sendmmsg): Move declarations...
33658         * socket/sys/socket.h: ... here.
33659         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
33660         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
33661         include it from...
33662         * socket/recvmmsg.c: ... this new file.
33663         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
33664         (sendmmsg): Rename to __sendmmsg, create weak alias and make
33665         definition of __sendmmsg hidden.
33666         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33667         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
33668         Move ENOSYS stub into and include it from...
33669         * socket/sendmmsg.c: ... this new file.
33670         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
33671         (sysdep_routines): Move recvmmsg and sendmmsg...
33672         * socket/Makefile (routines): ... here.
33673         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
33674         (GLIBC_PRIVATE): Add __sendmmsg.
33675         * include/sys/socket.h (__sendmmsg): Add declarations.
33676         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
33677         sendmmsg.
33679 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
33681         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
33682         variable I1 with __attribute__ ((unused)).
33683         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
33685 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
33687         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
33688         DUMMY variables with __attribute__ ((unused)).
33690         * bits/byteswap.h: Include <bits/types.h>.
33691         (__bswap_64): Use __uint64_t instead of unsigned long long int.
33693 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
33695         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
33696         string_t.  Do not manually set errno.
33697         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
33698         length with __strnlen.  Make sure to both set errno and return it on
33699         failure.
33701 2012-11-19  David S. Miller  <davem@davemloft.net>
33703         With help from Joseph Myers.
33704         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
33705         very large arguments properly.
33706         * math/libm-test.inc (atan_test): New tests.
33707         (atan2_test): New tests.
33708         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33709         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33711 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
33713         [BZ #14856]
33714         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
33715         Define to 3.
33717         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
33718         [POSIX] (EADDRNOTAVAIL): Likewise.
33719         [POSIX] (EAFNOSUPPORT): Likewise.
33720         [POSIX] (EALREADY): Likewise.
33721         [POSIX] (ECONNABORTED): Likewise.
33722         [POSIX] (ECONNREFUSED): Likewise.
33723         [POSIX] (ECONNRESET): Likewise.
33724         [POSIX] (EDESTADDRREQ): Likewise.
33725         [POSIX] (EDQUOT): Likewise.
33726         [POSIX] (EHOSTUNREACH): Likewise.
33727         [POSIX] (EIDRM): Likewise.
33728         [POSIX] (EISCONN): Likewise.
33729         [POSIX] (ELOOP): Likewise.
33730         [POSIX] (EMULTIHOP): Likewise.
33731         [POSIX] (ENETDOWN): Likewise.
33732         [POSIX] (ENETUNREACH): Likewise.
33733         [POSIX] (ENOBUFS): Likewise.
33734         [POSIX] (ENODATA): Likewise.
33735         [POSIX] (ENOLINK): Likewise.
33736         [POSIX] (ENOMSG): Likewise.
33737         [POSIX] (ENOPROTOOPT): Likewise.
33738         [POSIX] (ENOSR): Likewise.
33739         [POSIX] (ENOSTR): Likewise.
33740         [POSIX] (ENOTCONN): Likewise.
33741         [POSIX] (ENOTSOCK): Likewise.
33742         [POSIX] (EOPNOTSUPP): Likewise.
33743         [POSIX] (EOVERFLOW): Likewise.
33744         [POSIX] (EPROTO): Likewise.
33745         [POSIX] (EPROTONOSUPPORT): Likewise.
33746         [POSIX] (EPROTOTYPE): Likewise.
33747         [POSIX] (ESTALE): Likewise.
33748         [POSIX] (ETIME): Likewise.
33749         [POSIX] (ETXTBSY): Likewise.
33750         [POSIX] (EWOULDBLOCK): Likewise.
33751         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
33752         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
33753         [POSIX] (SEEK_CUR): Likewise.
33754         [POSIX] (SEEK_END): Likewise.
33755         [POSIX || UNIX98] (mode_t): Do not require.
33756         [POSIX] (off_t): Likewise.
33757         [POSIX] (pid_t): Likewise.
33758         [POSIX] (sys/stat.h): Do not allow header.
33759         [POSIX] (unistd.h): Likewise.
33760         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
33761         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
33762         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
33763         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
33764         require.
33765         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
33766         sigevent): Specify elements.
33767         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
33768         entry.
33769         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
33770         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
33772         * conform/data/cpio.h-data [POSIX]: Disable whole file.
33773         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
33774         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
33775         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
33776         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
33777         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
33778         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
33779         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
33780         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
33781         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
33782         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
33783         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
33784         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
33785         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
33786         Likewise.
33787         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
33788         Likewise.
33789         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
33790         Likewise.
33791         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
33792         Likewise.
33793         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
33794         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
33795         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
33796         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
33797         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
33798         Specify lower bound on value.
33799         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
33800         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
33801         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
33802         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
33803         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
33804         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
33805         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
33806         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
33807         value.
33808         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
33809         as optional.
33810         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
33811         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
33812         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
33813         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
33814         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
33815         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
33816         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
33817         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
33818         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
33819         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
33820         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
33821         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
33822         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
33823         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
33824         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
33825         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
33826         entry.
33827         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
33828         optional.
33829         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
33830         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
33831         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
33832         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
33833         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
33834         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
33835         Likewise.
33836         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
33837         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
33838         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
33839         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
33840         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
33841         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
33842         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
33843         as optional.
33844         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
33845         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
33846         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
33847         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
33848         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
33849         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
33850         specify as optional.
33851         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
33852         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
33853         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
33854         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
33855         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
33856         [XPG3] (NL_LANGMAX): Likewise.
33857         [POSIX || XPG3] (NL_MSGMAX): Likewise.
33858         [POSIX || XPG3] (NL_NMAX): Likewise.
33859         [POSIX || XPG3] (NL_SETMAX): Likewise.
33860         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
33861         [XPG3] (NZERO): Likewise.
33862         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
33863         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
33864         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
33865         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
33866         (REG_ERANGE): Expect.
33867         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
33868         optional-constant.
33869         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
33870         Use (void) in prototype.
33871         [POSIX] (*_t): Allow.
33872         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
33873         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
33874         (WRDE_BADVAL): Expect.
33876         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
33877         expect.
33878         [XPG3 || XPG4] (O_RSYNC): Likewise.
33879         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
33880         Likewise.
33881         [XPG3 || XPG4] (pthread_sigmask): Likewise.
33882         [XPG3 || XPG4] (sigqueue): Likewise.
33883         [XPG3 || XPG4] (sigtimedwait): Likewise.
33884         [XPG3 || XPG4] (sigwaitinfo): Likewise.
33885         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
33886         [XPG3 || XPG4] (vsnprintf): Likewise.
33887         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
33888         Likewise.
33889         [XPG3 || XPG4] (blksize_t): Likewise.
33890         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
33891         Likewise.
33892         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
33893         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
33894         [XPG3 || XPG4] (struct itimerspec): Likewise.
33895         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
33896         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
33897         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
33898         [XPG3 || XPG4] (clockid_t): Likewise.
33899         [XPG3 || XPG4] (timer_t): Likewise.
33900         [XPG3 || XPG4] (clock_getres): Likewise.
33901         [XPG3 || XPG4] (clock_gettime): Likewise.
33902         [XPG3 || XPG4] (clock_settime): Likewise.
33903         [XPG3 || XPG4] (nanosleep): Likewise.
33904         [XPG3 || XPG4] (timer_create): Likewise.
33905         [XPG3 || XPG4] (timer_delete): Likewise.
33906         [XPG3 || XPG4] (timer_gettime): Likewise.
33907         [XPG3 || XPG4] (timer_getoverrun): Likewise.
33908         [XPG3 || XPG4] (timer_settime): Likewise.
33909         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
33910         [XPG3 || XPG4] (getlogin_r): Likewise.
33911         [XPG3 || XPG4] (pread): Likewise.
33912         [XPG3 || XPG4] (pthread_atfork): Likewise.
33913         [XPG3 || XPG4] (pwrite): Likewise.
33915         [BZ #14835]
33916         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
33917         <bits/siginfo.h>.
33919 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
33921         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
33922         finalizing MALLSTREAM.
33924         * sysdeps/mach/hurd/syncfs.c: New file.
33926 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33928         [BZ #14719]
33929         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
33930         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
33931         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
33932         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
33933         (_nss_dns_gethostbyname4_r): Likewise.
33934         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
33935         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
33937 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
33939         [BZ #13763]
33940         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
33942 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
33944         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
33945         * elf/cache.c (print_entry): Print ",AArch64" for
33946         FLAG_AARCH64_LIB64
33948         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
33949         * elf/cache.c (print_entry): Print ",hard-float" for
33950         FLAG_ARM_LIBHF.
33952 2012-11-18  David S. Miller  <davem@davemloft.net>
33954         With help from Joseph Myers.
33955         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
33956         cutoff to 2**-13.
33957         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
33958         cutoff to 2**-25.
33959         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
33960         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
33961         small.
33962         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
33963         * math/libm-test.inc (y0_test): New tests.
33964         (y1_test): New tests.
33965         * sysdeps/i386/fpu/libm-test-ulps: Update.
33966         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33967         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33969 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
33971         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
33972         64-bit targets.
33973         * configure: Regenerated.
33975 2012-11-17  David S. Miller  <davem@davemloft.net>
33977         [BZ #14811]
33978         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
33979         nonzero exponents with absolute value below 0x1p-128 to +/-
33980         0x1p-128.
33982 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
33984         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
33986         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
33988         * posix/getconf-speclist.c: New file.
33989         * posix/posix-envs.def: Likewise.
33990         * posix/confstr.c (START_ENV_GROUP): New macro.
33991         (END_ENV_GROUP): Likewise.
33992         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
33993         (KNOWN_PRESENT_ENV_STRING): Likewise.
33994         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
33995         (UNKNOWN_ENVIRONMENT): Likewise.
33996         (confstr): Include posix-envs.def instead of handling
33997         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
33998         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
33999         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34000         (END_ENV_GROUP): Likewise.
34001         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34002         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34003         (UNKNOWN_ENVIRONMENT): Likewise.
34004         (__sysconf): Include posix-envs.def instead of handling associated
34005         cases directly here.
34006         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34007         preprocessing getconf-speclist.c rather than running getconf or
34008         generating empty file.
34010 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
34012         * scripts/check-local-headers.sh: Ignore 'mach' headers.
34014 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
34016         [BZ #14672]
34017         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34019 2012-11-16  David S. Miller  <davem@davemloft.net>
34021         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34022         smaller than LDBL_EPSILON/2.0L, just return xm1.
34024 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
34026         * elf/tst-array1.c (init): Set constructor priority to 1000.
34027         (fini): Set destructor priority to 1000.
34028         * elf/tst-array2dep.c: Likewise.
34030 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34032         [BZ #11741]
34033         * libio/fileops.c (_IO_new_file_write): Correctly return error.
34034         (_IO_new_file_xsputn): Also return EOF if none of the input
34035         data was written when overflow failed.
34036         * libio/iopadn.c (_IO_padn): Likewise.
34037         * libio/iowpadn.c (_IO_wpadn): Likewise.
34038         * stdio-common/tst-put-error.c: Add copyright notice.
34039         (do_test): Add case for printing padded string.
34040         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34041         _IO_padn returned error.
34042         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34043         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34044         return EOF.
34046 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34048         * libio/libioP.h: Add comment note that the references to C++
34049         bits are now obsolete.
34051 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34053         * math/libm-test.inc (check_complex): Use asprintf.
34055 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
34057         * debug/pcprofiledump.c (print_version): Update copyright year.
34058         * malloc/memusagestat.c (print_version): Likewise.
34060 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
34062         [BZ #14831]
34063         * elf/Makefile (tests): Add tst-audit8.
34064         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34065         ($(objpfx)tst-audit8.out): New target.
34066         (tst-audit8-ENV): New variable.
34067         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34068         audit if l_reloc_result is NULL.
34069         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34070         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34071         * elf/tst-audit8.c: New file.
34073 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34075         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34076         * misc/Makefile (CFLAGS-select.c): Define.
34077         * posix/Makefile (CFLAGS-pause.c): Define.
34079 2012-11-13  David S. Miller  <davem@davemloft.net>
34081         * crypt/Makefile: Move test targets after toplevel Rules
34082         inclusion.  Grab any necessary sysdep routines when linking.
34083         * crypt/md5.c (md5_process_block): Remove define, we will always
34084         name it __md5_process_block.
34085         (md5_finish_ctx): Update md5_process_block call.
34086         (md5_stream): Likewise.
34087         (md5_process_bytes): Likewise.
34088         (md5_process_block): Rename to __md5_process_block and move to ...
34089         * crypt/md5-block.c: ... here.
34090         * crypt/sha256.c (sha256_process_block): Move to ...
34091         * crypt/sha256-block.c: ... here.
34092         * crypt/sha512.c (sha512_process_block): Move to ...
34093         * crypt/sha512-block.c: ... here.
34094         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34095         path.
34096         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34097         * sysdeps/sparc/sparc64/multiarch/Makefile
34098         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34099         crypt subdir.
34100         (localedef-aux): Add md5 crypto assembler when in locale subdir.
34101         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34102         multiarch changes.
34103         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34104         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34105         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34106         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34107         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34108         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34109         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34110         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34111         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34112         file.
34113         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34114         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34115         file.
34116         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34118 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
34120         * timezone/tzselect.ksh: Update from tzcode git revision
34121         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34122         * timezone/zdump.c: Likewise.
34123         * timezone/zic.c: Likewise.
34124         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34125         in TZVERSION setting, not $(PKGVERSION).
34126         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
34127         REPORT_BUGS_TO settings.
34129         [BZ #14838]
34130         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34131         macro.
34133 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34135         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34136         detection to immediately after _FP_ROUND().
34137         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34138         bits are 0.
34140 2012-11-11  David S. Miller  <davem@davemloft.net>
34142         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34143         inttypes.h
34144         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34145         __close rather than their public counterparts.
34147 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
34149         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34150         file.
34151         [UNIX98] (sem_timedwait): Do not expect.
34152         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34153         [XPG4 || UNIX98] (sockatmark): Do not expect.
34154         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34155         (clock_getcpuclockid): Do not expect.
34156         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34157         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34158         Do not expect.
34159         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34160         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34161         [UNIX98] (vwscanf): Likewise.
34162         [UNIX98] (vswscanf): Likewise.
34164 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
34166         * timezone/version.h: Remove file.
34167         * timezone/README: Do not refer to version.h.
34168         * timezone/Makefile ($(objpfx)zic.o): New dependency on
34169         $(objpfx)version.h.
34170         ($(objpfx)zdump.o): Likewise.
34171         ($(objpfx)version.h): New target.
34173         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34174         2012i.
34175         * timezone/README: Don't mention modification to tzselect.ksh.
34176         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34177         work on unmodified tzselect.ksh.  Substitute version numbers in
34178         tzselect.ksh.
34180         * Makefile (format-me): Remove.
34181         (INSTALL): Adjust indentation.  Use commands directly instead of
34182         using $(format-me).
34184         * aclocal.m4 (ACX_PKGVERSION): New macro.
34185         (ACX_BUGURL): Likewise.
34186         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34187         (PKGVERSION): New AC_DEFINE_UNQUOTED.
34188         (REPORT_BUGS_TO): Likewise.
34189         * configure: Regenerated.
34190         * config.h.in (PKGVERSION): New macro.
34191         (REPORT_BUGS_TO): Likewise.
34192         * config.make.in (PKGVERSION): New variable.
34193         (PKGVERSION_TEXI): Likewise.
34194         (REPORT_BUGS_TO): Likewise.
34195         (REPORT_BUGS_TEXI): Likewise.
34196         * Makefile (format-me): Use -I$(common-objpfx)manual.
34197         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34198         ($(common-objpfx)manual/%): New target.
34199         (manual/%): Remove target.
34200         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34201         (print_version): Use PKGVERSION.
34202         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34203         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34204         and REPORT_BUGS_TO.
34205         ($(objpfx)xtrace): Likewise.
34206         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34207         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34208         (print_version): Use PKGVERSION.
34209         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34210         (do_version): Use PKGVERSION.
34211         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34212         REPORT_BUGS_TO.
34213         (common-ldd-rewrite): Likewise.
34214         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34215         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34216         (print_version): Use PKGVERSION.
34217         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34218         * elf/pldd.c (argp_program_bug_address): Remove variable.
34219         (more_help): New function.
34220         (argp): Use more_help.
34221         (print_version): Use PKGVERSION.
34222         * elf/sln.c (main): Use PKGVERSION.
34223         (usage): Use REPORT_BUGS_TO.
34224         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34225         (top level): Use PKGVERSION.
34226         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34227         (print_version): Use PKGVERSION.
34228         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34229         (print_version): Use PKGVERSION.
34230         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34231         (print_version): Use PKGVERSION.
34232         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34233         (print_version): Use PKGVERSION.
34234         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34235         (print_version): Use PKGVERSION.
34236         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34237         (print_version): Use PKGVERSION.
34238         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34239         and BUGURL.
34240         ($(objpfx)memusage): Likewise.
34241         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34242         (do_version): Use PKGVERSION.
34243         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34244         (print_version): Use PKGVERSION.
34245         * malloc/mtrace.pl ($PACKAGE): Remove variable.
34246         ($PKGVERSION): New variable.
34247         ($REPORT_BUGS_TO): Likewise.
34248         (usage): Use $REPORT_BUGS_TO.
34249         (top level): Use $PKGVERSION.
34250         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34251         ($(objpfx)pkgvers.texi): New rule.
34252         ($(objpfx)stamp-pkgvers): Likewise.
34253         * manual/install.texi: Include pkgvers.texi.
34254         (--with-pkgversion): Document new configure option.
34255         (--with-bugurl): Likewise.
34256         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34257         than necessarily for this particular distribution.  Use
34258         REPORT_BUGS_TO for where to report bugs.
34259         * INSTALL: Regenerated.
34260         * manual/libc.texinfo: Include pkgvers.texi.
34261         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34262         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34263         (print_version): Use PKGVERSION.
34264         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34265         (print_version): Use PKGVERSION.
34266         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34267         (print_version): Use PKGVERSION.
34268         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34269         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34270         macro.
34271         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34272         (print_version): Use PKGVERSION.
34273         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34274         (print_version): Use PKGVERSION.
34275         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34276         and PKGVERSION.
34278         * timezone/checktab.awk: Update from tzcode 2012i.
34279         * timezone/ialloc.c: Likewise.
34280         * timezone/private.h: Likewise.
34281         * timezone/scheck.c: Likewise.
34282         * timezone/tzfile.h: Likewise.
34283         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34284         (TZVERSION): Hardcode tzcode version number.
34285         * timezone/zdump.c: Update from tzcode 2012i.
34286         * timezone/zic.c: Likewise.
34287         * timezone/version.h: New file.
34288         * timezone/README: Describe version.h.  Update upstream location.
34290         [BZ #14824]
34291         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34292         (mktemp): Enable declaration.
34293         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34294         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34295         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34296         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34297         Likewise.
34298         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34299         Likewise.
34300         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34301         Likewise.
34302         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34303         Likewise.
34304         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34305         Likewise.
34306         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34307         Likewise.
34309         [BZ #14821]
34310         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34311         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
34312         for copies of such integer values.
34313         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34314         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34316 2012-11-09  Andreas Jaeger  <aj@suse.de>
34318         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34319         definitions and declarations that are provided by
34320         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34322 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34324         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
34325         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34326         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34327         definition.
34329 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34331         * elf/elf.h: Update comment before AArch64 relocations.
34333 2012-11-07  David S. Miller  <davem@davemloft.net>
34335         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34336         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34337         (__start_context): Declare.
34338         (__makecontext_ret): Delete.
34339         (__makecontext): Hook up __start_context instead of
34340         __makecontext_ret.
34341         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34342         (sysdep_routines): Add __start_context when in stdlib.
34344 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34346         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34347         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34348         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
34349         hardcoded "nm".
34350         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
34351         (READELF): New variable.  Use it instead of hardcoded "readelf".
34353 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
34355         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34356         * sysdeps/x86/Makefile: Here.
34357         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34358         * sysdeps/x86/tst-xmmymm.sh: This.
34360 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34362         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34363         expectations.
34364         [UNIX98] (pthread_barrier_t): Do not expect.
34365         [UNIX98] (pthread_barrierattr_t): Likewise.
34366         [UNIX98] (pthread_spinlock_t): Likewise.
34367         [UNIX98] (pthread_barrier_destroy): Likewise.
34368         [UNIX98] (pthread_barrier_init): Likewise.
34369         [UNIX98] (pthread_barrier_wait): Likewise.
34370         [UNIX98] (pthread_barrierattr_destroy): Likewise.
34371         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34372         [UNIX98] (pthread_barrierattr_init): Likewise.
34373         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34374         [UNIX98] (pthread_getcpuclockid): Likewise.
34375         [UNIX98] (pthread_mutex_timedlock): Likewise.
34376         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34377         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34378         [UNIX98] (pthread_sigmask): Likewise.
34379         [UNIX98] (pthread_spin_destroy): Likewise.
34380         [UNIX98] (pthread_spin_init): Likewise.
34381         [UNIX98] (pthread_spin_lock): Likewise.
34382         [UNIX98] (pthread_spin_trylock): Likewise.
34383         [UNIX98] (pthread_spin_unlock): Likewise.
34384         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34385         Do not expect.
34386         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34387         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34388         [XPG3 || XPG4] (pthread_cond_t): Likewise.
34389         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34390         [XPG3 || XPG4] (pthread_key_t): Likewise.
34391         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34392         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34393         [XPG3 || XPG4] (pthread_once_t): Likewise.
34394         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34395         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34396         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34397         [XPG3 || XPG4] (pthread_t): Likewise.
34399         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34400         not expect.
34401         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34403         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34404         Change function return type to int.
34406         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34407         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34408         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34409         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34410         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34411         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34412         [!POSIX] (posix_madvise): Likewise.
34413         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34414         && !UNIX98].
34415         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34416         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34417         (mode_t): Likewise.
34418         (posix_mem_offset): Likewise.
34419         (posix_typed_mem_get_info): Likewise.
34420         (posix_typed_mem_open): Likewise.
34422         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
34423         Change condition to [XOPEN2K8].
34425         * conform/conformtest.pl: Preprocess allow-header data with -x c
34426         instead of from stdin.
34427         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
34428         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
34429         [C99-based standards] (cerfc): Likewise.
34430         [C99-based standards] (cexp2): Likewise.
34431         [C99-based standards] (cexpm1): Likewise.
34432         [C99-based standards] (clog10): Likewise.
34433         [C99-based standards] (clog1p): Likewise.
34434         [C99-based standards] (clog2): Likewise.
34435         [C99-based standards] (clgamma): Likewise.
34436         [C99-based standards] (ctgamma): Likewise.
34437         [C99-based standards] (cerff): Likewise.
34438         [C99-based standards] (cerfcf): Likewise.
34439         [C99-based standards] (cexp2f): Likewise.
34440         [C99-based standards] (cexpm1f): Likewise.
34441         [C99-based standards] (clog10f): Likewise.
34442         [C99-based standards] (clog1pf): Likewise.
34443         [C99-based standards] (clog2f): Likewise.
34444         [C99-based standards] (clgammaf): Likewise.
34445         [C99-based standards] (ctgammaf): Likewise.
34446         [C99-based standards] (cerfl): Likewise.
34447         [C99-based standards] (cerfcl): Likewise.
34448         [C99-based standards] (cexp2l): Likewise.
34449         [C99-based standards] (cexpm1l): Likewise.
34450         [C99-based standards] (clog10l): Likewise.
34451         [C99-based standards] (clog1pl): Likewise.
34452         [C99-based standards] (clog2l): Likewise.
34453         [C99-based standards] (clgammal): Likewise.
34454         [C99-based standards] (ctgammal): Likewise.
34455         * conform/data/inttypes.h-data [C99-based standards]: Include
34456         stdint.h-data.  Remove all expectations for stdint.h contents.
34457         [C99-based standards] (PRI*): Do not allow.
34458         [C99-based standards] (SCN*): Likewise.
34459         [C99-based standards] (*_t): Likewise.
34460         [C99-based-standards] (PRId8): Expect macro.
34461         [C99-based-standards] (PRIi8): Likewise.
34462         [C99-based-standards] (PRIo8): Likewise.
34463         [C99-based-standards] (PRIu8): Likewise.
34464         [C99-based-standards] (PRIx8): Likewise.
34465         [C99-based-standards] (PRIX8): Likewise.
34466         [C99-based-standards] (SCNd8): Likewise.
34467         [C99-based-standards] (SCNi8): Likewise.
34468         [C99-based-standards] (SCNo8): Likewise.
34469         [C99-based-standards] (SCNu8): Likewise.
34470         [C99-based-standards] (SCNx8): Likewise.
34471         [C99-based-standards] (PRIdLEAST8): Likewise.
34472         [C99-based-standards] (PRIiLEAST8): Likewise.
34473         [C99-based-standards] (PRIoLEAST8): Likewise.
34474         [C99-based-standards] (PRIuLEAST8): Likewise.
34475         [C99-based-standards] (PRIxLEAST8): Likewise.
34476         [C99-based-standards] (PRIXLEAST8): Likewise.
34477         [C99-based-standards] (SCNdLEAST8): Likewise.
34478         [C99-based-standards] (SCNiLEAST8): Likewise.
34479         [C99-based-standards] (SCNoLEAST8): Likewise.
34480         [C99-based-standards] (SCNuLEAST8): Likewise.
34481         [C99-based-standards] (SCNxLEAST8): Likewise.
34482         [C99-based-standards] (PRIdFAST8): Likewise.
34483         [C99-based-standards] (PRIiFAST8): Likewise.
34484         [C99-based-standards] (PRIoFAST8): Likewise.
34485         [C99-based-standards] (PRIuFAST8): Likewise.
34486         [C99-based-standards] (PRIxFAST8): Likewise.
34487         [C99-based-standards] (PRIXFAST8): Likewise.
34488         [C99-based-standards] (SCNdFAST8): Likewise.
34489         [C99-based-standards] (SCNiFAST8): Likewise.
34490         [C99-based-standards] (SCNoFAST8): Likewise.
34491         [C99-based-standards] (SCNuFAST8): Likewise.
34492         [C99-based-standards] (SCNxFAST8): Likewise.
34493         [C99-based-standards] (PRId16): Likewise.
34494         [C99-based-standards] (PRIi16): Likewise.
34495         [C99-based-standards] (PRIo16): Likewise.
34496         [C99-based-standards] (PRIu16): Likewise.
34497         [C99-based-standards] (PRIx16): Likewise.
34498         [C99-based-standards] (PRIX16): Likewise.
34499         [C99-based-standards] (SCNd16): Likewise.
34500         [C99-based-standards] (SCNi16): Likewise.
34501         [C99-based-standards] (SCNo16): Likewise.
34502         [C99-based-standards] (SCNu16): Likewise.
34503         [C99-based-standards] (SCNx16): Likewise.
34504         [C99-based-standards] (PRIdLEAST16): Likewise.
34505         [C99-based-standards] (PRIiLEAST16): Likewise.
34506         [C99-based-standards] (PRIoLEAST16): Likewise.
34507         [C99-based-standards] (PRIuLEAST16): Likewise.
34508         [C99-based-standards] (PRIxLEAST16): Likewise.
34509         [C99-based-standards] (PRIXLEAST16): Likewise.
34510         [C99-based-standards] (SCNdLEAST16): Likewise.
34511         [C99-based-standards] (SCNiLEAST16): Likewise.
34512         [C99-based-standards] (SCNoLEAST16): Likewise.
34513         [C99-based-standards] (SCNuLEAST16): Likewise.
34514         [C99-based-standards] (SCNxLEAST16): Likewise.
34515         [C99-based-standards] (PRIdFAST16): Likewise.
34516         [C99-based-standards] (PRIiFAST16): Likewise.
34517         [C99-based-standards] (PRIoFAST16): Likewise.
34518         [C99-based-standards] (PRIuFAST16): Likewise.
34519         [C99-based-standards] (PRIxFAST16): Likewise.
34520         [C99-based-standards] (PRIXFAST16): Likewise.
34521         [C99-based-standards] (SCNdFAST16): Likewise.
34522         [C99-based-standards] (SCNiFAST16): Likewise.
34523         [C99-based-standards] (SCNoFAST16): Likewise.
34524         [C99-based-standards] (SCNuFAST16): Likewise.
34525         [C99-based-standards] (SCNxFAST16): Likewise.
34526         [C99-based-standards] (PRId32): Likewise.
34527         [C99-based-standards] (PRIi32): Likewise.
34528         [C99-based-standards] (PRIo32): Likewise.
34529         [C99-based-standards] (PRIu32): Likewise.
34530         [C99-based-standards] (PRIx32): Likewise.
34531         [C99-based-standards] (PRIX32): Likewise.
34532         [C99-based-standards] (SCNd32): Likewise.
34533         [C99-based-standards] (SCNi32): Likewise.
34534         [C99-based-standards] (SCNo32): Likewise.
34535         [C99-based-standards] (SCNu32): Likewise.
34536         [C99-based-standards] (SCNx32): Likewise.
34537         [C99-based-standards] (PRIdLEAST32): Likewise.
34538         [C99-based-standards] (PRIiLEAST32): Likewise.
34539         [C99-based-standards] (PRIoLEAST32): Likewise.
34540         [C99-based-standards] (PRIuLEAST32): Likewise.
34541         [C99-based-standards] (PRIxLEAST32): Likewise.
34542         [C99-based-standards] (PRIXLEAST32): Likewise.
34543         [C99-based-standards] (SCNdLEAST32): Likewise.
34544         [C99-based-standards] (SCNiLEAST32): Likewise.
34545         [C99-based-standards] (SCNoLEAST32): Likewise.
34546         [C99-based-standards] (SCNuLEAST32): Likewise.
34547         [C99-based-standards] (SCNxLEAST32): Likewise.
34548         [C99-based-standards] (PRIdFAST32): Likewise.
34549         [C99-based-standards] (PRIiFAST32): Likewise.
34550         [C99-based-standards] (PRIoFAST32): Likewise.
34551         [C99-based-standards] (PRIuFAST32): Likewise.
34552         [C99-based-standards] (PRIxFAST32): Likewise.
34553         [C99-based-standards] (PRIXFAST32): Likewise.
34554         [C99-based-standards] (SCNdFAST32): Likewise.
34555         [C99-based-standards] (SCNiFAST32): Likewise.
34556         [C99-based-standards] (SCNoFAST32): Likewise.
34557         [C99-based-standards] (SCNuFAST32): Likewise.
34558         [C99-based-standards] (SCNxFAST32): Likewise.
34559         [C99-based-standards] (PRId64): Likewise.
34560         [C99-based-standards] (PRIi64): Likewise.
34561         [C99-based-standards] (PRIo64): Likewise.
34562         [C99-based-standards] (PRIu64): Likewise.
34563         [C99-based-standards] (PRIx64): Likewise.
34564         [C99-based-standards] (PRIX64): Likewise.
34565         [C99-based-standards] (SCNd64): Likewise.
34566         [C99-based-standards] (SCNi64): Likewise.
34567         [C99-based-standards] (SCNo64): Likewise.
34568         [C99-based-standards] (SCNu64): Likewise.
34569         [C99-based-standards] (SCNx64): Likewise.
34570         [C99-based-standards] (PRIdLEAST64): Likewise.
34571         [C99-based-standards] (PRIiLEAST64): Likewise.
34572         [C99-based-standards] (PRIoLEAST64): Likewise.
34573         [C99-based-standards] (PRIuLEAST64): Likewise.
34574         [C99-based-standards] (PRIxLEAST64): Likewise.
34575         [C99-based-standards] (PRIXLEAST64): Likewise.
34576         [C99-based-standards] (SCNdLEAST64): Likewise.
34577         [C99-based-standards] (SCNiLEAST64): Likewise.
34578         [C99-based-standards] (SCNoLEAST64): Likewise.
34579         [C99-based-standards] (SCNuLEAST64): Likewise.
34580         [C99-based-standards] (SCNxLEAST64): Likewise.
34581         [C99-based-standards] (PRIdFAST64): Likewise.
34582         [C99-based-standards] (PRIiFAST64): Likewise.
34583         [C99-based-standards] (PRIoFAST64): Likewise.
34584         [C99-based-standards] (PRIuFAST64): Likewise.
34585         [C99-based-standards] (PRIxFAST64): Likewise.
34586         [C99-based-standards] (PRIXFAST64): Likewise.
34587         [C99-based-standards] (SCNdFAST64): Likewise.
34588         [C99-based-standards] (SCNiFAST64): Likewise.
34589         [C99-based-standards] (SCNoFAST64): Likewise.
34590         [C99-based-standards] (SCNuFAST64): Likewise.
34591         [C99-based-standards] (SCNxFAST64): Likewise.
34592         [C99-based-standards] (PRIdMAX): Likewise.
34593         [C99-based-standards] (PRIiMAX): Likewise.
34594         [C99-based-standards] (PRIoMAX): Likewise.
34595         [C99-based-standards] (PRIuMAX): Likewise.
34596         [C99-based-standards] (PRIxMAX): Likewise.
34597         [C99-based-standards] (PRIXMAX): Likewise.
34598         [C99-based-standards] (SCNdMAX): Likewise.
34599         [C99-based-standards] (SCNiMAX): Likewise.
34600         [C99-based-standards] (SCNoMAX): Likewise.
34601         [C99-based-standards] (SCNuMAX): Likewise.
34602         [C99-based-standards] (SCNxMAX): Likewise.
34603         [C99-based-standards] (PRIdPTR): Likewise.
34604         [C99-based-standards] (PRIiPTR): Likewise.
34605         [C99-based-standards] (PRIoPTR): Likewise.
34606         [C99-based-standards] (PRIuPTR): Likewise.
34607         [C99-based-standards] (PRIxPTR): Likewise.
34608         [C99-based-standards] (PRIXPTR): Likewise.
34609         [C99-based-standards] (SCNdPTR): Likewise.
34610         [C99-based-standards] (SCNiPTR): Likewise.
34611         [C99-based-standards] (SCNoPTR): Likewise.
34612         [C99-based-standards] (SCNuPTR): Likewise.
34613         [C99-based-standards] (SCNxPTR): Likewise.
34614         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
34615         allow.
34616         * conform/data/stdint.h-data: Update comments to clarify
34617         requirements.
34618         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
34619         type.
34620         [C99-based standards] (INT8_MAX): Likewise.
34621         [C99-based standards] (INT16_MIN): Likewise.
34622         [C99-based standards] (INT16_MAX): Likewise.
34623         [C99-based standards] (INT32_MIN): Likewise.
34624         [C99-based standards] (INT32_MAX): Likewise.
34625         [C99-based standards] (INT64_MIN): Likewise.
34626         [C99-based standards] (INT64_MAX): Likewise.
34627         [C99-based standards] (UINT8_MAX): Likewise.
34628         [C99-based standards] (UINT16_MAX): Likewise.
34629         [C99-based standards] (UINT32_MAX): Likewise.
34630         [C99-based standards] (UINT64_MAX): Likewise.
34631         [C99-based standards] (INT_LEAST8_MIN): Likewise.
34632         [C99-based standards] (INT_LEAST8_MAX): Likewise.
34633         [C99-based standards] (INT_LEAST16_MIN): Likewise.
34634         [C99-based standards] (INT_LEAST16_MAX): Likewise.
34635         [C99-based standards] (INT_LEAST32_MIN): Likewise.
34636         [C99-based standards] (INT_LEAST32_MAX): Likewise.
34637         [C99-based standards] (INT_LEAST64_MIN): Likewise.
34638         [C99-based standards] (INT_LEAST64_MAX): Likewise.
34639         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
34640         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
34641         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
34642         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
34643         [C99-based standards] (INT_FAST8_MIN): Likewise.
34644         [C99-based standards] (INT_FAST8_MAX): Likewise.
34645         [C99-based standards] (INT_FAST16_MIN): Likewise.
34646         [C99-based standards] (INT_FAST16_MAX): Likewise.
34647         [C99-based standards] (INT_FAST32_MIN): Likewise.
34648         [C99-based standards] (INT_FAST32_MAX): Likewise.
34649         [C99-based standards] (INT_FAST64_MIN): Likewise.
34650         [C99-based standards] (INT_FAST64_MAX): Likewise.
34651         [C99-based standards] (UINT_FAST8_MAX): Likewise.
34652         [C99-based standards] (UINT_FAST16_MAX): Likewise.
34653         [C99-based standards] (UINT_FAST32_MAX): Likewise.
34654         [C99-based standards] (UINT_FAST64_MAX): Likewise.
34655         [C99-based standards] (INTPTR_MIN): Likewise.
34656         [C99-based standards] (INTPTR_MAX): Likewise.
34657         [C99-based standards] (UINTPTR_MAX): Likewise.
34658         [C99-based standards] (INTMAX_MIN): Likewise.
34659         [C99-based standards] (INTMAX_MAX): Likewise.
34660         [C99-based standards] (UINTMAX_MAX): Likewise.
34661         [C99-based standards] (PTRDIFF_MIN): Likewise.
34662         [C99-based standards] (PTRDIFF_MAX): Likewise.
34663         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
34664         [C99-based standards] (SIZE_MAX): Likewise.
34665         [C99-based standards] (WCHAR_MAX): Likewise.
34666         [C99-based standards] (WINT_MAX): Likewise.
34667         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
34668         constraint on value.
34669         [C99-based standards] (WCHAR_MIN): Likewise.
34670         [C99-based standards] (WINT_MIN): Likewise.
34671         [C99-based standards] (*_t): Allow.
34672         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
34673         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
34674         Include math.h-data and complex.h-data.  Remove all expectations
34675         of math.h and complex.h contents.
34676         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
34677         at end of line.
34678         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
34679         (struct tm): Expect tag.
34680         [C99-based-standards] (wcstof): Expect function.
34681         [C99-based-standards] (wcstold): Likewise.
34682         [C99-based-standards] (wcstoll): Likewise.
34683         [C99-based-standards] (wcstoull): Likewise.
34684         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
34685         macro-int-constant.  Specify type.
34686         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
34687         constraint on value.
34688         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34689         Specify type.
34690         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
34691         Specify value.
34692         [ISO C standards]: Do not allow headers.
34693         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
34694         wcs[abcdefghijklmnopqrstuvwxyz]*.
34695         [ISO C standards] (*_t): Do not allow.
34696         * conform/data/wctype.h-data [C99-based standards] (iswblank):
34697         Expect function.
34698         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
34699         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
34700         Specify type.
34701         [ISO C standards]: Do not allow headers.
34702         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
34703         is[abcdefghijklmnopqrstuvwxyz]*.
34704         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
34705         to[abcdefghijklmnopqrstuvwxyz]*.
34706         [ISO C standards] (*_t): Do not allow.
34707         * conform/data/stdalign.h-data: New file.
34708         * conform/data/stdbool.h-data: Likewise.
34709         * conform/data/stdnoreturn.h-data: Likewise.
34711 2012-11-07  Roland McGrath  <roland@hack.frob.com>
34713         [BZ #14815]
34714         * manual/filesys.texi (Directory Entries): Typo fix.
34715         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
34717 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34719         * elf/elf.h (EM_AARCH64): New macro.
34720         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
34721         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
34722         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
34723         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
34724         (R_AARCH64_TLSDESC): Likewise.
34725         (NT_ARM_TLS): Likewise.
34726         (NT_ARM_HW_BREAK): Likewise.
34727         (NT_ARM_HW_WATCH): Likewise.
34729 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34731         [BZ #14811]
34732         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
34733         (__ieee754_powl): Saturate nonzero exponents with absolute value
34734         below 0x1p-79 to +/- 0x1p-79.
34735         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
34736         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
34737         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
34738         nonzero exponents with absolute value below 0x1p-32 to +/-
34739         0x1p-32.
34740         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
34741         (__ieee754_powl): Saturate nonzero exponents with absolute value
34742         below 0x1p-79 to +/- 0x1p-79.
34743         * math/libm-test.inc (pow_test): Add more tests.
34745 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34747         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
34748         _dl_s390_cap_flags with kernel. Increase string length.
34749         (_dl_s390_platforms): Add z196 and zEC12.
34751 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34753         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
34754         Change XOPEN21K to XOPEN2K.
34756 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
34758         * string/memmove.c: Use memcpy when possible.
34760 2012-11-06  Andreas Jaeger  <aj@suse.de>
34762         * po/eo.po: Update from translation team.
34764 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
34766         [BZ #14793]
34767         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
34768         exponent and small x and y exponents, scale x or y up.  Increase
34769         by 2 the exponent used in scaling up.
34770         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34771         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34772         * math/libm-test.inc (fma_test): Add more tests.
34773         (fma_test_towardzero): Likewise.
34774         (fma_test_downward): Likewise.
34775         (fma_test_upward): Likewise.
34777 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
34779         [BZ #14805]
34780         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
34781         fenv_t *.
34783         [BZ #14801]
34784         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
34785         namespace for names of struct fields.
34786         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
34787         fenv_t fields.
34788         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
34789         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
34791 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
34793         [BZ #3665]
34794         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
34796 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
34798         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
34799         PTR_DEMANGLE.
34801         [BZ #5246]
34802         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
34803         PTR_DEMANGLE.
34805 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
34807         [BZ #14797]
34808         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
34809         definitely overflow as x * y not x * y + z.
34810         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34811         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34812         * math/libm-test.inc (fma_test): Add more tests.
34813         (fma_test_towardzero): Likewise.
34814         (fma_test_downward): Likewise.
34815         (fma_test_upward): Likewise.
34817 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
34819         [BZ #157]
34821         * include/stub-tag.h: Remove file.
34822         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
34823         '#include' of it.
34824         * manual/maint.texi (Porting): Don't reference it.
34825         * Makerules ($(objpfx)stubs): Likewise.
34826         * dirent/closedir.c: Don't include <stub-tag.h>.
34827         * dirent/dirfd.c: Likewise.
34828         * dirent/fdopendir.c: Likewise.
34829         * dirent/getdents.c: Likewise.
34830         * dirent/getdents64.c: Likewise.
34831         * dirent/opendir.c: Likewise.
34832         * dirent/readdir.c: Likewise.
34833         * dirent/readdir64.c: Likewise.
34834         * dirent/readdir64_r.c: Likewise.
34835         * dirent/readdir_r.c: Likewise.
34836         * dirent/rewinddir.c: Likewise.
34837         * dirent/seekdir.c: Likewise.
34838         * dirent/telldir.c: Likewise.
34839         * gmon/profil.c: Likewise.
34840         * grp/setgroups.c: Likewise.
34841         * inet/if_index.c: Likewise.
34842         * io/access.c: Likewise.
34843         * io/chdir.c: Likewise.
34844         * io/chmod.c: Likewise.
34845         * io/chown.c: Likewise.
34846         * io/close.c: Likewise.
34847         * io/dup.c: Likewise.
34848         * io/dup2.c: Likewise.
34849         * io/dup3.c: Likewise.
34850         * io/euidaccess.c: Likewise.
34851         * io/faccessat.c: Likewise.
34852         * io/fchdir.c: Likewise.
34853         * io/fchmod.c: Likewise.
34854         * io/fchmodat.c: Likewise.
34855         * io/fchown.c: Likewise.
34856         * io/fchownat.c: Likewise.
34857         * io/fcntl.c: Likewise.
34858         * io/flock.c: Likewise.
34859         * io/fstatfs.c: Likewise.
34860         * io/fstatfs64.c: Likewise.
34861         * io/fstatvfs.c: Likewise.
34862         * io/fstatvfs64.c: Likewise.
34863         * io/futimens.c: Likewise.
34864         * io/fxstat.c: Likewise.
34865         * io/fxstat64.c: Likewise.
34866         * io/fxstatat.c: Likewise.
34867         * io/fxstatat64.c: Likewise.
34868         * io/getcwd.c: Likewise.
34869         * io/isatty.c: Likewise.
34870         * io/lchmod.c: Likewise.
34871         * io/lchown.c: Likewise.
34872         * io/link.c: Likewise.
34873         * io/linkat.c: Likewise.
34874         * io/lseek.c: Likewise.
34875         * io/lseek64.c: Likewise.
34876         * io/lxstat64.c: Likewise.
34877         * io/mkdir.c: Likewise.
34878         * io/mkdirat.c: Likewise.
34879         * io/mkfifo.c: Likewise.
34880         * io/mkfifoat.c: Likewise.
34881         * io/open.c: Likewise.
34882         * io/open64.c: Likewise.
34883         * io/openat.c: Likewise.
34884         * io/openat64.c: Likewise.
34885         * io/pipe.c: Likewise.
34886         * io/pipe2.c: Likewise.
34887         * io/poll.c: Likewise.
34888         * io/posix_fadvise.c: Likewise.
34889         * io/posix_fadvise64.c: Likewise.
34890         * io/posix_fallocate.c: Likewise.
34891         * io/posix_fallocate64.c: Likewise.
34892         * io/read.c: Likewise.
34893         * io/readlink.c: Likewise.
34894         * io/readlinkat.c: Likewise.
34895         * io/rmdir.c: Likewise.
34896         * io/sendfile.c: Likewise.
34897         * io/sendfile64.c: Likewise.
34898         * io/statfs.c: Likewise.
34899         * io/statfs64.c: Likewise.
34900         * io/statvfs.c: Likewise.
34901         * io/statvfs64.c: Likewise.
34902         * io/symlink.c: Likewise.
34903         * io/symlinkat.c: Likewise.
34904         * io/ttyname.c: Likewise.
34905         * io/ttyname_r.c: Likewise.
34906         * io/umask.c: Likewise.
34907         * io/unlink.c: Likewise.
34908         * io/unlinkat.c: Likewise.
34909         * io/utime.c: Likewise.
34910         * io/utimensat.c: Likewise.
34911         * io/write.c: Likewise.
34912         * io/xmknod.c: Likewise.
34913         * io/xmknodat.c: Likewise.
34914         * io/xstat.c: Likewise.
34915         * io/xstat64.c: Likewise.
34916         * login/getpt.c: Likewise.
34917         * login/grantpt.c: Likewise.
34918         * login/unlockpt.c: Likewise.
34919         * math/e_acoshl.c: Likewise.
34920         * math/e_acosl.c: Likewise.
34921         * math/e_asinl.c: Likewise.
34922         * math/e_atan2l.c: Likewise.
34923         * math/e_atanhl.c: Likewise.
34924         * math/e_coshl.c: Likewise.
34925         * math/e_expl.c: Likewise.
34926         * math/e_fmodl.c: Likewise.
34927         * math/e_gammal_r.c: Likewise.
34928         * math/e_hypotl.c: Likewise.
34929         * math/e_j0l.c: Likewise.
34930         * math/e_j1l.c: Likewise.
34931         * math/e_jnl.c: Likewise.
34932         * math/e_lgammal_r.c: Likewise.
34933         * math/e_log10l.c: Likewise.
34934         * math/e_log2l.c: Likewise.
34935         * math/e_logl.c: Likewise.
34936         * math/e_powl.c: Likewise.
34937         * math/e_rem_pio2l.c: Likewise.
34938         * math/e_sinhl.c: Likewise.
34939         * math/e_sqrtl.c: Likewise.
34940         * math/fclrexcpt.c: Likewise.
34941         * math/fedisblxcpt.c: Likewise.
34942         * math/feenablxcpt.c: Likewise.
34943         * math/fegetenv.c: Likewise.
34944         * math/fegetexcept.c: Likewise.
34945         * math/fegetround.c: Likewise.
34946         * math/feholdexcpt.c: Likewise.
34947         * math/fesetenv.c: Likewise.
34948         * math/fesetround.c: Likewise.
34949         * math/feupdateenv.c: Likewise.
34950         * math/fgetexcptflg.c: Likewise.
34951         * math/fraiseexcpt.c: Likewise.
34952         * math/fsetexcptflg.c: Likewise.
34953         * math/ftestexcept.c: Likewise.
34954         * math/k_cosl.c: Likewise.
34955         * math/k_rem_pio2l.c: Likewise.
34956         * math/k_sinl.c: Likewise.
34957         * math/k_tanl.c: Likewise.
34958         * math/s_asinhl.c: Likewise.
34959         * math/s_atanl.c: Likewise.
34960         * math/s_cbrtl.c: Likewise.
34961         * math/s_erfl.c: Likewise.
34962         * math/s_expm1l.c: Likewise.
34963         * math/s_log1pl.c: Likewise.
34964         * math/s_tanhl.c: Likewise.
34965         * misc/acct.c: Likewise.
34966         * misc/brk.c: Likewise.
34967         * misc/chflags.c: Likewise.
34968         * misc/chroot.c: Likewise.
34969         * misc/fchflags.c: Likewise.
34970         * misc/fgetxattr.c: Likewise.
34971         * misc/flistxattr.c: Likewise.
34972         * misc/fremovexattr.c: Likewise.
34973         * misc/fsetxattr.c: Likewise.
34974         * misc/fsync.c: Likewise.
34975         * misc/ftruncate.c: Likewise.
34976         * misc/futimes.c: Likewise.
34977         * misc/futimesat.c: Likewise.
34978         * misc/getdomain.c: Likewise.
34979         * misc/getdtsz.c: Likewise.
34980         * misc/gethostid.c: Likewise.
34981         * misc/gethostname.c: Likewise.
34982         * misc/getloadavg.c: Likewise.
34983         * misc/getpagesize.c: Likewise.
34984         * misc/getsysstats.c: Likewise.
34985         * misc/getxattr.c: Likewise.
34986         * misc/gtty.c: Likewise.
34987         * misc/ioctl.c: Likewise.
34988         * misc/lgetxattr.c: Likewise.
34989         * misc/listxattr.c: Likewise.
34990         * misc/llistxattr.c: Likewise.
34991         * misc/lremovexattr.c: Likewise.
34992         * misc/lsetxattr.c: Likewise.
34993         * misc/lutimes.c: Likewise.
34994         * misc/madvise.c: Likewise.
34995         * misc/mincore.c: Likewise.
34996         * misc/mlock.c: Likewise.
34997         * misc/mlockall.c: Likewise.
34998         * misc/mmap.c: Likewise.
34999         * misc/mprotect.c: Likewise.
35000         * misc/msync.c: Likewise.
35001         * misc/munlock.c: Likewise.
35002         * misc/munlockall.c: Likewise.
35003         * misc/munmap.c: Likewise.
35004         * misc/preadv.c: Likewise.
35005         * misc/preadv64.c: Likewise.
35006         * misc/ptrace.c: Likewise.
35007         * misc/pwritev.c: Likewise.
35008         * misc/pwritev64.c: Likewise.
35009         * misc/readv.c: Likewise.
35010         * misc/reboot.c: Likewise.
35011         * misc/remap_file_pages.c: Likewise.
35012         * misc/removexattr.c: Likewise.
35013         * misc/revoke.c: Likewise.
35014         * misc/select.c: Likewise.
35015         * misc/setdomain.c: Likewise.
35016         * misc/setegid.c: Likewise.
35017         * misc/seteuid.c: Likewise.
35018         * misc/sethostid.c: Likewise.
35019         * misc/sethostname.c: Likewise.
35020         * misc/setregid.c: Likewise.
35021         * misc/setreuid.c: Likewise.
35022         * misc/setxattr.c: Likewise.
35023         * misc/sstk.c: Likewise.
35024         * misc/stty.c: Likewise.
35025         * misc/swapoff.c: Likewise.
35026         * misc/swapon.c: Likewise.
35027         * misc/sync.c: Likewise.
35028         * misc/syncfs.c: Likewise.
35029         * misc/syscall.c: Likewise.
35030         * misc/truncate.c: Likewise.
35031         * misc/ualarm.c: Likewise.
35032         * misc/usleep.c: Likewise.
35033         * misc/ustat.c: Likewise.
35034         * misc/utimes.c: Likewise.
35035         * misc/vhangup.c: Likewise.
35036         * misc/writev.c: Likewise.
35037         * posix/_exit.c: Likewise.
35038         * posix/alarm.c: Likewise.
35039         * posix/execve.c: Likewise.
35040         * posix/fexecve.c: Likewise.
35041         * posix/fork.c: Likewise.
35042         * posix/fpathconf.c: Likewise.
35043         * posix/getaddrinfo.c: Likewise.
35044         * posix/getegid.c: Likewise.
35045         * posix/geteuid.c: Likewise.
35046         * posix/getgid.c: Likewise.
35047         * posix/getgroups.c: Likewise.
35048         * posix/getlogin.c: Likewise.
35049         * posix/getlogin_r.c: Likewise.
35050         * posix/getpgid.c: Likewise.
35051         * posix/getpid.c: Likewise.
35052         * posix/getppid.c: Likewise.
35053         * posix/getresgid.c: Likewise.
35054         * posix/getresuid.c: Likewise.
35055         * posix/getsid.c: Likewise.
35056         * posix/getuid.c: Likewise.
35057         * posix/glob64.c: Likewise.
35058         * posix/nanosleep.c: Likewise.
35059         * posix/pathconf.c: Likewise.
35060         * posix/pause.c: Likewise.
35061         * posix/posix_madvise.c: Likewise.
35062         * posix/pread.c: Likewise.
35063         * posix/pread64.c: Likewise.
35064         * posix/pwrite.c: Likewise.
35065         * posix/pwrite64.c: Likewise.
35066         * posix/sched_getaffinity.c: Likewise.
35067         * posix/sched_getp.c: Likewise.
35068         * posix/sched_gets.c: Likewise.
35069         * posix/sched_primax.c: Likewise.
35070         * posix/sched_primin.c: Likewise.
35071         * posix/sched_rr_gi.c: Likewise.
35072         * posix/sched_setaffinity.c: Likewise.
35073         * posix/sched_setp.c: Likewise.
35074         * posix/sched_sets.c: Likewise.
35075         * posix/sched_yield.c: Likewise.
35076         * posix/setgid.c: Likewise.
35077         * posix/setlogin.c: Likewise.
35078         * posix/setpgid.c: Likewise.
35079         * posix/setresgid.c: Likewise.
35080         * posix/setresuid.c: Likewise.
35081         * posix/setsid.c: Likewise.
35082         * posix/setuid.c: Likewise.
35083         * posix/sleep.c: Likewise.
35084         * posix/spawni.c: Likewise.
35085         * posix/sysconf.c: Likewise.
35086         * posix/times.c: Likewise.
35087         * posix/wait.c: Likewise.
35088         * posix/wait3.c: Likewise.
35089         * posix/wait4.c: Likewise.
35090         * posix/waitpid.c: Likewise.
35091         * resolv/gai_sigqueue.c: Likewise.
35092         * resource/getpriority.c: Likewise.
35093         * resource/getrlimit.c: Likewise.
35094         * resource/getrusage.c: Likewise.
35095         * resource/nice.c: Likewise.
35096         * resource/setpriority.c: Likewise.
35097         * resource/setrlimit.c: Likewise.
35098         * resource/ulimit.c: Likewise.
35099         * rt/aio_cancel.c: Likewise.
35100         * rt/aio_fsync.c: Likewise.
35101         * rt/aio_read.c: Likewise.
35102         * rt/aio_sigqueue.c: Likewise.
35103         * rt/aio_suspend.c: Likewise.
35104         * rt/aio_write.c: Likewise.
35105         * rt/clock_getres.c: Likewise.
35106         * rt/clock_gettime.c: Likewise.
35107         * rt/clock_nanosleep.c: Likewise.
35108         * rt/clock_settime.c: Likewise.
35109         * rt/lio_listio.c: Likewise.
35110         * rt/mq_close.c: Likewise.
35111         * rt/mq_getattr.c: Likewise.
35112         * rt/mq_notify.c: Likewise.
35113         * rt/mq_open.c: Likewise.
35114         * rt/mq_receive.c: Likewise.
35115         * rt/mq_send.c: Likewise.
35116         * rt/mq_setattr.c: Likewise.
35117         * rt/mq_timedreceive.c: Likewise.
35118         * rt/mq_timedsend.c: Likewise.
35119         * rt/mq_unlink.c: Likewise.
35120         * rt/shm_open.c: Likewise.
35121         * rt/shm_unlink.c: Likewise.
35122         * rt/timer_create.c: Likewise.
35123         * rt/timer_delete.c: Likewise.
35124         * rt/timer_getoverr.c: Likewise.
35125         * rt/timer_gettime.c: Likewise.
35126         * rt/timer_settime.c: Likewise.
35127         * setjmp/__longjmp.c: Likewise.
35128         * setjmp/setjmp.c: Likewise.
35129         * signal/kill.c: Likewise.
35130         * signal/killpg.c: Likewise.
35131         * signal/raise.c: Likewise.
35132         * signal/sigaction.c: Likewise.
35133         * signal/sigaltstack.c: Likewise.
35134         * signal/sigblock.c: Likewise.
35135         * signal/sigignore.c: Likewise.
35136         * signal/sigintr.c: Likewise.
35137         * signal/signal.c: Likewise.
35138         * signal/sigpause.c: Likewise.
35139         * signal/sigpending.c: Likewise.
35140         * signal/sigqueue.c: Likewise.
35141         * signal/sigreturn.c: Likewise.
35142         * signal/sigset.c: Likewise.
35143         * signal/sigsetmask.c: Likewise.
35144         * signal/sigstack.c: Likewise.
35145         * signal/sigsuspend.c: Likewise.
35146         * signal/sigtimedwait.c: Likewise.
35147         * signal/sigvec.c: Likewise.
35148         * signal/sigwait.c: Likewise.
35149         * signal/sigwaitinfo.c: Likewise.
35150         * signal/sysv_signal.c: Likewise.
35151         * socket/accept.c: Likewise.
35152         * socket/accept4.c: Likewise.
35153         * socket/bind.c: Likewise.
35154         * socket/connect.c: Likewise.
35155         * socket/getpeername.c: Likewise.
35156         * socket/getsockname.c: Likewise.
35157         * socket/getsockopt.c: Likewise.
35158         * socket/isfdtype.c: Likewise.
35159         * socket/listen.c: Likewise.
35160         * socket/recv.c: Likewise.
35161         * socket/recvfrom.c: Likewise.
35162         * socket/recvmsg.c: Likewise.
35163         * socket/send.c: Likewise.
35164         * socket/sendmsg.c: Likewise.
35165         * socket/sendto.c: Likewise.
35166         * socket/setsockopt.c: Likewise.
35167         * socket/shutdown.c: Likewise.
35168         * socket/sockatmark.c: Likewise.
35169         * socket/socket.c: Likewise.
35170         * socket/socketpair.c: Likewise.
35171         * stdio-common/ctermid.c: Likewise.
35172         * stdio-common/cuserid.c: Likewise.
35173         * stdio-common/remove.c: Likewise.
35174         * stdio-common/rename.c: Likewise.
35175         * stdio-common/renameat.c: Likewise.
35176         * stdio-common/tempname.c: Likewise.
35177         * stdlib/getcontext.c: Likewise.
35178         * stdlib/makecontext.c: Likewise.
35179         * stdlib/setcontext.c: Likewise.
35180         * stdlib/swapcontext.c: Likewise.
35181         * stdlib/system.c: Likewise.
35182         * streams/fattach.c: Likewise.
35183         * streams/fdetach.c: Likewise.
35184         * streams/getmsg.c: Likewise.
35185         * streams/getpmsg.c: Likewise.
35186         * streams/putmsg.c: Likewise.
35187         * streams/putpmsg.c: Likewise.
35188         * sysdeps/unix/bsd/getpt.c: Likewise.
35189         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35190         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35191         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35193         Likewise.
35194         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35195         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35196         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35197         * sysvipc/msgctl.c: Likewise.
35198         * sysvipc/msgget.c: Likewise.
35199         * sysvipc/msgrcv.c: Likewise.
35200         * sysvipc/msgsnd.c: Likewise.
35201         * sysvipc/semctl.c: Likewise.
35202         * sysvipc/semget.c: Likewise.
35203         * sysvipc/semop.c: Likewise.
35204         * sysvipc/semtimedop.c: Likewise.
35205         * sysvipc/shmat.c: Likewise.
35206         * sysvipc/shmctl.c: Likewise.
35207         * sysvipc/shmdt.c: Likewise.
35208         * sysvipc/shmget.c: Likewise.
35209         * termios/tcdrain.c: Likewise.
35210         * termios/tcflow.c: Likewise.
35211         * termios/tcflush.c: Likewise.
35212         * termios/tcgetattr.c: Likewise.
35213         * termios/tcgetpgrp.c: Likewise.
35214         * termios/tcsendbrk.c: Likewise.
35215         * termios/tcsetattr.c: Likewise.
35216         * termios/tcsetpgrp.c: Likewise.
35217         * time/adjtime.c: Likewise.
35218         * time/clock.c: Likewise.
35219         * time/getitimer.c: Likewise.
35220         * time/gettimeofday.c: Likewise.
35221         * time/setitimer.c: Likewise.
35222         * time/settimeofday.c: Likewise.
35223         * time/stime.c: Likewise.
35224         * time/time.c: Likewise.
35226 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
35228         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35229         /usr/old/bin.
35231         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35232         instead of spaces.
35233         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35235 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
35237         [BZ #14796]
35238         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35239         FE_TONEAREST before applying Dekker multiplication and Knuth
35240         addition.  Clear inexact exceptions and check for exact zero
35241         results afterwards.
35242         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35243         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35244         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35245         * math/libm-test.inc (fma_test): Add more tests.
35246         (fma_test_towardzero): Likewise.
35247         (fma_test_downward): Likewise.
35248         (fma_test_upward): Likewise.
35249         * sysdeps/generic/math_private.h (default_libc_fesetround): New
35250         function.
35251         (libc_fesetround): New macro.
35252         (libc_fesetroundf): Likewise.
35253         (libc_fesetroundl): Likewise.
35254         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35255         function.
35256         (libc_fesetround_387): Likewise.
35257         (libc_fesetroundf): New macro.
35258         (libc_fesetround): Likewise.
35259         (libc_fesetroundl): Likewise.
35260         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35261         function.
35262         (libc_fesetroundf): New macro.
35263         (libc_fesetround): Likewise.
35264         (libc_fesetroundl): Likewise.
35265         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35266         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35267         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35268         libm_hidden_ver.
35269         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35270         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35271         libm_hidden_def.
35272         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35273         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35274         libm_hidden_ver.
35275         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35276         libm_hidden_def.
35278         [BZ #3439]
35279         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35280         integer constant usable in #if and use that to give value to enum
35281         constant.
35282         (FE_DIVBYZERO): Likewise.
35283         (FE_UNDERFLOW): Likewise.
35284         (FE_OVERFLOW): Likewise.
35285         (FE_INVALID): Likewise.
35286         (FE_INVALID_SNAN): Likewise.
35287         (FE_INVALID_ISI): Likewise.
35288         (FE_INVALID_IDI): Likewise.
35289         (FE_INVALID_ZDZ): Likewise.
35290         (FE_INVALID_IMZ): Likewise.
35291         (FE_INVALID_COMPARE): Likewise.
35292         (FE_INVALID_SOFTWARE): Likewise.
35293         (FE_INVALID_SQRT): Likewise.
35294         (FE_INVALID_INTEGER_CONVERSION): Likewise.
35295         (FE_TONEAREST): Likewise.
35296         (FE_TOWARDZERO): Likewise.
35297         (FE_UPWARD): Likewise.
35298         (FE_DOWNWARD): Likewise.
35299         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35300         (FE_DIVBYZERO): Likewise.
35301         (FE_OVERFLOW): Likewise.
35302         (FE_UNDERFLOW): Likewise.
35303         (FE_INEXACT): Likewise.
35304         (FE_TONEAREST): Likewise.
35305         (FE_DOWNWARD): Likewise.
35306         (FE_UPWARD): Likewise.
35307         (FE_TOWARDZERO): Likewise.
35308         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35309         (FE_UNDERFLOW): Likewise.
35310         (FE_OVERFLOW): Likewise.
35311         (FE_DIVBYZERO): Likewise.
35312         (FE_INVALID): Likewise.
35313         (FE_TONEAREST): Likewise.
35314         (FE_TOWARDZERO): Likewise.
35315         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35316         (FE_OVERFLOW): Likewise.
35317         (FE_UNDERFLOW): Likewise.
35318         (FE_DIVBYZERO): Likewise.
35319         (FE_INEXACT): Likewise.
35320         (FE_TONEAREST): Likewise.
35321         (FE_TOWARDZERO): Likewise.
35322         (FE_UPWARD): Likewise.
35323         (FE_DOWNWARD): Likewise.
35324         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35325         (FE_DIVBYZERO): Likewise.
35326         (FE_OVERFLOW): Likewise.
35327         (FE_UNDERFLOW): Likewise.
35328         (FE_INEXACT): Likewise.
35329         (FE_TONEAREST): Likewise.
35330         (FE_DOWNWARD): Likewise.
35331         (FE_UPWARD): Likewise.
35332         (FE_TOWARDZERO): Likewise.
35334 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
35336         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35338 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
35340         * scripts/cross-test-ssh.sh (command): Use newlines to separate
35341         commands.  Quote $PWD.
35342         (blacklist_exports): Don't use remove_newlines.  Replace "declare
35343         -x" by "export".
35344         (remove_newlines): Remove.
35346 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
35348         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35349         * stdlib/stdlib.h (atof): Moved to ...
35350         * include/bits/stdlib-float.h: Here.  New file.
35351         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35352         * stdlib/bits/stdlib-float.h: New file.
35353         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35354         -mno-sse -mno-mmx.
35355         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35356         <xmmintrin.h>.
35358 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
35360         * conform/conformtest.pl (@headers): Add fenv.h.
35361         * conform/data/fenv.h-data: New file.
35362         * include/fenv.h [_ISOMAC]: Disable all contents of file except
35363         include of <math/fenv.h>.
35365         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35366         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35367         && !UNIX98].  Enables tests for XOPEN2K8.
35368         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35369         POSIX2008]: Likewise.
35371         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35372         (struct rusage): Do not expect type or its members.
35374         [BZ #3439]
35375         * math/math.h (FP_NAN): Define macro to integer constant usable in
35376         #if and use that to give value to enum constant.
35377         (FP_INFINITE): Likewise.
35378         (FP_ZERO): Likewise.
35379         (FP_SUBNORMAL): Likewise.
35380         (FP_NORMAL): Likewise.
35382 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
35384         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35385         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35386         arguments.
35388 2012-11-02  Roland McGrath  <roland@hack.frob.com>
35390         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35391         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35392         autoconf-time if not.
35393         * configure.in: Remove AC_PREREQ.
35395 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35397         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35398         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35399         of the internal implementation.
35401 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
35403         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35404         except include of <misc/sys/syslog.h>.
35406 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
35408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35409         function returns with a NULL context exit with zero.
35411 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35413         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35415 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
35417         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35418         (run_program_cmd): This.
35419         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
35420         (tst_langinfo): New variable.  Use it.
35422 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
35424         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
35425         floating point opcodes.
35427 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35429         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
35430         variable.
35432         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
35434         * sysdeps/mach/hurd/powerpc: Remove directory.
35435         * sysdeps/mach/powerpc: Likewise.
35437 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
35439         * scripts/check-local-headers.sh: Ignore c++ headers.
35441 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35443         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
35444         __libc_cleanup_region_start argument.
35446 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
35448         [BZ #14784]
35449         [BZ #14785]
35450         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
35451         x * y using scaling, not as x * y + z.
35452         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35453         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35454         * math/libm-test.inc (fma_test): Add more tests.
35455         (fma_test_towardzero): Likewise.
35456         (fma_test_downward): Likewise.
35457         (fma_test_upward): Likewise.
35459 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
35461         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
35463 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
35465         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
35466         New variable.
35468 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
35470         * rt/tst-shm.c (worker): Correct checking for mmap failure.
35472 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
35474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35475         Fix sort order.
35476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35477         Likewise.
35479 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35482         Fix the order of the list for glibc 2.17.
35483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35484         Likewise.
35486 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
35488         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35490 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
35492         [BZ #14610]
35493         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
35494         for low part of x being zero before using __atanl (y).
35495         * math/libm-test.inc (atan2_test): Add another test.
35497         * manual/install.texi (Configuring and compiling): Document
35498         general use of test-wrapper and test-wrapper-env.
35499         * INSTALL: Regenerated.
35501         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
35502         (__fma): Do not extract and scale down low bits on after-rounding
35503         systems when result rounded to normal precision would have normal
35504         exponent.
35505         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
35506         (__fmal): Do not extract and scale down low bits on after-rounding
35507         systems when result rounded to normal precision would have normal
35508         exponent.
35509         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
35510         (__fmal): Do not extract and scale down low bits on after-rounding
35511         systems when result rounded to normal precision would have normal
35512         exponent.
35513         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
35514         macro.
35515         (fma_test): Add more tests.
35516         (fma_test_towardzero): Likewise.
35517         (fma_test_downward): Likewise.
35518         (fma_test_upward): Likewise.
35520 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
35522         * sysdeps/i386/tininess.h: Renamed to ...
35523         * sysdeps/x86/tininess.h: This.
35524         * sysdeps/x86_64/tininess.h: Removed.
35526 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
35528         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
35529         input.  Use $(build-program-cmd).
35530         ($(objpfx)tst-array1-static.out): Likewise.
35531         ($(objpfx)tst-array2.out): Likewise.
35532         ($(objpfx)tst-array3.out): Likewise.
35533         ($(objpfx)tst-array4.out): Likewise.
35534         ($(objpfx)tst-array5.out): Likewise.
35535         ($(objpfx)tst-array5-static.out): Likewise.
35537 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
35539         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
35540         if defined.
35542         * nss/nsswitch.h (nss_interface_function): Provide new
35543         macro for use with NSS functions.
35544         * grp/initgroups.c: Use new macro.
35545         * nss/getXXbyYY.c: Likewise.
35546         * nss/getXXbyYY_r.c: Likewise.
35547         * nss/getXXent.c: Likewise.
35548         * nss/getXXent_r.c: Likewise.
35549         * sysdeps/posix/getaddrinfo.c: Likewise.
35551 2012-10-30  Andreas Jaeger  <aj@suse.de>
35553         * po/ru.po: Update Russion translation from translation project.
35555 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
35557         [BZ #14152]
35558         [BZ #14783]
35559         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
35560         result and shift together with sticky bit instead of replicating
35561         round-to-nearest rounding.
35562         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35563         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35564         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
35565         missing underflow exceptions.
35566         (fma_test_towardzero): Add more tests.
35567         (fma_test_downward): Likewise.
35568         (fma_test_upward): Likewise.
35570         [BZ #14047]
35571         * sysdeps/generic/tininess.h: New file.
35572         * sysdeps/i386/tininess.h: Likewise.
35573         * sysdeps/sh/tininess.h: Likewise.
35574         * sysdeps/x86_64/tininess.h: Likewise.
35575         * stdlib/tst-strtod-underflow.c: Likewise.
35576         * stdlib/tst-tininess.c: Likewise.
35577         * stdlib/strtod_l.c: Include <tininess.h>.
35578         (round_and_return): Do not set errno for exact underflow cases.
35579         Force an underflow exception when setting errno for underflow.
35580         Determine underflow based on rounding to normal precision if
35581         TININESS_AFTER_ROUNDING.
35582         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
35583         ERANGE for exact underflow cases.
35584         * stdlib/Makefile (tests): Add tst-tininess and
35585         tst-strtod-underflow.
35586         ($(objpfx)tst-tininess): Use $(link-libm).
35587         ($(objpfx)tst-strtod-underflow): Likewise.
35589 2012-10-30  Andreas Jaeger  <aj@suse.de>
35591         [BZ#14767]
35592         * elf/Makefile (tests): Remove conditional for have-initfini-array
35593         since this is now always required and the variable does not exist
35594         anymore.
35595         (tests-static): Likewise.
35596         (modules-names): Likewise.
35598         * po/eo.po: Add Esperanto translation from translation project.
35600         * elf/tst-array1.c (fini_array): Make writeable so that it can be
35601         merged with constructor/destructor.
35602         (init_array): Likewise.
35603         * elf/tst-array2dep.c (fini_array): Likewise.
35604         (init_array): Likewise.
35606 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
35608         * manual/message.texi: Delete @cartouche tags.
35610 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
35612         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
35613         EOPNOTSUPP.
35614         * sysdeps/mach/hurd/fsync.c: Likewise.
35616         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
35617         [_POSIX_REALTIME_SIGNALS]: Change condition to
35618         [_POSIX_REALTIME_SIGNALS > 0].
35620 2012-10-27  Andreas Jaeger  <aj@suse.de>
35622         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
35623         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
35624         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
35625         [__WORDSIZE != 64]: Likewise.
35627 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
35629         *  iconvdata/tst-table.sh: Remove ${SHELL}.
35630         *  iconvdata/tst-tables.sh: Likewise.
35632 2012-10-25  David S. Miller  <davem@davemloft.net>
35634         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35635         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
35636         of strtoull.
35638         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
35639         ifunc-impl-list.c
35640         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35641         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
35642         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
35643         file.
35645 2012-10-25  Roland McGrath  <roland@hack.frob.com>
35647         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35648         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
35649         __getdirentries.
35651 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
35652             Jim Blandy  <jimb@codesourcery.com>
35654         * scripts/cross-test-ssh.sh: New file.
35655         * manual/install.texi (Configuring and compiling): Document use of
35656         cross-test-ssh.sh.
35657         * INSTALL: Regenerated.
35659 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
35661         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
35662         EOPNOTSUPP.
35664 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
35666         * Makeconfig (run-program-prefix): Fix comment.
35668 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
35669             Jim Blandy  <jimb@codesourcery.com>
35671         * Makeconfig (test-wrapper): New variable,
35672         (test-wrapper-env): Likewise.
35673         [$(cross-compiling) = yes && $(test-wrapper) != ""]
35674         (run-built-tests): Define to yes.
35675         (run-program-prefix): Use $(test-wrapper).
35676         (built-program-cmd): Likewise.
35677         * Rules (make-test-out): Use $(test-wrapper-env) and
35678         $(host-built-program-cmd).
35679         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
35680         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
35681         tst-pathopt.sh.
35682         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
35683         $(test-wrapper-env) to tst-rtld-load-self.sh.
35684         ($(objpfx)order2.out): Use $(test-wrapper).
35685         ($(objpfx)tst-initorder.out): Likewise.
35686         ($(objpfx)tst-initorder2.out): Likewise.
35687         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
35688         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
35689         (test_wrapper_env): New variable.  Use it to run ld.so.
35690         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
35691         Use it to run ld.so.
35692         (test_wrapper_env): Likewise.
35693         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
35694         $(test-wrapper) to run-iconv-test.sh.
35695         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
35696         (ICONV): Use $test_wrapper.
35697         * posix/Makefile ($(objpfx)globtest.out): Pass
35698         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
35699         globtest.sh, not $(run-program-prefix).
35700         * posix/globtest.sh (run_via_rtld_prefix): New variable.
35701         (test_wrapper): Likewise.
35702         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
35703         set together with run_via_rtld_prefix.
35704         (run_program_prefix): Define in terms of test_wrapper and
35705         run_via_rtld_prefix.
35707 2012-10-24  Roland McGrath  <roland@hack.frob.com>
35709         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
35710         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
35711         Targets removed.
35713         [BZ #14743]
35714         * include/time.h: Remove librt_hidden_proto (clock_gettime).
35715         Declare __clock_getres, __clock_gettime, __clock_settime,
35716         __clock_nanosleep, and __clock_getcpuclockid.
35717         * rt/clock_gettime.c: Define __clock_gettime as an alias.
35718         Remove librt_hidden_def (clock_gettime).
35719         * sysdeps/unix/clock_gettime.c: Likewise.
35720         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
35721         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
35722         * rt/clock_getres.c: Define __clock_getres as an alias.
35723         * sysdeps/posix/clock_getres.c: Likewise.
35724         * rt/clock_settime.c: Define __clock_settime as an alias.
35725         * sysdeps/unix/clock_settime.c: Likewise.
35726         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
35727         * sysdeps/unix/clock_nanosleep.c: Likewise.
35728         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
35729         * rt/clock-compat.c: New file.
35730         * rt/Makefile (librt-routines): Add clock-compat and move
35731         $(clock-routines) to ...
35732         (routines): ... here, new variable.
35733         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
35734         Don't add get_clockfreq here.
35735         * rt/Versions (libc: GLIBC_2.17): New version set.
35736         Add clock_* symbols here.
35737         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
35738         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
35739         (GLIBC_2.17): Add clock_* symbols.
35740         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
35741         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
35742         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
35743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
35744         Likewise.
35745         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
35746         Likewise.
35747         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
35748         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
35749         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
35750         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
35751         * NEWS: Mention the move.
35753         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
35754         Use __open, __read, __close rather than their public counterparts.
35755         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35756         (__get_clockfreq_via_cpuinfo): Likewise.
35757         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
35758         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
35760         * config.h.in (HAVE_IFUNC): New #undef.
35761         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
35762         was successful.
35763         * configure: Regenerated.
35765 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
35767         * configure.in: Move READELF check to start of file.
35768         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
35769         libc_cv_asm_gnu_indirect_function in the process.
35770         * configure: Regenerated.
35772 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
35774         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
35775         send the output to /dev/null.
35776         (libc_cv_cc_with_libunwind): Likewise.
35777         (libc_cv_as_noexecstack): Likewise.
35778         * configure: Regenerate.
35780 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
35782         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
35784         * posix/globtest.sh (TMPDIR): Do not set.
35785         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
35786         (testout): Likewise.
35788 2012-10-24  Andreas Jaeger  <aj@suse.de>
35790         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
35791         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
35792         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
35793         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
35794         posix_fadvise64, posix_fallocate64.
35796         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
35797         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
35798         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
35799         Likewise.
35800         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
35801         Likewise.
35802         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
35804         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
35805         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
35806         <bits/fcntl-linux.h>.
35807         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
35809         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
35810         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
35811         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
35812         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
35813         [__WORDSIZE != 64]: Likewise.
35815 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
35817         * Makeconfig (run-built-tests): New variable.
35818         * Rules [$(cross-compiling) = yes]: Change condition to
35819         [$(run-built-tests) = no].
35820         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
35821         to [$(run-built-tests) = yes].
35822         * elf/Makefile [$(cross-compiling) = no]: Likewise
35823         * grp/Makefile [$(cross-compiling) = no]: Likewise.
35824         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
35825         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
35826         * intl/Makefile [$(cross-compiling) = no]: Likewise.
35827         * io/Makefile [$(cross-compiling) = no]: Likewise.
35828         * libio/Makefile [$(cross-compiling) = no]: Likewise.
35829         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
35830         * misc/Makefile [$(cross-compiling) = no]: Likewise.
35831         * posix/Makefile [$(cross-compiling) = no]: Likewise.
35832         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
35833         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
35834         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
35835         * string/Makefile [$(cross-compiling) = no]: Likewise.
35837         * posix/Makefile ($(objpfx)globtest.out): Pass
35838         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
35839         $(rtld-installed-name).
35840         * posix/globtest.sh (elf_objpfx): Remove variable.
35841         (rtld_installed_name): Likewise.
35842         (library_path): Likewise.
35843         (run_program_prefix): New variable.  Use for running globtest
35844         binary.
35846 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
35847             Joseph Myers  <joseph@codesourcery.com>
35849         * Makeconfig (host-built-program-cmd): New variable.
35850         * elf/Makefile (tst-stackguard1-ARGS): Use
35851         $(host-built-program-cmd).
35852         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
35853         (tst-spawn-ARGS): Likewise.
35854         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
35856 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
35857             Jim Blandy  <jimb@codesourcery.com>
35859         * Makeconfig (run-via-rtld-prefix): New variable.
35860         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
35861         (built-program-cmd): Likewise.
35863 2012-10-22  Andreas Jaeger  <aj@suse.de>
35865         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
35866         __O_RSYNC if it exists, otherwise to O_SYNC.
35868 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
35869             Joseph Myers  <joseph@codesourcery.com>
35871         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
35872         /dev/null.
35873         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
35874         from /dev/null
35875         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
35876         /dev/null.
35878 2012-10-22  Andreas Jaeger  <aj@suse.de>
35880         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
35881         Define always.
35882         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
35884         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35885         bits/fcntl-linux.h.
35887         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
35888         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
35890         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
35891         to __O_LARGEFILE.
35892         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
35893         to __O_LARGEFILE.
35895 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
35896             Joseph Myers  <joseph@codesourcery.com>
35898         * config.make.in (NM): New variable.
35900 2012-10-21  Andreas Jaeger  <aj@suse.de>
35902         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
35903         definitions and declarations that are provided by
35904         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35906 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
35908         [BZ #14683]
35909         * elf/Makefile (tests-static): Add tst-leaks1-static.
35910         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
35911         ($(objpfx)tst-leaks1-static): New rule.
35912         ($(objpfx)tst-leaks1-static-mem): Likewise.
35913         (tst-leaks1-static-ENV): New macro.
35914         * elf/dl-open.c (dl_open_worker): Check the main application
35915         only if SHARED is defined.
35916         * elf/tst-leaks1-static.c: New file.
35918 2012-10-20  Andreas Jaeger  <aj@suse.de>
35920         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
35921         generic values for Linux.
35922         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
35923         and declarations that are provided by <bits/fcntl-linux.h> and
35924         include <bits/fcntl-linux.h>.
35925         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35926         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35928 2012-10-20  Roland McGrath  <roland@hack.frob.com>
35930         * io/fcntl.h: Move include of <bits/types.h> to the top and
35931         include it unconditionally.
35933 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
35935         * wcsmbs/Makefile (tests-ifunc): New variable.
35936         (tests): Add $(tests-ifunc).
35937         * wcsmbs/test-wcschr-ifunc.c: New file.
35938         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
35939         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
35940         * wcsmbs/test-wcslen-ifunc.c: Likewise.
35941         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
35942         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
35944         * string/Makefile (tests-ifunc): New variable.
35945         (tests): Add $(tests-ifunc).
35946         * string/test-memccpy.c (TEST_NAME): New macro.
35947         * string/test-memchr.c (TEST_NAME): Likewise.
35948         * string/test-memcmp.c (TEST_NAME): Likewise.
35949         * string/test-memcpy.c (TEST_NAME): Likewise.
35950         * string/test-memmem.c (TEST_NAME): Likewise.
35951         * string/test-memmove.c (TEST_NAME): Likewise.
35952         * string/test-memset.c (TEST_NAME): Likewise.
35953         * string/test-rawmemchr.c (TEST_NAME): Likewise.
35954         * string/test-stpcpy.c (TEST_NAME): Likewise.
35955         * string/test-stpncpy.c (TEST_NAME): Likewise.
35956         * string/test-strcasecmp.c (TEST_NAME): Likewise.
35957         * string/test-strcasestr.c (TEST_NAME): Likewise.
35958         * string/test-strcat.c (TEST_NAME): Likewise.
35959         * string/test-strchr.c (TEST_NAME): Likewise.
35960         * string/test-strcmp.c(TEST_NAME): Likewise.
35961         * string/test-strcpy.c (TEST_NAME): Likewise.
35962         * string/test-strcspn.c (TEST_NAME): Likewise.
35963         * string/test-strlen.c (TEST_NAME): Likewise.
35964         * string/test-strncasecmp.c (TEST_NAME): Likewise.
35965         * string/test-strncmp.c (TEST_NAME): Likewise.
35966         * string/test-strncpy.c (TEST_NAME): Likewise.
35967         * string/test-strnlen.c (TEST_NAME): Likewise.
35968         * string/test-strpbrk.c (TEST_NAME): Likewise.
35969         * string/test-strrchr.c (TEST_NAME): Likewise.
35970         * string/test-strspn.c (TEST_NAME): Likewise.
35971         * string/test-strstr.c (TEST_NAME): Likewise.
35972         * string/test-bcopy-ifunc.c: New file.
35973         * string/test-bzero-ifunc.c: Likewise.
35974         * string/test-memccpy-ifunc.c: Likewise.
35975         * string/test-memchr-ifunc.c: Likewise.
35976         * string/test-memcmp-ifunc.c: Likewise.
35977         * string/test-memcpy-ifunc.c: Likewise.
35978         * string/test-memmem-ifunc.c: Likewise.
35979         * string/test-memmove-ifunc.c: Likewise.
35980         * string/test-mempcpy-ifunc.c: Likewise.
35981         * string/test-memset-ifunc.c: Likewise.
35982         * string/test-rawmemchr-ifunc.c: Likewise.
35983         * string/test-stpcpy-ifunc.c: Likewise.
35984         * string/test-stpncpy-ifunc.c: Likewise.
35985         * string/test-strcasecmp-ifunc.c: Likewise.
35986         * string/test-strcasestr-ifunc.c: Likewise.
35987         * string/test-strcat-ifunc.c: Likewise.
35988         * string/test-strchr-ifunc.c: Likewise.
35989         * string/test-strchrnul-ifunc.c: Likewise.
35990         * string/test-strcmp-ifunc.c: Likewise.
35991         * string/test-strcpy-ifunc.c: Likewise.
35992         * string/test-strcspn-ifunc.c: Likewise.
35993         * string/test-strlen-ifunc.c: Likewise.
35994         * string/test-strncasecmp-ifunc.c: Likewise.
35995         * string/test-strncat-ifunc.c: Likewise.
35996         * string/test-strncmp-ifunc.c: Likewise.
35997         * string/test-strncpy-ifunc.c: Likewise.
35998         * string/test-strnlen-ifunc.c: Likewise.
35999         * string/test-strpbrk-ifunc.c: Likewise.
36000         * string/test-strrchr-ifunc.c: Likewise.
36001         * string/test-strspn-ifunc.c: Likewise.
36002         * string/test-strstr-ifunc.c: Likewise.
36004         * debug/Makefile (tests-ifunc): New variable.
36005         (tests): Add $(tests-ifunc).
36006         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36007         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36008         * debug/test-stpcpy_chk-ifunc.c: New file.
36009         * debug/test-strcpy_chk-ifunc.c: Likewise.
36011 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36013         [BZ #13601]
36014         * elf/dl-load.c (open_verify): Retry read if the entire ELF
36015         header is not read in.
36017 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
36019         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
36020         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
36021         directly.  Pass built executable to script as
36022         $(built-program-cmd).
36023         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
36024         $testprogram without using LD_LIBRARY_PATH and $ldso.
36026         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36027         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36028         $(rtld-installed-name).
36029         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36030         (rtld_installed_name): Likewise.
36031         (library_path): Likewise.
36032         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
36033         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36034         $(run-program-prefix) to tst-tables.sh.
36035         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
36036         it to run tst-table-from and tst-table-to.
36037         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36038         Pass it to tst-table.sh.
36039         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36040         $(run-program-prefix) to tst-gettext.sh.
36041         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36042         tst-translit.sh.
36043         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36044         tst-gettext2.sh.
36045         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
36046         to run tst-gettext.
36047         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
36048         to run tst-gettext2.
36049         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
36050         to run tst-translit.
36051         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36052         $(run-program-prefix) to tst-mtrace.sh.
36053         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
36054         to run tst-mtrace.
36055         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36056         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36057         $(rtld-installed-name).
36058         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36059         (rtld_installed_name): Likewise.
36060         (run_program_prefix): New variable.  Use it to run wordexp-test.
36062         * Makeconfig (ARCH): Remove all definitions.
36063         (machine): Likewise.
36064         [ARCH]: Remove conditional code.
36065         [!objdir]: Give error.
36066         [!objdir] (objpfx): Remove.
36067         [!objdir] (common-objpfx): Likewise.
36068         [!objdir] (common-objdir): Likewise.
36069         * configure.in (config_makefile): Remove.  Hardcode Makefile in
36070         AC_CONFIG_FILES call.
36071         * configure: Regenerated.
36073         [BZ #13888]
36074         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36075         or TMPDIR.
36076         (testout): Likewise.
36078         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36079         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36080         $(rtld-installed-name).
36081         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36082         (rtld_installed_name): Likwise.
36083         (runit): Remove function.
36084         (run_getconf): New variable,  Use it for running getconf binary.
36086 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
36088         [BZ #14716]
36089         * string/test-memmem.c (check_result): New function.
36090         (do_one_test): Use it.
36091         (check1): New function.
36092         (test_main): Use it.
36094 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
36096         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36098 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
36100         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36101         (_G_LSEEK64): Likewise.
36102         (_G_MMAP64): Likewise.
36103         (_G_FSTAT64): Likewise.
36104         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36105         (_G_LSEEK64): Likewise.
36106         (_G_MMAP64): Likewise.
36107         (_G_FSTAT64): Likewise.
36108         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36109         unconditional.  Call __mmap64 directly.
36110         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36111         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
36112         __lseek64 directly.
36113         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36114         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
36115         __mmap64 directly.
36116         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36117         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
36118         __lseek64 directly.
36119         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36120         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
36121         __lseek64 directly.
36122         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36123         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
36124         __lseek64 directly.
36125         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36126         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
36127         __fxstat64 directly.
36128         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36129         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36130         unconditional.
36131         (freopen64) [!_G_OPEN64]: Remove conditional code.
36132         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36133         unconditional.
36134         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36135         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36136         unconditional.
36137         (ftello64) [!_G_LSEEK64]: Remove conditional code.
36138         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36139         unconditional.
36140         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36141         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36142         unconditional.
36143         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36144         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36145         unconditional.
36146         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36147         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36148         unconditional.
36149         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36150         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36151         unconditional.
36152         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36154 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36156         [BZ #12140]
36157         * manual/memory.texi (Malloc Tunable Parameters): Add note
36158         about free list pointers overwriting some perturb bytes.
36159         Wording suggested by Roland McGrath.
36161 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
36163         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36164         (lgamma_test): Likewise.
36165         (tgamma_test): Likewise.
36167 2012-10-16  Florian Weimer  <fweimer@redhat.com>
36169         [BZ #14700]
36170         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36171         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36173 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
36175         * NEWS: Mention BZ #14716.
36176         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36177         when removing AVAILABLE1_USES_J macro.
36179 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
36181         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36182         (__bswap_64): __uint64_t for unsigned 64-bit int.
36184 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
36186         * include/string.h (memmem): Declare libc hidden alias.
36187         * string/memmem.c (memmem): Define libc hidden alias.
36188         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36189         __read, __close instead of open, read, close.
36191 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
36193         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36194         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36195         global and hidden.
36196         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36197         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36198         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36199         Likewise.
36200         (__rawmemchr_sse2): Likewise.
36201         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36202         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36203         (__strchr_sse2): Likewise.
36204         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36205         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36206         (__strcasecmp_sse2): Likewise.
36207         (__strncasecmp_sse2): Likewise.
36208         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36209         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36210         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36211         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36212         (__strrchr_sse2): Likewise.
36213         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36214         ifunc-impl-list.c.
36215         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36216         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36217         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36218         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36219         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36220         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36221         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36222         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36223         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36224         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36225         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36226         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36227         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36228         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36229         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36230         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36231         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36232         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36233         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36234         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36235         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36236         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36237         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36238         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36239         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36240         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36241         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36242         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36243         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36244         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36246         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36247         global and hidden.
36248         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36249         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36250         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36251         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36252         Likewise.
36253         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36254         Likewise.
36255         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36256         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36257         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36258         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36259         ifunc-impl-list.c.
36260         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36261         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36262         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36263         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36264         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36265         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36266         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36267         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36268         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36269         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36270         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36271         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36272         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36273         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36274         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36275         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36276         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36277         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36278         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36279         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36280         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36281         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36282         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36283         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36284         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36285         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36286         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36287         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36288         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36289         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36290         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36291         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36292         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36293         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36294         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36295         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36296         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36297         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36298         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36299         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36300         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36302         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36303         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36304         * include/ifunc-impl-list.h: New file.
36305         * misc/ifunc-impl-list.c: Likewise.
36306         * misc/Makefile (routines): Add ifunc-impl-list.
36307         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36308         * string/test-string.h: Include <ifunc-impl-list.h>.
36309         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36310         TEST_NAME]: New variables.
36311         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36312         are defined.
36313         (test_init): Call __libc_ifunc_impl_list to initialize
36314         func_list if TEST_IFUNC and TEST_NAME are defined.
36316         * string/Makefile (strop-tests): Add bcopy and bzero.
36317         * string/test-bcopy.c: New file.
36318         * string/test-bzero.c: Likewise.
36319         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36320         defined.
36321         * string/test-memset.c: Support bzero test if TEST_BZERO is
36322         defined.
36323         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36324         __libc_memmove.
36325         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36326         __libc_memset.
36327         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36328         of memset.
36330 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
36332         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36333         * configure: Regenerated.
36335         * Makeconfig (+link-static-before-libc): Don't include
36336         $(link-static-libc).
36338         * libio/libio.h (_IO_pos_t): Remove.
36340 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36342         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
36343         McGrath.
36345 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36347         * crypt/crypt-entry.c: Include fips-private.h.
36348         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36349         * crypt/md5c-test.c (main): Tolerate disabled MD5.
36350         * sysdeps/unix/sysv/linux/fips-private.h: New file.
36351         * sysdeps/generic/fips-private.h: New file, dummy fallback.
36353 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36355         * crypt/crypt-private.h: Include stdbool.h.
36356         (_ufc_setup_salt_r): Return bool.
36357         * crypt/crypt-entry.c: Include errno.h.
36358         (__crypt_r): Return NULL with EINVAL for bad salt.
36359         * crypt/crypt_util.c (bad_for_salt): New.
36360         (_ufc_setup_salt_r): Check that salt is long enough and within
36361         the specified alphabet.
36362         * crypt/badsalttest.c: New file.
36363         * crypt/Makefile (tests): Add it.
36364         ($(objpfx)badsalttest): New.
36366 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
36368         * NEWS: Add entry for BZ #14602.
36370 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
36372         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36373         type-generic.
36374         * math/libm-test.inc: Update comment listing what functions and
36375         macros are tested.
36376         (isgreater_test): New function.
36377         (isgreaterequal_test): Likewise.
36378         (isless_test): Likewise.
36379         (islessequal_test): Likewise.
36380         (islessgreater_test): Likewise.
36381         (isunordered_test): Likewise.
36382         (main): Call the new functions.
36384 2012-10-09  Roland McGrath  <roland@hack.frob.com>
36386         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36387         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36388         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36389         * sysdeps/i386/configure: Regenerated.
36390         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36391         * sysdeps/mach/configure: Regenerated.
36392         * sysdeps/mach/hurd/configure: Regenerated.
36393         * sysdeps/powerpc/configure: Regenerated.
36394         * sysdeps/powerpc/powerpc32/configure: Regenerated.
36395         * sysdeps/powerpc/powerpc64/configure: Regenerated.
36396         * sysdeps/s390/s390-32/configure: Regenerated.
36397         * sysdeps/s390/s390-64/configure: Regenerated.
36398         * sysdeps/sh/configure: Regenerated.
36399         * sysdeps/sparc/configure: Regenerated.
36400         * sysdeps/unix/sysv/linux/configure: Regenerated.
36401         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36402         * sysdeps/x86_64/configure: Regenerated.
36404         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36405         defined.  Don't check if MAP is NULL.
36407 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
36409         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36410         (_G_stat64): Likewise.
36411         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36412         (_G_stat64): Likewise.
36413         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36414         instead of struct _G_stat64.
36415         * libio/fileops.c (mmap_remap_check): Likewise.
36416         (decide_maybe_mmap): Likewise.
36417         (_IO_new_file_seekoff): Likewise.
36418         (_IO_file_stat): Likewise.
36419         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
36420         _G_off64_t.
36421         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
36422         instead of struct _G_stat64.
36423         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36425 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
36427         [BZ #14602]
36428         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36429         Replace with ...
36430         (CHECK_EOL): New macro.
36431         (two_way_short_needle): Check beginning of haystack for EOL.  Use
36432         CHECK_EOL.
36433         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36434         Replace with CHECK_EOL.
36435         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
36436         Replace with CHECK_EOL.
36438 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
36440         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
36441         type-generic.
36442         * math/libm-test.inc: Update comment listing what functions and
36443         macros are tested.
36444         (finite_test): New function.
36445         (isinf_test): Likewise.
36446         (isnan_test): Likewise.
36447         (fpclassify_test): Test subnormal input.
36448         (isfinite_test): Likewise.
36449         (isnormal_test): Likewise.
36450         (main): Call the new functions.
36452 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
36454         [BZ #14660]
36455         * Makerules (%.dynsym): Force C locale when running
36456         $(OBJDUMP) --dynamic-syms.
36458 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
36460         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
36461         <stdint.h>.
36463 2012-10-06  David S. Miller  <davem@davemloft.net>
36465         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
36466         upper 32-bits of the length value in %o2 since we use branch-on-register
36467         tests which consider the entire 64-bit register.
36469 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
36471         * string/test-strstr.c (check2): Add a test for page boundary.
36473 2012-10-05  David S. Miller  <davem@davemloft.net>
36475         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
36476         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
36477         file.
36478         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36479         sysdep_routines.
36480         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36481         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
36482         and bzero when HWCAP_SPARC_CRYPTO is present.
36484 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
36486         [BZ #14602]
36487         * string/test-strstr.c (check2): New function.
36488         (test_main): Call check2.
36490         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
36491         and bug-strchr1.
36492         * string/bug-strcasestr1.c (do_test): Moved to ...
36493         * string/test-strcasestr.c (check1): Here.  New function.
36494         (do_one_test): Break out result checking code into ...
36495         (check_result): This.  New function.
36496         (do_one_test): Call check_result.
36497         (test_main): Call check1.
36498         * string/bug-strchr1.c (do_test): Moved to ...
36499         * string/test-strchr.c (check1): Here.  New function.
36500         (do_one_test): Break out result checking code into ...
36501         (check_result): This.  New function.
36502         (do_one_test): Call check_result.
36503         (test_main): Call check1.
36504         * string/bug-strstr1.c (main): Moved to ...
36505         * string/test-strstr.c (check1): Here.  New function.
36506         (do_one_test): Break out result checking code into ...
36507         (check_result): This.  New function.
36508         (do_one_test): Call check_result.
36509         (test_main): Call check1.
36510         * string/bug-strcasestr1.c: Removed.
36511         * string/bug-strchr1.c: Likewise.
36512         * string/bug-strstr1.c: Likewise.
36514         * elf/Makefile (dl-routines): Add hwcaps.
36515         * elf/dl-support.c (_dl_important_hwcaps): Removed.
36516         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
36517         (_dl_important_hwcaps): Moved to ...
36518         * elf/dl-hwcaps.c: Here.  New file.
36519         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
36521         [BZ #14557]
36522         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
36523         if IS_IN_rtld isn't defined.
36525         * elf/dl-support.c (_dl_sysinfo_map): New.
36526         Include "get-dynamic-info.h" and "setup-vdso.h".
36527         (_dl_non_dynamic_init): Call setup_vdso.
36528         * elf/dynamic-link.h: Don't include <assert.h>.
36529         (elf_get_dynamic_info): Moved to ...
36530         * elf/get-dynamic-info.h: Here.  New file.
36531         * elf/dynamic-link.h: Include "get-dynamic-info.h".
36532         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
36533         * elf/setup-vdso.h: Here.  New file.
36534         * elf/rtld.c: Include "setup-vdso.h".
36535         (dl_main): Call setup_vdso.
36537 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
36539         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
36540         creal in comment listing functions tested.  List finite, isinf,
36541         isnan, isless, islessequal, isgreater, isgreaterequal,
36542         islessgreater, isunordered, lgamma_r and pow10 as functions and
36543         macros not tested.  Mention which functions not tested are aliases
36544         for other functions.  Fix typo.  Note that signs of NaNs are not
36545         tested.
36547         * scripts/config.guess: Update from config.git.
36548         * scripts/config.sub: Likewise.
36550 2012-10-04  Roland McGrath  <roland@hack.frob.com>
36552         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
36553         * misc/madvise.c (madvise): Renamed to __madvise.
36554         Make madvise a weak alias.
36555         * include/sys/mman.h: Declare __madvise.
36556         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
36557         * sysdeps/unix/syscalls.list
36558         (madvise): Make __madvise the strong name, and madvise a weak alias.
36559         * sysdeps/unix/sysv/linux/syscalls.list
36560         (madvise, mmap): Remove redundant entries.
36561         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
36562         * malloc/malloc.c (mtrim): Likewise.
36563         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
36565 2012-10-03  Roland McGrath  <roland@hack.frob.com>
36567         * sysdeps/mach/hurd/dl-cache.c: File removed.
36568         * config.h.in (USE_LDCONFIG): New #undef.
36569         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
36570         * configure: Regenerated.
36571         * elf/Makefile (dl-routines): Add dl-cache only under
36572         [$(use-ldconfig) = yes].
36573         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
36574         cache on [USE_LDCONFIG].
36575         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
36576         [USE_LDCONFIG].
36577         * elf/rtld.c (dl_main): Likewise.
36579 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
36581         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
36582         _SC_LEVEL4_CACHE_LINESIZE.
36584 2012-10-03  Roland McGrath  <roland@hack.frob.com>
36586         * sysdeps/unix/bsd/confstr.h: File removed.
36588 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
36590         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
36591         sys/sdt-config.h.
36593 2012-10-02  Roland McGrath  <roland@hack.frob.com>
36595         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
36596         Make 'mapoff' field ElfW(Off) rather than off_t.
36598 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
36600         * nscd/Makefile: Remove nscd-cflags and all its users.
36601         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
36602         (CFLAGS-nonlib): Add compiler flags for nscd modules.
36604         [BZ #10631]
36605         * malloc.c (malloc_printerr): Clarify error message.
36607 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
36609         [BZ #14648]
36610         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36611         Set bit_FMA_Usable if FMA is supported.
36612         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
36613         macro.
36614         (bit_FMA4_Usable): Updated.
36615         (index_FMA_Usable): New macro.
36616         (CPUID_FMA): Likewise
36617         (HAS_FMA): Defined with bit_FMA_Usable.
36619 2012-10-01  Roland McGrath  <roland@hack.frob.com>
36621         * bits/types.h (__swblk_t): Type removed.
36622         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
36623         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
36624         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36625         (__SWBLK_T_TYPE): Likewise.
36626         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36627         (__SWBLK_T_TYPE): Likewise.
36628         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36629         (__SWBLK_T_TYPE): Likewise.
36630         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
36631         (__SWBLK_T_TYPE): Likewise.
36633 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
36634             Honza Horak <hhorak@redhat.com>
36636         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
36637         (xdr_mapname): Use YPMAXMAP as maxsize.
36638         (xdr_peername): Use YPMAXPEER as maxsize.
36639         (xdr_keydat): Use YPAXRECORD as maxsize.
36640         (xdr_valdat): Use YPMAXRECORD as maxsize.
36642 2012-10-01  Roland McGrath  <roland@hack.frob.com>
36644         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
36646         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
36647         * csu/init-first.c: ... here.
36648         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
36649         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
36650         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
36651         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
36652         * sysdeps/i386/init-first.c: File removed.
36653         * sysdeps/sh/init-first.c: File removed.
36655 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
36657         [BZ #14645]
36658         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
36659         if x * y might underflow to zero and z is zero.
36660         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36661         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36662         * math/libm-test.inc (min_subnorm_value): New variable.
36663         (fma_test): Add more tests.
36664         (fma_test_towardzero): Likewise.
36665         (fma_test_downward): Likewise
36666         (fma_test_upward): Likewise.
36667         (initialize): Set min_subnorm_value.
36669 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
36671         [BZ #14638]
36672         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
36673         0 + 0.
36674         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
36675         mode for addition resulting in exact zero.
36676         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
36677         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
36678         exact 0 + 0.
36679         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36680         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36681         * math/libm-test.inc (fma_test): Add more tests.
36682         (fma_test_towardzero): New function.
36683         (fma_test_downward): Likewise.
36684         (fma_test_upward): Likewise.
36685         (main): Call the new functions.
36687 2012-09-28  David S. Miller  <davem@davemloft.net>
36689         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
36691 2012-09-28  Roland McGrath  <roland@hack.frob.com>
36693         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
36694         instead of SIGALRM.
36696         * sysdeps/gnu/_G_config.h: Moved to ...
36697         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
36698         * sysdeps/mach/hurd/_G_config.h: Moved to ...
36699         * sysdeps/generic/_G_config.h: ... here.
36701         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
36703         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
36705         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
36706         Conditionalize target on [libnss_test1.so-version].
36708         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
36710         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
36711         (elfobjdir): Move out of conditionals.
36713         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
36714         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
36715         (__nss_lookup_function): Conditionalize label remove_from_tree on
36716         [!DO_STATIC_NSS || SHARED], matching its only use.
36718 2012-09-28  David S. Miller  <davem@davemloft.net>
36720         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
36721         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
36722         file.
36723         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
36724         sysdep_routines.
36725         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
36726         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
36727         when HWCAP_SPARC_CRYPTO is present.
36729 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36731         * io/tst-mknodat.c: Create a FIFO instead of a socket.
36733 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
36735         [BZ #6530]
36736         * stdio-common/vfprintf.c (process_string_arg): Revert
36737         2000-07-22 change.
36739 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
36741         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
36742         for testcase.
36743         * stdio-common/tst-sprintf.c: Include <locale.h>
36744         (main): Test sprintf's handling of incomplete multibyte
36745         characters.
36747 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
36749         * elf/dl-runtime.c (VERSYMIDX): Removed.
36750         * elf/dl-version.c (VERSYMIDX): Likewise.
36751         * elf/do-rel.h (VERSYMIDX): Likewise.
36752         (VALIDX): Likewise.
36753         * elf/dynamic-link.h (VERSYMIDX): Likewise.
36754         * elf/rtld.c (VALIDX): Likewise.
36755         (ADDRIDX): Likewise.
36756         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
36757         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
36758         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
36759         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
36760         (VALIDX): Likewise.
36761         (ADDRIDX): Likewise.
36763 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36765         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
36767 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
36769         [BZ #11438]
36770         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
36771         to global scope.
36772         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
36773         addresses are in the same scope as 192.0.2/24.
36774         * posix/gai.conf: Document new scope table defaults.
36776 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36778         [BZ #5298]
36779         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
36780         for ftell.  Compute offsets from write pointers instead.
36781         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
36783 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
36785         [BZ #14543]
36786         * libio/Makefile (tests): New test case tst-fseek.
36787         * libio/tst-fseek.c: New test case to verify that fseek/ftell
36788         combination works in wide mode.
36789         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
36790         state when the external buffer state changes.
36792 2012-09-27  David S. Miller  <davem@davemloft.net>
36794         [BZ #14376]
36795         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
36796         pass reloc->r_addend in as the 'high' argument to
36797         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
36799         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36801 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
36803         * rt/tst-aio2.c: Include <pthread.h>.
36804         * rt/tst-aio3.c: Likewise.
36806 2012-09-27  Steve Ellcey  <sellcey@mips.com>
36808         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
36810 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
36812         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
36813         contents on [SHARED].
36815 2012-09-26  Marek Polacek  <polacek@redhat.com>
36817         [BZ #14530]
36818         [BZ #13741]
36819         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
36820         for C++ and GCC <4.3 as well as for non GCC compilers.
36822 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
36824         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36826 2012-09-25  Roland McGrath  <roland@hack.frob.com>
36828         * Makefile.in (all, install): Declare with .PHONY.
36829         Reported by Michael Hope <michael.hope@linaro.org>.
36831 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36833         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
36834         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
36835         system header.
36836         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
36837         Likewise.
36838         (sydep_routines): Add the new and the internal functions.
36839         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
36840         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
36841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
36842         (GLIBC_2.17): Add the new function.
36843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
36844         (GLIBC_2.17): Likewise.
36845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
36846         (GLIBC_2.17): Likewise.
36847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
36848         (GLIBC_2.17): Likewise.
36849         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
36851 2012-09-25  Alan Modra  <amodra@gmail.com>
36853         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
36854         Add release barrier before setting once_control to say
36855         initialisation is done.  Add hints on lwarx.  Use macro in
36856         place of isync.
36857         (clear_once_control): Add release barrier.
36859 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
36861         [BZ #13629]
36862         * math/s_clog.c (__clog): Handle more values close to |z| = 1
36863         specially.
36864         * math/s_clog10.c (__clog10): Likewise.
36865         * math/s_clog10f.c (__clog10f): Likewise.
36866         * math/s_clog10l.c (__clog10l): Likewise.
36867         * math/s_clogf.c (__clogf): Likewise.
36868         * math/s_clogl.c (__clogl): Likewise.
36869         * math/Makefile (libm-calls): Add x2y2m1.
36870         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
36871         (__x2y2m1): Likewise.
36872         (__x2y2m1l): Likewise.
36873         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
36874         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
36875         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
36876         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
36877         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
36878         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
36879         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
36880         * sysdeps/i386/fpu/libm-test-ulps: Update.
36881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36883         [BZ #14621]
36884         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
36885         int as type of variable DEPTH.
36886         (glob): Use size_t instead of int as type of variables NEWCOUNT
36887         and OLD_PATHC.
36889 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36891         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
36892         Add s_sincosf-sse2.
36893         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
36894         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
36895         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
36896         macros for using routine as __sincosf_ia32.
36897         Use macro for function declaration and weak_alias.
36898         * sysdeps/i386/fpu/libm-test-ulps: Update.
36900         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
36901         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36903         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
36904         subnormal argument.
36905         * math/s_cexpf.c (__cexpf): Likewise.
36906         * math/s_csinf.c (__csinf): Likewise.
36907         * math/s_csinhf.c (__csinhf): Likewise.
36908         * math/s_ctanf.c (__ctanf): Likewise.
36909         * math/s_ctanhf.c (__ctanhf): Likewise.
36910         * math/s_ccosh.c (__ccoshf): Likewise.
36911         * math/s_cexp.c (__cexpl): Likewise.
36912         * math/s_csin.c (__csin): Likewise.
36913         * math/s_csinh.c (__csinh): Likewise.
36914         * math/s_ctan.c (__ctan): Likewise.
36915         * math/s_ctanh.c (ctanh): Likewise.
36916         * math/s_ccoshl.c (__ccoshl): Likewise.
36917         * math/s_cexpl.c (__cexpl): Likewise.
36918         * math/s_csinl.c (__csinl): Likewise.
36919         * math/s_csinhl.c (__csinhl): Likewise.
36920         * math/s_ctanl.c (__ctanl): Likewise.
36921         * math/s_ctanhl.c (__ctanhl): Likewise.
36923 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
36925         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
36926         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
36927         (_IO_off_t): Define to __off_t, not _G_off_t.
36928         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
36929         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
36930         (_IO_wint_t): Define to wint_t, not _G_wint_t.
36931         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
36932         type of __dummy and __dummy2 fields.
36933         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
36934         (_G_ssize_t): Likewise.
36935         (_G_off_t): Likewise.
36936         (_G_pid_t): Likewise.
36937         (_G_uid_t): Likewise.
36938         (_G_wchar_t): Likewise.
36939         (_G_wint_t): Likewise.
36940         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
36941         (_G_ssize_t): Likewise.
36942         (_G_off_t): Likewise.
36943         (_G_pid_t): Likewise.
36944         (_G_uid_t): Likewise.
36945         (_G_wchar_t): Likewise.
36946         (_G_wint_t): Likewise.
36947         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
36948         (_G_ssize_t): Likewise.
36949         (_G_off_t): Likewise.
36950         (_G_pid_t): Likewise.
36951         (_G_uid_t): Likewise.
36952         (_G_wchar_t): Likewise.
36953         (_G_wint_t): Likewise.
36955 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36957         * malloc/arena.c: Include malloc-sysdep.h.
36958         (shrink_heap): Use check_may_shrink_heap to decide if madvise
36959         is sufficient to shrink the heap or an unmap is needed.
36960         * sysdeps/generic/malloc-sysdep.h: New file.  Define
36961         new function check_may_shrink_heap.
36962         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
36963         new function check_may_shrink_heap.
36965 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
36967         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
36968         comments.
36970 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
36972         * catgets/test-gencat.sh: Add "set -e".
36973         * elf/tst-pathopt.sh: Likewise.
36974         * grp/tst_fgetgrent.sh: Likewise.
36975         * iconvdata/run-iconv-test.sh: Likewise.
36976         * intl/tst-gettext.sh: Likewise.
36977         * intl/tst-gettext2.sh: Likewise.
36978         * intl/tst-gettext4.sh: Likewise.
36979         * intl/tst-gettext6.sh: Likewise.
36980         * intl/tst-translit.sh: Likewise.
36981         * io/ftwtest-sh: Likewise.
36982         * libio/test-freopen.sh: Likewise.
36983         * malloc/tst-mtrace.sh: Likewise.
36984         * posix/globtest.sh: Likewise.
36985         * posix/tst-getconf.sh: Likewise.
36986         * posix/wordexp-tst.sh: Likewise.
36987         * stdio-common/tst-printf.sh: Likewise.
36988         * stdio-common/tst-unbputc.sh: Likewise.
36989         * stdlib/tst-fmtmsg.sh: Likewise.
36990         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
36991         * catgets/Makefile: Do not specify -e option when running
36992         testsuite shell scripts.
36993         * elf/Makefile: Likewise.
36994         * grp/Makefile: Likewise.
36995         * iconvdata/Makefile: Likewise.
36996         * intl/Makefile: Likewise.
36997         * io/Makefile: Likewise.
36998         * libio/Makefile: Likewise.
36999         * malloc/Makefile: Likewise.
37000         * posix/Makefile: Likewise.
37001         * stdio-common/Makefile: Likewise.
37002         * stdlib/Makefile: Likewise.
37003         * sysdeps/x86_64/Makefile: Likewise.
37005         * io/ftwtest-sh: Add copyright header.
37006         * posix/globtest.sh: Likewise.
37007         * posix/tst-getconf.sh: Likewise.
37008         * posix/wordexp-tst.sh: Likewise.
37009         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37011 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
37013         [BZ #13679]
37014         * Makeconfig (+link): Defined as $(+link-static) if
37015         $(build-shared) isn't yes.
37016         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37017         isn't yes.
37018         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37020         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37022         [BZ #14562]
37023         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37024         new chunk size with MALLOC_ALIGN_MASK.
37026 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
37028         [BZ #5044]
37029         * stdio-common/printf_fphex.c: Include <stdbool.h> and
37030         <rounding-mode.h>.
37031         (__printf_fphex): Determine rounding using get_rounding_mode and
37032         round_away.
37033         * stdio-common/tst-printf-round.c (struct hex_test): New
37034         structure.
37035         (hex_tests): New variable.
37036         (test_hex_in_one_mode): New function.
37037         (do_test): Also run tests for hex float output.
37039 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
37041         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37042         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37043         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37044         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37045         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37046         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37047         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37048         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37050 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
37052         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37053         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37054         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37055         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37057 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
37059         [BZ #14579]
37060         * elf/rtld.c (dl_main): Limit the check for self loading to normal
37061         mode only.
37062         * elf/tst-rtld-load-self.sh: New test.
37063         * elf/Makefile: Run it.
37065 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
37067         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37068         (tst-writev-ENV): Remove.
37069         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37071 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
37073         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37075 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
37077         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37078         unconditional.
37079         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37080         Likewise.
37081         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37082         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37083         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37084         Likewise.
37086 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
37088         [BZ #14587]
37089         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37090         * config.make.in (have-cpp-asm-debuginfo): Removed.
37091         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37092         * configure: Regenerated.
37094 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
37096         [BZ #5044]
37097         * stdio-common/printf_fp.c: Include <stdbool.h> and
37098         <rounding-mode.h>.
37099         (___printf_fp): Determine rounding using get_rounding_mode and
37100         round_away.
37101         * stdio-common/tst-printf-round.c: New file.
37102         * stdio-common/Makefile (tests): Add tst-printf-round.
37103         (link-libm): New variable.
37104         ($(objpfx)tst-printf-round): Depend in $(link-libm).
37106 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
37108         [BZ #14576]
37109         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37110         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37111         Likewise.
37112         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37113         Likewise.
37115 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
37117         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37118         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37119         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37120         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37122 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
37124         [BZ #14518]
37125         * include/rounding-mode.h: New file.
37126         * sysdeps/generic/get-rounding-mode.h: Likewise.
37127         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37128         * stdlib/strtod_l.c: Include <rounding-mode.h>.
37129         (MAX_VALUE): New macro.
37130         (MIN_VALUE): Likewise.
37131         (overflow_value): New function.
37132         (underflow_value): Likewise.
37133         (round_and_return): Use overflow_value and underflow_value to
37134         determine return values in overflow and underflow cases.  Use
37135         round_away to determine rounding depending on rounding mode.
37136         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37137         determine return values in overflow and underflow cases.
37138         * stdlib/tst-strtod-round.c: Include <fenv.h>.
37139         (struct test_results): New structure.
37140         (struct test): Use struct test_results to store expected results
37141         for all rounding modes.
37142         (TEST): Include expected results for all rounding modes.
37143         (test_in_one_mode): New function.
37144         (do_test): Use test_in_one_mode to compute and check results.
37145         Check results for all rounding modes.
37146         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37147         $(link-libm).
37149 2012-12-09  Allan McRae  <allan@archlinux.org>
37151         * sysdeps/i386/fpu/libm-test-ulps: Update
37153 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
37155         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37156         (_G_int32_t): Likewise.
37157         (_G_uint16_t): Likewise.
37158         (_G_uint32_t): Likewise.
37159         (_G_HAVE_BOOL): Likewise.
37160         (_G_HAVE_ATEXIT): Likewise.
37161         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37162         (_G_HAVE_IO_FILE_OPEN): Likewise.
37163         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37164         (_G_int32_t): Likewise.
37165         (_G_uint16_t): Likewise.
37166         (_G_uint32_t): Likewise.
37167         (_G_HAVE_BOOL): Likewise.
37168         (_G_HAVE_ATEXIT): Likewise.
37169         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37170         (_G_HAVE_IO_FILE_OPEN): Likewise.
37171         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37172         (_G_int32_t): Likewise.
37173         (_G_uint16_t): Likewise.
37174         (_G_uint32_t): Likewise.
37175         (_G_HAVE_BOOL): Likewise.
37176         (_G_HAVE_ATEXIT): Likewise.
37177         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37178         (_G_HAVE_IO_FILE_OPEN): Likewise.
37180 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
37182         * csu/libc-tls.c: Update copyright years.
37184 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
37186         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37187         [!_G_USING_THUNKS]: Remove conditional code.
37188         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37189         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37191         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37192         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37193         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37194         (_G_VTABLE_LABEL_PREFIX): Likewise.
37195         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37196         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37197         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37198         (_G_VTABLE_LABEL_PREFIX): Likewise.
37199         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37200         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37201         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37202         (_G_VTABLE_LABEL_PREFIX): Likewise.
37203         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37205 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
37207         * libio/Makefile: Include ../Makeconfig before tests.
37208         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37209         only if $(build-shared) is yes.
37211         * iconv/gconv_db.c: Update copyright years.
37213 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37215         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37216         unwind info if defined PIC. Fix special cases description.
37217         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37219         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37220         DP_HI_MASK entry.
37221         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37223 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
37225         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37227         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37228         is NULL.
37230         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37231         (LDLIBS-tst-chk4): This.
37232         (LDFLAGS-tst-chk5): Renamed to ...
37233         (LDLIBS-tst-chk5): This.
37234         (LDFLAGS-tst-chk6): Renamed to ...
37235         (LDLIBS-tst-chk6): This.
37236         (LDFLAGS-tst-lfschk4): Renamed to ...
37237         (LDLIBS-tst-lfschk4): This.
37238         (LDFLAGS-tst-lfschk5): Renamed to ...
37239         (LDLIBS-tst-lfschk5): This.
37240         (LDFLAGS-tst-lfschk6): Renamed to ...
37241         (LDLIBS-tst-lfschk6): This.
37243         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37244         on $(common-objpfx)soversions.mk.
37246 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
37248         [BZ #10014]
37249         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37250         example host name.
37252 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37254         * malloc/arena.c (arena_get_retry): New function that gets
37255         another arena for the caller to try its request on.
37256         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37257         current arena cannot fulfill the request.
37258         (__libc_memalign): Likewise.
37259         (__libc_memalign): Likewise.
37260         (__libc_pvalloc): Likewise.
37261         (__libc_calloc): Likewise.
37263 2012-09-05  John Tobey  <john.tobey@gmail.com>
37265         [BZ #13542]
37266         * manual/arith.texi (Operations on Complex): Fix description
37267         of carg branch cut.
37269 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
37271         [BZ #10014]
37272         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37273         host name.
37275         [BZ #10038]
37276         * manual/memory.texi (Memory): Make order of menu items match
37277         order of sections.
37279 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37281         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37282         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
37283         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37285 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37287         * csu/libc-tls.c (static_dtv): Renamed to ...
37288         (_dl_static_dtv): This.  Make it global.
37289         (_dl_initial_dtv): Removed.
37290         (__libc_setup_tls): Updated.
37291         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37292         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37293         DL_INITIAL_DTV.
37295 2012-09-06  Petr Machata  <pmachata@redhat.com>
37297         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37298         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37299         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37300         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37302 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37304         [BZ #14545]
37305         * csu/libc-tls.c (_dl_initial_dtv): New variable.
37306         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37307         freeing dtv[-1].
37309 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37311         [BZ #14544]
37312         * Makeconfig (link-static-before-libc): Replace $(+prector)
37313         with $(+prectorT).
37314         (link-static-after-libc): Replace $(+postctor) with
37315         $(+postctorT).
37316         (link-bounded): Replace $(+prector)/$(+postctor) with
37317         $(+prectorT)/$(+postctorT).
37318         (+prectorT): New macro.
37319         (+postctorT): Likewise.
37321 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
37323         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37324         (round_str): Handle values above the maximum for IBM long double
37325         as inexact.
37326         * stdlib/tst-strtod-round.c (tests): Regenerated.
37328 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37330         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37331         assembler flag.
37332         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37333         zarch_nohighgprs around the zarch optimized routines.
37334         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37335         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37336         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37337         for zarch.
37339 2012-09-05  David S. Miller  <davem@davemloft.net>
37341         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37343         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37344         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
37345         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37346         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37347         entries.
37349 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37351         * malloc/arena.c: Fold copyright years.
37352         * malloc/mcheck.c, malloc/memusage.c: Likewise.
37354 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37356         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37358 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37360         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
37362 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37364         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37365         change internal state upon failure.
37367 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37369         * malloc/mcheck.c (mcheck_check_all): Fix typo.
37370         * malloc/memusage.c (mmap): Likewise.
37371         (mmap64, mremap): Likewise.  Adjust name in comment.
37373 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37375         * libio/fileops.c: Fix typos in comments.
37376         * libio/oldfileops.c: Likewise.
37377         * libio/wfileops.c: Likewise.
37379 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37381         [BZ #1349]
37382         * malloc/Makefile (tests): Add tst-malloc-usable test case.
37383         (tst-malloc-usable-ENV): Set environment for test case.
37384         * malloc/hooks.c (malloc_check_get_size): New function to get
37385         requested size.
37386         * malloc/malloc.c (musable): Use malloc_check_get_size.
37387         * malloc/tst-malloc-usable.c: New test case.
37389 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37391         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37393 2012-09-05  Allan McRae  <allan@archlinux.org>
37395         [BZ #13966]
37396         * configure.in (CXX_SYSINCLUDES): Use compiler output to
37397         determine header location.
37398         * configure: Regenerated.
37400 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37402         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37403         float format.
37404         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
37405         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37406         format.
37407         (test): Regenerate.
37409 2012-09-04  David S. Miller  <davem@davemloft.net>
37411         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37412         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37413         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37415 2012-09-04  Florian Weimer  <fweimer@redhat.com>
37417         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37418         failures.
37420         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
37422 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
37424         [BZ #9914]
37425         * libio/iogetdelim.c: Include <limits.h>.
37426         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
37427         + len + 1 would overflow.
37429 2012-09-03  Andreas Jaeger  <aj@suse.de>
37431         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37432         * sysdeps/i386/fpu/libm-test-ulps: Update.
37434 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37436         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37437         Add s_sinf-sse2, s_conf-sse2.
37439         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
37440         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
37441         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
37442         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
37444         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
37445         for using routine as __sinf_ia32.
37446         Use macro for function declaration and weak_alias.
37447         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
37448         for using routine as __cosf_ia32.
37449         Use macro for function declaration and weak_alias.
37451         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
37452         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
37454         * sysdeps/x86_64/fpu/s_sinf.S: New file.
37455         * sysdeps/x86_64/fpu/s_cosf.S: New file.
37456         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37458         * math/libm-test.inc (cos_test): Add more test cases.
37459         (sin_test): Likewise.
37460         (sincos_test): Likewise.
37462 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37464         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37465         (IFUNC_RESOLVE): Make pointers to the specialized implementations
37466         hidden.
37467         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
37469 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
37471         [BZ #14538]
37472         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
37473         first element of the GOT.
37474         (elf_machine_load_address): Return the difference between
37475         the runtime address of _DYNAMIC and elf_machine_dynamic ().
37477 2012-09-01  Allan McRae  <allan@archlinux.org>
37479         [BZ #13412]
37480         * configure.in (AWK): Require gawk version 3.0 or later.
37481         * configure: Regenerated.
37483 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
37485         * sysdeps/unix/sysv/linux/kernel-features.h
37486         (__ASSUME_POSIX_CPU_TIMERS): Remove.
37487         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
37488         [__NR_clock_getres]: Make code unconditional.
37489         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
37490         (clock_getcpuclockid): Remove code left unreachable by removal of
37491         conditionals.
37492         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
37493         code unconditional.
37494         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37495         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37496         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
37497         Make code unconditional.
37498         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
37499         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37500         * sysdeps/unix/sysv/linux/clock_settime.c
37501         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
37502         conditional code.
37503         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
37504         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
37506 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
37508         [BZ #14476]
37509         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
37510         scripts/test-installation.pl.
37512         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
37513         and $ld_so_version if it is set.
37515 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
37517         [BZ #14516]
37518         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
37519         failure if reading from procfs failed.
37520         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
37522 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
37524         * sysdeps/unix/sysv/linux/kernel-features.h
37525         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
37526         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37527         Remove conditional code.
37528         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37529         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
37530         Remove conditional code.
37531         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37532         * sysdeps/unix/sysv/linux/i386/fxstat.c
37533         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37534         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37535         * sysdeps/unix/sysv/linux/i386/fxstatat.c
37536         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37537         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37538         * sysdeps/unix/sysv/linux/i386/lxstat.c
37539         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
37540         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37541         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
37542         Remove conditional code.
37543         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37544         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
37545         Remove conditional code.
37546         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37547         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
37548         <kernel-features.h>.
37549         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
37550         Remove.
37551         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
37552         Remove conditional code.
37553         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
37554         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
37555         Remove conditional.
37557 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
37559         [BZ #5400]
37560         * NEWS: Add fixed bug number.
37562 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
37564         [BZ #14519]
37565         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
37566         underflowing exponent in case of negative sign.
37567         * stdlib/tst-strtod-round-data: Add more tests.
37568         * stdlib/tst-strtod-round.c (tests): Regenerated.
37570         [BZ #3479]
37571         * stdlib/strtod_l.c (NDIG): Remove.
37572         (HEXNDIG): Likewise.
37573         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
37574         smallest representable value.
37575         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
37576         lie within an exact representation of 1/2 ulp of the result.
37577         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
37578         unconditionally.
37579         (TENS_P9_IDX): Define unconditionally.
37580         (TENS_P9_SIZE): Likewise.
37581         (TENS_P10_IDX): Likewise.
37582         (TENS_P10_SIZE): Likewise.
37583         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
37584         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
37585         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
37586         entries for 10^2^13 and 10^2^14.
37587         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
37588         (TENS_P13_IDX): Define.
37589         (TENS_P13_SIZE): Likewise.
37590         (TENS_P14_IDX): Likewise.
37591         (TENS_P14_SIZE): Likewise.
37592         (_fpioconst_pow10): Change array size to
37593         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
37594         unconditional.
37595         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
37596         1024]: Add entries for 10^2^13 and 10^2^14.
37597         [LAST_POW10 > _LAST_POW10]: Remove #error.
37598         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
37599         (_fpioconst_pow10): Change array size to
37600         FPIOCONST_POW10_ARRAY_SIZE.
37601         * stdlib/gen-fpioconst.c: New file.
37602         * stdlib/gen-tst-strtod-round.c: Likewise.
37603         * stdlib/tst-strtod-round-data: Likewise.
37604         * stdlib/tst-strtod-round.c: Likewise.
37605         * stdlib/Makefile (tests): Add tst-strtod-round.
37607         [BZ #14459]
37608         * stdlib/strtod_l.c: Include <stdint.h>.
37609         (NDEBUG): Do not define.
37610         (round_and_return): Change EXPONENT parameter to type intmax_t.
37611         Rearrange calculations to avoid internal overflow possibilities.
37612         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
37613         Rearrange calculations to avoid internal overflow possibilities.
37614         Assert that number fits inside MPNSIZE limbs.
37615         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
37616         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
37617         calculations and add assertions to avoid internal overflow
37618         possibilities.  Add casts to avoid signed/unsigned operations.
37619         * stdlib/tst-strtod-overflow.c: New file.
37620         * stdlib/Makefile (tests): Add tst-strtod-overflow.
37622 2012-08-25  Marek Polacek  <polacek@redhat.com>
37624         * time/time.h: Fix some typos in comments.
37626 2012-08-23  Roland McGrath  <roland@hack.frob.com>
37628         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
37629         * posix/tst-rfc3484-2.c: Likewise.
37630         * posix/tst-rfc3484-3.c: Likewise.
37632 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
37634         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
37635         (EF_ARM_ABI_FLOAT_HARD): Likewise.
37637 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
37639         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
37640         #include of fxstatat64.c.
37642 2012-08-22  Roland McGrath  <roland@hack.frob.com>
37644         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
37645         * shadow/getspent_r.c: Likewise.
37646         * shadow/getspnam.c: Likewise.
37647         * shadow/getspnam_r.c: Likewise.
37648         * gshadow/getsgent.c: Likewise.
37649         * gshadow/getsgent_r.c: Likewise.
37650         * gshadow/getsgnam.c: Likewise.
37651         * gshadow/getsgnam_r.c: Likewise.
37652         * inet/getnetbyad.c: Likewise.
37653         * inet/getnetbyad_r.c: Likewise.
37654         * inet/getnetbynm.c: Likewise.
37655         * inet/getnetbynm_r.c: Likewise.
37656         * inet/getnetent.c: Likewise.
37657         * inet/getnetent_r.c: Likewise.
37658         * inet/getproto.c: Likewise.
37659         * inet/getproto_r.c: Likewise.
37660         * inet/getprtent.c: Likewise.
37661         * inet/getprtent_r.c: Likewise.
37662         * inet/getprtname.c: Likewise.
37663         * inet/getprtname_r.c: Likewise.
37664         * inet/getrpcbyname.c: Likewise.
37665         * inet/getrpcbyname_r.c: Likewise.
37666         * inet/getrpcbynumber.c: Likewise.
37667         * inet/getrpcbynumber_r.c: Likewise.
37668         * inet/getrpcent.c: Likewise.
37669         * inet/getrpcent_r.c: Likewise.
37670         * inet/getaliasent.c: Likewise.
37671         * inet/getaliasent_r.c: Likewise.
37672         * inet/getaliasname.c: Likewise.
37673         * inet/getaliasname_r.c: Likewise.
37674         * nscd/getgrgid_r.c: Likewise.
37675         * nscd/getgrnam_r.c: Likewise.
37676         * nscd/gethstbyad_r.c: Likewise.
37677         * nscd/gethstbynm3_r.c: Likewise.
37678         * nscd/getpwnam_r.c: Likewise.
37679         * nscd/getpwuid_r.c: Likewise.
37680         * nscd/getsrvbynm_r.c: Likewise.
37681         * nscd/getsrvbypt_r.c: Likewise.
37682         * nscd/gai.c: Likewise.
37684         * configure.in (build_nscd): New substituted variable, set
37685         by --disable-build-nscd and defaults to $use_nscd.
37686         * configure: Regenerated.
37687         * config.make.in (build-nscd): New substituted variable.
37688         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
37689         Change conditional to require [$(build-nscd) = yes] as well.
37690         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
37692         [BZ# 13696]
37693         * configure.in (use_nscd): New substituted variable, set by
37694         --disable-nscd.  If enabled, define USE_NSCD.
37695         * configure: Regenerated.
37696         * config.h.in: Add USE_NSCD.
37697         * config.make.in (use-nscd): New substituted variable.
37698         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
37699         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
37700         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
37701         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
37702         (CFLAGS-getgrnam_r.c): Likewise.
37703         (CFLAGS-initgroups.c): Likewise.
37704         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
37705         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
37706         Variables removed.
37707         * inet/getnetgrent_r.c
37708         (nscd_setnetgrent): New function, broken out of ...
37709         (setnetgrent): ... here.  Call it.
37710         (innetgr): Conditionalize nscd bits on [USE_NSCD].
37711         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
37712         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
37713         * nscd/Makefile (routines, aux): Move definitions after include of
37714         Makeconfig.  Conditionalize on [$(use-nscd) != no].
37715         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
37716         Conditionalize on [USE_NSCD].
37717         (is_nscd, nscd_init_cb): Likewise.
37718         (nss_load_library): Conditionalize init callback on [USE_NSCD].
37719         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
37720         * nss/nss_db/db-init.c: Likewise.
37721         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
37722         [USE_NSCD].
37723         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
37724         (make_request): Use it.
37725         (cache_valid_p): New function.
37726         (__check_pf): Use it.
37727         * NEWS: Add item for --disable-nscd.
37729 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
37731         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
37732         to support sed >= 4.2.1-20-ga9bf076.
37733         * configure: Regenerated.
37735 2012-08-22  Roland McGrath  <roland@hack.frob.com>
37737         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
37738         Conditionalize whole body on [IREL].
37740 2012-08-22  Jeff Law <law@redhat.com>
37742         [BZ #14505]
37743         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
37744         if the family is PF_UNSPEC.
37746 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
37748         * Makerules (lib-version): Rename from V.
37749         (install-lib-nosubdir): Change V to lib-version.
37751 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
37753         [BZ #14252]
37754         * powerpc32/power6/wcschr.c: New file.
37755         * powerpc32/power6/wcscpy.c: New file.
37756         * powerpc32/power6/wcsrchr.c: New file.
37757         * powerpc64/power6/wcschr.c: New file.
37758         * powerpc64/power6/wcscpy.c: New file.
37759         * powerpc64/power6/wcsrchr.c: New file.
37761 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
37763         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
37764         (two_way_short_needle): Use it.
37765         * string/strstr.c (AVAILABLE1_USES_J): Define.
37766         * string/strcasestr.c: Likewise.
37768         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
37769         array references.
37770         * string/strcasestr.c (TOLOWER): Make side-effect safe.
37772         [BZ #11607]
37773         * NEWS: Add an entry.
37774         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
37775         define their defaults.
37776         (two_way_short_needle): Detect end-of-string on-the-fly.
37777         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
37778         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
37779         * string/bug-strcasestr1.c: New test.
37780         * string/Makefile: Run it.
37782 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
37784         [BZ #11607]
37785         * string/str-two-way.h (two_way_short_needle): Optimize matching of
37786         the first character.
37788 2012-08-21  Roland McGrath  <roland@hack.frob.com>
37790         * csu/elf-init.c (__libc_csu_irel): Function removed.
37791         * csu/libc-start.c (apply_irel): New function.
37792         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
37794 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
37796         * sysdeps/unix/sysv/linux/kernel-features.h
37797         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
37798         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
37799         <kernel-features.h>.
37800         [__NR_fadvise64_64]: Make code unconditional.
37801         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
37802         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37803         !__NR_fadvise64_64)]: Likewise.
37804         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
37805         !__NR_fadvise64_64))]: Likewise.
37806         [__NR_fadvise64]: Make code unconditional.
37807         [!__NR_fadvise64]: Remove conditional code.
37808         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
37809         <kernel-features.h>.
37810         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37811         unconditional.
37812         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37813         conditional code.
37814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
37815         not include <kernel-features.h>.
37816         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37817         unconditional.
37818         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37819         conditional code.
37820         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
37821         include <kernel-features.h>.
37822         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
37823         unconditional.
37824         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
37825         conditional code.
37827 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
37829         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
37830         slight instruction rearrangements per scrollpipe analysis.
37831         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
37833 2012-08-20  Roland McGrath  <roland@hack.frob.com>
37835         * manual/syslog.texi (syslog; vsyslog, closelog):
37836         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
37837         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
37839         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
37840         DSOCAPS to match condition on defining it.
37842 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
37844         * sysdeps/unix/sysv/linux/kernel-features.h
37845         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
37846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
37847         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37848         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
37850         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37851         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
37853         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
37854         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
37856         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
37857         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
37859         * sysdeps/unix/sysv/linux/kernel-features.h
37860         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
37861         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
37862         unconditional.
37863         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37864         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
37865         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37866         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37867         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
37868         Make code unconditional.
37869         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37870         (__mmap64) [!__NR_mmap2]: Likewise.
37871         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
37872         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
37873         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37874         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
37875         [__NR_mmap2]: Make code unconditional.
37876         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
37877         (__mmap64) [!__NR_mmap2]: Likewise.
37879 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37881         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
37883 2012-08-18  Andreas Jaeger  <aj@suse.de>
37885         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
37887 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
37889         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
37890         * include/unistd.h (__have_sock_cloexec): Likewise.
37891         (__have_pipe2): Likewise.
37892         (__have_dup3): Likewise.
37894 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
37896         [BZ #9685]
37897         * include/unistd.h (__have_pipe2): Change define into an extern int.
37898         (__have_dup3): Likewise.
37899         * socket/have_sock_cloexec.c: Include fcntl.h.
37900         (__have_pipe2): New variable.
37901         (__have_dup3): Likewise.
37903 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
37905         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
37907 2012-08-17  Marek Polacek  <polacek@redhat.com>
37909         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
37910         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
37912 2012-08-17  Roland McGrath  <roland@hack.frob.com>
37914         * configure.in: Add AC_SUBST for sysheaders.
37915         * configure: Regenerated.
37916         * config.make.in (sysheaders): New substituted variable.
37918         * sysdeps/unix/mkfifo.c: Moved ...
37919         * sysdeps/posix/mkfifo.c: ... here.
37920         * sysdeps/unix/mkfifoat.c: Moved ...
37921         * sysdeps/posix/mkfifoat.c: ... here.
37923         * sysdeps/unix/utime.c: Moved ...
37924         * sysdeps/posix/utime.c: ... here.
37926         * sysdeps/unix/time.c: Moved ...
37927         * sysdeps/posix/time.c: ... here.
37928         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
37929         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
37931         * sysdeps/unix/nice.c: Moved ...
37932         * sysdeps/posix/nice.c: ... here.
37934         * sysdeps/unix/alarm.c: Moved ...
37935         * sysdeps/posix/alarm.c: ... here.
37937         * intl/Makefile ($(codeset_mo)): Depend on the input file.
37939 2012-08-17  Jeff Law <law@redhat.com>
37941         * intl/Makefile (codeset_mo): New variable.
37942         ($(codeset_mo)): New target.
37943         (tst-codeset.out): Depend on that.  Remove explicit rule.
37944         (tst-gettext3.out, tst-gettext5.out): Likewise.
37945         (LOCPATH-ENV, tst-codeset-ENV): New variables.
37946         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
37947         * intl/tst-codeset.sh: Remove.
37948         * intl/tst-gettext3.sh: Likewise.
37949         * intl/tst-gettext5.sh: Likewise.
37951 2012-08-17  Roland McGrath  <roland@hack.frob.com>
37953         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
37954         * sysdeps/unix/syscalls.list: ... here.
37956         * sysdeps/posix/getaddrinfo.c
37957         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
37958         (gaiconf_init, gaiconf_reload): Use them.
37959         [!_STATBUF_ST_NSEC]
37960         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
37961         Define using time_t rather than struct timespec.
37963         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
37964         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
37965         Macros removed.
37966         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
37967         [!NO_THREADS].
37968         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
37969         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
37970         Likewise.
37972         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
37973         __libc_cleanup_push argument.
37975         * bits/param.h: New file.
37976         * misc/sys/param.h: New file.
37977         * include/sys/param.h: New file.
37978         * misc/Makefile (headers): Add bits/param.h.
37979         * sysdeps/generic/sys/param.h: File removed.
37980         * sysdeps/unix/sysv/linux/bits/param.h: New file.
37981         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
37982         * sysdeps/mach/hurd/bits/param.h: New file.
37983         * sysdeps/mach/hurd/sys/param.h: File removed.
37985         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
37986         last change.
37988         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
37989         [_IO_MTSAFE_IO].
37990         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
37991         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
37992         New macros.
37994         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
37995         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
37996         rather than -D_IO_MTSAFE_IO conditionally.
37997         * stdio-common/Makefile (CPPFLAGS): Likewise.
37998         * wcsmbs/Makefile (CPPFLAGS): Likewise.
37999         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38000         Use $(libio-mtsafe).
38001         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38002         of -D_IO_MTSAFE_IO.
38003         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38004         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38005         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38006         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38007         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38008         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38009         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38010         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38011         (CFLAGS-fread_u_chk.c): Likewise.
38012         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38013         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38014         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38015         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38016         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38017         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38018         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38019         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38020         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38022         * libio/Makefile: Test [$(libc-reentrant) = yes]
38023         instead of [$(filter %REENTRANT, $(defines)) nonempty].
38025         * Makeconfig
38026         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38027         * sysdeps/pthread/configure: File removed.
38028         * sysdeps/pthread/Makeconfig: New file.
38029         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38030         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38032 2012-08-16  Gary Benson  <gbenson@redhat.com>
38034         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38035         unmapping the first object in a namespace.
38037 2012-08-16  Roland McGrath  <roland@hack.frob.com>
38039         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38040         (__internal_setnetgrent): ... this.  Add internal_function to
38041         definition.  Add libc_hidden_def.
38042         (setnetgrent): Update caller.
38043         (internal_endnetgrent): Renamed to ...
38044         (__internal_endnetgrent): ... this.  Add internal_function to
38045         definition.  Add libc_hidden_def.
38046         (endnetgrent): Update caller.
38047         (internal_getnetgrent_r): Renamed to ...
38048         (__internal_getnetgrent_r): ... this.  Add internal_function to
38049         definition.  Add libc_hidden_def.
38050         (__getnetgrent_r): Update caller.
38051         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
38053 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
38055         * stdlib/longlong.h: Update from GCC.
38057 2012-08-16  Roland McGrath  <roland@hack.frob.com>
38059         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38060         on _QL, which is set by umul_ppmm but never used.
38061         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38062         variables, which are set by GMP macros but never used.
38063         * stdio-common/_itowa.c (_itowa): Likewise.
38064         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38065         * stdlib/mod_1.c (mpn_mod_1): Likewise.
38067 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
38069         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38070         struct La_sh_regs is not constant.
38071         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38072         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38073         and struct La_sparc64_regs are not constant.
38075 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
38077         * sysdeps/unix/sysv/linux/kernel-features.h
38078         (__ASSUME_POSIX_TIMERS): Remove.
38079         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38080         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38081         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38082         Make code unconditional.
38083         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38084         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38085         Make code unconditional.
38086         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38087         * sysdeps/unix/sysv/linux/clock_nanosleep.c
38088         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38089         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38090         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38091         Make code unconditional.
38092         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38093         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38094         (__libc_missing_posix_timers): Remove.
38096 2012-08-15  Roland McGrath  <roland@hack.frob.com>
38098         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38099         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38101         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38103         * elf/dl-sym.c: Include <stdlib.h>.
38105         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38106         constants, which avoids warnings in 32-bit builds.
38108         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38109         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38111         * misc/lseek.c: File moved to ...
38112         * io/lseek.c: ... here.
38114         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38116         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38117         shifting LEN more than 31 bits at once.
38119 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38121         [BZ #14195]
38122         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38123         segmentation fault for a case of two empty input strings.
38124         * string/test-strncasecmp.c (check1): Renamed to...
38125         (bz12205): ...this.
38126         (bz14195): Add new testcase for two empty input strings and N > 0.
38127         (test_main): Call new testcase, adapt for renamed function.
38129 2012-08-15  Andreas Jaeger  <aj@suse.de>
38131         [BZ #14090]
38132         * crypt/md5test2.c: New test, based on test supplied by Serge
38133         Belyshev <belyshev@depni.sinp.msu.ru>.
38134         * crypt/Makefile (xtests): Add md5test-giant..
38135         * crypt/Makefile ($(objpfx)md5test-giant): Add.
38137 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
38139         [BZ #14090]
38140         * crypt/md5.c (md5_process_block): Don't assume the buffer
38141         length is less than 2**32.
38142         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38143         length is less than 2**64.
38145 2012-08-15  Roland McGrath  <roland@hack.frob.com>
38147         * string/str-two-way.h: Include <sys/param.h>.
38148         (MAX): Macro removed.
38150         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38151         Move #define and #undef of memmove to just before and after
38152         including <string.h>.
38154         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38155         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38156         and after including <string.h>.  Move declarations of
38157         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38158         to before #include "string/memmove.c".
38160         * include/dirent.h: Declare __getdirentries.
38162         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38163         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38165 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
38167         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38168         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38169         * sysdeps/i386/configure: Regenerated.
38170         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38171         STABS_CURRENT_FILE, and STABS_FUN.
38172         (END): Remove call to STABS_FUN_END.
38173         (STABS_CURRENT_FILE1): Delete.
38174         (STABS_CURRENT_FILE): Likewise.
38175         (STABS_FUN): Likewise.
38176         (STABS_FUN_END): Likewise.
38177         (STABS_FUN2): Likewise.
38178         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38179         * sysdeps/x86_64/configure: Regenerated.
38181 2012-08-14  Roland McGrath  <roland@hack.frob.com>
38183         * elf/dl-open.c: Include <atomic.h>.
38184         * elf/dl-lookup.c: Likewise.
38186 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
38188         * sysdeps/unix/sysv/linux/kernel-features.h
38189         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38190         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38191         unconditionally.
38192         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38193         unconditionally.
38194         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38195         condition on __ASSUME_CLONE_THREAD_FLAGS.
38197 2012-08-14  Andreas Jaeger  <aj@suse.de>
38199         * sysdeps/i386/fpu/libm-test-ulps: Update.
38201 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
38203         * include/atomic.h (atomic_exchange_and_add): Split into ...
38204         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38205         New atomic macros.
38207 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
38209         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38211 2012-08-13  Jeff Law <law@redhat.com>
38213         * manual/stdio.texi (snprintf): Clarify handling of the trailing
38214         null byte in the output string.
38216 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
38218         * sysdeps/unix/sysv/linux/kernel-features.h
38219         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38220         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38221         (__ASSUME_ARG_MAX_STACK_BASED): Define.
38222         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38223         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38224         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
38225         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38227 2012-08-09  Jeff Law <law@redhat.com>
38229         [BZ #13939]
38230         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38231         When avoid_arena is set, don't retry in the that arena.  Pick the
38232         next one, whatever it might be.
38233         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38234         (arena_lock): Pass in new parameter to arena_get2.
38235         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38236         arena_get2.
38237         (__libc_malloc): Unify retrying after main arena failure with
38238         __libc_memalign version.
38239         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38241 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
38243         [BZ #14166]
38244         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38245         to __redirect_strstr.
38246         (__strstr_sse42): Use typeof __redirect_strstr.
38247         (__strstr_ia32): Likewise.
38248         (__libc_strstr): New prototype.
38249         (strstr): Renamed to ...
38250         (__libc_strstr): This.
38251         (strstr): New strong alias of __libc_strstr.
38252         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38253         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38254         __redirect_time.
38255         Include <time.h>.
38256         (__libc_time): New prototype.
38257         (time_ifunc): Replace time with __libc_time.
38258         (time): New strong alias and hidden definition of __libc_time.
38259         (__GI_time): Remove strong alias.
38260         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38261         Include <stddef.h>.
38262         (memmove): Redefined to __redirect_memmove.
38263         (__memmove_sse2): Use typeof __redirect_memmove.
38264         (__memmove_ssse3): Likewise.
38265         (__memmove_ssse3_back): Likewise.
38266         (__libc_memmove): New prototype.
38267         (memmove): Renamed to ...
38268         (__libc_memmove): This.
38269         (memmove): New strong alias of __libc_memmove.
38271 2012-08-08  Mark Salter  <msalter@redhat.com>
38273         * elf/elf.h
38274         (R_MN10300_TLS_GD): Define.
38275         (R_MN10300_TLS_LD): Likewise.
38276         (R_MN10300_TLS_LDO): Likewise.
38277         (R_MN10300_TLS_GOTIE): Likewise.
38278         (R_MN10300_TLS_IE): Likewise.
38279         (R_MN10300_TLS_LE): Likewise.
38280         (R_MN10300_TLS_DTPMOD): Likewise.
38281         (R_MN10300_TLS_DTPOFF): Likewise.
38282         (R_MN10300_TLS_TPOFF): Likewise.
38283         (R_MN10300_SYM_DIFF): Likewise.
38284         (R_MN10300_ALIGN): Likewise.
38285         (R_MN10300_NUM): Update.
38287 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
38289         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38290         Remove.
38292 2012-08-08  Roland McGrath  <roland@hack.frob.com>
38294         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38296         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38297         sysdeps/unix -> sysdeps/posix move.
38298         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38300 2012-08-07      Allan McRae     <allan@archlinux.org>
38302         [BZ #14303]
38303         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38304         (SUNOS_CPP): Likewise.
38305         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38306         not found.
38307         (open_input): Call CPP using execvp.
38309 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
38311         * sysdeps/unix/sysv/linux/kernel-features.h
38312         (__ASSUME_PROT_GROWSUPDOWN): Remove.
38313         (__ASSUME_NO_CLONE_DETACHED): Likewise.
38314         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38315         (__ASSUME_WAITID_SYSCALL): Likewise.
38316         * sysdeps/unix/sysv/linux/dl-execstack.c
38317         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38318         code unconditional.
38319         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38320         conditional code.
38321         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38322         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38323         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38324         code.
38325         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38326         unconditional.
38327         [__ASSUME_WAITID_SYSCALL]: Likewise.
38328         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38330 2012-08-07  Roland McGrath  <roland@hack.frob.com>
38332         * sysdeps/unix/closedir.c: Renamed to ...
38333         * sysdeps/posix/closedir.c: ... here.
38334         * sysdeps/unix/dirfd.c: Renamed to ...
38335         * sysdeps/posix/dirfd.c: ... here.
38336         * sysdeps/unix/dirstream.h: Renamed to ...
38337         * sysdeps/posix/dirstream.h: ... here.
38338         * sysdeps/unix/fdopendir.c: Renamed to ...
38339         * sysdeps/posix/fdopendir.c: ... here.
38340         * sysdeps/unix/opendir.c: Renamed to ...
38341         * sysdeps/posix/opendir.c: ... here.
38342         * sysdeps/unix/readdir.c: Renamed to ...
38343         * sysdeps/posix/readdir.c: ... here.
38344         * sysdeps/unix/readdir_r.c: Renamed to ...
38345         * sysdeps/posix/readdir_r.c: ... here.
38346         * sysdeps/unix/rewinddir.c: Renamed to ...
38347         * sysdeps/posix/rewinddir.c: ... here.
38348         * sysdeps/unix/seekdir.c: Renamed to ...
38349         * sysdeps/posix/seekdir.c: ... here.
38350         * sysdeps/unix/telldir.c: Renamed to ...
38351         * sysdeps/posix/telldir.c: ... here.
38352         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38353         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38354         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38355         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38357         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38358         * bits/fcntl.h: ... here.
38360         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38361         not 0.
38362         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38363         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38364         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38365         (struct flock): Move l_start, l_len to the beginning.
38366         Use __pid_t for l_pid.
38367         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38368         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38369         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38370         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38371         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38372         [__USE_LARGEFILE64] (struct flock64): New type.
38373         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38375         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38376         * bits/dirent.h: ... here.
38378         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38379         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38381 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
38383         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38384         Change from 2.6.0 to 2.6.16.
38385         * sysdeps/unix/sysv/linux/configure: Regenerated.
38386         * sysdeps/unix/sysv/linux/kernel-features.h
38387         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38388         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38389         version.
38390         (__ASSUME_UTIMES): Likewise.
38391         (__ASSUME_CLONE_STOPPED): Remove.
38392         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38393         architectures, not kernel version.
38394         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38395         (__ASSUME_NO_CLONE_DETACHED): Likewise.
38396         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38397         (__ASSUME_WAITID_SYSCALL): Likewise.
38398         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38399         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38400         * README: State 2.6.16 as minimum Linux kernel version.  Do not
38401         refer to older versions.
38403 2012-08-06  Roland McGrath  <roland@hack.frob.com>
38405         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38406         Define alphasort64 as an alias.
38407         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38408         Define versionsort64 as an alias.
38409         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38410         Define scandir64 as an alias.
38411         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38412         Define scandirat64 as an alias.
38413         * dirent/alphasort64.c (alphasort64):
38414         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38415         * dirent/versionsort64.c: Likewise.
38416         * dirent/scandir64.c: Likewise.
38417         * dirent/scandirat64.c: Likewise.
38418         * sysdeps/wordsize-64/alphasort.c: File removed.
38419         * sysdeps/wordsize-64/alphasort64.c: File removed.
38420         * sysdeps/wordsize-64/scandir.c: File removed.
38421         * sysdeps/wordsize-64/scandir64.c: File removed.
38422         * sysdeps/wordsize-64/scandirat.c: File removed.
38423         * sysdeps/wordsize-64/scandirat64.c: File removed.
38424         * sysdeps/wordsize-64/versionsort.c: File removed.
38425         * sysdeps/wordsize-64/versionsort64.c: File removed.
38426         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
38427         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
38428         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
38429         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
38430         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
38431         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
38432         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
38433         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
38435         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
38436         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38437         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
38438         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38439         [defined __arch64__ || defined __sparcv9]
38440         (__INO_T_MATCHES_INO64_T): New macro.
38441         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38442         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
38443         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
38444         * sysdeps/unix/sysv/linux/bits/dirent.h
38445         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
38446         (_DIRENT_MATCHES_DIRENT64): New macro.
38448         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
38449         Define lockf64 as an alias.
38450         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
38451         Define fseeko64 as an alias.
38452         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
38453         Define ftello64 as an alias.
38454         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
38455         Define _IO_fgetpos64 and fgetpos64 as aliases.
38456         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
38457         Define _IO_fsetpos64 and fsetpos64 as aliases.
38458         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
38459         Conditionalize body on this.
38460         * libio/fseeko64.c: Likewise.
38461         * libio/ftello64.c: Likewise.
38462         * libio/iofgetpos64.c: Likewise.
38463         * libio/iofsetpos64.c: Likewise.
38464         * sysdeps/wordsize-64/lockf.c: File removed.
38465         * sysdeps/wordsize-64/lockf64.c: File removed.
38466         * sysdeps/wordsize-64/fseeko.c: File removed.
38467         * sysdeps/wordsize-64/fseeko64.c: File removed.
38468         * sysdeps/wordsize-64/ftello.c: File removed.
38469         * sysdeps/wordsize-64/ftello64.c: File removed.
38470         * sysdeps/wordsize-64/iofgetpos.c: File removed.
38471         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
38472         * sysdeps/wordsize-64/iofsetpos.c: File removed.
38473         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
38474         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
38475         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
38476         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
38477         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
38478         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
38479         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
38480         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
38481         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
38482         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
38483         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
38485         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38486         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
38487         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
38488         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
38489         [defined __arch64__ || defined __sparcv9]
38490         (__OFF_T_MATCHES_OFF64_T): New macro.
38491         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
38492         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
38493         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
38494         (__OFF_T_MATCHES_OFF64_T): New macro.
38496 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
38498         * stdlib/secure-getenv.c (__secure_getenv): Replace
38499         GLIBC_2_16 with GLIBC_2_17.
38501 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
38503         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
38504         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
38506 2012-08-03  David S. Miller  <davem@davemloft.net>
38508         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38510 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
38512         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
38513         Remove.
38514         (__ASSUME_CORRECT_SI_PID): Likewise.
38515         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
38516         (__ASSUME_TMPFS_NAME): Likewise.
38517         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
38518         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
38519         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
38520         (HAVE_AUX_SECURE): Make definition unconditional.
38521         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
38522         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
38524 2012-08-03  Roland McGrath  <roland@hack.frob.com>
38526         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
38527         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
38528         * sysdeps/mach/hurd/eloop-threshold.h: New file.
38529         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
38530         __eloop_threshold instead of SYMLOOP_MAX.
38532         * sysdeps/generic/eloop-threshold.h: New file.
38533         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
38534         of MAXSYMLINKS.
38535         * elf/chroot_canon.c (chroot_canon): Likewise.
38537 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
38539         [BZ #13717]
38540         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38541         Change to 2.6.0 everywhere.
38542         * sysdeps/unix/sysv/linux/configure: Regenerated.
38543         * sysdeps/unix/sysv/linux/kernel-features.h
38544         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
38545         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
38546         kernel versions.
38547         (__ASSUME_POSIX_TIMERS): Define unconditionally.
38548         (__ASSUME_FUTEX_REQUEUE): Remove.
38549         (__ASSUME_STATFS64): Define unconditionally.
38550         (__ASSUME_AT_SECURE): Likewise.
38551         (__ASSUME_CORRECT_SI_PID): Likewise.
38552         (__ASSUME_TGKILL): Define without depending on kernel version for
38553         i386.
38554         (__ASSUME_UTIMES): Likewise.
38555         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
38556         kernel version.
38557         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
38558         (__ASSUME_TMPFS_NAME): Likewise.
38559         * README: Update reference to Linux kernel versions.
38561 2012-08-02  Marek Polacek  <polacek@redhat.com>
38563         [BZ# 14150]
38564         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
38565         libc_cv_asm_type_prefix with %.
38566         * configure: Regenerated.
38567         * include/libc-symbols.h: Remove comment about
38568         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38569         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
38570         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
38571         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
38572         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
38573         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
38574         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
38575         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
38576         * elf/tst-unique2mod1.c: Likewise.
38577         * elf/tst-unique1mod2.c: Likewise.
38578         * elf/tst-unique1mod1.c: Likewise.
38579         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
38580         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
38581         Replace ASM_TYPE_DIRECTIVE with .type.
38582         * sysdeps/s390/s390-64/sysdep.h: Likewise.
38583         * sysdeps/i386/sysdep.h: Likewise.
38584         * sysdeps/x86_64/sysdep.h: Likewise.
38585         * sysdeps/sh/sysdep.h: Likewise.
38586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
38587         Do not define ASM_TYPE_DIRECTIVE.
38588         * sysdeps/powerpc/sysdep.h: Likewise.
38589         * sysdeps/powerpc/powerpc32/sysdep.h:
38590         Replace ASM_TYPE_DIRECTIVE with .type.
38591         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
38592         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
38593         * sysdeps/i386/fpu/e_powf.S: Likewise.
38594         * sysdeps/i386/fpu/e_expl.S: Likewise.
38595         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
38596         * sysdeps/i386/fpu/e_acosh.S: Likewise.
38597         * sysdeps/i386/fpu/e_pow.S: Likewise.
38598         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
38599         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
38600         * sysdeps/i386/fpu/s_expm1.S: Likewise.
38601         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
38602         * sysdeps/i386/fpu/e_log2.S: Likewise.
38603         * sysdeps/i386/fpu/e_log2l.S: Likewise.
38604         * sysdeps/i386/fpu/e_scalb.S: Likewise.
38605         * sysdeps/i386/fpu/e_powl.S: Likewise.
38606         * sysdeps/i386/fpu/e_log10f.S: Likewise.
38607         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
38608         * sysdeps/i386/fpu/e_logl.S: Likewise.
38609         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
38610         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
38611         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
38612         * sysdeps/i386/fpu/e_log2f.S: Likewise.
38613         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
38614         * sysdeps/i386/fpu/e_log.S: Likewise.
38615         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
38616         * sysdeps/i386/fpu/e_logf.S: Likewise.
38617         * sysdeps/i386/fpu/e_log10l.S: Likewise.
38618         * sysdeps/i386/fpu/e_atanh.S: Likewise.
38619         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
38620         * sysdeps/i386/fpu/e_log10.S: Likewise.
38621         * sysdeps/i386/fpu/s_frexp.S: Likewise.
38622         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
38623         * sysdeps/i386/fpu/s_asinh.S: Likewise.
38624         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
38625         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
38626         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
38627         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
38628         * sysdeps/i386/i686/strtok.S: Likewise.
38629         * sysdeps/i386/i386-mcount.S: Likewise.
38630         * sysdeps/i386/strtok.S: Likewise.
38631         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
38632         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
38633         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
38634         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
38635         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
38636         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
38637         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
38638         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
38639         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
38640         * sysdeps/x86_64/_mcount.S: Likewise.
38641         * sysdeps/x86_64/strtok.S: Likewise.
38642         * sysdeps/sh/_mcount.S: Likewise.
38644 2012-08-01  Roland McGrath  <roland@hack.frob.com>
38646         * libio/iofopen.c: Include <fcntl.h>.
38647         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
38648         (_IO_fopen64, fopen64): Define as aliases.
38649         * libio/iofopen64.c: Include <fcntl.h>.
38650         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
38651         Conditionalize body on this.
38652         * sysdeps/wordsize-64/iofopen.c: File removed.
38653         * sysdeps/wordsize-64/iofopen64.c: File removed.
38655 2012-08-01  Marek Polacek  <polacek@redhat.com>
38657         * libc/Makeconfig: Use elf in place of binfmt-subdir.
38658         Use dlfcn directly instead of a variable.
38659         (binfmt-subdir): Do not define.
38660         (dlfcn): Likewise.
38662 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
38664         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
38665         Remove all definitions.
38666         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
38667         <kernel-features.h>.
38668         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38669         (miss_F_GETOWN_EX): Remove all definitions.
38670         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
38671         macro definition.
38672         [!__ASSUME_FCNTL64]: Remove conditional code.
38673         [__ASSUME_FCNTL64]: Make code unconditional.
38674         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
38675         <kernel-features.h>.
38676         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
38677         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
38678         (lockf64) [__NR_fcntl64]: Make code unconditional.
38679         (lockf64) [__ASSUME_FCNTL64]: Likewise.
38681         * sysdeps/unix/sysv/linux/kernel-features.h
38682         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
38683         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
38684         Make code unconditional.
38685         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38686         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
38688         [__NR_vfork]: Make code unconditional.
38689         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38690         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38691         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
38692         [__NR_vfork]: Make code unconditional.
38693         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
38694         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
38696 2012-08-01  Roland McGrath  <roland@hack.frob.com>
38698         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
38699         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
38701         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38702         Define mkstemp64 as an alias.
38703         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38704         Define mkstemps64 as an alias.
38705         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38706         Define mkostemp64 as an alias.
38707         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
38708         Define mkostemps64 as an alias.
38709         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
38710         Conditionalize body on this.
38711         * misc/mkostemp64.c: Likewise.
38712         * misc/mkostemps64.c: Likewise.
38713         * misc/mkstemps64.c: Likewise.
38714         * sysdeps/wordsize-64/mkstemp64.c: File removed.
38715         * sysdeps/wordsize-64/mkostemp64.c: File removed.
38716         * sysdeps/wordsize-64/mkostemp.c: File removed.
38717         * sysdeps/wordsize-64/mkstemp.c: File removed.
38718         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
38719         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
38720         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
38721         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
38723         [BZ #14138]
38724         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
38725         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
38726         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
38727         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
38729         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
38730         compat_symbol macros from <shlib-compat.h> rather than the underlying
38731         default_symbol_version and symbol_version macros, so that DEFAULT
38732         lines in shlib-versions are respected.
38733         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
38735 2012-08-01  Florian Weimer  <fweimer@redhat.com>
38737         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
38738         Declare with warn_unused_result.
38739         (setgid, setregid, setegid, setresgid): Likewise.
38740         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
38741         Likewise.
38742         * WUR-REPORT: Remove set*id functions.
38744 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
38746         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
38748 2012-07-31  Roland McGrath  <roland@hack.frob.com>
38750         [BZ #10191]
38751         * include/sys/socket.h (__libc_accept, __libc_accept4):
38752         Add attribute_hidden.
38753         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
38755         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
38756         use of PTR_MANGLE.
38757         * inet/getnetgrent_r.c (setup): Likewise.
38759         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
38761 2012-07-31  David S. Miller  <davem@davemloft.net>
38763         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38765 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
38767         [BZ #13629]
38768         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
38769         value between 1.0 and 2.0 and smaller part has absolute value less
38770         than 1.0.
38771         * math/s_clog10.c (__clog10): Likewise.
38772         * math/s_clog10f.c (__clog10f): Likewise.
38773         * math/s_clog10l.c (__clog10l): Likewise.
38774         * math/s_clogf.c (__clogf): Likewise.
38775         * math/s_clogl.c (__clogl): Likewise.
38776         * math/libm-test.inc (clog_test): Add more tests.
38777         (clog10_test): Likewise.
38778         * sysdeps/i386/fpu/libm-test-ulps: Update.
38779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38781 2012-07-31  Florian Weimer  <fweimer@redhat.com>
38783         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
38784         Exit with zero in case no suitable GID is found, and write a
38785         message to standard error.
38787 2012-07-30  Roland McGrath  <roland@hack.frob.com>
38789         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
38790         rather than to 1.
38791         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
38792         (MAXPATHLEN): Removed.
38793         (NOGROUP, NODEV): New macros.
38794         (setbit, clrbit, isset, isclr): New macros.
38795         (howmany, roundup, powerof2): New macros.
38796         (DEV_BSIZE): New macro.
38798         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
38799         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
38801         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
38802         definition on [!__NO_LONG_DOUBLE_MATH].
38804         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
38805         PTR_MANGLE and PTR_DEMANGLE.
38807         * socket/accept4.c (accept4): Rename to __libc_accept4.
38808         Define accept4 as a weak alias.
38810         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
38811         on [_DIRENT_HAVE_D_TYPE].
38812         * io/ftw.c (ftw_dir): Likewise.
38814         * io/xmknod.c (__xmknod): Don't check PATH for being null.
38816         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
38818         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
38819         Use the BSD numbers rather than the arbitrary ones we had.
38820         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
38821         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
38822         (SIGXCPU, SIGXFSZ): New macros.
38823         (_NSIG): Now 32.
38825         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
38826         initializer on [_LIBC_REENTRANT].
38828         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
38829         definitions inside [_POSIX_MAPPED_FILES].
38831         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
38833         * dirent/opendir.c: Include <fcntl.h>.
38835         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
38836         (__libc_getspecific): Likewise.
38837         (__libc_key_create): Likewise.
38839         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
38840         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
38841         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
38842         (tmpfile64): Define as alias.
38843         * sysdeps/wordsize-64/tmpfile.c: File removed.
38844         * sysdeps/wordsize-64/tmpfile64.c: File removed.
38845         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
38846         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
38848         * stdio-common/vfscanf.c: Include <stdbool.h>.
38849         * nss/makedb.c: Likewise.
38850         * stdio-common/_i18n_number.h: Likewise.
38851         * argp/argp-help.c: Likewise.
38852         * posix/wordexp.c: Likewise.
38853         * sysdeps/posix/spawni.c: Likewise.
38854         * nss/nss_files/files-initgroups.c: Likewise.
38855         * stdio-common/reg-modifier.c: Include <stdlib.h>.
38856         * nss/nss_files/files-initgroups.c: Likewise.
38857         * nss/nss_db/db-netgrp.c: Likewise.
38858         * nss/nss_db/db-initgroups.c: Likewise.
38859         * io/fchmodat.c: Include <sys/stat.h>.
38861         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
38862         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
38864         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
38865         [HAVE_MMAP].
38867         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
38868         Add multiple inclusion protection.
38870 2012-07-27  David S. Miller  <davem@davemloft.net>
38872         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38874 2012-07-27  Gary Benson  <gbenson@redhat.com>
38876         [BZ #14298]
38877         * elf/rtld.c: Include <stap-probe.h>.
38878         (dl_main): Added static probes "init_start" and "init_complete".
38879         * elf/dl-load.c: Include <stap-probe.h>.
38880         (lose): Take new parameter "nsid".
38881         Added static probe "map_failed".
38882         (_dl_map_object_from_fd): Pass namespace id to lose.
38883         Added static probe "map_start".
38884         (open_verify): Pass namespace id to lose.
38885         * elf/dl-open.c: Include <stap-probe.h>.
38886         (dl_open_worker) Added static probes "map_complete", "reloc_start"
38887         and "reloc_complete".
38888         * elf/dl-close.c: Include <stap-probe.h>.
38889         (_dl_close_worker): Added static probes "unmap_start" and
38890         "unmap_complete".
38891         * elf/rtld-debugger-interface.txt: New file documenting the above.
38893 2012-07-26  Roland McGrath  <roland@hack.frob.com>
38895         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
38896         rather than a string variable.
38897         * sunrpc/rpc_main.c (h_output): Likewise.
38898         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
38900 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
38902         * inet/check_native.c: New file.
38904 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
38906         [BZ #13629]
38907         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
38908         if larger part has absolute value 1.0.
38909         * math/s_clog10.c (__clog10): Likewise.
38910         * math/s_clog10f.c (__clog10f): Likewise.
38911         * math/s_clog10l.c (__clog10l): Likewise.
38912         * math/s_clogf.c (__clogf): Likewise.
38913         * math/s_clogl.c (__clogl): Likewise.
38914         * math/libm-test.inc (clog_test): Add more tests.
38915         (clog10_test): Likewise.
38916         * sysdeps/i386/fpu/libm-test-ulps: Update.
38917         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
38919         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
38920         (pltexit): Likewise.
38921         (La_regs): Likewise.
38922         (La_retval): Likewise.
38923         (int_retval): Likewise.
38924         Update #error for removed macros to refer only to definitions in
38925         tst-audit.h.
38926         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
38927         macro.
38928         (pltexit): Likewise.
38929         (La_regs): Likewise.
38930         (La_retval): Likewise.
38931         (int_retval): Likewise.
38932         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
38933         macro.
38934         (pltexit): Likewise.
38935         (La_regs): Likewise.
38936         (La_retval): Likewise.
38937         (int_retval): Likewise.
38938         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
38939         macro.
38940         (pltexit): Likewise.
38941         (La_regs): Likewise.
38942         (La_retval): Likewise.
38943         (int_retval): Likewise.
38944         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
38945         macro.
38946         (pltexit): Likewise.
38947         (La_regs): Likewise.
38948         (La_retval): Likewise.
38949         (int_retval): Likewise.
38950         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
38951         macro.
38952         (pltexit): Likewise.
38953         (La_regs): Likewise.
38954         (La_retval): Likewise.
38955         (int_retval): Likewise.
38956         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
38957         macro.
38958         (pltexit): Likewise.
38959         (La_regs): Likewise.
38960         (La_retval): Likewise.
38961         (int_retval): Likewise.
38962         * sysdeps/generic/tst-audit.h: Update comment to refer only to
38963         macro definitions in tst-audit.h.
38964         * sysdeps/i386/tst-audit.h: New file.
38965         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
38966         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
38967         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
38968         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
38969         * sysdeps/sh/tst-audit.h: Likewise.
38970         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
38971         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
38972         * sysdeps/x86_64/tst-audit.h: Likewise.
38974 2012-07-26  Andreas Jaeger  <aj@suse.de>
38976         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
38977         ptrace.
38979         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
38980         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
38981         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
38982         PTRACE_O_MASK.
38983         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
38984         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
38985         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
38987         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
38988         value.
38990         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
38991         _sigsys.
38992         (si_call_addr, si_syscall, si_arch): Define new macro.
38993         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
38994         _sigsys.
38995         (si_call_addr, si_syscall, si_arch): Define new marcro.
38996         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
38997         _sigsys.
38998         (si_call_addr, si_syscall, si_arch): Define new macro.
38999         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39000         _sigsys.
39001         (si_call_addr, si_syscall, si_arch): Define new macro.
39003 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
39005         [BZ #13717]
39006         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39007         Change to 2.4.21 where previously 2.4.1.
39008         * sysdeps/unix/sysv/linux/configure: Regenerated.
39009         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39010         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39011         Linux kernel version.
39012         (__ASSUME_STD_AUXV): Remove.
39013         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39014         kernel version.
39015         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39016         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39017         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39018         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39019         (__ASSUME_NETLINK_SUPPORT): Likewise.
39020         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39021         (__no_netlink_support): Remove conditional definition.
39022         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39023         Remove.
39024         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39025         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39026         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39027         (if_nameindex_ioctl): Remove.
39028         (if_nameindex_netlink): Do not handle __no_netlink_support.
39029         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39030         code.
39031         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39032         Remove conditional code.
39033         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39034         code.
39035         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39036         unconditional.
39037         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39038         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39039         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39040         Remove.
39041         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39042         [!__ASSUME_STD_AUXV]: Remove conditional code.
39043         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39044         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39045         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39046         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39047         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39048         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39049         code.
39050         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39052         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39053         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39054         conditional code.
39055         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39057         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39058         code.
39059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39060         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39061         conditional code.
39062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39063         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39064         code unconditional.
39065         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39066         conditional code.
39067         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39068         unconditional.
39069         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39070         conditional code.
39071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39072         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39073         unconditional.
39074         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39075         conditional code.
39076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39077         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39078         code unconditional.
39079         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39080         conditional code.
39081         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39082         unconditional.
39083         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39084         conditional code.
39085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39086         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39087         code unconditional.
39088         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39089         conditional code.
39090         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39091         unconditional.
39092         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39093         conditional code.
39095 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
39097         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39098         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39099         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39100         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39101         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39102         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39103         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39104         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39105         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39106         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39107         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39108         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39109         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39110         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39111         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39112         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39113         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39114         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39115         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39116         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39117         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39118         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39119         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39121 2012-07-25  Florian Weimer  <fweimer@redhat.com>
39123         * Versions.def: Add GLIBC_2.17.
39124         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39125         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39126         Introduce __libc_secure_getenv.
39127         * stdlib/Versions (2.17): Add secure_getenv
39128         (GLIBC_PRIVATE): Add __libc_secure_getenv.
39129         * stdlib/secure-getenv.c: Rename __secure_getenv to
39130         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
39131         symbol __secure_getenv for GLIBC_2.0.
39132         * stdlib/tst-secure-getenv.c: New.
39133         * stdlib/Makefile (tests): Add testcase.
39134         * manual/startup.texi (Environment Access): Document
39135         secure_getenv.
39136         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39137         __libc_secure_getenv.
39138         * inet/ruserpass.c (ruserpass): Likewise.
39139         * malloc/mtrace.c (mtrace): Likewise.
39140         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
39141         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
39142         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39143         * sysdeps/posix/tempname.c: Likewise.  Evaluate
39144         HAVE_SECURE_GETENV.
39145         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
39146         __secure_getenv to __libc_secure_getenv.
39147         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
39148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39149         Likewise.
39150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39151         Likewise.
39152         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39153         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39154         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39155         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39156         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39157         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39158         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39160 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
39162         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39163         (struct La_i86_retval): Likewise.
39164         (struct La_x86_64_regs): Likewise.
39165         (struct La_x86_64_retval): Likewise.
39166         (struct La_x32_regs): Likewise.
39167         (struct La_x32_retval): Likewise.
39168         (struct La_ppc32_regs): Likewise.
39169         (struct La_ppc32_retval): Likewise.
39170         (struct La_ppc64_regs): Likewise.
39171         (struct La_ppc64_retval): Likewise.
39172         (struct La_sh_regs): Likewise.
39173         (struct La_sh_retval): Likewise.
39174         (struct La_s390_32_regs): Likewise.
39175         (struct La_s390_32_retval): Likewise.
39176         (struct La_s390_64_regs): Likewise.
39177         (struct La_s390_64_retval): Likewise.
39178         (struct La_sparc32_regs): Likewise.
39179         (struct La_sparc32_retval): Likewise.
39180         (struct La_sparc64_regs): Likewise.
39181         (struct La_sparc64_retval): Likewise.
39182         (struct audit_ifaces): Remove architecture-specific pltenter and
39183         pltexit members.
39184         * sysdeps/i386/ldsodefs.h: New file.
39185         * sysdeps/powerpc/ldsodefs.h: Likewise.
39186         * sysdeps/s390/ldsodefs.h: Likewise.
39187         * sysdeps/sh/ldsodefs.h: Likewise.
39188         * sysdeps/sparc/ldsodefs.h: Likewise.
39189         * sysdeps/x86_64/ldsodefs.h: Likewise.
39191 2012-07-25  Marek Polacek  <polacek@redhat.com>
39193         [BZ #6808]
39194         * math/libm-test.inc (yn_test): Add another test.
39195         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39196         to ERANGE when the result is +-Inf.
39197         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39198         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39199         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39200         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39202 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
39204         * conform/data/time.h-data (NULL): Use macro-constant.  Require
39205         equal to 0.
39206         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
39207         clock_t.
39208         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
39210 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
39212         * configure.in <sysdeps resolving>: Correct printing
39213         Implies_before.
39214         * configure: Regenerate.
39216 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
39218         * math/w_ilogb.c: Include <limits.h>.
39219         * math/w_ilogbl.c: Likewise.
39221 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
39223         * manual/lang.texi (__va_copy): Document primarily as ISO C99
39224         va_copy.  Document allowing for unavailable va_copy only as
39225         pre-C99 compatibility.
39226         * manual/string.texi (Copying and Concatenation): Use va_copy
39227         instead of __va_copy in concat example.
39229 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
39231         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39232         (__sendto): Use create_address_port.  Initialize APORT and deallocate
39233         it if not null.
39235         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39236         with O_NOLINK passed to __file_name_lookup.
39238         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39239         with O_NOLINK passed to __file_name_lookup.
39241         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39242         negative N or less than NGIDS.
39244         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39245         type to string_t.  Set ERANGE as errno and return it if NAME is not big
39246         enough.  Use memcpy instead of strncpy.
39248 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
39250         * elf/Makefile (check-data): Remove.
39251         (localplt.data): New vpath directive.
39252         ($(objpfx)check-localplt.out): Use localplt.data from vpath
39253         instead of $(check-data).
39254         * scripts/data/localplt-generic.data: Move to ...
39255         * sysdeps/generic/localplt.data: ... here.
39256         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39257         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39258         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39260         ... here.
39261         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39263         ... here.
39264         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39265         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39266         ... here.
39267         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39268         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39269         ... here.
39270         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39271         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39272         ... here.
39273         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39274         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39275         ... here.
39277 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39279         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39280         PPC32 and PPC64 files.
39281         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39282         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39284 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39286         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39287         __makecontext_ret to ...
39288         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39289         ... here and call exit if uc_link is NULL.  New file.
39290         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39291         __makecontext_ret.S.
39292         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39293         __makecontext_ret to ...
39294         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39295         ... here and call exit if uc_link is NULL.  New file.
39296         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39297         __makecontext_ret.S.
39299 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39301         * elf/elf.h (R_390_IRELATIVE): New definition.
39302         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39303         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
39304         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39305         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39306         (elf_machine_lazy_rel): Likewise.
39307         * sysdeps/s390/dl-irel.h: New file.
39308         * sysdeps/s390/s390-64/memcpy.S: New asm code.
39309         * sysdeps/s390/s390-64/memset.S: New asm code.
39310         * sysdeps/s390/s390-64/memcmp.S: New asm code.
39311         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39312         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39313         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39314         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39315         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39316         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39317         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39318         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39319         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39320         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39321         * sysdeps/s390/s390-32/memcpy.S: New asm code.
39322         * sysdeps/s390/s390-32/memset.S: New asm code.
39323         * sysdeps/s390/s390-32/memcmp.S: New asm code.
39325 2012-07-17  Marek Polacek  <polacek@redhat.com>
39327         [BZ #14349]
39328         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39329         * sysdeps/s390/s390-64/configure.in: Likewise.
39330         * sysdeps/sparc/configure.in: Likewise.
39331         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39332         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39333         * sysdeps/i386/configure.in: Likewise.
39334         * sysdeps/x86_64/configure.in: Likewise.
39335         * sysdeps/sh/configure.in: Likewise.
39336         * sysdeps/s390/s390-32/configure: Regenerated.
39337         * sysdeps/s390/s390-64/configure: Likewise.
39338         * sysdeps/x86_64/configure: Likewise.
39339         * sysdeps/sh/configure: Likewise.
39340         * sysdeps/powerpc/powerpc64/configure: Likewise.
39341         * sysdeps/powerpc/powerpc32/configure: Likewise.
39342         * sysdeps/sparc/configure: Likwise.
39343         * sysdeps/i386/configure: Likewise.
39345         * elf/dl-open.c: Comment fixes.
39347 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
39349         * Makefile [CXX] (check-data): Remove.
39350         [CXX] (c++-types.data): New vpath directive.
39351         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39352         vpath.  Do not allow for C++ type data being missing.
39353         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39354         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39355         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39356         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39357         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39358         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39359         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39361         ... here.
39362         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39364         ... here.
39365         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39367         ... here.
39368         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39369         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39370         ... here.
39371         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39372         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39373         ... here.
39374         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39375         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39376         ... here.
39377         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39378         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39379         ... here.
39380         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39381         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39383         * elf/tls-macros.h (TLS_LE): Move architecture-specific
39384         definitions to architecture-specific files.
39385         (TLS_IE): Likewise.
39386         (TLS_LD): Likewise.
39387         (TLS_GD): Likewise.
39388         * sysdeps/i386/tls-macros.h: New file.
39389         * sysdeps/powerpc/tls-macros.h: Likewise.
39390         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39391         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39392         * sysdeps/sh/tls-macros.h: Likewise.
39393         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39394         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39395         * sysdeps/x86_64/tls-macros.h: Likewise.
39397 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
39399         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39400         zero value for regular exit case.
39402         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39403         (__start_context): Preserve zero value for regular exit case.
39405 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
39406             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39408         * manual/setjmp.texi (setcontext): Clarify normal process
39409         termination when uc_link is the null pointer.
39410         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39411         exit call.
39413 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
39415         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39416         preprocessor.  Test for each exception mask separately.
39418 2012-07-16  Andreas Jaeger  <aj@suse.de>
39420         * po/ru.po: Update from translation team.
39422 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
39424         * conform/data/string.h-data (NULL): Use macro-constant.  Require
39425         equal to 0.
39426         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39427         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39428         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
39429         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
39430         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39432 2012-07-13  Andreas Jaeger  <aj@suse.de>
39434         * po/fr.po: Update from translation team.
39436 2012-07-12  Marek Polacek  <polacek@redhat.com>
39438         [BZ #14173]
39439         * math/libm-test.inc (yn_test): Add test for BZ #14173.
39440         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
39441         loop condition.
39443 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
39445         [BZ #13717]
39446         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39447         Change to 2.4.1 where previously 2.4.0.
39448         * sysdeps/unix/sysv/linux/configure: Regenerated.
39449         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
39450         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
39451         version.
39452         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
39453         (__ASSUME_AT_CLKTCK): Remove.
39454         (__ASSUME_AT_PAGESIZE): Likewise.
39455         (__ASSUME_AT_XID): Likewise.
39456         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
39457         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
39458         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
39459         unconditionally.
39460         (HAVE_AUX_PAGESIZE): Likewise.
39461         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
39462         [__ASSUME_AT_CLKTCK]: Make code unconditional.
39463         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
39465 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
39467         [BZ #14307]
39468         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
39469         the temporary buffer used to invoke __gethostbyname2_r,
39470         __gethostbyaddr_r and gethostbyname4_r to make room for struct
39471         host_data / struct gaih_addrtuple.
39472         * resolv/nss_dns/dns-host.c (global scope): Move definition of
39473         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
39474         header file nss/nsswitch.h.
39475         * nss/nsswitch.h (global scope): Add definition of implementation
39476         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
39477         resolv/nss_dns/dns-host.c).
39479 2012-07-11  Andreas Jaeger  <aj@suse.de>
39481         * po/fr.po: Update from translation team.
39483         * po/sv.po: Update from translation team
39484         * po/fr.po: Another update from translation team.
39486 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39488         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
39489         for subnormals or multiply small sinh result by itself.
39490         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
39491         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39493 2012-07-11  David S. Miller  <davem@davemloft.net>
39495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39497 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
39499         [BZ #14347]
39500         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
39501         (INTERNAL_MARK): Shift it here.
39503 2012-07-10  Marek Polacek  <polacek@redhat.com>
39505         [BZ #14151]
39506         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
39507         libc_cv_asm_global_directive with .globl.
39508         * configure: Regenerated.
39509         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
39510         with .globl.
39511         * sysdeps/i386/configure: Regenerated.
39512         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
39513         with .globl.
39514         * sysdeps/x86_64/configure: Regenerated.
39515         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
39516         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
39517         * elf/tst-unique2mod2.c: Likewise.
39518         * elf/tst-unique2mod1.c: Likewise.
39519         * elf/tst-unique1mod2.c: Likewise.
39520         * elf/tst-unique1mod1.c: Likewise.
39521         * sysdeps/s390/s390-32/sysdep.h: Likewise.
39522         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39523         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39524         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39525         * sysdeps/mach/sysdep.h: Likewise.
39526         * sysdeps/i386/sysdep.h: Likewise.
39527         * sysdeps/i386/i386-mcount.S: Likewise.
39528         * sysdeps/x86_64/_mcount.S: Likewise.
39529         * sysdeps/x86_64/sysdep.h: Likewise.
39530         * sysdeps/sh/_mcount.S: Likewise.
39531         * sysdeps/sh/sysdep.h: Likewise.
39532         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
39533         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
39534         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
39535         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
39536         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
39537         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
39538         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
39539         * locale/localeinfo.h: Likewise.
39540         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
39541         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
39543 2012-07-09  Roland McGrath  <roland@hack.frob.com>
39545         [BZ #14336]
39546         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
39547         system".
39548         * manual/message.texi (The Uniforum approach): Likewise.
39549         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
39550         (glibc iconv Implementation): Likewise.
39552 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
39554         [BZ #14337]
39555         * math/s_clog.c (__clog): Avoid scaling a value down where that
39556         could result in underflow.
39557         * math/s_clog10.c (__clog10): Likewise.
39558         * math/s_clog10f.c (__clog10f): Likewise.
39559         * math/s_clog10l.c (__clog10l): Likewise.
39560         * math/s_clogf.c (__clogf): Likewise.
39561         * math/s_clogl.c (__clogl): Likewise.
39562         * math/libm-test.inc (clog_test): Add more tests.
39563         (clog10_test): Likewise.
39564         * sysdeps/i386/fpu/libm-test-ulps: Update.
39565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39567 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
39569         [BZ #14283]
39570         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
39571         by 7 not 8 to examine high bit of fractional part.
39573         [BZ #14042]
39574         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
39575         for call to __mcount_internal.
39576         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
39577         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
39578         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
39580 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
39582         [BZ #14154]
39583         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
39584         approximation for values within 0x1p-13f of an odd multiple of
39585         pi/4.
39586         * math/libm-test.inc (tan_test): Do not allow spurious underflow
39587         exception.  Add more tests.
39588         * sysdeps/i386/fpu/libm-test-ulps: Update.
39590         [BZ #6778]
39591         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
39592         inputs and return -1 for them.  Do not check for +Inf in case not
39593         reachable for +Inf.
39594         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
39595         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not 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         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
39600         define.
39601         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
39602         and return -1 for them.  Do not check for +Inf in case not
39603         reachable for +Inf.
39604         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
39605         spurious underflow.
39606         * sysdeps/i386/fpu/libm-test-ulps: Update.
39607         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39609 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
39611         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
39613 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
39615         [BZ #14157]
39616         [BZ #14331]
39617         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
39618         could result in spurious underflow.  Scale down values above
39619         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
39620         * math/s_csqrtf.c (__csqrtf): Likewise.
39621         * math/s_csqrtl.c (__csqrtl): Likewise.
39622         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
39623         spurious underflow.
39624         * sysdeps/i386/fpu/libm-test-ulps: Update.
39625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39627 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
39629         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
39630         xopen-msg.sed.
39631         * catgets/xopen-msg.awk: New file.
39632         * catgets/xopen-msg.sed: Removed.
39634         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
39635         po2text.sed.
39636         * intl/po2test.awk: New file.
39637         * intl/po2test.sed: Removed.
39639 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
39641         [BZ #14328]
39642         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
39643         or multiply small sinh result by itself.
39644         * math/s_ctanf.c (__ctanf): Likewise.
39645         * math/s_ctanh.c (__ctanh): Likewise.
39646         * math/s_ctanhf.c (__ctanhf): Likewise.
39647         * math/s_ctanhl.c (__ctanhl): Likewise.
39648         * math/s_ctanl.c (__ctanl): Likewise.
39649         * math/libm-test.inc (ctan_test_tonearest): New function.
39650         (ctan_test_towardzero): Likewise.
39651         (ctan_test_downward): Likewise.
39652         (ctan_test_upward): Likewise.
39653         (ctanh_test_tonearest): Likewise.
39654         (ctanh_test_towardzero): Likewise.
39655         (ctanh_test_downward): Likewise.
39656         (ctanh_test_upward): Likewise.
39657         (main): Call these new functions.
39658         * sysdeps/i386/fpu/libm-test-ulps: Update.
39659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39661 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
39663         * .gitignore: Delete /ports entry.
39665 2012-07-03  Andreas Jaeger  <aj@suse.de>
39667         * po/bg.po: Update from translation team.
39668         * po/cs.po: Likewise.
39669         * po/de.po: Likewise.
39670         * po/hr.po: Likewise.
39671         * po/nl.pl: Likewise.
39672         * po/pl.po: Likewise.
39673         * po/vi.po: Likewise.
39675 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
39677         * Makeconfig [!+link] (+link-before-libc): New variable.
39678         [!+link] (+link-after-libc): Likewise.
39679         [!+link] (+link-tests): Likewise.
39680         [!+link] (+link): Define in terms of $(+link-before-libc) and
39681         $(+link-after-libc).
39682         [!+link-static] (+link-static-before-libc): New variable.
39683         [!+link-static] (+link-static-after-libc): Likewise.
39684         [!+link-static] (+link-static-tests): Likewise.
39685         [!+link-static] (+link-static): Define in terms of
39686         $(+link-static-before-libc) and $(+link-static-after-libc).
39687         [build-shared] (link-libc-before-gnulib): New variable.
39688         [build-shared] (link-libc-tests): Likewise.
39689         [build-shared] (link-libc): Define in terms of
39690         $(link-libc-before-gnulib).
39691         [!build-shared] (link-libc-tests): New variable.
39692         (link-libc-static-tests): New variable.
39693         [!gnulib] (gnulib-arch): New variable.
39694         [!gnulib] (gnulib-tests): Likewise.
39695         [!gnulib] (static-gnulib-arch): Likewise.
39696         [!gnulib] (static-gnulib-tests): Likewise.
39697         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
39698         Define with "=" instead of ":=".
39699         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
39700         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
39701         * Rules (binaries-all-notests): New variable.
39702         (binaries-all-tests): Likewise.
39703         (binaries-static-notests): Likewise.
39704         (binaries-static-tests): Likewise.
39705         (binaries-all): Define using $(binaries-all-notests) and
39706         $(binaries-all-tests).
39707         (binaries-static): Define using $(binaries-static-notests) and
39708         $(binaries-static-tests).
39709         (binaries-shared-tests): New variable.
39710         (binaries-shared-notests): Likewise.
39711         (binaries-shared): Remove variable.
39712         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
39713         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
39714         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
39715         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
39716         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
39717         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
39718         * elf/Makefile (sln-modules): New variable.
39719         (extra-objs): Add $(sln-modules:=.o).
39720         (ldconfig-modules): Add static-stubs.
39721         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
39722         * elf/static-stubs.c: New file.
39724         [BZ #14283]
39725         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
39726         by 7 not 8 to examine high bit of fractional part.  Use volatile
39727         variables when splitting into final array of floats if
39728         __FLT_EVAL_METHOD__ != 0.
39729         * math/libm-test.inc (cos_test): Add another test.
39730         (sin_test): Likewise.
39731         * sysdeps/i386/fpu/libm-test-ulps: Update.
39733         [BZ #14273]
39734         * math/libm-test.inc (cosh_test): Add more tests.
39736         * version.h (RELEASE): Set to "development".
39737         (VERSION): Set to "2.16.90".
39739 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
39741         * NEWS: Update copyright. Remove last-updated date.
39742         Mention math library bug fixes and timezone data changes.
39743         * README: Mention GNU/Hurd, x32, and HPPA support status.
39745 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
39747         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
39749 2012-06-27  Andreas Jaeger  <aj@suse.de>
39751         * manual/contrib.texi (Contributors): Add Samuel Thibault.
39753 2012-06-25  Andreas Jaeger  <aj@suse.de>
39755         * sysdeps/s390/fpu/libm-test-ulps: Update.
39757 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
39758             Thomas Schwinge  <thomas@codesourcery.com>
39760         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
39761         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
39762         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
39763         fanotify_mark.
39765 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
39767         * sysdeps/mach/start.c: Remove file.
39768         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
39769         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
39770         * sysdeps/sh/init-first.c: Likewise.
39772         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
39773         registers for frame unwinding purposes, add CFI directives.
39774         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39775         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
39776         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
39777         Likewise.
39779         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
39780         __fortify_fail returning.
39781         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
39783         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
39784         sysdeps/sh/____longjmp_chk.S.
39785         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
39786         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
39787         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
39788         (gen-as-const-headers): Append sigaltstack-offsets.sym.
39790         * sysdeps/sh/abort-instr.h: New file.
39791         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
39792         process in case exit returns.
39794         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
39795         initialize the GOT register before use.
39797         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
39798         calculation of ARGC > 4.
39800         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
39801         meaningful names to some local labels.
39803 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
39804             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39806         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
39807         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
39808         (__arch_compare_and_exchange_val_16_acq): Likewise.
39809         (__arch_compare_and_exchange_val_32_acq): Likewise.
39810         (atomic_exchange_and_add): Fix gUSA sequence.
39811         (atomic_add): Likewise.
39812         (atomic_add_negative): Likewise.
39813         (atomic_add_zero): Likewise.
39814         (atomic_bit_test_set): Likewise.
39816 2012-06-22  Andreas Schwab  <schwab@redhat.com>
39818         [BZ #13579]
39819         * include/link.h (struct link_map): Add l_free_initfini.
39820         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
39821         l_initfini.
39822         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
39823         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
39824         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
39825         set.
39827 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
39829         * configure.in: Use AC_LANG_SOURCE.
39830         * configure: Regenerate.
39832 2012-06-22  Roland McGrath  <roland@hack.frob.com>
39834         * configure.in (libc_cv_localstatedir): New substituted variable.
39835         * configure: Regenerated.
39836         * config.make.in (localstatedir): New variable, substituted from
39837         libc_cv_localstatedir.
39838         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
39839         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
39840         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
39841         * sysdeps/gnu/configure: Regenerated.
39843 2012-06-21  Jeff Law  <law@redhat.com>
39845         [BZ #14277]
39846         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
39847         free.  Simplify list management for _LIBC case.
39849 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
39851         [BZ #14273]
39852         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
39853         Clear sign bit of 64-bit integer value before comparing against
39854         overflow value.
39856         * sysdeps/mach/configure: Regenerated.
39858 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
39860         [BZ #14278]
39861         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
39863 2012-06-21  Jeff Law  <law@redhat.com>
39865         [BZ #13882]
39866         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
39867         uint16_t for elements in the "seen" array to avoid char overflows.
39868         * elf/dl-fini.c (_dl_sort_fini): Likewise.
39869         * elf/dl-open.c (dl_open_worker): Likewise.
39871 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
39873         * scripts/list-sources.sh: Scan PORTS for translations.
39874         * po/libc.pot: Regenerated.
39876 2012-06-21  Andreas Jaeger  <aj@suse.de>
39878         [BZ #12194]
39879         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
39880         warning.
39881         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
39882         * bits/byteswap-16.h (__bswap_16): Likewise.
39883         * bits/byteswap.h (__bswap_constant_16): Likewise.
39885 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
39887         [BZ #14117]
39888         * sysdeps/i386/fpu_control.h: Removed.
39889         * sysdeps/x86_64/fpu_control.h: Moved to ...
39890         * sysdeps/x86/fpu_control.h: Here.
39892         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
39893         (_FPU_SETCW): Likewise.
39895 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
39897         [BZ #14117]
39898         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
39899         * sysdeps/x86/fpu/bits/mathinline.h: This.
39900         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
39902         [BZ #14050]
39903         [BZ #14117]
39904         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
39905         functions if __x86_64__ is defined.
39907 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
39909         * string/endian.h: Add !__ASSEMBLER__ condition for including
39910         conversion interfaces.
39912 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
39914         [BZ #14241]
39915         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
39916         of ABS(x) in calculating zero to negative powers other than odd
39917         integers.
39918         * math/libm-test.inc (pow_test): Add more tests.
39920 2012-06-15  Andreas Jaeger  <aj@suse.de>
39922         * manual/contrib.texi (Contributors): Update entry of Liubov
39923         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
39924         Machado Filho.
39926 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
39928         * string/string.h: Add __wur to GNU version of strerror_r.
39930 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
39932         [BZ #14229]
39933         * string/Makefile (tests): Add tst-strtok_r.
39934         * string/tst-strtok_r.c: New file.
39935         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
39936         RAX_LP/RDX_LP on SAVE_PTR.
39938 2012-06-14  Roland McGrath  <roland@hack.frob.com>
39940         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
39942 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
39944         * libm_test.inc (csqrt_test): Allow more spurious underflow
39945         exceptions.
39946         (j0_test): Likewise.
39947         (j1_test): Likewise.
39948         (y0_test): Likewise.
39949         (y1_test): Likewise.
39951 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
39953         * po/Makefile (libc.pot): Use UTF-8 charset.
39955 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
39957         [BZ #14210]
39958         Suppress sign-conversion warning from FD_SET.
39959         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
39960         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
39961         not unsigned long int.
39962         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
39964 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
39966         [BZ #14050]
39967         [BZ #14117]
39968         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
39969         __extern_always_inline instead of __extern_inline.
39970         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
39971         (__signbit): Likewise.
39972         (__signbitl): Support C++ namespace.
39973         (lrintf): New inline function.
39974         (lrint): Likewise.
39975         (llrintf): Likewise.
39976         (llrint): Likewise.
39977         (fmaxf): Likewise.
39978         (fmax): Likewise.
39979         (fminf): Likewise.
39980         (fmin): Likewise.
39981         (rint): Likewise.
39982         (rintf): Likewise.
39983         (ceil): Likewise.
39984         (ceilf): Likewise.
39985         (floor): Likewise.
39986         (floorf): Likewise.
39987         (nearbyint): Likewise.
39988         (nearbyintf): Likewise.
39990 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
39992         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
39993         non-default versions.
39995 2012-06-11  Roland McGrath  <roland@hack.frob.com>
39997         [BZ #14218]
39998         * manual/argp.texi (Argp): Reword argp_parse description slightly.
40000 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
40002         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40003         (FE_UPWARD, FE_DOWNWARD): Don't define.
40004         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40005         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40007         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40008         reading it.
40009         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40010         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40012 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40014         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40015         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40016         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40017         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40019 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
40021         [BZ #14117]
40022         * sysdeps/i386/fpu/bits/fenv.h: Removed.
40023         * sysdeps/i386/fpu/Implies: New file.
40024         * sysdeps/x86_64/fpu/Implies: Likewise.
40025         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40026         * sysdeps/x86/fpu/bits/fenv.h: This.
40028         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40029         __SSE_MATH__.
40031 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40033         [BZ #14134]
40034         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40035         character 0xffff that matches the last element of the
40036         conversion table.
40038 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40040         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40041         fmodl commit.
40043 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40045         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40046         values higher than 25.6283.
40048 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40050         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40051         subnormal exponent extraction and add some __builtin_expect.
40052         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40053         Fix for subnormal mantissa calculation.
40055 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
40057         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40058         cpu2 is -1 and errno is not ENOSYS.
40060 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
40062         [BZ #14117]
40063         * sysdeps/i386/i486/bits/string.h: Renamed to ...
40064         * sysdeps/x86/bits/string.h: This.
40065         * sysdeps/x86_64/bits/string.h: Removed.
40067         * sysdeps/i386/i486/bits/string.h: Define inline functions only
40068         if not compiling for x86-64, but compiling for >= i486.
40070         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40071         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40073         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40074         New macro from Linux kernel 3.4.0.
40075         (FP_XSTATE_MAGIC2): Likewise.
40076         (FP_XSTATE_MAGIC2_SIZE): Likewise.
40077         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40078         (struct _fpx_sw_bytes): New struct.
40079         (struct _xsave_hdr): Likewise.
40080         (struct _ymmh_state): Likewise.
40081         (struct _xstate): Likewise.
40083         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40084         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40085         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40086         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40087         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40088         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40090         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40091         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40092         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40093         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40094         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40095         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40097 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40099         [BZ #13743]
40100         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40101         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40102         (sysdep_headers): Include sys/platform/ppc.h.
40103         * sysdeps/powerpc/test-gettimebase.c: Test for
40104         __ppc_get_timebase() to catch future ISA opcode/insn changes.
40105         * manual/Makefile (appendices): Include platform.texi.
40106         * manual/contrib.texi (Contributors): Update @node pointers.
40107         * manual/maint.texi (Maintenance): Likewise.
40108         (Platform): New node.
40109         * manual/platform.texi: New file.  Document the new features.
40111 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40112             Jakub Jelinek  <jakub@redhat.com>
40114         [BZ #14188]
40115         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40116         where __builtin_expect is unavailable.
40118 2012-06-03  David S. Miller  <davem@davemloft.net>
40120         * stdlib/longlong.h: Updated from GCC.
40122 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
40124         [BZ #14042]
40125         * sysdeps/powerpc/powerpc32/mcount.c: New file.
40126         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40127         __mcount_internal.
40128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40129         (GLIBC_2.16): Likewise.
40131 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40133         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40135 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
40137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40138         (default-abi): New variable.
40139         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40140         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40141         variable.
40142         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40143         Likewise.
40144         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40145         Likewise.
40146         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40147         Likewise.
40149         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40150         definition.  Document in comment.
40152 2012-06-01  David S. Miller  <davem@davemloft.net>
40154         * stdlib/longlong.h: Updated from GCC.
40156 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40158         [BZ #14117]
40159         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40160         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40161         sys/debugreg.h sys/io.h here.
40162         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40163         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40164         sys/io.h.
40165         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40166         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40167         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40168         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40169         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40170         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40172         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40173         Define only if __x86_64__ is defined.
40175 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
40177         [BZ #14048]
40178         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40179         Use int64_t for variable i.
40180         * math/libm-test.inc (fmod_test): Add more tests.
40182         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40183         z computation is not scheduled after fetestexcept.
40184         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40185         Use math_force_eval instead of asm to ensure calculation scheduled
40186         before exception test.
40187         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40188         Ensure a1 + u.d computation is not scheduled after fetestexcept.
40190 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
40192         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40193         computation is not scheduled after fetestexcept.
40195 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40197         [BZ #14117]
40198         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40199         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40201 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40203         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40204         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40206 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
40208         [BZ #14117]
40209         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40210         <bits/wordsize.h>.
40211         (__WCHAR_MIN): Support __WORDSIZE == 64.
40212         (__WCHAR_MAX): Likewise.
40214         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40215         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40217         [BZ #14183]
40218         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40219         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40221         [BZ #14117]
40222         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40223         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40225         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40226         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40228         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40229         Defined to 1 if __x86_64__ isn't defined.
40230         (_STAT_VER_LINUX_OLD): New.
40231         (st_atime): Remove duplicate.
40232         (st_mtime): Likewise.
40233         (st_ctime): Likewise.
40235 2012-05-31  David S. Miller  <davem@davemloft.net>
40237         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40238         entries.
40240 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
40242         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40243         gen-libm-test.pl.
40245         [BZ #14132]
40246         * elf/dl-reloc.c: Include <_itoa.h>.
40247         (_dl_reloc_bad_type): Remove use of INTUSE.
40248         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40249         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40250         * stdio-common/psiginfo.c (psiginfo): Likewise.
40251         * stdio-common/psignal.c (psignal): Likewise.
40252         * string/strsignal.c (strsignal): Likewise.
40253         * include/signal.h (_sys_siglist): Declare hidden proto.
40254         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
40255         INTVARDEF with libc_hidden_data_def.
40256         * stdio-common/itoa-udigits.c: Likewise.
40257         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40258         (_itoa_lower_digits_internal): Remove declaration.
40259         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40260         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40261         (_sys_sigabbrev_internal): Remove aliases.
40262         (_sys_siglist): Define hidden alias.
40264 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
40266         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40267         bits/sysctl.h.
40269 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
40271         [BZ #14117]
40272         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40273         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40275         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40276         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40277         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40278         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40279         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40280         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40282         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40283         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40284         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40286         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40287         with __addr.
40288         (insw): Likewise.
40289         (insl): Likewise.
40290         (outsb): Likewise.
40291         (outsw): Likewise.
40292         (outsl): Likewise.
40294         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40295         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40296         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40298         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40299         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40300         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40301         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40302         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40303         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40305         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40306         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40308         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40309         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40311         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40312         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40313         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40315         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40316         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40317         to ...
40318         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40320         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40321         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40322         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40324         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40325         for x86-64.
40326         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40328 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
40330         * math/math.h (M_El): Use two more decimal places.
40331         (M_LOG2El): Likewise.
40332         (M_LOG10El): Likewise.
40333         (M_LN2l): Likewise.
40334         (M_LN10l): Likewise.
40335         (M_PIl): Likewise.
40336         (M_PI_2l): Likewise.
40337         (M_PI_4l): Likewise.
40338         (M_1_PIl): Likewise.
40339         (M_2_PIl): Likewise.
40340         (M_2_SQRTPIl): Likewise.
40341         (M_SQRT2l): Likewise.
40342         (M_SQRT1_2l): Likewise.
40344 2012-05-31  David S. Miller  <davem@davemloft.net>
40346         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40347         values between float registers.
40348         * sysdeps/sparc/sparc64/memset.S: Likewise.
40349         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40351 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
40353         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40354         -D_FORTIFY_SOURCE=1.
40355         (CPPFLAGS-tst-longjmp_chk.c): Define.
40356         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40357         (CPPFLAGS-tst-longjmp_chk2.c): Define.
40358         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40359         CFLAGS-tst-wchar-h.c.
40361 2012-05-31  Marek Polacek  <polacek@redhat.com>
40363         [BZ #14132]
40364         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40365         __endmntent_internal): Remove declaration.
40366         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40367         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40368         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40370 2012-05-30  David S. Miller  <davem@davemloft.net>
40372         * sysdeps/sparc/sparc32/soft-fp/q_util.c
40373         (___Q_simulate_exceptions): Use real FP ops rather than writing
40374         into the %fsr.
40375         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40376         Likewise.
40378 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40380         [BZ #14117]
40381         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40382         * sysdeps/x86/bits/xtitypes.h: This.
40384         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40385         * sysdeps/x86/bits/wordsize.h: This.
40387         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40388         * sysdeps/x86/bits/huge_vall.h: This.
40390         * sysdeps/i386/bits/select.h: Removed.
40391         * sysdeps/x86_64/bits/select.h: Renamed to ...
40392         * sysdeps/x86/bits/select.h: This.
40394         * sysdeps/i386/bits/setjmp.h: Removed.
40395         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40396         * sysdeps/x86/bits/setjmp.h: This.
40398         * sysdeps/i386/bits/mathdef.h: Removed.
40399         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40400         * sysdeps/x86/bits/mathdef.h: This.
40402 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
40404         [BZ #14132]
40405         * include/sys/socket.h (__connect_internal)
40406         (__libc_sa_len_internal): Remove declaration.
40407         (__connect, __libc_sa_len): Declare hidden_proto.
40408         (SA_LEN): Remove use of INTUSE.
40409         * socket/connect.c: Add libc_hidden_def.
40410         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40411         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40412         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40413         alias.
40414         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40415         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40416         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40417         of adding _internal alias.
40419 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40421         [BZ #14117]
40422         * sysdeps/i386/bits/link.h: Removed.
40423         * sysdeps/i386/bits/linkmap.h: Likewise.
40424         * sysdeps/x86_64/bits/link.h: Renamed to ...
40425         * sysdeps/x86/bits/link.h: This.
40426         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
40427         * sysdeps/x86/bits/linkmap.h: This.
40429         * sysdeps/i386/bits/endian.h: Removed.
40430         * sysdeps/x86_64/bits/endian.h: Renamed to ...
40431         * sysdeps/x86/bits/endian.h: This.
40433         * sysdeps/i386/bits/byteswap.h: Removed.
40434         * sysdeps/i386/bits/byteswap-16.h: Likewise.
40435         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
40436         * sysdeps/x86/bits/byteswap.h: This.
40437         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
40438         * sysdeps/x86/bits/byteswap-16.h: This.
40439         * sysdeps/i386/Implies: Add x86.
40440         * sysdeps/x86_64/Implies: Likewise.
40442 2012-05-30  David S. Miller  <davem@davemloft.net>
40444         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
40445         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
40446         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40447         (FP_TRAPPING_EXCEPTIONS): Define.
40448         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40449         (FP_TRAPPING_EXCEPTIONS): Define.
40450         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
40451         subnormals only when inexact has been signalled or underflow
40452         exceptions are enabled.
40453         (_FP_PACK_CANONICAL): Likewise.
40455 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40457         [BZ #14183]
40458         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
40459         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
40461 2012-05-30  Richard Henderson  <rth@twiddle.net>
40463         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
40464         with #ifndef NOT_IN_libc.
40466         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
40467         marked to avoid plt entry.
40469 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40471         [BZ #14112]
40472         * Makeconfig (default-abi): New macro.
40473         (abi-includes): Likewise.
40474         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
40475         $(abi-$(default-abi)-lib-soname) for soname if defined.
40476         ($(common-objpfx)gnu/lib-names.stmp): Generate from
40477         abi-variants.
40478         * Makefile (installed-stubs): Likewise.
40479         * include/stubs-biarch.h: Removed.
40480         * scripts/lib-names.awk: Only handle one library at a time.
40481         * scripts/soversions.awk: Remove WORDSIZE support.
40482         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
40483         entries.
40484         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
40485         Removed.
40486         (syscall-list-default-condition): Likewise.
40487         (syscall-list-default-condition): Likewise.
40488         (syscall-list-includes): Likewise.
40489         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
40490         syscall-list-* with abi-*.  Handle undefined abi-variants.
40491         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
40492         * sysdeps/unix/sysv/linux/i386/Implies: New file.
40493         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
40494         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
40495         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
40496         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
40497         Removed.
40498         (syscall-list-32-options): Likewise.
40499         (syscall-list-32-condition): Likewise.
40500         (syscall-list-64-options): Likewise.
40501         (syscall-list-64-condition): Likewise.
40502         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
40503         macro.
40504         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
40505         Renamed to ...
40506         (abi-*): This.
40507         (abi-64-ld-soname): New macro.
40508         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
40509         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
40510         Renamed to ...
40511         (abi-*): This.
40512         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
40513         * sysdeps/x86_64/x32/shlib-versions: Likewise.
40515 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
40517         * sysdeps/unix/sysv/linux/kernel-features.h
40518         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
40519         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
40520         include <kernel-features.h>.
40521         [!__NR_ftruncate64]: Remove conditional code.
40522         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40523         [__NR_ftruncate64]: Make code unconditional.
40524         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40525         * sysdeps/unix/sysv/linux/truncate64.c: Do not
40526         include <kernel-features.h>.
40527         [!__NR_ftruncate64]: Remove conditional code.
40528         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40529         [__NR_ftruncate64]: Make code unconditional.
40530         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
40532         include <kernel-features.h>.
40533         [!__NR_ftruncate64]: Remove conditional code.
40534         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40535         [__NR_ftruncate64]: Make code unconditional.
40536         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40537         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
40538         include <kernel-features.h>.
40539         [!__NR_ftruncate64]: Remove conditional code.
40540         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40541         [__NR_ftruncate64]: Make code unconditional.
40542         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
40544         * configure.in (libc_cv_fpie): Weaken to a compile test using
40545         LIBC_TRY_CC_OPTION.
40546         * configure: Regenerated.
40548 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40550         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
40551         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
40552         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
40553         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
40554         Refreshed.
40555         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
40556         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
40557         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
40558         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
40559         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
40560         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
40561         Refreshed.
40563 2012-05-27  David S. Miller  <davem@davemloft.net>
40565         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
40566         (___Q_zero): New.
40567         (__Q_simulate_exceptions): Return void.  Change to simulate
40568         exceptions by writing into the %fsr.
40569         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
40570         (__Qp_handle_exceptions): Likewise.
40571         (numbers): Delete.
40572         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
40573         __Qp_handle_exceptions.
40574         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
40575         __Qp_handle_exceptions.
40576         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40577         as unused and give dummy FP_RND_NEAREST initializer.
40578         (FP_INHIBIT_RESULTS): Define.
40579         (___Q_simulate_exceptions): Update declaration.
40580         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
40581         formatting.
40582         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
40583         as unused and give dummy FP_RND_NEAREST initializer.
40584         (__Qp_handle_exceptions): Update declaration.
40585         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
40586         formatting.
40588 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
40590         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
40591         the temporary FPU control word.
40592         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
40593         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
40594         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
40595         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40596         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
40597         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
40598         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
40599         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40600         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
40601         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
40602         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40604 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40606         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
40607         fields.
40609 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
40611         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
40612         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
40613         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
40614         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
40615         Likewise.
40616         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
40617         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
40618         Likewise.
40620 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
40622         * po/h.po: Update from translation team.
40624 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
40626         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
40628         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
40629         handling of denormals.
40630         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40631         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40632         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
40633         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
40634         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40635         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
40636         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
40637         Likewise.
40639 2012-05-26  Marek Polacek  <polacek@redhat.com>
40641         [BZ #14152]
40642         * math/libm-test.inc (fma_test): Don't always expect underflow
40643         exception.
40645 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
40647         [BZ #12416]
40648         * elf/tst-execstack.c: Include stackinfo.h.
40649         (do_test): Adjust test case to ensure that pthread_getattr_np
40650         behaviour remains the same after marking stack executable.
40652 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
40654         * sysdeps/unix/sysv/linux/kernel-features.h
40655         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
40656         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
40657         kernel-features.h.
40658         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40659         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40660         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
40661         kernel-features.h.
40662         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
40663         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
40665 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
40667         * configure.in: Define the default includes to being none.
40668         * configure: Regenerated.
40670 2012-05-25  Roland McGrath  <roland@hack.frob.com>
40672         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
40673         * sysdeps/x86_64/setjmp.S: Likewise.
40674         * sysdeps/i386/bsd-setjmp.S: Likewise.
40675         * sysdeps/i386/bsd-_setjmp.S: Likewise.
40676         * sysdeps/i386/setjmp.S: Likewise.
40677         * sysdeps/i386/__longjmp.S: Likewise.
40678         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
40679         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
40681         * include/stap-probe.h: New file.
40682         * configure.in: Handle --enable-systemtap.
40683         * configure: Regenerated.
40684         * config.h.in (USE_STAP_PROBE): New #undef.
40685         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
40686         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
40687         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40689 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
40691         [BZ #13717]
40692         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40693         to 2.4.0 where earlier.
40694         * sysdeps/unix/sysv/linux/configure: Regenerated.
40695         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
40696         <kernel-features.h>.
40697         [__ASSUME_32BITUIDS]: Make code unconditional.
40698         [!__ASSUME_32BITUIDS]: Remove conditional code.
40699         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
40700         <kernel-features.h>.
40701         [__ASSUME_32BITUIDS]: Make code unconditional.
40702         [!__ASSUME_32BITUIDS]: Remove conditional code.
40703         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
40704         [__ASSUME_32BITUIDS]: Make code unconditional.
40705         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
40706         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
40707         <kernel-features.h>.
40708         [__ASSUME_32BITUIDS]: Make code unconditional.
40709         [!__ASSUME_32BITUIDS]: Remove conditional code.
40710         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
40711         <kernel-features.h>.
40712         [__ASSUME_32BITUIDS]: Make code unconditional.
40713         [!__ASSUME_32BITUIDS]: Remove conditional code.
40714         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
40715         <kernel-features.h>.
40716         [__ASSUME_32BITUIDS]: Make code unconditional.
40717         [!__ASSUME_32BITUIDS]: Remove conditional code.
40718         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
40719         <kernel-features.h>.
40720         [__ASSUME_32BITUIDS]: Make code unconditional.
40721         [!__ASSUME_32BITUIDS]: Remove conditional code.
40722         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
40723         <kernel-features.h>.
40724         [__ASSUME_32BITUIDS]: Make code unconditional.
40725         [!__ASSUME_32BITUIDS]: Remove conditional code.
40726         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
40727         <kernel-features.h>.
40728         [__ASSUME_32BITUIDS]: Make code unconditional.
40729         [!__ASSUME_32BITUIDS]: Remove conditional code.
40730         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
40731         <kernel-features.h>.
40732         [__ASSUME_32BITUIDS]: Make code unconditional.
40733         [!__ASSUME_32BITUIDS]: Remove conditional code.
40734         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
40735         <kernel-features.h>.
40736         [__ASSUME_32BITUIDS]: Make code unconditional.
40737         [!__ASSUME_32BITUIDS]: Remove conditional code.
40738         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
40739         <kernel-features.h>.
40740         [__ASSUME_32BITUIDS]: Make code unconditional.
40741         [!__ASSUME_32BITUIDS]: Remove conditional code.
40742         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
40743         <kernel-features.h>.
40744         [__ASSUME_32BITUIDS]: Make code unconditional.
40745         [!__ASSUME_32BITUIDS]: Remove conditional code.
40746         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
40747         <kernel-features.h>.
40748         [__NR_setresgid] (__setresgid): Do not declare.
40749         [__ASSUME_32BITUIDS]: Make code unconditional.
40750         [!__ASSUME_32BITUIDS]: Remove conditional code.
40751         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
40752         <kernel-features.h>.
40753         [__NR_setresuid] (__setresuid): Do not declare.
40754         [__ASSUME_32BITUIDS]: Make code unconditional.
40755         [!__ASSUME_32BITUIDS]: Remove conditional code.
40756         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
40757         <kernel-features.h>.
40758         [__ASSUME_32BITUIDS]: Make code unconditional.
40759         [!__ASSUME_32BITUIDS]: Remove conditional code.
40760         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
40761         <kernel-features.h>.
40762         [__ASSUME_32BITUIDS]: Make code unconditional.
40763         [!__ASSUME_32BITUIDS]: Remove conditional code.
40764         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
40765         <kernel-features.h>.
40766         [__ASSUME_32BITUIDS]: Make code unconditional.
40767         [!__ASSUME_32BITUIDS]: Remove conditional code.
40768         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
40769         <kernel-features.h>.
40770         [__ASSUME_32BITUIDS]: Make code unconditional.
40771         [!__ASSUME_32BITUIDS]: Remove conditional code.
40772         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
40773         <kernel-features.h>.
40774         [__ASSUME_32BITUIDS]: Make code unconditional.
40775         [!__ASSUME_32BITUIDS]: Remove conditional code.
40776         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
40777         <kernel-features.h>.
40778         [__ASSUME_32BITUIDS]: Make code unconditional.
40779         [!__ASSUME_32BITUIDS]: Remove conditional code.
40780         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
40781         <kernel-features.h>.
40782         [__ASSUME_32BITUIDS]: Make code unconditional.
40783         [!__ASSUME_32BITUIDS]: Remove conditional code.
40784         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
40785         <kernel-features.h>.
40786         [__ASSUME_32BITUIDS]: Make code unconditional.
40787         [!__ASSUME_32BITUIDS]: Remove conditional code.
40788         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
40789         <kernel-features.h>.
40790         [__ASSUME_32BITUIDS]: Make code unconditional.
40791         [!__ASSUME_32BITUIDS]: Remove conditional code.
40792         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
40793         <kernel-features.h>.
40794         [__ASSUME_32BITUIDS]: Make code unconditional.
40795         [!__ASSUME_32BITUIDS]: Remove conditional code.
40796         * sysdeps/unix/sysv/linux/kernel-features.h
40797         (__ASSUME_SETRESUID_SYSCALL): Remove.
40798         (__ASSUME_SETRESGID_SYSCALL): Likewise.
40799         (__ASSUME_32BITUIDS): Likewise.
40800         (__ASSUME_LDT_WORKS): Likewise.
40801         (__ASSUME_O_DIRECTORY): Likewise.
40802         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
40803         architecture but not kernel version.
40804         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
40805         (__ASSUME_MMAP2_SYSCALL): Likewise.
40806         (__ASSUME_STAT64_SYSCALL): Likewise.
40807         (__ASSUME_IPC64): Likewise.
40808         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
40809         <kernel-features.h>.
40810         [__ASSUME_32BITUIDS]: Make code unconditional.
40811         [!__ASSUME_32BITUIDS]: Remove conditional code.
40812         * sysdeps/unix/sysv/linux/opendir.c: Do not include
40813         <kernel-features.h>.
40814         [__ASSUME_O_DIRECTORY]: Make code unconditional.
40815         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
40816         132096]: Remove conditional code.
40817         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
40818         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
40819         <kernel-features.h>.
40820         [__ASSUME_32BITUIDS]: Make code unconditional.
40821         [!__ASSUME_32BITUIDS]: Remove conditional code.
40822         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
40823         <kernel-features.h>.
40824         [__ASSUME_32BITUIDS]: Make code unconditional.
40825         [!__ASSUME_32BITUIDS]: Remove conditional code.
40826         * sysdeps/unix/sysv/linux/setegid.c: Do not include
40827         <kernel-features.h>.
40828         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
40829         unconditional.
40830         (__setresgid): Do not declare.
40831         [__ASSUME_32BITUIDS]: Make code unconditional.
40832         [!__ASSUME_32BITUIDS]: Remove conditional code.
40833         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
40834         <kernel-features.h>.
40835         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
40836         unconditional.
40837         (__setresuid): Do not declare.
40838         [__ASSUME_32BITUIDS]: Make code unconditional.
40839         [!__ASSUME_32BITUIDS]: Remove conditional code.
40840         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
40841         <kernel-features.h>.
40842         [__ASSUME_32BITUIDS]: Make code unconditional.
40843         [!__ASSUME_32BITUIDS]: Remove conditional code.
40844         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
40845         <kernel-features.h>.
40846         [__ASSUME_32BITUIDS]: Make code unconditional.
40847         [!__ASSUME_32BITUIDS]: Remove conditional code.
40849 2012-05-25  Richard Henderson  <rth@twiddle.net>
40851         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
40852         dl_hwcap to ifunc resolver.
40853         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
40854         elf_ifunc_invoke.
40855         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
40856         dl_hwcap to ifunc resolver.
40857         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
40859 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
40861         [BZ #14153]
40862         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
40863         for |x| <= 2**-26, not 2**-57.
40864         * math/libm-test.inc (acos_test): Do not allow spurious underflow
40865         exception.
40867 2012-05-24  Jeff Law  <law@redhat.com>
40869         * stdio-common/Makefile (tests): Add bug25.
40870         * stdio-common/bug25.c: New test.
40872 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
40874         [BZ #13576]
40875         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
40876         multiple of MALLOC_ALIGNMENT in size.
40877         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
40879 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
40881         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
40882         Require >= 256.
40883         (FILENAME_MAX): Use macro-int-constant.
40884         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
40885         (_IOFBF): Use macro-int-constant.
40886         (_IOLBF): Likewise.
40887         (_IONBF): Likewise.
40888         (SEEK_CUR): Likewise.
40889         (SEEK_END): Likewise.
40890         (SEEK_SET): Likewise.
40891         (TMP_MAX): Likewise.
40892         (EOF): Use macro-int-constant.  Require < 0.
40893         (NULL): Use macro-constant.  Require == 0.
40894         (stdin): Require type to be FILE *.
40895         (stdout): Likewise.
40896         (stderr): Likewise.
40897         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
40898         macro-int-constant.
40899         (EXIT_SUCCESS): Likewise.
40900         (NULL): Use macro-constant.  Require == 0.
40901         (RAND_MAX): Use macro-int-constant.
40902         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
40903         [C99-based standards] (strtof): Require function.
40904         [C99-based standards] (strtold): Likewise.
40905         [C99-based standards] (strtoll): Likewise.
40906         [C99-based standards] (strtoull): Likewise.
40907         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40908         [ISO || ISO99 || ISO11] (limits.h): Likewise.
40909         [ISO || ISO99 || ISO11] (math.h): Likewise.
40910         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
40911         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40912         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40914 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
40916         [BZ #14132]
40917         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
40918         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
40919         * intl/dgettext.c (DCGETTEXT): Likewise.
40920         * intl/gettext.c (DCGETTEXT): Likewise.
40921         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
40922         * posix/regex_internal.h (gettext): Likewise.
40923         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
40924         Remove declaration.
40925         * include/argz.h (__argz_count_internal)
40926         (__argz_stringify_internal): Remove declaration.
40927         (__argz_count, __argz_stringify): Declare hidden proto.
40928         * intl/dcgettext.c: Remove use of INTDEF.
40929         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
40930         * string/argz-stringify.c: Likewise.
40931         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40932         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40933         Declare hidden proto.
40934         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
40935         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
40936         Declare hidden proto.
40937         * include/stdio.h (__asprintf_internal): Don't declare.
40938         (__asprintf): Don't define as macro.  Declare hidden proto.
40939         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
40940         (__fsetlocking): Declare hidden proto.
40941         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
40942         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
40943         hidden proto.
40944         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
40945         (_IO_setlinebuf): Remove use of INTUSE.
40946         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
40947         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
40948         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
40949         Remove declaration.
40950         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
40951         (_IO_do_flush): Remove use of INTUSE.
40952         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
40953         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
40954         (_IO_adjust_column, _IO_least_wmarker)
40955         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
40956         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
40957         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
40958         (_IO_default_doallocate, _IO_wdefault_doallocate)
40959         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
40960         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
40961         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
40962         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
40963         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
40964         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
40965         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
40966         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
40967         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
40968         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
40969         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
40970         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
40971         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
40972         proto.
40973         (_IO_flush_all_internal, _IO_adjust_column_internal)
40974         (_IO_default_uflow_internal, _IO_default_finish_internal)
40975         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
40976         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
40977         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
40978         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
40979         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
40980         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
40981         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
40982         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
40983         (_IO_file_close_internal, _IO_file_close_it_internal)
40984         (_IO_file_underflow_internal, _IO_file_overflow_internal)
40985         (_IO_file_init_internal, _IO_file_attach_internal)
40986         (_IO_file_fopen_internal, _IO_file_read_internal)
40987         (_IO_file_sync_internal, _IO_file_seek_internal)
40988         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
40989         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
40990         (_IO_str_underflow_internal, _IO_str_overflow_internal)
40991         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
40992         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
40993         (_IO_list_all_internal, _IO_link_in_internal)
40994         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
40995         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
40996         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
40997         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
40998         (_IO_do_write_internal, _IO_padn_internal)
40999         (_IO_getline_info_internal, _IO_getline_internal)
41000         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41001         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41002         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41003         (_IO_vfscanf_internal, _IO_vfprintf_internal)
41004         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41005         (_IO_init_internal, _IO_un_link_internal): Don't declare.
41006         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41007         with libc_hidden_ver, remove use of INTUSE.
41008         * libio/genops.c: Likewise.
41009         * libio/freopen.c: Likewise.
41010         * libio/freopen64.c: Likewise.
41011         * libio/iofclose.c: Likewise.
41012         * libio/iofdopen.c: Likewise.
41013         * libio/iofflush.c: Likewise.
41014         * libio/iofflush_u.c: Likewise.
41015         * libio/iofgets.c: Likewise.
41016         * libio/iofgets_u.c: Likewise.
41017         * libio/iofopen.c: Likewise.
41018         * libio/iofopncook.c: Likewise.
41019         * libio/iofread.c: Likewise.
41020         * libio/iofread_u.c: Likewise.
41021         * libio/ioftell.c: Likewise.
41022         * libio/iofwrite.c: Likewise.
41023         * libio/iogetline.c: Likewise.
41024         * libio/iogets.c: Likewise.
41025         * libio/iogetwline.c: Likewise.
41026         * libio/iopadn.c: Likewise.
41027         * libio/iopopen.c: Likewise.
41028         * libio/ioseekoff.c: Likewise.
41029         * libio/ioseekpos.c: Likewise.
41030         * libio/iosetbuffer.c: Likewise.
41031         * libio/iosetvbuf.c: Likewise.
41032         * libio/ioungetc.c: Likewise.
41033         * libio/ioungetwc.c: Likewise.
41034         * libio/iovdprintf.c: Likewise.
41035         * libio/iovsprintf.c: Likewise.
41036         * libio/iovsscanf.c: Likewise.
41037         * libio/memstream.c: Likewise.
41038         * libio/obprintf.c: Likewise.
41039         * libio/oldfileops.c: Likewise.
41040         * libio/oldiofclose.c: Likewise.
41041         * libio/oldiofdopen.c: Likewise.
41042         * libio/oldiofopen.c: Likewise.
41043         * libio/oldiopopen.c: Likewise.
41044         * libio/oldstdfiles.c: Likewise.
41045         * libio/putc.c: Likewise.
41046         * libio/setbuf.c: Likewise.
41047         * libio/setlinebuf.c: Likewise.
41048         * libio/stdfiles.c: Likewise.
41049         * libio/strops.c: Likewise.
41050         * libio/vasprintf.c: Likewise.
41051         * libio/vscanf.c: Likewise.
41052         * libio/vsnprintf.c: Likewise.
41053         * libio/vswprintf.c: Likewise.
41054         * libio/wfiledoalloc.c: Likewise.
41055         * libio/wfileops.c: Likewise.
41056         * libio/wgenops.c: Likewise.
41057         * libio/wmemstream.c: Likewise.
41058         * libio/wstrops.c: Likewise.
41059         * libio/__fpurge.c: Likewise.
41060         * libio/__fsetlocking.c: Likewise.
41061         * assert/assert.c: Likewise.
41062         * debug/fgets_chk.c: Likewise.
41063         * debug/fgets_u_chk.c: Likewise.
41064         * debug/fread_chk.c: Likewise.
41065         * debug/fread_u_chk.c: Likewise.
41066         * debug/gets_chk.c: Likewise.
41067         * debug/obprintf_chk.c: Likewise.
41068         * debug/vasprintf_chk.c: Likewise.
41069         * debug/vdprintf_chk.c: Likewise.
41070         * debug/vsnprintf_chk.c: Likewise.
41071         * debug/vsprintf_chk.c: Likewise.
41072         * malloc/mtrace.c: Likewise.
41073         * misc/error.c: Likewise.
41074         * misc/syslog.c: Likewise.
41075         * stdio-common/asprintf.c: Likewise.
41076         * stdio-common/fxprintf.c: Likewise.
41077         * stdio-common/getw.c: Likewise.
41078         * stdio-common/isoc99_fscanf.c: Likewise.
41079         * stdio-common/isoc99_scanf.c: Likewise.
41080         * stdio-common/isoc99_vfscanf.c: Likewise.
41081         * stdio-common/isoc99_vscanf.c: Likewise.
41082         * stdio-common/isoc99_vsscanf.c: Likewise.
41083         * stdio-common/printf-prs.c: Likewise.
41084         * stdio-common/printf_fp.c: Likewise.
41085         * stdio-common/printf_fphex.c: Likewise.
41086         * stdio-common/printf_size.c: Likewise.
41087         * stdio-common/putw.c: Likewise.
41088         * stdio-common/scanf.c: Likewise.
41089         * stdio-common/sprintf.c: Likewise.
41090         * stdio-common/tmpfile.c: Likewise.
41091         * stdio-common/vfprintf.c: Likewise.
41092         * stdio-common/vfscanf.c: Likewise.
41093         * stdlib/strfmon_l.c: Likewise.
41094         * sunrpc/openchild.c: Likewise.
41095         * sunrpc/xdr_stdio.c: Likewise.
41096         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41097         * sysdeps/mach/hurd/tmpfile.c: Likewise.
41099 2012-05-24  Roland McGrath  <roland@hack.frob.com>
41101         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41103         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41104         in the third column, to generate for the shared library an IFUNC
41105         that uses _dl_vdso_vsym.
41106         * Makerules (COMPILE.c, compile-stdin.c): New variables.
41107         * Makeconfig (object-suffixes-noshared): New variable.
41109         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41110         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41111         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41112         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41114         [BZ #14132]
41115         * include/sys/time.h (__gettimeofday): Remove macro.
41116         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41117         * time/gettimeofday.c (__gettimeofday): Remove #undef.
41118         Remove INTDEF.
41119         (__gettimeofday): Add libc_hidden_def.
41120         (gettimeofday): Add libc_hidden_weak.
41121         * sysdeps/mach/gettimeofday.c: Likewise.
41122         * sysdeps/posix/gettimeofday.c: Likewise.
41123         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41124         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41125         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41126         (__gettimeofday_internal): Remove strong_alias.
41127         (__gettimeofday): Add libc_hidden_def.
41128         (gettimeofday): Add libc_hidden_weak.
41129         * sysdeps/unix/syscalls.list (gettimeofday):
41130         Remove __gettimeofday_internal alias.
41132 2012-05-24  Daniel Jacobowitz  <drow@false.org>
41133             H.J. Lu  <hongjiu.lu@intel.com>
41135         [BZ #12495]
41136         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41137         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41138         (largebin_index_32_big): New.
41139         (largebin_index): Use it for 16-byte alignment.
41140         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
41141         correction with front_misalign.
41143 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
41145         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41146         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41147         Likewise.
41148         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41149         Likewise.
41150         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41151         Likewise.
41152         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41153         Likewise.
41154         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41155         Likewise.
41156         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41157         Likewise.
41158         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41159         Likewise.
41160         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41161         Likewise.
41162         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41163         Likewise.
41164         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41165         Likewise.
41166         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41167         Likewise.
41168         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41169         Likewise.
41171         * scripts/data/c++-types-x32-linux-gnu.data: New file.
41172         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41174 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
41176         [BZ #10846]
41177         [BZ #14036]
41178         * math/libm-test.inc (exp_test): Add test from bug 14036.
41179         (pow_test): Add test from bug 10846.
41181         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41182         and other flags.
41183         (special_function): Do not include flags in test name.
41184         (parse_args): Likewise.
41185         * sysdeps/i386/fpu/libm-test-ulps: Update.
41186         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41187         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41188         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41191         * math/gen-libm-test.pl (%beautify): Add entries for underflow
41192         exceptions.
41193         * math/libm-test.inc ("Philosophy"): Update comment about
41194         exception testing.
41195         (UNDERFLOW_EXCEPTION): New macro.
41196         (UNDERFLOW_EXCEPTION_OK): Likewise.
41197         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41198         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41199         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41200         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41201         (INVALID_EXCEPTION_OK): Update value.
41202         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41203         (OVERFLOW_EXCEPTION_OK): Likewise.
41204         (IGNORE_ZERO_INF_SIGN): Likewise.
41205         (test_exceptions): Handle underflow exceptions.
41206         (acos_test): Update for underflow exception expectations.
41207         (cexp_test): Likewise.
41208         (clog_test): Likewise.
41209         (clog10_test): Likewise.
41210         (csqrt_test): Likewise.
41211         (ctan_test): Likewise.
41212         (ctanh_test): Likewise.
41213         (exp_test): Likewise.
41214         (exp10_test): Likewise.
41215         (exp2_test): Likewise.
41216         (expm1_test): Likewise.
41217         (fma_test): Likewise.
41218         (j0_test): Likewise.
41219         (jn_test): Likewise.
41220         (nexttoward_test): Likewise.
41221         (pow_test): Likewise.
41222         (scalbn_test): Likewise.
41223         (scalbln_test): Likewise.
41224         (tan_test): Likewise.
41225         (y1_test): Likewise.
41226         * sysdeps/i386/fpu/libm-test-ulps: Update.
41227         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41229 2012-05-23  David S. Miller  <davem@davemloft.net>
41231         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41232         (__libc_sigaction): Remove unused local variables.
41234 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41236         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41238 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
41240         mktime: avoid signed integer overflow
41241         * time/mktime.c (__mktime_internal): Do not mishandle the case
41242         where diff == INT_MIN.
41244         mktime: simplify computation of average
41245         * time/mktime.c (ranged_convert): Use new time_t_avg function
41246         instead of rolling our own (probably-slower) code.
41248         mktime: do not assume signed right shift propagates sign bit
41249         * time/mktime.c (isdst_differ): New static function.
41250         (__mktime_internal): No need to normalize tm_isdst now.
41251         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41252         tm_isdst values.
41254         mktime: merge another wrapv change from gnulib
41255         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41256         from some compilers.
41258         mktime: remove incorrect attempt at unusual arithmetics
41259         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41260         The code didn't really work on such machines anyway.
41261         (TYPE_MINIMUM): Assume two's complement.
41262         (twos_complement_arithmetic): Verify that long_int and time_t
41263         are two's complement (or unsigned, in the latter case).
41265         mktime: check signed shifts on long_int and time_t, too
41266         * time/mktime.c (SHR): Check that shifts work as desired
41267         on the types long_int and time_t too, as SHR is used on
41268         such types.
41270         mktime: do not assume 'long' is wide enough
41271         * time/mktime.c (verify): Move decl up.
41272         (long_int): New type.
41273         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41274         to remove assumption in the code that 'long' is wide enough to
41275         store year values.  This assumption is not true on x32 and on
41276         some non-glibc platforms.
41278         mktime: merge wrapv change from gnulib
41279         * time/mktime.c (WRAPV): New macro.
41280         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41281         (guess_time_tm, __mktime_internal): Do not assume that signed
41282         integer overflow wraps around; modern compilers generate code
41283         where this assumption is no longer valid.
41285 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41287         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41288         Replace "jmp L(pseudo_end)" with "ret".
41289         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41290         Likewise.
41292 2012-05-23  Andreas Jaeger  <aj@suse.de>
41294         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41295         * sysdeps/unix/sysv/linux/poll.c: Remove file.
41297 2012-05-23  Andreas Jaeger  <aj@suse.de>
41298             Maximilian Attems  <max@stro.at>
41300         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41301         New macros.
41303 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41305         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41306         code so that pseudo_end is just ret and the stack pointer is
41307         correct also for static library in error case.
41309 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
41311         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41312         move to syscalls.list.
41313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41318         * manual/install.texi (Running make install): Do not mention Linux
41319         kernel version for which pt_chown is not needed.
41320         (Linux): Do not mention problems with nscd with 2.0 kernels.
41321         * INSTALL: Regenerated.
41323 2012-05-23  Andreas Jaeger  <aj@suse.de>
41325         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41326         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41327         macro.
41328         * sysdeps/unix/sysv/linux/s390/bits/mman.h
41329         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41330         * sysdeps/unix/sysv/linux/sh/bits/mman.h
41331         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41332         * sysdeps/unix/sysv/linux/i386/bits/mman.h
41333         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41334         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41335         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41336         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41337         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41338         * sysdeps/unix/sysv/linux/bits/in.h
41339         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41341 2012-05-22  Roland McGrath  <roland@hack.frob.com>
41343         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41344         (PREPARE_VERSION): Just use assert instead, it will be elided
41345         under [NDEBUG] anyway.
41347 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41349         * sysdeps/unix/sysv/linux/Makefile: Include
41350         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
41351         (sysdep_routines): Remove sysctl.
41352         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41353         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41354         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41355         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41356         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41358 2012-05-22  Andreas Jaeger  <aj@suse.de>
41360         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41361         that pseudo_end is just ret and the stack pointer is correct also
41362         for static library in error case.
41364 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
41366         [BZ #14122]
41367         * nss/nsswitch.c (defconfig_entries): New variable.
41368         (__nss_database_lookup): Don't leak defconfig entries.
41369         (nss_parse_service_list): Don't leak on error paths.
41370         (free_database_entries): New function.
41371         (free_defconfig): New function.
41372         (free_mem): Move common code to free_database_entries.
41374 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41376         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41377         Add arch_prctl.
41378         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41380         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41381         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41382         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41383         New macro.
41384         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41385         (INTERNAL_SYSCALL_TYPES): Likewise.
41386         (LOAD_ARGS_TYPES_[1-6]): Likewise.
41387         (LOAD_REGS_TYPES_[1-6]): Likewise.
41388         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41389         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41391 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41393         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41394         copysignl for GLIBC_2_0.
41395         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41396         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41397         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41398         logbl for GLIBC_2_0.
41399         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41400         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41402 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41404         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41405         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41407         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41408         Use "neg %eax".
41410         * time/mktime.c: Update copyright years.
41412 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
41414         mktime: merge comment-quoting-style change from gnulib
41415         * time/mktime.c: Quote 'like this' in comments.
41416         The GNU coding standards suggest that we no longer quote `like this',
41417         as "`" and "'" are typically rendered asymmetrically nowadays.
41418         The typical gnulib style is to quote 'like this' when quoting
41419         code, and "like this" when quoting English.
41421         * time/mktime.c (compile-command): Add "-I.".
41423         mktime: merge mktime-internal.h change from gnulib
41424         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
41426         mktime: merge time_r change from gnulib
41427         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
41429         mktime: merge DEBUG change from gnulib
41430         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
41431         case system <time.h> has a #define.
41433         mktime: merge <sys/types.h> change from gnulib
41434         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
41435         since <time.t> is now guaranteed to define time_t.
41437         mktime: merge HAVE_CONFIG_H change from gnulib
41438         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
41440 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41442         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41443         Use "neg %eax".
41445         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
41446         __rlim_t cast.
41447         (struct rusage): Use anonymous union to pad each field to
41448         __syscall_slong_t.
41450 2012-05-21  David S. Miller  <davem@davemloft.net>
41452         * Makefules (o-iterator): Remove .s cases.
41453         (compile-command.s): Delete.
41454         (COMPILE.s): Delete.
41455         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
41457 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
41459         * configure.in (libc_cv_predef_stack_protector): Only consider
41460         "foobar" and "__stack_chk_fail" lines in libc_undefs.
41461         * configure: Regenerated.
41463 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41465         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
41466         New macro.  Use R*LP on int and pointer.
41467         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
41468         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
41469         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
41470         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
41472         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
41473         [__WORDSIZE_TIME64_COMPAT32] instead of
41474         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
41475         (struct utmp): Likewise.
41476         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
41477         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
41478         Renamed to ...
41479         (__WORDSIZE_TIME64_COMPAT32): This.
41480         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
41481         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
41482         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
41483         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
41484         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
41485         (__WORDSIZE_TIME64_COMPAT32): New macro.
41487 2012-05-21  Andreas Jaeger  <aj@suse.de>
41489         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
41490         only if [SHARED]. Add prototype for __wcschr_ia32.
41492 2012-05-21  Roland McGrath  <roland@hack.frob.com>
41494         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
41495         of %rbp unmolested in the jmp_buf while mangling the low bits.
41496         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
41497         unmolested high bits of %rbp while demangling the low bits.
41498         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41500 2012-05-21  Andreas Jaeger  <aj@suse.de>
41502         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
41503         * sunrpc/svc_simple.c: Use it for registerrpc.
41504         * sunrpc/xcrypt.c: Use it for passwd2des.
41506         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
41508 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41510         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
41511         Don't define if [__SYSCALL_WORDSIZE != 32].
41512         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
41513         New macro.
41515 2012-05-21  Bruno Haible  <bruno@clisp.org>
41516             Andreas Jaeger  <aj@suse.de>
41518         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
41519         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
41520         inptr and inend for must_buffer_ch.
41521         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
41522         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
41523         * stdio-common/Makefile (tests): Remove bug15.
41524         (bug15-ENV): Remove macro.
41525         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
41526         anymore.
41528 2012-05-19  Andreas Jaeger  <aj@suse.de>
41529             Roland McGrath  <roland@hack.frob.com>
41531         * manual/contrib.texi: Completely rewritten. It contains now an
41532         alphabetical list of contributors and their contributions.
41534 2012-05-21  Richard Henderson  <rth@twiddle.net>
41536         * misc/getauxval.c (__getauxval): Use unsigned long int.
41537         * misc/sys/auxv.h: Include <sys/cdefs.h>.
41538         (getauxval): Use unsigned long int.
41540 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
41542         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41544 2012-05-21  Roland McGrath  <roland@hack.frob.com>
41546         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
41547         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
41548         __alignof__ (long double).
41550 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41552         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41554 2012-05-20  Richard Henderson  <rth@twiddle.net>
41556         * misc/getauxval.c: New file.
41557         * misc/sys/auxv.h: New file.
41558         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
41559         (routines): Add getauxval.
41560         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
41561         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
41562         * elf/dl-sysdep.c (_dl_auxv): Remove.
41563         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
41564         * elf/dl-support.c (_dl_auxv): New variable.
41565         (_dl_aux_init): Initialize it.
41566         * manual/startup.texi (Auxiliary Vector): New node.
41567         * sysdeps/generic/bits/hwcap.h: New file.
41568         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
41569         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
41570         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
41571         * sysdeps/sparc/sysdep.h: ... here.  Include it.
41572         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
41573         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
41574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
41575         Update.
41576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
41577         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
41578         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
41579         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
41580         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41581         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
41582         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
41583         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
41585 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41587         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41589 2012-05-19  David S. Miller  <davem@davemloft.net>
41591         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41593 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
41595         [BZ #14123]
41596         * math/s_ccosh.c: Include <float.h>
41597         (__ccosh): Avoid internal overflow calculating sinh and cosh
41598         values before multiplying by sin and cos values.
41599         * math/s_ccoshf.c: Likewise.
41600         * math/s_ccoshl.c: Likewise.
41601         * math/s_csin.c: Likewise.
41602         * math/s_csinf.c: Likewise.
41603         * math/s_csinl.c: Likewise.
41604         * math/s_csinh.c: Likewise.
41605         * math/s_csinhf.c: Likewise.
41606         * math/s_csinhl.c: Likewise.
41607         * math/libm-test.inc (ccos_test): Add more tests.
41608         (ccosh_test): Likewise.
41609         (csin_test): Likewise.
41610         (csinh_test): Likewise.
41611         * sysdeps/i386/fpu/libm-test-ulps: Update.
41612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41614 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
41616         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
41617         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
41619         * sysdeps/x86_64/x32/_itoa.h: Add comment.
41621 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
41623         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
41624         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
41625         * sysdeps/powerpc/soft-fp/Versions: Likewise.
41626         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
41627         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
41628         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
41629         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
41630         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
41631         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
41632         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
41633         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
41634         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
41635         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
41636         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
41637         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
41638         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
41639         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
41640         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
41641         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
41642         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
41643         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
41644         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
41645         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
41646         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
41647         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
41648         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
41649         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
41650         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
41651         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
41652         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
41653         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
41655 2012-05-18  Andreas Jaeger  <aj@suse.de>
41657         * csu/.gitignore: Delete.
41659 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41661         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
41662         (timex): Use __syscall_slong_t.
41664 2012-05-18  Andreas Jaeger  <aj@suse.de>
41665             Carlos O'Donell  <carlos_odonell@mentor.com>
41667         * manual/install.texi (Configuring and compiling): Update
41668         description about files modified in the source directory.
41669         * INSTALL: Regenerated.
41671 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41673         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
41674         value.  Use "or" to set return value to -1.
41675         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
41676         negate return value.
41678 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
41680         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
41681         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
41682         failure if the compiler has Graphite support disabled.
41683         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
41684         Likewise.
41685         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
41686         (CFLAGS-memmove.c): Likewise.
41687         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
41688         Likewise.
41690 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
41692         * sysdeps/x86_64/x32/_itoa.h: New file.
41694         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
41695         getdents system call only if kernel and user dirents have the
41696         same d_ino and d_off.
41698         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
41699         LLONG_MAX != LONG_MAX.
41700         (_itoa_word): Use _ITOA_WORD_TYPE on value.
41701         (_fitoa_word): Likewise.
41703         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
41704         years.
41705         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
41706         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
41707         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
41709         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
41710         include <bits/wordsize.h>.  Check __x86_64__ instead of
41711         __WORDSIZE.
41712         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
41713         if __x86_64__ is defined.  Use anonymous union on fpstate.
41715         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
41716         anonymous union.
41718 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
41720         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41721         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
41722         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
41723         Refer to _rtld_local_ro instead of _rtld_global_ro.
41724         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
41725         Likewise.
41726         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
41727         Likewise.
41728         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
41729         Likewise.
41730         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
41731         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
41732         of _rtld_global, and rtld_progname instead of _dl_argv[0].
41734         * sysdeps/powerpc/powerpc32/dl-machine.c
41735         (__elf_machine_runtime_setup) [PROF]: Don't reference
41736         _dl_prof_resolve.
41738 2012-05-18  Andreas Jaeger  <aj@suse.de>
41740         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
41741         function only available for GCCs before 3.4 since GCC 3.4
41742         introduced a builtin.
41743         (lrint): Likewise.
41744         (llrintf): Likewise.
41745         (llrint): Likewise.
41746         (fmaxf): Likewise.
41747         (fmax): Likewise.
41748         (fminf): Likewise.
41749         (fmin): Likewise.
41750         (rint): Likewise.
41751         (rintf): Likewise.
41752         (nearbyint): Likewise.
41753         (nearbyintf): Likewise.
41754         (ceil): Likewise.
41755         (ceilf): Likewise.
41756         (floor): Likewise.
41757         (floorf): Likewise.
41759 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41761         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
41762         on both fields and cast pointer to __syscall_ulong_t.
41764         * bits/types.h (__fsword_t): New type.
41765         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
41766         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
41767         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
41768         (__FSWORD_T_TYPE): Likewise.
41769         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
41770         (__FSWORD_T_TYPE): Likewise.
41771         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
41772         (__FSWORD_T_TYPE): Likewise.
41773         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
41774         (__FSWORD_T_TYPE): Likewise.
41775         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
41776         __SWORD_TYPE with __fsword_t.
41777         (statfs64): Likewise.
41779 2012-05-17  David S. Miller  <davem@davemloft.net>
41781         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
41783 2012-05-17  Andreas Jaeger  <aj@suse.de>
41785         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
41786         warning.
41788 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41790         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
41792 2012-05-17  Andreas Jaeger  <aj@suse.de>
41794         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
41795         when it is used.
41797 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
41799         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
41801 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
41803         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
41804         * sysdeps/x86_64/tst-mallocalign1.c: New file.
41806 2012-05-17  Andreas Jaeger  <aj@suse.de>
41807             Carlos O'Donell  <carlos_odonell@mentor.com>
41809         [BZ #14059]
41810         * sysdeps/x86_64/multiarch/init-arch.h
41811         (bit_YMM_Usable): Rename to...
41812         (bit_AVX_Usable): ... this.
41813         (bit_FMA4_Usable): New macro.
41814         (bit_XMM_state): New macro.
41815         (bit_YMM_state): New macro.
41816         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
41817         [__ASSEMBLER__] (index_AVX_Usable): ... this.
41818         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
41819         (CPUID_OSXSAVE): New macro.
41820         (CPUID_AVX): New macro.
41821         (CPUID_FMA4): New macro.
41822         (index_YMM_Usable): Rename to...
41823         (index_AVX_Usable): ... this.
41824         (HAS_AVX): Use HAS_ARCH_FEATURE.
41825         (HAS_FMA4): Likewise.
41826         (HAS_YMM_USABLE): Remove.
41827         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41828         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
41829         are present.
41830         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
41831         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
41832         * sysdeps/x86_64/multiarch/Makefile: Likewise.
41833         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
41834         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
41836 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
41838         * math/libm-test.c: Support platforms without multiple rounding modes.
41839         * math/bug-nextafter.c: Support platforms without FP exceptions.
41840         * math/bug-nexttoward.c: Likewise.
41841         * math/test-fenv.c: Likewise.
41842         * math/test-misc.c: Likewise.
41843         * stdlib/bug-getcontext.c: Likewise.
41845 2012-05-17  Andreas Jaeger  <aj@suse.de>
41847         * manual/examples/search.c (critter_cmp): Change signature to
41848         avoid warnings.
41849         * manual/string.texi (Collation Functions): Likewise.
41851 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41853         * bits/types.h: Fold copyright years.
41854         * bits/typesizes.h: Likewise.
41855         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
41856         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
41857         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
41858         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
41859         * time/time.h: Likewise.
41861 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
41863         [BZ #208]
41864         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
41865         in instead of returning them.  Return void.
41866         (__libc_mallinfo): Accumulate over all arenas.
41867         (__malloc_stats): Adjust for change in int_mallinfo interface.
41869 2012-05-16  Roland McGrath  <roland@hack.frob.com>
41871         [BZ #10375]
41872         * configure.in (NM): Add AC_CHECK_TOOL for it.
41873         (libc_extra_cflags): New substituted variable.
41874         Check for -fstack-protector being used implicitly.
41875         * configure: Regenerated.
41876         * config.make.in (config-extra-cflags): New variable,
41877         gets @libc_extra_cflags@.
41878         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
41880         [BZ #10375]
41881         * configure.in: Check for _FORTIFY_SOURCE being predefined.
41882         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
41883         * configure: Regenerated.
41884         * config.make.in (CPPUNDEFS): New substituted variable.
41885         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
41886         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
41887         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
41889 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41891         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
41892         (mq_attr): Use __syscall_slong_t.
41894 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41896         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
41897         Check __x86_64__ instead of __WORDSIZE.
41898         (_STAT_VER_LINUX): Likewise.
41899         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
41900         __syscall_ulong_t and __syscall_slong_t.
41901         (stat64): Likewise.
41903 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41905         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
41907 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41909         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
41911 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41913         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
41914         __syscall_ulong_t.
41916         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
41917         include <bits/wordsize.h>.  Check __x86_64__ instead of
41918         __WORDSIZE.
41919         (greg_t): Use "__extension__ long long int" if __x86_64__ is
41920         defined.
41921         (mcontext_t): Replace "unsigned long" with "unsigned long long".
41923         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
41924         include <bits/wordsize.h>.  Check __x86_64__ instead of
41925         __WORDSIZE.
41926         (user_regs_struct): Use "__extension__ unsigned long long"
41927         instead of "unsigned long" if __x86_64__ is defined.
41928         (user): Likewise.  Pad after pointer field if __ILP32__ is
41929         defined.
41931 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
41933         * configure.in (makeinfo): Require version 4.5 or later.  Allow
41934         versions 5 to 9.
41935         * configure: Regenerated.
41936         * manual/install.texi (texinfo): Increase version requirement to
41937         4.5 or later.
41938         * INSTALL: Regenerated.
41940         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
41942 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
41944         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
41946         * sysdeps/x86_64/x32/ffs.c: New file.
41948         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
41949         __syscall_ulong_t.
41950         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
41951         defined.  Use __syscall_ulong_t.
41952         (shminfo): Use __syscall_ulong_t.
41953         (shm_info): Likewise.
41955         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
41956         __syscall_ulong_t.
41958         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
41959         <bits/wordsize.h>.
41960         (msgqnum_t): Use __syscall_ulong_t.
41961         (msglen_t): Likewise.
41962         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
41963         __syscall_ulong_t.
41965         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
41966         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41968         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
41970         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
41971         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
41973         * sysvipc/sys/msg.h (msgbuf): Replace long int with
41974         __syscall_slong_t.
41976         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
41977         include <bits/wordsize.h>.  Check __x86_64__ instead of
41978         __WORDSIZE.
41980         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
41981         "unsigned long long int" if __x86_64__ is defined.
41982         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
41984         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
41985         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41986         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
41988         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
41989         <stdint.h>.
41990         (GET_PC): Cast to uintptr_t first.
41991         (GET_FRAME): Likewise.
41992         (GET_STACK): Likewise.
41994         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
41995         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
41996         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
41997         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
41998         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
41999         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42000         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42001         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42002         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42003         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42004         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42005         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42006         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42007         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42008         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42009         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42010         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42011         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42012         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42013         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42014         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42015         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42016         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42017         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42018         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42019         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42020         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42021         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42022         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42024 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
42026         * Makerules (+depfiles): Also collect depfiles from .oS in
42027         $(extra-objs).
42028         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42029         .oS, $(libnldbl-routines)).
42031         * Makerules (native-compile-mkdep-flags): Define.
42032         * sunrpc/Makefile (extra-objs): Add $(addprefix
42033         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42034         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42035         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
42036         calling $(make-target-directory).
42038 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42040         * bits/types.h (__snseconds_t): Removed.
42041         * time/time.h (struct timespec): Replace __snseconds_t with
42042         __syscall_slong_t.
42043         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42044         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42045         Likewise.
42046         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42047         (__SNSECONDS_T_TYPE): Likewise.
42048         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42049         (__SNSECONDS_T_TYPE): Likewise.
42050         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42051         (__SNSECONDS_T_TYPE): Likewise.
42053 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42055         * sysdeps/mach/hurd/bits/typesizes.h
42056         (__SYSCALL_SLONG_TYPE): New macro.
42057         (__SYSCALL_ULONG_TYPE): Likewise.
42059 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42061         * bits/types.h (__syscall_slong_t): New type.
42062         (__syscall_ulong_t): Likewise.
42064         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42065         (__SYSCALL_ULONG_TYPE): Likewise.
42066         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42067         (__SYSCALL_SLONG_TYPE): Likewise.
42068         (__SYSCALL_ULONG_TYPE): Likewise.
42069         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42070         (__SYSCALL_SLONG_TYPE): Likewise.
42071         (__SYSCALL_ULONG_TYPE): Likewise.
42072         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42073         (__SYSCALL_SLONG_TYPE): Likewise.
42074         (__SYSCALL_ULONG_TYPE): Likewise.
42076 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42078         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42079         Add sigaltstack-offsets.sym.
42080         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42081         <sigaltstack-offsets.h>.
42082         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
42083         longjmp_msg pointer.
42084         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
42085         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42086         signal stack.
42087         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42089 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
42091         * elf/stackguard-macros.h: Remove file.
42092         * sysdeps/generic/stackguard-macros.h: New file.
42093         * sysdeps/i386/stackguard-macros.h: Likewise.
42094         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42095         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42096         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42097         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42098         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42099         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42100         * sysdeps/x86_64/stackguard-macros.h: Likewise.
42101         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42102         <elf/stackguard-macros.h>.
42104         [BZ #14109]
42105         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42106         __aligned__ in attribute.
42107         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42108         (gregset_t): Likewise.
42110 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42112         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42113         * sysdeps/x86_64/64/Implies-after: Here.  New file.
42114         * sysdeps/x86_64/x32/Implies-after: New file.
42116 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42118         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42119         and access return value for _dl_profile_fixup.  Use R10_LP to
42120         load frame size.
42122 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42124         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42126 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42128         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42129         * sysdeps/x86_64/x32/sysdep.h: New file.
42131 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42133         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42134         * sysdeps/x86_64/setjmp.S: Likewise.
42136 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42138         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42139         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42140         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42141         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42142         remove unused global constant.
42144 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
42146         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42147         include of <not-cancel.h>.
42149 2012-05-15  Roland McGrath  <roland@hack.frob.com>
42151         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42153 2012-05-15  Jeff Law  <law@redhat.com>
42154             Andreas Jaeger  <aj@suse.de>
42156         [BZ #13594]
42157         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42158         out from...
42159         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42160         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42161         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42162         code changing __hst_map_handle.map.
42164 2012-05-15  Roland McGrath  <roland@hack.frob.com>
42166         * configure.in (sysnames): Look for Implies-before and Implies-after
42167         files.
42168         * configure: Regenerated.
42170 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42172         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42173         8-byte data alignment with LP_SIZE alignment.
42175 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42177         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42178         into R10_LP.
42180 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42182         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42184 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42186         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42187         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42188         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42189         Likewise.
42190         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42192 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42194         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42195         (stackinfo_sub_sp): Likewise.
42197 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42199         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42200         RAX_LP.
42202 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42204         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42205         into R*_LP.
42207 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42209         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42210         sizes into R*_LP.
42212 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42214         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42216 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42218         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42219         into R11_LP and load __x86_64_shared_cache_size_half into
42220         R8_LP.
42222 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42224         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42225         R8_LP.
42227 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42229         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42230         logb for POWER7.
42231         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42232         logbf for POWER7.
42233         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42234         logbl for POWER7.
42235         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42236         powerpc32/power7/fpu/s_logb.c via #include.
42237         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42238         powerpc32/power7/fpu/s_logbf.c via #include.
42239         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42240         powerpc32/power7/fpu/s_logbl.c via #include.
42242 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
42244         * README.libm: Remove file.
42246 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42248         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42249         count for x32.  Use R*_LP and omit operand-size suffix.
42251 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42253         * shlib-versions: Move x86_64-.*-linux.* entries to ...
42254         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
42255         * sysdeps/x86_64/x32/shlib-versions: New file.
42257 2012-05-14  Roland McGrath  <roland@hack.frob.com>
42259         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42260         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42261         Use _dl_fatal_printf instead.
42263 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
42265         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42266         set if not set by the user.  Do not allow for being unset.
42267         * sysdeps/unix/sysv/linux/configure: Regenerated.
42269 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42271         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42272         the `q' suffix from lea and replace .quad with ASM_ADDR.
42274 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42276         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42277         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
42278         instead of $17.
42279         (PTR_DEMANGLE): Likewise.
42281 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42283         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42284         (LP_OP): Likewise.
42285         (ASM_ADDR): Likewise.
42286         (RAX_LP): Likewise.
42287         (RBP_LP): Likewise.
42288         (RBX_LP): Likewise.
42289         (RCX_LP): Likewise.
42290         (RDI_LP): Likewise.
42291         (RSI_LP): Likewise.
42292         (RSP_LP): Likewise.
42293         (R8_LP): Likewise.
42294         (R9_LP): Likewise.
42295         (R10_LP): Likewise.
42296         (R10_LP): Likewise.
42297         (R11_LP): Likewise.
42298         (R12_LP): Likewise.
42299         (R13_LP): Likewise.
42300         (R14_LP): Likewise.
42301         (R15_LP): Likewise.
42303 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42305         * sysdeps/x86_64/x32/dl-machine.h: New file.
42307 2012-05-14  Andreas Jaeger  <aj@suse.de>
42309         * manual/Makefile (subdir): Remove export of subdir.
42310         (all): Remove target.
42311         (.PHONY): Remove all from list.
42312         (mkinstalldirs): Remove.
42313         (.PHONY): Remove installdirs from list.
42314         ($(inst_infodir)/libc.info): Use make-target-directory.
42315         (installdirs): Remove.
42316         (subdir_%): Remove.
42317         (glibc-targets): Remove.
42318         (lib): Remove.
42319         (stubs): Remove.
42320         ($(objpfx)stubs ../po/manual.pot): Remove.
42321         ($(objpfx)stamp%): Remove.
42322         (make-target-directory): Remove.
42323         (subdir_install): Remove.
42324         (routines): Remove.
42325         (aux): Remove.
42326         (sources): Remove.
42327         (objects): Remove.
42328         (headers): Remove.
42330         [BZ #13750]
42331         * manual/.gitignore: Remove, it's not needed anymore.
42332         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42333         all files in it.
42334         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42335         directory.
42336         (texis): Renamed to $(objpfx)texis.
42337         (texis-path): New, contains path to generated files.
42338         (chapters.%): Use texis-path for complete path, add extra argument
42339         libc-texinfo.sh.
42340         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42341         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42342         (summary,texi, stamp-summary): Use complete path of
42343         files. Generate files in build dir.
42344         (dir-add.texi): Build in build dir.
42345         (libm-err.texi,stamp-libm-err): Likewise.
42346         (version.texi, stamp-version): Likewise.
42347         (.%c.texi): Likewise.
42348         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42349         (mostlyclean): Remove target.
42350         (realclean): Remove target.
42351         (generated): Add new variable with contents from mostlyclean and
42352         realclean, remove entries duplicated in common-mostlyclean, add
42353         stamp-libm-err and stamp-version.
42354         (generated-dirs): Add libc directory.
42355         ($(inst_infodir)/libc.info): Install files from build dir.
42357         * manual/install.texi (Configuring and compiling): Adjust since
42358         the info files are not part of the tar ball anymore.
42360 2012-05-14  Andreas Jaeger  <aj@suse.de>
42362         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42363         variable.
42365 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
42367         [BZ #13717]
42368         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42369         to 2.2.0 where earlier.
42370         * sysdeps/unix/sysv/linux/configure: Regenerated.
42371         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42372         Remove conditional code.
42373         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42374         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42375         Remove conditional code.
42376         [!__NR_lchown]: Likewise.
42377         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42378         [__NR_lchown]: Likewise.
42379         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42380         comment referencing __ASSUME_LCHOWN_SYSCALL.
42381         * sysdeps/unix/sysv/linux/i386/sigaction.c
42382         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42383         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42384         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42385         Remove conditional code.
42386         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42387         (__protocol_available): Remove #if 0 code.
42388         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42389         conditional code.
42390         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42391         * sysdeps/unix/sysv/linux/kernel-features.h
42392         (__ASSUME_GETCWD_SYSCALL): Don't define.
42393         (__ASSUME_REALTIME_SIGNALS): Likewise.
42394         (__ASSUME_PREAD_SYSCALL): Likewise.
42395         (__ASSUME_PWRITE_SYSCALL): Likewise.
42396         (__ASSUME_POLL_SYSCALL): Likewise.
42397         (__ASSUME_LCHOWN_SYSCALL): Likewise.
42398         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42399         non-SPARC.
42400         (__ASSUME_SIOCGIFNAME): Don't define.
42401         (__ASSUME_MSG_NOSIGNAL): Likewise.
42402         (__ASSUME_SENDFILE): Define unconditionally.
42403         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42404         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42405         conditional code.
42406         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42407         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42408         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42409         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42410         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42411         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42412         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42414         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42415         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42417         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42418         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
42420         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42421         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
42423         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42424         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
42426         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42427         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
42429         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42430         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
42432         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42433         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
42435         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42436         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42437         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
42438         Remove conditional code.
42439         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42440         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42441         Remove conditional code.
42442         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42443         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
42444         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
42445         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42446         Remove conditional code.
42447         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42448         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
42449         Remove conditional code.
42450         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42451         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
42452         Remove conditional code.
42453         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42454         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
42455         Remove conditional code.
42456         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42457         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
42458         Remove conditional code.
42459         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42460         * sysdeps/unix/sysv/linux/sh/pwrite64.c
42461         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
42462         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
42463         * sysdeps/unix/sysv/linux/sigaction.c
42464         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42465         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42466         * sysdeps/unix/sysv/linux/sigpending.c
42467         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42468         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42469         * sysdeps/unix/sysv/linux/sigprocmask.c
42470         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42471         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42472         * sysdeps/unix/sysv/linux/sigsuspend.c
42473         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42474         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42475         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42476         (__libc_missing_rt_sigs): Remove.
42477         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
42478         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
42479         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
42480         Remove conditional code.
42481         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
42482         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
42483         return 1.
42484         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
42485         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
42486         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
42487         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
42489 2012-05-14  Andreas Jaeger  <aj@suse.de>
42491         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
42492         it's not used in glibc.
42493         (__coshm1): Likewise.
42494         (__acosh1p): Likewise.
42495         (__sgn): Likewise.
42497         * manual/string.texi (Copying and Concatenation): Add missing
42498         variable in concat example.
42499         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
42501 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42503         [BZ #14103]
42504         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
42505         __builtin_clzl with __builtin_clzll.
42507 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42509         [BZ #14104]
42510         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
42511         libc_freeres_ptr.
42513 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
42515         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
42516         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
42517         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
42518         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
42520 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
42522         * NEWS: Update ia64 info.
42524 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
42526         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
42527         used as bcopy.
42529 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
42531         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
42532         * sysdeps/unix/syscalls.list (dup3): Likewise.
42533         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
42534         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
42536 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
42538         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
42539         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
42541 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
42543         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
42544         thread pointer.
42545         (TLS_IE): Use mov/add instead of movq/addq to load thread
42546         pointer.
42547         (TLS_GD_PREFIX): New.
42548         (TLS_GD): Use it.
42550 2012-05-11  David S. Miller  <davem@davemloft.net>
42552         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
42553         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
42554         (_FPU_SETCW): Likewise.
42556 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42558         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
42559         is 32-byte aligned.
42561 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
42563         [BZ #11837]
42564         * iconvdata/gb18030.c: Update tables.
42565         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
42566         characters specially.
42567         (BODY for TO_LOOP): Add encoding of missing ranges.
42569 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
42571         [BZ #13673]
42572         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
42573         * sysdeps/mach/hurd/dup3.c: Likewise.
42574         * sysdeps/mach/hurd/readlinkat.c: Likewise.
42575         * sysdeps/powerpc/memmove.c:: Likewise.
42577 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42579         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
42580         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
42582 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42584         * elf/elf.h (R_X86_64_RELATIVE64): New.
42585         (R_X86_64_NUM): Updated.
42586         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
42587         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
42588         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
42589         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
42590         tst-quad1pie tst-quad2pie
42591         (modules-names): Add tst-quadmod1 tst-quadmod2.
42592         ($(objpfx)tst-quad1): New dependency.
42593         ($(objpfx)tst-quad2): Likewise.
42594         ($(objpfx)tst-quad1pie): Likewise.
42595         ($(objpfx)tst-quad2pie): Likewise.
42596         * sysdeps/x86_64/tst-quad1.c: New file.
42597         * sysdeps/x86_64/tst-quad1pie.c: New file.
42598         * sysdeps/x86_64/tst-quad2.c: Likewise.
42599         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
42600         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
42601         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
42602         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
42603         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
42605 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42607         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
42608         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
42609         * streams/stropts.h (t_scalar_t): Define type.
42611         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
42612         (_PATH_PRESERVE): Set to "/var/lib".
42613         (_PATH_RWHODIR): Set to "/var/spool/rwho".
42615         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
42616         instead of int.
42618         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
42619         if __dir_mkfile succeeded.
42621         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
42622         checking for _hurd_dtablesize.  Unlock it right after having
42623         finished _hurd_dtable allocation.
42625 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42627         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
42628         * sysdeps/mach/hurd/configure: Regenerated.
42629         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
42630         special-casing to...
42631         * sysdeps/gnu/configure.in: ... this new file.
42632         * sysdeps/unix/sysv/linux/configure: Regenerated.
42633         * sysdeps/gnu/configure: New generated file.
42635         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
42636         for Linux: use nsec instead of usec, as well as:
42637         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
42638         members of type struct timespec.
42639         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
42640         New macros.
42641         (struct stat64): Likewise.
42642         (_STATBUF_ST_NSEC): New macro.
42643         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
42645         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
42646         __strtoul_internal rather than strtoul.
42648 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42650         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
42651         and reject them.
42653 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42655         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
42656         which preserves existing values.
42657         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
42659 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42661         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
42662         TIMEOUT values.  Return EINVAL for NFDS values either negative or
42663         greater than FD_SETSIZE.
42665 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42667         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
42668         allocated, call __vm_protect to finish enabling the existing space, and
42669         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
42670         allocate the remainder.
42672 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42674         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
42675         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
42677 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42679         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
42680         sysdeps/mach/hurd/readlink.c.
42682         * posix/tst-sysconf.c (posix_options): Only use
42683         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
42684         _POSIX_SYNCHRONIZED_IO when they are defined
42685         * sysdeps/mach/hurd/bits/posix_opt.h:
42686         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
42687         (_XOPEN_REALTIME): Undefine macro.
42688         (_XOPEN_REALTIME_THREADS): Undefine macro.
42689         (_XOPEN_SHM): Undefine macro.
42690         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
42691         macro to -1.
42692         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
42693         macro to -1.
42694         (_POSIX_ASYNC_IO): Undefine macro.
42695         (_POSIX_PRIORITIZED_IO): Undefine macro.
42696         (_POSIX_SPIN_LOCKS): Define macro to -1.
42698         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
42699         SA_NODEFER, SA_RESETHAND.
42700         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
42701         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
42702         F_DUPFD_CLOEXEC.
42704 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42706         * elf/Makefile (pldd-modules): Define unconditionally.
42708 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42710         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
42712 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42714         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
42715         Return ENOENT when name is empty.
42716         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
42718 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42720         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
42722         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
42724 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42726         Fix mlock in all cases except non-readable pages.
42727         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
42728         instead of VM_PROT_ALL as parameter to __vm_wire function.
42730         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
42731         (__mkdir): When path is `/', just fail with EEXIST.
42732         * sysdeps/mach/hurd/mkdirat.c: Likewise.
42734 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42736         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
42737         <sys/uio.h> (for writev).
42738         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
42739         and <sys/param.h> (for MIN).
42741 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
42743         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
42744         REQUESTED_TIME.  Properly set the remaining time and return EINTR
42745         if interrupted.
42747 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42749         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
42750         Depend on against $(link-rpcuserlibs).
42752 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42754         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
42755         (__libc_stack_end): Do not use attribute_relro.
42756         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
42757         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
42758         to libthread-provided value.
42759         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
42760         attribute_relro.
42762 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42764         [BZ #3748]
42765         * bits/libc-lock.h (__libc_once_get): New macro.
42766         * sysdeps/mach/bits/libc-lock.h: Likewise.
42767         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
42768         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
42769         instead of using implementation details.
42771         * libio/fileops.c: Unconditionally include <kernel-features.h>.
42772         * libio/freopen.c: Likewise.
42773         * libio/freopen64.c: Likewise.
42774         * misc/syslog.c: Likewise.
42775         * nscd/connections.c: Likewise.
42776         * nscd/netgroupcache.c: Likewise.
42777         * sysdeps/posix/getcwd.c: Likewise.
42779 2012-05-10  Roland McGrath  <roland@hack.frob.com>
42781         * math/w_ilogbf.c: Add #include <limits.h>.
42783 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42785         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
42786         path instead of returning without unlocking.
42788         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
42789         immediate-write ioctls.
42790         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
42792 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42794         * sysdeps/mach/hurd/i386/init-first.c (init): Use
42795         __builtin_frame_address instead of making assumptions about the
42796         location of the return address relative to DATA.  Force early load of
42797         the return address.
42798         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
42799         __builtin_frame_address.
42801         dup3 for GNU Hurd.
42802         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
42803         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
42804         implement dup3 and do some further code clean-ups.
42805         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
42806         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
42808 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42810         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
42812         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
42813         HURD_CRITICAL_END around holding _hurd_dtable_lock.
42814         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
42815         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
42816         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
42817         d->port.lock.
42819         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
42820         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
42821         when handler == SIG_ERR, not when handler != SIG_ERR.
42823 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42825         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
42826         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
42827         definitions.
42829         accept4 for GNU Hurd.
42830         * include/sys/socket.h (__libc_accept4): New prototype.
42831         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
42832         to implement __libc_accept4.
42833         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
42834         __libc_accept4.
42835         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
42837         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
42838         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
42839         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
42840         signal-defines.sym.
42842 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42844         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
42846 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
42848         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
42849         assertion on O_CLOEXEC flag.
42850         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
42851         * hurd/intern-fd.c: Likewise.
42852         * hurd/port2fd.c: Likewise.
42854 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
42856         [BZ #3906]
42857         * bits/in.h (IPV6_PKTINFO): Define new macro.
42858         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
42860 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42862         [BZ #13954]
42863         [BZ #13955]
42864         [BZ #13956]
42865         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
42866         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
42867         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
42868         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
42869         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
42870         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
42871         * math/libm-test.inc (logb_test) : Additional logb tests.
42873 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
42874             Andreas Jaeger  <aj@suse.de>
42876         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
42877         * configure: Regenerated.
42878         * config.h.in (LINK_OBSOLETE_RPC): New macro.
42879         * config.make.in (link-obsolete-rpc): New substituted variable.
42880         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
42881         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
42882         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42883         (shared-only-routines): Don't set it under [link-obsolete-rpc],
42884         so that libc.a contains the symbols.
42885         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
42886         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
42887         * sunrpc/auth_none.c: Likewise.
42888         * sunrpc/auth_unix.c: Likewise.
42889         * sunrpc/authdes_prot.c: Likewise.
42890         * sunrpc/authuxprot.c: Likewise.
42891         * sunrpc/clnt_gen.c: Likewise.
42892         * sunrpc/clnt_perr.c: Likewise.
42893         * sunrpc/clnt_raw.c: Likewise.
42894         * sunrpc/clnt_simp.c: Likewise.
42895         * sunrpc/clnt_tcp.c: Likewise.
42896         * sunrpc/clnt_udp.c: Likewise.
42897         * sunrpc/clnt_unix.c: Likewise.
42898         * sunrpc/des_crypt.c: Likewise.
42899         * sunrpc/des_soft.c: Likewise.
42900         * sunrpc/get_myaddr.c: Likewise.
42901         * sunrpc/key_call.c: Likewise.
42902         * sunrpc/key_prot.c: Likewise.
42903         * sunrpc/netname.c: Likewise.
42904         * sunrpc/pm_getmaps.c: Likewise.
42905         * sunrpc/pm_getport.c: Likewise.
42906         * sunrpc/pmap_clnt.c: Likewise.
42907         * sunrpc/pmap_prot.c: Likewise.
42908         * sunrpc/pmap_prot2.c: Likewise.
42909         * sunrpc/pmap_rmt.c: Likewise.
42910         * sunrpc/publickey.c: Likewise.
42911         * sunrpc/rpc_cmsg.c: Likewise.
42912         * sunrpc/rpc_common.c: Likewise.
42913         * sunrpc/rpc_dtable.c: Likewise.
42914         * sunrpc/rpc_prot.c: Likewise.
42915         * sunrpc/rpc_thread.c: Likewise.
42916         * sunrpc/rtime.c: Likewise.
42917         * sunrpc/svc.c: Likewise.
42918         * sunrpc/svc_auth.c: Likewise.
42919         * sunrpc/svc_raw.c: Likewise.
42920         * sunrpc/svc_run.c: Likewise.
42921         * sunrpc/svc_tcp.c: Likewise.
42922         * sunrpc/svc_udp.c: Likewise.
42923         * sunrpc/svc_unix.c: Likewise.
42924         * sunrpc/svcauth_des.c: Likewise.
42925         * sunrpc/xcrypt.c: Likewise.
42926         * sunrpc/xdr.c: Likewise.
42927         * sunrpc/xdr_array.c: Likewise.
42928         * sunrpc/xdr_float.c: Likewise.
42929         * sunrpc/xdr_intXX_t.c: Likewise.
42930         * sunrpc/xdr_mem.c: Likewise.
42931         * sunrpc/xdr_rec.c: Likewise.
42932         * sunrpc/xdr_ref.c: Likewise.
42933         * sunrpc/xdr_sizeof.c: Likewise.
42934         * sunrpc/xdr_stdio.c: Likewise.
42936 2012-05-10  Roland McGrath  <roland@hack.frob.com>
42938         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
42939         change.  Update copyright years.
42941 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
42943         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
42945 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
42946             Joseph Myers  <joseph@codesourcery.com>
42947             Paul Pluzhnikov  <ppluzhnikov@google.com>
42949         [BZ #14012]
42950         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
42951         requiring rpcgen.
42952         [cross-compiling] (extra-libs): Likewise.
42953         [cross-compiling] (extra-libs-others): Likewise.
42954         [cross-compiling] (librpcsvc-routines): Likewise.
42955         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
42956         [cross-compiling] (omit-deps): Likewise.
42957         (sunrpc-CPPFLAGS): New variable.
42958         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
42959         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
42960         (cross-rpcgen-objs): New variable.
42961         (extra-objs): Append $(cross-rpcgen-objs).
42962         ($(cross-rpcgen-objs)): New rule.
42963         ($(objpfx)cross-rpcgen): Likewise.
42964         (rpcgen-cmd): Define to use $(built-program-file).  Expand
42965         comment.
42966         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
42967         ($(objpfx)x%.stmp): Likewise.
42968         * sunrpc/proto.h [IS_IN_build] (_): Define.
42969         [IS_IN_build] (_libc_intl_domainname): Likewise.
42971 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
42973         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
42974         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
42975         and R_X86_64_TPOFF64.
42977 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
42979         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
42980         sysdeps/unix/sysv/syscalls.list.
42981         (stime): Likewise.
42982         (utime): Likewise.
42983         * sysdeps/unix/sysv/syscalls.list: Remove file.
42985 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
42987         [BZ #3440]
42988         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
42989         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
42990         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
42991         (__LC_IDENTIFICATION): Make these macros useful in #if
42992         expressions, as required by C99.
42994 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
42996         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
42997         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
42998         after this.
43000 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
43002         * stdlib/longlong.h: Updated from GCC.
43004 2012-05-09  Andreas Jaeger  <aj@suse.de>
43006         * nscd/nscd.c (run_modes): Make named enum, reorder so that
43007         default is first entry.
43008         (run_mode): Set type.
43009         (main): Remove informal message about syslog.
43010         (options): Fix typo.
43012         [BZ #14053]
43013         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
43014         to asm.
43015         (lrint): Likewise.
43016         (llrintf): Likewise.
43017         (llrint): Likewise.
43018         (rint): Likewise.
43019         (rintf): Likewise.
43020         (nearbyint): Likewise.
43021         (nearbyintf): Likewise.
43023 2012-05-09  Andreas Jaeger  <aj@suse.de>
43024             Pedro Alves  <palves@redhat.com>
43026         * nscd/nscd.c (run_mode): Use enum.
43027         (main): Cleanup coding style issue.
43029 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
43030             Andreas Jaeger  <aj@suse.de>
43032         * nscd/nscd.c (go_background): Replaced with...
43033         (run_mode): ... this.
43034         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
43035         (options): Add -F --foreground.
43036         (main): Implement it.
43037         (parse_opt): Parse it.
43039 2012-05-09  Andreas Jaeger  <aj@suse.de>
43041         [BZ #14083]
43042         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43043         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43044         -Wconversion warning.
43045         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43046         Likewise.
43048 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
43050         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
43051         == 0.
43052         (LC_ALL): Use macro-int-constant.
43053         (LC_COLLATE): Likewise.
43054         (LC_CTYPE): Likewise.
43055         (LC_MESSAGES): Likewise.
43056         (LC_MONETARY): Likewise.
43057         (LC_NUMERIC): Likewise.
43058         (LC_TIME): Likewise.
43059         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43060         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43061         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43062         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43063         Specify type.
43064         [C99-based standards] (float_t): Expect type.
43065         [C99-based standards] (double_t): Expect type.
43066         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
43067         type.
43068         [C99-based standards] (HUGE_VALL): Likewise.
43069         [C99-based standards] (INFINITY): Likewise.
43070         [C99-based standards] (NAN): Likewise.
43071         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43072         [C99-based standards] (FP_NAN): Likewise.
43073         [C99-based standards] (FP_NORMAL): Likewise.
43074         [C99-based standards] (FP_SUBNORMAL): Likewise.
43075         [C99-based standards] (FP_ZERO): Likewise.
43076         [C99-based standards] (FP_FAST_FMA): Use
43077         optional-macro-int-constant.  Specify type.  Require == 1.
43078         [C99-based standards] (FP_FAST_FMAF): Likewise.
43079         [C99-based standards] (FP_FAST_FMAL): Likewise.
43080         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43081         [C99-based standards] (FP_ILOGBNAN): Likewise.
43082         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43083         Specify type.
43084         [C99-based standards] (MATH_ERREXCEPT): Likewise.
43085         [C99-based standards] (math_errhandling): Specify type.
43086         [ISO99 || ISO11] (signgam): Do not allow.
43087         [non-C99-based standards] (copysignf): Do not allow.
43088         [non-C99-based standards] (exp2f): Likewise.
43089         [non-C99-based standards] (log2f): Likewise.
43090         [non-C99-based standards] (modff): Allow.
43091         [non-C99-based standards] (erff): Do not allow.
43092         [non-C99-based standards] (erfcf): Likewise.
43093         [non-C99-based standards] (gammaf): Likewise.
43094         [non-C99-based standards] (hypotf): Likewise.
43095         [non-C99-based standards] (j0f): Likewise.
43096         [non-C99-based standards] (j1f): Likewise.
43097         [non-C99-based standards] (jnf): Likewise.
43098         [non-C99-based standards] (lgammaf): Likewise.
43099         [non-C99-based standards] (tgammaf): Likewise.
43100         [non-C99-based standards] (y0f): Likewise.
43101         [non-C99-based standards] (y1f): Likewise.
43102         [non-C99-based standards] (ynf): Likewise.
43103         [non-C99-based standards] (isnanf): Likewise.
43104         [non-C99-based standards] (acoshf): Likewise.
43105         [non-C99-based standards] (asinhf): Likewise.
43106         [non-C99-based standards] (atanhf): Likewise.
43107         [non-C99-based standards] (cbrtf): Likewise.
43108         [non-C99-based standards] (expm1f): Likewise.
43109         [non-C99-based standards] (ilogbf): Likewise.
43110         [non-C99-based standards] (log1pf): Likewise.
43111         [non-C99-based standards] (logbf): Likewise.
43112         [non-C99-based standards] (nextafterf): Likewise.
43113         [non-C99-based standards] (remainderf): Likewise.
43114         [non-C99-based standards] (rintf): Likewise.
43115         [non-C99-based standards] (scalbf): Likewise.
43116         [non-C99-based standards] (copysignl): Likewise.
43117         [non-C99-based standards] (exp2l): Likewise.
43118         [non-C99-based standards] (log2l): Likewise.
43119         [non-C99-based standards] (modfl): Allow.
43120         [non-C99-based standards] (erfl): Do not allow.
43121         [non-C99-based standards] (erfcl): Likewise.
43122         [non-C99-based standards] (gammal): Likewise.
43123         [non-C99-based standards] (hypotl): Likewise.
43124         [non-C99-based standards] (j0l): Likewise.
43125         [non-C99-based standards] (j1l): Likewise.
43126         [non-C99-based standards] (jnl): Likewise.
43127         [non-C99-based standards] (lgammal): Likewise.
43128         [non-C99-based standards] (tgammal): Likewise.
43129         [non-C99-based standards] (y0l): Likewise.
43130         [non-C99-based standards] (y1l): Likewise.
43131         [non-C99-based standards] (ynl): Likewise.
43132         [non-C99-based standards] (isnanl): Likewise.
43133         [non-C99-based standards] (acoshl): Likewise.
43134         [non-C99-based standards] (asinhl): Likewise.
43135         [non-C99-based standards] (atanhl): Likewise.
43136         [non-C99-based standards] (cbrtl): Likewise.
43137         [non-C99-based standards] (expm1l): Likewise.
43138         [non-C99-based standards] (ilogbl): Likewise.
43139         [non-C99-based standards] (log1pl): Likewise.
43140         [non-C99-based standards] (logbl): Likewise.
43141         [non-C99-based standards] (nextafterl): Likewise.
43142         [non-C99-based standards] (remainderl): Likewise.
43143         [non-C99-based standards] (rintl): Likewise.
43144         [non-C99-based standards] (scalbl): Likewise.
43145         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43146         [non-C99-based standards] (FP_*): Do not allow.
43147         [C99-based standards] (FP_*): Change to
43148         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43149         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43150         allow.
43151         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43152         (SIG_ERR): Likewise.
43153         [X/Open-based standards] (SIG_HOLD): Likewise.
43154         (SIG_IGN): Likewise.
43155         (SIGABRT): Use macro-int-constant.  Specify type.  Require
43156         positive value.
43157         (SIGFPE): Likewise.
43158         (SIGILL): Likewise.
43159         (SIGINT): Likewise.
43160         (SIGSEGV): Likewise.
43161         (SIGTER): Likewise.
43162         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43163         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43164         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43165         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43166         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43167         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43168         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43169         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43170         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43171         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43172         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43173         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43174         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43175         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43176         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43177         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43178         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43179         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43180         [X/Open-based standards] (SIGTRAP): Likewise.
43181         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43182         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43183         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43184         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43185         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43186         allow.
43188 2012-05-08  Ian Wienand  <ianw@vmware.com>
43190         [BZ #14080]
43191         * time/tzset.c (__tzset_parse_tz): Update default rules for
43192         daylight time changes in the Energy Policy Act of 2005.
43194 2012-05-09  Andreas Jaeger  <aj@suse.de>
43196         [BZ #13983]
43197         * elf/ldconfig.c (parse_conf): Change string to make clear that
43198         ldconfig only issued a warning if ld.so.conf does not exist.
43200 2012-05-08  David S. Miller  <davem@davemloft.net>
43202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43203         movxtod instead of popping the value on the stack.
43205         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43207 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
43209         * config.h.in: Add HAVE_ARM_PCS_VFP.
43211 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
43213         [BZ #13979]
43214         * include/features.h: Warn if user requests __FORTIFY_SOURCE
43215         checking but the checks are disabled for any reason.
43217 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
43219         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43220         and ELF64_R_TYPE with ELFW(R_TYPE).
43222 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
43224         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43225         (ulimit): Likewise.
43227         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43228         (settimeofday): Likewise.
43230 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
43232         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
43233         a struct th_u2 inside the union, and move tu_block/tu_code into
43234         a new th_u3 union of tu_block/tu_code inside of that.  Move
43235         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
43236         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
43237         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43238         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43239         (th_stuff): Change to th_u1.tu_stuff.
43240         (th_data): Define.
43241         (th_msg): Change to th_u1.th_u2.tu_data.
43243 2012-05-07  David S. Miller  <davem@davemloft.net>
43245         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43247         [BZ #14074]
43248         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43249         (SETUP_PIC_REG): Use it.
43250         (SETUP_PIC_REG_LEAF): Use it.
43252 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
43254         [BZ #13885]
43255         [BZ #13923]
43256         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43257         USE_AS_EXPM1L.
43258         (EXPL_FINITE): Likewise.
43259         (FLDLOG): Likewise.
43260         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43261         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43262         e_expl.S.
43263         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43264         USE_AS_EXPM1L.
43265         (EXPL_FINITE): Likewise.
43266         (FLDLOG): Likewise.
43267         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43268         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43269         e_expl.S.
43270         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
43271         test of -max_value argument for long double.
43272         * sysdeps/i386/fpu/libm-test-ulps: Update.
43273         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43275 2012-05-06  David S. Miller  <davem@davemloft.net>
43277         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43278         quad soft-float symbols whose references which are compiler
43279         generated.
43280         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43282 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
43284         [BZ #13884]
43285         [BZ #13914]
43286         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43287         USE_AS_EXP10L.
43288         (EXPL_FINITE): Likewise.
43289         (FLDLOG): Likewise.
43290         (c0): Likewise.
43291         (c1): Likewise.
43292         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
43293         Adjust comments for base varying.
43294         (__expl_finite): Change alias to EXPL_FINITE.
43295         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43296         e_expl.S.
43297         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43298         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43299         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43300         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43301         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43302         USE_AS_EXP10L.
43303         (EXPL_FINITE): Likewise.
43304         (FLDLOG): Likewise.
43305         (c0): Likewise.
43306         (c1): Likewise.
43307         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
43308         Adjust comments for base varying.
43309         (__expl_finite): Change alias to EXPL_FINITE.
43310         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
43311         tests for bugs.
43312         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43314         [BZ #14064]
43315         * math/libm-test.inc (check_float_internal): Correct ulp
43316         calculation for subnormal expected results.
43318 2012-05-06  Andreas Jaeger  <aj@suse.de>
43320         * Makeconfig (+math-flags): New, set to -frounding-math.
43321         (+cflags): Add +math-flags so that all of glibc gets compiled with
43322         it.
43324         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43326 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
43328         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43329         Disable one test.
43331         [BZ #13787]
43332         [BZ #13922]
43333         [BZ #14036]
43334         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43335         (__ieee754_expl): Allow for and saturate large arguments.
43336         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43337         (u_threshold): Likewise.
43338         (__exp): Call __ieee754_exp before checking for overflow and
43339         underflow.
43340         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43341         (u_threshold): Likewise.
43342         (__expf): Call __ieee754_expf before checking for overflow and
43343         underflow.
43344         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43345         (u_threshold): Likewise.
43346         (__expl): Call __ieee754_expl before checking for overflow and
43347         underflow.
43348         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43349         (__ieee754_expl): Allow for and saturate large arguments.
43350         * math/libm-test.inc (exp_test): Add another test.  Do not allow
43351         missing overflow exception on overflow.
43352         (expm1_test): Do not allow missing overflow exception on overflow.
43354         * sysdeps/i386/fpu/e_expl.c: Move to ...
43355         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
43356         rather than using inline asm.
43357         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43358         * sysdeps/x86_64/fpu/e_expl.S: Copy from
43359         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43361         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43362         (nice): Likewise.
43363         (poll): Likewise.
43364         (signal): Likewise.
43365         (time): Likewise.
43366         (times): Likewise.
43368 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43370         * sysdeps/unix/syscalls.list (adjtime): Add entry from
43371         sysdeps/unix/common/syscalls.list.
43372         (fchmod): Likewise.
43373         (fchown): Likewise.
43374         (ftruncate): Likewise.
43375         (getrusage): Likewise.
43376         (gettimeofday): Likewise.
43377         (setpgid): Likewise.
43378         (setregid): Likewise.
43379         (setreuid): Likewise.
43380         (sigaction): Likewise.
43381         (truncate): Likewise.
43382         (vhangup): Likewise.
43383         * sysdeps/unix/common/syscalls.list: Remove file.
43384         * sysdeps/unix/bsd/Implies: Don't include unix/common.
43385         * sysdeps/unix/sysv/linux/Implies: Likewise.
43387 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
43389         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43390         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43391         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43392         Moved to ...
43393         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43394         Here.
43395         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43396         to ...
43397         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43398         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43399         to ...
43400         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43401         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43402         to ...
43403         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43404         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43405         to ...
43406         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43407         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43408         to ...
43409         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43410         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43411         to ...
43412         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43413         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43414         to ...
43415         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43416         Here.
43417         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43418         to ...
43419         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
43420         Here.
43421         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
43422         to ...
43423         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
43424         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
43425         Moved to ...
43426         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
43427         Here.
43428         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
43429         to ...
43430         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
43432 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43434         * sysdeps/unix/common/bits/dirent.h: Remove file.
43435         * sysdeps/unix/common/bits/fcntl.h: Likewise.
43437         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
43438         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
43439         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
43440         * sysdeps/unix/bsd/isatty.c: Likewise.
43441         * sysdeps/unix/bsd/tcdrain.c: Likewise.
43442         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
43443         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
43445 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43447         [BZ #13563]
43448         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
43449         long double comparison inaccuracies.
43450         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
43451         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43453 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
43455         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
43456         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
43458 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43460         [BZ #14049]
43461         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
43462         nonzero digits before rounding a hex value.
43463         * stdlib/tst-strtod.c (tests): Add another test.
43465 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43467         * sysdeps/s390/fpu/libm-test-ulps: Update.
43469 2012-05-03  Andreas Jaeger  <aj@suse.de>
43471         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
43472         does not get optimized out.
43473         (malloc_opt_barrier): New.
43475 2012-05-03  Andreas Jaeger  <aj@suse.de>
43476             Roland McGrath  <roland@hack.frob.com>
43478         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
43479         intermediate file deletion.
43480         (generated): Add .symlist files.
43482 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
43484         [BZ #13775]
43485         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
43486         Redirect under this condition.
43487         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43488         [__USE_GNU] (__dprintf_chk): Not under this condition.
43489         [__USE_GNU] (__vdprintf_chk): Likewise.
43490         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
43491         under this condition.
43492         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
43493         [__USE_XOPEN2K8] (dprintf): Define under this condition.
43494         [__USE_XOPEN2K8] (vdprintf): Likewise.
43495         [__USE_GNU] (__dprintf_chk): Not under this condition.
43496         [__USE_GNU] (__vdprintf_chk): Likewise.
43497         [__USE_GNU] (dprintf): Likewise.
43498         [__USE_GNU] (vdprintf): Likewise.
43500 2012-05-03  Roland McGrath  <roland@hack.frob.com>
43502         * elf/Makefile (common-generated): Set this instead of generated for
43503         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
43504         $(all-built-dso)-derived lists.
43506 2012-05-03  Andreas Jaeger  <aj@suse.de>
43508         * sysdeps/i386/fpu/libm-test-ulps: Update.
43510         * FAQ: Removed.
43511         * FAQ.in: Likewise.
43512         * scripts/gen-FAQ.pl: Likewise.
43513         * manual/install.texi (Installation): Point to online location of
43514         FAQ.
43515         * Makefile (files-for-dist): Remove FAQ.
43516         (FAQ): Remove.
43518 2012-05-02  Allan McRae  <allan@archlinux.org>
43520         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
43521         (LDFLAGS-reldepmod5.so): Likewise.
43522         (LDFLAGS-reldep6mod1.so): Likewise.
43523         (LDFLAGS-reldep6mod4.so): Likewise.
43524         (LDFLAGS-reldep8mod3.so): Likewise.
43525         (LDFLAGS-unload4mod1.so): Likewise.
43526         (LDFLAGS-unload4mod2.so): Likewise.
43527         (LDFLAGS-tst-initorder): Likewise.
43528         (LDFLAGS-tst-initordera2.so): Likewise.
43529         (LDFLAGS-tst-initordera3.so): Likewise.
43530         (LDFLAGS-tst-initordera4.so): Likewise.
43531         (LDFLAGS-tst-initorderb2.so): Likewise.
43532         (LDFLAGS-noload): Likewise.
43533         (LDFLAGS-next): Likewise.
43534         (LDFLAGS-order2mod1.so): Likewise.
43535         (LDFLAGS-order2mod2.so): Likewise.
43536         (LDFLAGS-tst-initorder2): Likewise.
43537         (LDFLAGS-tst-initorder2a.so): Likewise.
43538         (LDFLAGS-tst-initorder2b.so): Likewise.
43539         (LDFLAGS-tst-initorder2c.so): Likewise.
43540         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
43542 2012-05-02  David S. Miller  <davem@davemloft.net>
43544         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43546 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
43548         [BZ #14055]
43549         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
43551 2012-05-02  Andreas Jaeger  <aj@suse.de>
43553         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
43554         since we manipulate rounding mode.
43555         (CPPFLAGS-test-idouble.c): Likewise.
43556         (CPPFLAGS-test-ifloat.c): Likewise.
43557         (CFLAGS-test-ldouble.c): Likewise.
43558         (CFLAGS-test-double.c): Likewise.
43559         (CFLAGS-test-float.c): Likewise.
43560         (CFLAGS-test-misc.c): Likewise.
43561         (CFLAGS-test-test-fenv.c): Likewise.
43563 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43565         [BZ #2550]
43566         [BZ #2570]
43567         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
43568         comparisons to determine direction to adjust input.
43570 2012-05-01  Roland McGrath  <roland@hack.frob.com>
43572         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
43573         output to the target.
43575         * scripts/localplt.awk: New file.
43576         * elf/Makefile ($(objpfx)check-localplt): Target removed.
43577         (check-localplt-CFLAGS): Variable removed.
43578         ($(all-built-dso:=.jmprel)): New static pattern rule.
43579         (generated): Add those targets.
43580         (localplt-built-dso): New variable.
43581         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
43583         * elf/check-localplt.c: File removed.
43585         * scripts/check-execstack.awk: New file.
43586         * elf/Makefile ($(objpfx)check-execstack): Target removed.
43587         (check-execstack-CFLAGS): Variable removed.
43588         ($(objpfx)check-execstack.h): Target removed.
43589         ($(objpfx)execstack-default): New target.
43590         (generated): Add that instead of check-execstack.h.
43591         ($(all-built-dso:=.phdr)): New static pattern rule.
43592         (generated): Add those targets.
43593         * elf/check-execstack.c: File removed.
43595         * scripts/check-textrel.awk: New file.
43596         * elf/Makefile ($(objpfx)check-textrel): Target removed.
43597         (check-textrel-CFLAGS): Variable removed.
43598         (all-built-dso): Use := to define.o
43599         ($(all-built-dso:=.dyn)): New static pattern rule.
43600         (generated): Add those targets.
43601         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
43602         * config.make.in (READELF): New substituted variable.
43603         * elf/check-textrel.c: File removed.
43605 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
43607         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43608         allow.
43609         * conform/data/ctype.h-data [C99-based standards] (isblank):
43610         Expect function.
43611         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
43612         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
43613         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43614         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
43615         Specify type.  Require positive value.
43616         (EILSEQ): Likewise.
43617         (ERANGE): Likewise.
43618         [ISO || POSIX] (EILSEQ): Do not expect.
43619         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
43620         Specify type.  Require positive value.
43621         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
43622         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
43623         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
43624         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
43625         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
43626         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
43627         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
43628         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
43629         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
43630         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
43631         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
43632         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
43633         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
43634         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
43635         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
43636         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
43637         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
43638         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
43639         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
43640         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
43641         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
43642         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
43643         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
43644         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
43645         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
43646         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
43647         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
43648         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
43649         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
43650         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
43651         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
43652         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
43653         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
43654         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
43655         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
43656         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
43657         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
43658         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
43659         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
43660         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
43661         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
43662         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
43663         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
43664         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
43665         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
43666         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
43667         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
43668         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
43669         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
43670         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
43671         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
43672         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
43673         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
43674         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
43675         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
43676         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
43677         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
43678         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
43679         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
43680         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
43681         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
43682         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
43683         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
43684         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
43685         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
43686         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
43687         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
43688         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
43689         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
43690         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
43691         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
43692         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
43693         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
43694         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
43695         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
43696         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
43697         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
43698         Require >= 2.
43699         (FLT_ROUNDS): Expect as macro, not constant.
43700         (FLT_MANT_DIG): Use macro-int-constant.
43701         (DBL_MANT_DIG): Likewise.
43702         (LDBL_MANT_DIG): Likewise.
43703         (FLT_DIG): Likewise.
43704         (DBL_DIG): Likewise.
43705         (LDBL_DIG): Likewise.
43706         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
43707         (DBL_MIN_EXP): Likewise.
43708         (LDBL_MIN_EXP): Likewise.
43709         (FLT_MAX_EXP): Use macro-int-constant.
43710         (DBL_MAX_EXP): Likewise.
43711         (LDBL_MAX_EXP): Likewise.
43712         (FLT_MAX_10_EXP): Likewise.
43713         (DBL_MAX_10_EXP): Likewise.
43714         (LDBL_MAX_10_EXP): Likewise.
43715         (FLT_MAX): Use macro-constant.
43716         (DBL_MAX): Likewise.
43717         (LDBL_MAX): Likewise.
43718         (FLT_EPSILON): Use macro-constant.  Give upper bound.
43719         (DBL_EPSILON): Likewise.
43720         (LDBL_EPSILON): Likewise.
43721         (FLT_MIN): Likewise.
43722         (DBL_MIN): Likewise.
43723         (LDBL_MIN): Likewise.
43724         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
43725         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
43726         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
43727         [ISO11] (FLT_HAS_SUBNORM): Likewise.
43728         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
43729         [ISO11] (DBL_DECIMAL_DIG): Likewise.
43730         [ISO11] (FLT_DECIMAL_DIG): Likewise.
43731         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
43732         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
43733         [ISO11] (FLT_TRUE_MIN): Likewise.
43734         [ISO11] (LDBL_TRUE_MIN): Likewise.
43735         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43736         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
43737         (SCHAR_MIN): Use macro-int-constant.  Specify type.
43738         (SCHAR_MAX): Likewise.
43739         (UCHAR_MAX): Likewise.
43740         (CHAR_MIN): Likewise.
43741         (CHAR_MAX): Likewise.
43742         (MB_LEN_MAX): Use macro-int-constant.
43743         (SHRT_MIN): Use macro-int-constant.  Specify type.
43744         (SHRT_MAX): Likewise.
43745         (USHRT_MAX): Likewise.
43746         (INT_MAX): Likewise.
43747         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
43748         bound negative.
43749         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43750         bound with "U".
43751         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43752         bound with "L".
43753         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
43754         bound negative.  Suffix upper bound with "L".
43755         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
43756         bound with "UL".
43757         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
43758         Specify type.
43759         [C99-based standards] (LLONG_MAX): Likewise.
43760         [C99-based standards] (ULLONG_MAX): Likewise.
43761         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
43762         == 0.
43763         [ISO11] (max_align_t): Require type.
43764         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43766         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
43767         from $CFLAGS, without defining away __attribute__ calls.
43768         (checknamespace): Use $CFLAGS_namespace.
43770         * conform/conformtest.pl (@keywords): Only include C99 keywords
43771         for standards based on C99 or C11.
43773         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
43774         Disable tests.
43775         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
43776         UNIX98]: Likewise.
43778         * conform/conformtest.pl: Handle "macro-int-constant" and test for
43779         usability of symbols in #if.
43781         * conform/conformtest.pl: If macro or constant types start
43782         "promoted:", expect the symbol to be of the following type
43783         promoted by the integer promotions.
43785         * conform/conformtest.pl: Parse all "constant" and "macro" lines
43786         in one place.  Also handle "macro-constant".
43788         * conform/conformtest.pl: Only accept expected macro values with
43789         "==".  Parse all "macro" lines in one place.
43790         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
43792         * conform/conformtest.pl: Handle braced types on "constant" lines
43793         instead of handling "typed-constant".
43794         * conform/data/signal.h-data: Use "constant" instead of
43795         "typed-constant".
43797         * conform/conformtest.pl: Handle "optional-" at start of lines in
43798         one place rather than duplicating several cases.  Handle each
43799         format of "macro" line with initial "optional-".
43801         * conform/conformtest.pl: Only accept expected constant or
43802         optional-constant values with "==".  Parse all "constant" lines in
43803         one place.  Parse all "optional-constant" lines in one place.
43804         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
43805         * conform/data/fmtmsg.h-data: Likewise.
43806         * conform/data/netinet/in.h-data: Likewise.
43807         * conform/data/tar.h-data: Likewise.
43808         * conform/data/limits.h-data: Use "==" form on "constant" and
43809         "optional-constant" lines.
43811         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
43812         Use -std=c99 for XOPEN2K.
43813         (@knownproblems): Remove.
43814         (newtoken): Don't check %isknown.
43816         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
43817         Do not expect macro.
43818         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
43819         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
43820         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
43821         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
43822         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
43823         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
43824         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
43825         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
43826         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
43827         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
43828         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
43829         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
43830         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
43831         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
43832         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
43833         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
43834         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
43835         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
43836         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
43837         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
43838         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
43839         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
43840         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
43841         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
43842         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
43843         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
43844         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
43845         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
43846         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
43847         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
43848         [XPG3] (acosh): Likewise.
43849         [XPG3] (asinh): Likewise.
43850         [XPG3] (atanh): Likewise.
43851         [XPG3] (cbrt): Likewise.
43852         [XPG3] (expm1): Likewise.
43853         [XPG3] (ilogb): Likewise.
43854         [XPG3] (log1p): Likewise.
43855         [XPG3] (logb): Likewise.
43856         [XPG3] (nextafter): Likewise.
43857         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
43858         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
43859         [XPG3] (remainder): Likewise.
43860         [XPG3] (rint): Likewise.
43861         [XPG3 || XPG4 || UNIX98] (round): Likewise.
43862         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
43863         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
43864         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
43865         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
43866         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
43867         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
43868         [UNIX98 || XOPEN2K] (scalb): Expect.
43869         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
43870         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
43871         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
43872         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
43873         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
43874         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
43875         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
43876         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
43877         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
43878         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
43879         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
43880         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
43881         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
43882         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
43883         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
43884         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
43885         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
43886         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
43887         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
43888         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
43889         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
43890         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
43891         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
43892         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
43893         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
43894         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
43895         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
43896         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
43897         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
43898         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
43899         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
43900         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
43901         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
43902         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
43903         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
43904         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
43905         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
43906         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
43907         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
43908         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
43909         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
43910         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
43911         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
43912         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
43913         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
43914         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
43915         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
43916         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
43917         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
43918         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
43919         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
43920         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
43921         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
43922         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
43923         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
43924         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
43925         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
43926         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
43927         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
43928         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
43929         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
43930         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
43931         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
43932         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
43933         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
43934         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
43935         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
43936         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
43937         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
43938         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
43939         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
43940         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
43941         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
43942         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
43943         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
43944         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
43945         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
43946         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
43947         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
43948         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
43949         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
43950         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
43951         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
43952         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
43953         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
43954         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
43955         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
43956         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
43957         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
43958         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
43959         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
43960         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
43961         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
43962         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
43963         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
43964         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
43965         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
43966         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
43967         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
43968         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
43969         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
43970         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
43971         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
43972         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
43973         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
43974         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
43975         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
43976         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
43977         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
43978         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
43979         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
43980         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
43981         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
43982         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
43983         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
43984         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
43985         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
43986         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
43987         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
43988         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
43989         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
43990         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
43991         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
43992         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
43993         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
43994         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
43995         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
43996         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
43997         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
43998         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
43999         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44000         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44001         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44002         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44003         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44004         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44005         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44007         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44008         _XOPEN_SOURCE_EXTENDED for XPG4.
44010         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44012         * Makeconfig (localtime): Remove variable.
44013         (inst_localtime-file): Likewise.
44015 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44018         Update.
44019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44020         Update.
44021         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44022         Update.
44023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44024         Update.
44025         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44026         Update.
44027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44028         Update.
44029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44030         Update.
44031         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44032         Update.
44033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44034         Update.
44036 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
44038         [BZ #2550]
44039         [BZ #2570]
44040         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44041         comparisons to determine direction to adjust input.
44042         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44043         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44044         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44045         Likewise.
44046         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44047         Likewise.
44048         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44049         Likewise.
44050         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44051         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44052         Likewise.
44053         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44054         Likewise.
44055         * math/libm-test.inc (nexttoward_test): Add more tests.
44057 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44059         [BZ #14040]
44060         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44061         in version GLIBC_2.1, not GLIBC_2.0.
44062         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44063         Likewise.
44065 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
44067         [BZ #13942]
44068         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44069         (1 - x) * (1 + x).
44070         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44071         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44072         * math/libm-test.inc (acos_test): Add more tests.
44073         (asin_test): Likewise.
44074         * sysdeps/i386/fpu/libm-test-ulps: Update.
44075         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44077         [BZ #14034]
44078         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44079         of square root.
44080         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44081         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44082         * math/libm-test.inc (acos_test_tonearest): New function.
44083         (acos_test_towardzero): Likewise.
44084         (acos_test_downward): Likewise.
44085         (acos_test_upward): Likewise.
44086         (asin_test_tonearest): Likewise.
44087         (asin_test_towardzero): Likewise.
44088         (asin_test_downward): Likewise.
44089         (asin_test_upward): Likewise.
44090         (main): Call the new functions.
44091         * sysdeps/i386/fpu/libm-test-ulps: Update.
44092         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44094         [BZ #13884]
44095         [BZ #13924]
44096         * math/e_exp10.c: Include <float.h>.
44097         (__ieee754_exp10): Handle underflow here rather than multiplying
44098         large negative argument by M_LN10.
44099         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44100         of __ieee754_expf.
44101         * math/e_exp10l.c: Include <float.h>.
44102         (__ieee754_exp10l): Handle underflow here rather than multiplying
44103         large negative argument by M_LN10l.
44104         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
44105         spurious overflow exception on underflow.
44107 2012-04-29  Marek Polacek  <polacek@redhat.com>
44109         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44110         (__fortify_function): New macro.
44111         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44112         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44113         __extern_always_inline.
44114         * libio/bits/stdio2.h: Likewise.
44115         * libio/bits/stdio.h: Likewise.
44116         * string/string.h: Likewise.
44117         * string/bits/string3.h: Likewise.
44118         * include/stdio.h: Likewise.
44119         * stdlib/bits/stdlib.h: Likewise.
44120         * stdlib/stdlib.h: Likewise.
44121         * rt/bits/mqueue2.h: Likewise.
44122         * rt/mqueue.h: Likewise.
44123         * posix/bits/unistd.h: Likewise.
44124         * posix/unistd.h: Likewise.
44125         * io/bits/poll2.h: Likewise.
44126         * io/bits/fcntl2.h: Likewise.
44127         * io/fcntl.h: Likewise.
44128         * io/sys/poll.h: Likewise.
44129         * misc/bits/syslog.h: Likewise.
44130         * misc/bits/syslog-ldbl.h: Likewise.
44131         * misc/sys/syslog.h: Likewise.
44132         * socket/bits/socket2.h: Likewise.
44133         * socket/sys/socket.h: Likewise.
44134         * debug/tst-chk1.c: Likewise.
44135         * wcsmbs/bits/wchar2.h: Likewise.
44136         * wcsmbs/bits/wchar-ldbl.h: Likewise.
44137         * wcsmbs/wchar.h: Likewise.
44139 2012-04-29  Andreas Jaeger  <aj@suse.de>
44141         * Makerules (tests): Remove enable-check-abi protection.
44142         (check-abi-warn): Remove.
44143         (check-abi-%): Remove check-abi-warn usage.
44145         * configure.in: Remove check-abi configure option.
44146         * configure: Regenerated.
44147         * config.make.in (enable-check-abi): Remove.
44149 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
44151         [BZ #14033]
44152         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44153         double functions to double *_finite functions.
44155         [BZ #13941]
44156         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44157         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44158         LDBL_MIN_EXP.
44159         * stdio-common/Makefile (tests): Add tst-sprintf3.
44160         * stdio-common/tst-sprintf3.c: New file.
44162         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44163         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44165 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
44167         * conform/conformtest.pl: Remove duplicate typed-constant
44168         handling.
44170 2012-04-28  David S. Miller  <davem@davemloft.net>
44172         * Makerules (%.abilist): Add vpath on sysdep_dirs.
44173         (check-abi-%): Remove AWK script prerequisite and explicit
44174         abilist directory.
44175         (check-abi): Rewrite to just diff the symlist with the abilist.
44176         (config-tls, config-abi-config): Delete, no longer used.
44177         (update-abi-%): Remove AWK script and explicit abilist directory.
44178         (update-abi): Rewrite to simply compare and conditionally copy the
44179         symlist and the sysdep abilist file.  Remove update-abi-config
44180         checks.
44181         * abilist/ld.abilist: Remove.
44182         * abilist/libBrokenLocale.abilist: Remove.
44183         * abilist/libanl.abilist: Remove.
44184         * abilist/libcrypt.abilist: Remove.
44185         * abilist/libdl.abilist: Remove.
44186         * abilist/librt.abilist: Remove.
44187         * abilist/libthread_db.abilist: Remove.
44188         * abilist/libutil.abilist: Remove.
44189         * scripts/extract-abilist.awk: Remove.
44190         * scripts/merge-abilist.awk: Remove.
44191         * sysdeps/generic/libcidn.abilist: New file.
44192         * sysdeps/generic/libnss_compat.abilist: New file.
44193         * sysdeps/generic/libnss_db.abilist: New file.
44194         * sysdeps/generic/libnss_dns.abilist: New file.
44195         * sysdeps/generic/libnss_files.abilist: New file.
44196         * sysdeps/generic/libnss_hesiod.abilist: New file.
44197         * sysdeps/generic/libnss_nis.abilist: New file.
44198         * sysdeps/generic/libnss_nisplus.abilist: New file.
44199         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44200         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44201         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44202         file.
44203         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44204         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44205         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44206         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44207         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44208         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44209         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44210         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44211         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44212         file.
44213         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44214         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44215         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44216         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44217         file.
44218         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44219         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44220         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44221         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44222         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44223         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44224         file.
44225         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44226         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44227         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44228         file.
44229         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44230         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44231         New file.
44232         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44233         New file.
44234         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44235         New file.
44236         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44237         New file.
44238         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44239         New file.
44240         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44241         New file.
44242         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44243         New file.
44244         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44245         New file.
44246         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44247         New file.
44248         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44249         New file.
44250         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44251         New file.
44252         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44253         New file.
44254         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44255         New file.
44256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44257         file.
44258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44259         New file.
44260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44261         New file.
44262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44263         file.
44264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44265         New file.
44266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44267         New file.
44268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44269         file.
44270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44271         New file.
44272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44273         New file.
44274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44275         New file.
44276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44277         New file.
44278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44279         New file.
44280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44281         New file.
44282         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44283         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44284         file.
44285         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44286         New file.
44287         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44288         file.
44289         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44290         file.
44291         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44292         file.
44293         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44294         file.
44295         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44296         file.
44297         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44298         New file.
44299         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44300         file.
44301         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44302         file.
44303         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44304         New file.
44305         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44306         file.
44307         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44308         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44309         file.
44310         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44311         New file.
44312         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44313         file.
44314         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44315         file.
44316         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44317         file.
44318         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44319         file.
44320         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44321         file.
44322         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44323         New file.
44324         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44325         file.
44326         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44327         file.
44328         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44329         New file.
44330         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44331         file.
44332         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44333         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44334         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44335         file.
44336         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44337         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44338         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44339         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44340         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44341         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44342         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44343         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44344         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44345         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44346         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44347         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44348         file.
44349         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44350         New file.
44351         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44352         file.
44353         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44354         file.
44355         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44356         file.
44357         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44358         file.
44359         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44360         file.
44361         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44362         New file.
44363         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44364         New file.
44365         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44366         file.
44367         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44368         New file.
44369         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44370         file.
44371         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44372         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44373         file.
44374         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44375         New file.
44376         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44377         file.
44378         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44379         file.
44380         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44381         file.
44382         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44383         file.
44384         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44385         file.
44386         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44387         New file.
44388         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44389         New file.
44390         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44391         file.
44392         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44393         New file.
44394         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44395         file.
44397 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
44399         * conform/conformtest.pl: Fix typo in handling typed-constant from
44400         allow-header.
44402 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
44404         * README: Cut down references to pre-2.6 Linux kernels and
44405         Linuxthreads.  Update lists of configurations in libc and ports
44406         and sort alphabetically.  Say "or newer" with Linux kernel version
44407         requirements.
44409         * config.h.in [IS_IN_build]: Allow compiling without optimization.
44411 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44413         [BZ #887]
44414         * math/libm-test.inc (logb_test_downward): New test to expose
44415         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44416         rounding mode.
44418 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
44420         [BZ #14027]
44421         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
44422         to be done.
44423         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
44424         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
44426 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
44428         * sysdeps/unix/i386/brk.S: Remove file.
44429         * sysdeps/unix/i386/dl-brk.S: Likewise.
44430         * sysdeps/unix/i386/pipe.S: Likewise.
44431         * sysdeps/unix/i386/sigreturn.S: Likewise.
44432         * sysdeps/unix/i386/syscall.S: Likewise.
44433         * sysdeps/unix/i386/vfork.S: Likewise.
44434         * sysdeps/unix/i386/wait.S: Likewise.
44436         * sysdeps/unix/common/tcsendbrk.c: Move to ...
44437         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
44439         * configure.in (arm*-none*): Do not allow without
44440         --enable-hacker-mode.
44441         (netbsd*): Remove case setting base_os.
44442         (386bsd*): Likewise.
44443         (freebsd*): Likewise.
44444         (bsdi*): Likewise.
44445         (osf*): Likewise.
44446         (sunos*): Likewise.
44447         (ultrix*): Likewise.
44448         (newsos*): Likewise.
44449         (dynix*): Likewise.
44450         (*bsd*): Likewise.
44451         (sysv*): Likewise.
44452         (isc*): Likewise.
44453         (esix*): Likewise.
44454         (sco*): Likewise.
44455         (minix*): Likewise.
44456         (irix4*): Likewise.
44457         (irix6*): Likewise.
44458         (solaris[2-9]*): Likewise.
44459         (none): Likewise.
44460         * configure: Regenerated.
44462 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44464         [BZ #11521]
44465         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
44466         overflow or cancellation in calculating denominator.
44467         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
44468         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
44469         down expression to avoid unexpected rounding in newer GCCs.
44470         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
44472 2012-04-26  David S. Miller  <davem@davemloft.net>
44474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
44475         long-double compat symbols.
44476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44477         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44478         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44479         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
44480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44481         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
44482         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
44483         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
44484         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
44485         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
44486         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
44487         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
44488         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
44490 2012-04-25  David S. Miller  <davem@davemloft.net>
44492         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
44493         HWCAP_* values only after the memory barriers have been defined.
44494         (atomic_full_barrier): Define.
44495         (atomic_read_barrier): Define.
44496         (atomic_write_barrier): Define.
44498 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
44500         * shlib-versions: Add libgcc_s version information.
44501         * sysdeps/generic/libgcc_s.h: Remove.
44502         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
44503         libgcc_s.h.
44504         * sysdeps/gnu/unwind-resume.c: Likewise.
44505         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
44507 2012-04-25  David S. Miller  <davem@davemloft.net>
44509         * sysdeps/unix/sparc/brk.S: Delete.
44510         * sysdeps/unix/sparc/dl-brk.S: Delete.
44511         * sysdeps/unix/sparc/pipe.S: Delete.
44512         * sysdeps/unix/sparc/sysdep.S: Delete.
44513         * sysdeps/unix/sparc/sysdep.h: Delete.
44514         * sysdeps/unix/sparc/vfork.S: Delete.
44515         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
44516         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
44517         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
44518         (ret_ERRVAL, r0, r1, MOVE): Define.
44519         (JUMPTARGET): Remove.
44520         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
44521         sysdeps/unix/sparc/sysdep.h
44522         (ENTRY, END): Remove.
44523         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
44525 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
44527         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
44528         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
44529         -DIS_IN_build.
44531         * timezone/README: Update upstream location and email address for
44532         tzcode and tzdata.
44533         * timezone/zdump.c: Update from tzcode 2012b.
44534         * timezone/zic.c: Likewise.
44536         * configure.in (libc_cv_as_needed): Remove test.
44537         * configure: Regenerated.
44538         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
44539         conditional definition.
44540         [$(have-as-needed) != yes] (no-as-needed): Likewise.
44541         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
44542         * config.make.in (have-as-needed): Remove variable.
44544 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44545             Paul Pluzhnikov  <ppluzhnikov@google.com>
44547         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
44548         strings correctly.
44550 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
44552         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
44553         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
44554         * sysdeps/sh/strlen.S: Likewise.
44556 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44558         * sysdeps/unix/fork.S: Remove file.
44559         * sysdeps/unix/i386/fork.S: Likewise.
44560         * sysdeps/unix/sparc/fork.S: Likewise.
44562         * sysdeps/unix/system.c: Remove file.
44563         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
44565         * sysdeps/unix/getegid.S: Remove file.
44566         * sysdeps/unix/geteuid.S: Likewise.
44568 2012-04-24  Roland McGrath  <roland@hack.frob.com>
44570         * scripts/check-localplt.awk: New file.
44571         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
44572         of diff.
44573         * scripts/data/localplt-generic.data: Add a comment.
44575         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
44576         NODE when __dir_mkfile failed.
44577         * sysdeps/mach/hurd/symlinkat.c: Likewise.
44578         Reported by Ludovic Courtès <ludo@gnu.org>.
44580 2012-04-24  Andreas Jaeger  <aj@suse.de>
44582         * Makerules (common-clean): Also remove gen-as-const-headers
44583         files.
44585 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44587         * Makerules (native-compile): Do not change working directory for
44588         build.  Use $(OUTPUT_OPTION) in command.
44589         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
44591 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44593         [BZ #13886]
44594         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
44595         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
44596         * math/libm-test.inc (floor_test): Add more tests.
44597         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
44599 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
44601         * sysdeps/unix/getdents.c: Remove file.
44602         * sysdeps/unix/sysv/getdents.c: Likewise.
44603         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
44605         * sysdeps/unix/syscalls.list (madvise): Add syscall from
44606         sysdeps/unix/mman/syscalls.list.
44607         (mmap): Likewise.
44608         (mprotect): Likewise.
44609         (msync): Likewise.
44610         (munmap): Likewise.
44611         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
44612         * sysdeps/unix/mman/syscalls.list: Remove.
44613         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
44615         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
44616         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
44617         * configure: Regenerated.
44618         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
44619         $(libgcc_s_suffix).
44620         * config.make.in (libgcc_s_suffix): Remove variable.
44622 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
44624         * sysdeps/unix/sysv/gethostname.c: Move to ...
44625         * sysdeps/posix/gethostname.c: ... here.
44627         * sysdeps/unix/execve.S: Remove file.
44629         * sysdeps/unix/_exit.S: Remove file.
44631 2012-04-23  Andreas Jaeger  <aj@suse.de>
44633         [BZ #13739]
44634         * manual/Makefile: Remove make dist support, there's no
44635         need for a stand-alone documentation tar ball.
44636         (TEXI2DVI): Define always, it's not in Makeconfig.
44637         (dist): Removed.
44638         (tar-it): Removed.
44639         (edition): Removed.
44640         (glibc-doc-$(edition).tar): Removed
44641         (%.Z): Removed.
44642         (%.gz): Removed.
44643         (%.uu): Removed.
44644         (ETAGS): Remove, it's in Makeconfig.
44645         (move-if-change): Remove, it's in Makeconfig.
44647 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
44649         [BZ #13970]
44650         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
44651         (strtod, strtof, strtold, strtol, strtoul, strtoq)
44652         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
44653         (strtod_l, strtof_l, strtold_l): Remove __wur.
44654         It is not necessarily an error to ignore strtol's return value.
44655         One can reliably look at the stored endptr to decide whether
44656         the number had valid syntax.
44658 2012-04-21  Andreas Jaeger  <aj@suse.de>
44660         [BZ #13739]
44661         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
44663 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
44665         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
44666         * sysdeps/unix/sysv/Versions: Remove file.
44668 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
44670         [BZ #13927]
44671         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44673 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
44675         [BZ #7064]
44676         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
44677         version from __vm86.
44679 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
44681         * sysdeps/unix/common/lxstat.c: Remove file.
44682         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
44684         * sysdeps/unix/sysv/Makefile: Remove file.
44686         * sysdeps/unix/sysv/direct.h: Remove file.
44688         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
44689         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
44690         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
44691         * sysdeps/unix/sysv/bits/signum.h: Likewise.
44692         * sysdeps/unix/sysv/bits/stat.h: Likewise.
44693         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
44694         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
44696         * sysdeps/unix/sysv/setrlimit.c: Remove file.
44698         * sysdeps/unix/xmknod.c: Remove file.
44699         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
44701         * sysdeps/unix/sysv/settimeofday.c: Remove file.
44703         * sysdeps/unix/sysv/i386/time.S: Remove file.
44705         * sysdeps/unix/fxstat.c: Remove file.
44706         * sysdeps/unix/xstat.c: Likewise.
44707         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
44709         * sysdeps/unix/sysv/sigaction.c: Remove file.
44711         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
44712         (sysdep_headers): Remove variable.
44713         [termio.h not in sysdep_headers] (generated): Likewise.
44714         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
44715         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
44716         * sysdeps/unix/sysv/tcdrain.c: Likewise.
44717         * sysdeps/unix/sysv/tcflow.c: Likewise.
44718         * sysdeps/unix/sysv/tcflush.c: Likewise.
44719         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
44720         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
44721         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
44722         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
44723         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
44725         * sysdeps/unix/siglist.c: Remove file.
44727         * sysdeps/unix/getppid.S: Remove file.
44729         * sysdeps/unix/mkdir.c: Remove file.
44730         * sysdeps/unix/rmdir.c: Likewise.
44732 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
44734         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
44735         ERR_MAX value.
44736         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
44737         errlist-compat value.
44739 2012-04-18  David S. Miller  <davem@davemloft.net>
44741         * sysdeps/generic/memcopy.h (reg_char): Delete.
44742         * debug/strcat_chk.c: Use char, not reg_char.
44743         * debug/strcpy_chk.c: Likewise.
44744         * debug/strncat_chk.c: Likewise.
44745         * debug/strncpy_chk.c: Likewise.
44746         * string/memchr.c: Likewise.
44747         * string/memrchr.c: Likewise.
44748         * string/rawmemchr.c: Likewise.
44749         * string/strcat.c: Likewise.
44750         * string/strchr.c: Likewise.
44751         * string/strchrnul.c: Likewise.
44752         * string/strcmp.c: Likewise.
44753         * string/strcpy.c: Likewise.
44754         * string/strncat.c: Likewise.
44755         * string/strncmp.c: Likewise.
44756         * string/strncpy.c: Likewise.
44758 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44760         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
44761         __builtin_memcopy is called when src and dest ranges are known to not
44762         overlap.
44764 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44766         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
44767         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
44768         fwd_align_merge macro call.
44769         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
44770         bwd_align_merge macro call.
44771         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44773 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
44775         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
44776         bwd_align_merge macros.
44777         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
44778         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
44779         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
44781 2012-04-18  David S. Miller  <davem@davemloft.net>
44783         * sysdeps/sparc/sparc64/memcopy.h: Delete.
44785 2012-04-18  Andreas Jaeger  <aj@suse.de>
44787         [BZ# 6794]
44788         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
44789         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
44790         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44792         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
44793         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
44794         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44796         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
44797         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
44798         Adjust for changed ldbl-128 files.
44800         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
44801         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
44802         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
44804 2012-04-17  David S. Miller  <davem@davemloft.net>
44806         * sysdeps/sparc/sparc32/memcopy.h: Delete.
44808 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
44810         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
44811         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
44812         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
44813         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
44814         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
44815         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
44817 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44819         [BZ #6794]
44820         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
44821         * math/libm-test.inc: Add ilogb errno and exception tests.
44822         * math/w_ilogb.c: New file: ilogb wrapper.
44823         * math/w_ilogbf.c: New file: ilogbf wrapper.
44824         * math/w_ilogbl.c: New file: ilogbl wrapper.
44825         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
44826         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
44827         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
44828         exception being thrown with 0.0 as argument.
44829         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
44830         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
44831         exception being thrown with 0.0 as argument.
44832         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
44833         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44834         exception being thrown with 0.0 as argument.
44835         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
44836         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
44837         exception being thrown with 0.0 as argument.
44838         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
44839         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
44840         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
44841         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
44842         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
44843         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
44844         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
44845         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
44846         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
44848 2012-04-17  Petr Baudis  <pasky@ucw.cz>
44850         * include/sys/uio.h: Change __vector to __iovec to avoid clash
44851         with altivec.
44853 2012-04-16  Marek Polacek  <polacek@redhat.com>
44855         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
44857 2012-04-16  Marek Polacek  <polacek@redhat.com>
44859         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
44860         operands of fdivp instruction.
44862 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
44864         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
44865         * elf/tst-auditmod3b.c: Likewise.
44866         * elf/tst-auditmod4b.c: Likewise.
44867         * elf/tst-auditmod5b.c: Likewise.
44868         * elf/tst-auditmod6b.c: Likewise.
44869         * elf/tst-auditmod6c.c: Likewise.
44870         * elf/tst-auditmod7b.c: Likewise.
44871         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
44872         * sysdeps/x86_64/preconfigure.in: Likewise.
44873         * sysdeps/x86_64/preconfigure: Regenerated.
44875 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
44877         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
44878         __ILP32__.
44880 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
44882         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
44883         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
44885 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
44887         [BZ #13973]
44888         * locale/iso-639.def: Fix gl language name. Spotted by
44889         Yaron Shahrabani.
44891 2012-04-12  Roland McGrath  <roland@hack.frob.com>
44893         [BZ #2074]
44894         * libio/libio.h (__io_write_fn): Update comment.
44896 2012-04-12  Petr Baudis  <pasky@ucw.cz>
44898         [BZ #2074]
44899         * stdio.texi (Hook Functions): The user provided writer function
44900         is not allowed to return -1.
44902 2012-04-11  David S. Miller  <davem@davemloft.net>
44904         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44906 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
44908         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
44909         Add a leading slash to rtkaio.
44911 2012-04-11  Jim Meyering  <meyering@redhat.com>
44913         [BZ #11959]
44914         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
44915         It is not necessarily an error to ignore fwrite's return
44916         value.  One can reliably use ferror to test for errors after
44917         the fact.
44919 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
44921         * bits/types.h (__snseconds_t): New type.
44922         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
44924         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
44925         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
44926         (__SNSECONDS_T_TYPE): Likewise.
44927         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
44928         (__SNSECONDS_T_TYPE): Likewise.
44929         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
44930         (__SNSECONDS_T_TYPE): Likewise.
44932 2012-04-10  Andreas Jaeger  <aj@suse.de>
44934         [BZ #2636]
44935         * manual/time.texi (Processor Time): Return type of times is
44936         elapsed real time since an arbitrary point in the past.
44937         (CPU Time): Move CLK_TCK from here...
44938         (Processor Time): ...to here.  Correct description.
44939         * manual/conf.texi (Constants for Sysconf): Correct description of
44940         _SC_CLK_TCK.
44942 2012-04-10  David S. Miller  <davem@davemloft.net>
44944         [BZ #13967]
44945         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
44946         where the is a gap between DT_REL(A) and DT_JMPREL.
44948 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
44950         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
44951         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
44952         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
44954 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44956         * elf/dl-support.c (_dl_inhibit_cache): New variable.
44957         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
44958         (dl_main): Handle --inhibit-cache.
44959         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
44960         _dl_inhibit_cache.
44961         * elf/dl-load.c (_dl_map_object): Use it.
44962         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
44964 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
44966         [BZ #13872]
44967         * sysdeps/i386/fpu/e_powl.S (p78): New object.
44968         (__ieee754_powl): Saturate large exponents rather than testing for
44969         overflow of y*log2(x).
44970         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
44971         * math/libm-test.inc (pow_test): Do not permit spurious overflow
44972         exceptions.
44974         [BZ #11521]
44975         * math/s_ctan.c: Include <float.h>.
44976         (__ctan): Avoid internal overflow or cancellation in calculating
44977         denominator.
44978         * math/s_ctanf.c: Likewise.
44979         * math/s_ctanl.c: Likewise.
44980         * math/s_ctanh.c: Likewise.
44981         * math/s_ctanhf.c: Likewise.
44982         * math/s_ctanhl.c: Likewise.
44983         * math/libm-test.inc (ctan_test): Add more tests.
44984         (ctanh_test): Likewise.
44985         * sysdeps/i386/fpu/libm-test-ulps: Update.
44986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44988 2012-04-09  Andreas Jaeger  <aj@suse.de>
44990         [BZ #6894]
44991         * manual/filesys.texi (Directory Entries): Mention that d_namlen
44992         is an optional BSD extension.
44994         [BZ #10254]
44995         * manual/stdio.texi (Opening Streams): Document additional fopen
44996         parameters.
44998 2012-04-09  Roland McGrath  <roland@hack.frob.com>
45000         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45001         %eax without telling the compiler.
45003 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
45005         [BZ # 13963]
45006         * manual/install.texi: Use sourceware.org.
45008 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
45010         [BZ #13873]
45011         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45012         (__ieee754_pow): Generate overflow and underflow using huge*huge
45013         and tiny*tiny rather than just returning constant infinity or zero
45014         for large exponents.
45015         * math/libm-test.inc (pow_test): Require overflow exceptions for
45016         applicable cases of large exponents.
45018         [BZ #706]
45019         * sysdeps/i386/fpu/e_pow.S (p10): New object.
45020         (__ieee754_pow): Use iterative multiplication algorithm only for
45021         integer exponents with absolute value below 1024.  Check for odd
45022         integer exponents when using algorithm for real exponents.
45023         * math/libm-test.inc (pow_test): Add more tests.
45024         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45026 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
45028         [BZ #13705]
45029         * math/libm-test.inc (exp_test): Do not allow overflow exception
45030         on underflow test.
45032 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
45034         [BZ #13705]
45035         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45036         instead of __kernel_standard_f.
45038 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
45040         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45041         * sysdeps/x86_64/memset_chk.S: Likewise.
45043 2012-04-08  Andreas Jaeger  <aj@suse.de>
45045         [BZ #10153]
45046         * manual/startup.texi (Environment Access): Describe return value
45047         for putenv and setenv.
45049         [BZ #6895]
45050         * manual/filesys.texi (Directory Entries): Add description for
45051         DT_LNK.
45053         [BZ #6890]
45054         * manual/filesys.texi (Directory Entries): Clarify that it's file
45055         system not operating system in the description of DT_UNKNOWN.
45057         [BZ #6578]
45058         * manual/syslog.texi (closelog): Fix reference, it's openlog.
45060 2012-04-08  Stephen Compall  <s11@member.fsf.org>
45062         [BZ #6649]
45063         * manual/llio.texi (Opening and Closing Files): Add cross
45064         reference to explain mode argument.
45066 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
45068         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45069         * sysdeps/x86_64/memset_chk.S: Likewise.
45071 2012-04-07  David S. Miller  <davem@davemloft.net>
45073         * elf/elf.h (R_SPARC_WDISP10): Define.
45074         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45075         R_SPARC_SIZE32.
45076         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45077         R_SPARC_SIZE64 and R_SPARC_H34.
45079 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
45081         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45082         conditions and remove no longer applicable assertion.
45084 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
45086         * bits/byteswap.h: Include <features.h>.
45087         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45088         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45090 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
45092         * bits/byteswap.h (__bswap_16): Removed.
45093         Include <bits/byteswap-16.h> to get __bswap_16.
45094         * sysdeps/i386/bits/byteswap.h: Likewise.
45095         * sysdeps/s390/bits/byteswap.h: Likewise.
45096         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45097         * bits/byteswap-16.h: New file.
45098         * sysdeps/i386/bits/byteswap-16.h: Likewise.
45099         * sysdeps/s390/bits/byteswap-16.h: Likewise.
45100         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45101         * string/Makefile (headers): Add bits/byteswap-16.h.
45103 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45105         [BZ #13895]
45106         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45107         extra indirection.
45108         * nss/Makefile (tests-static, tests): Add tst-nss-static.
45109         * nss/tst-nss-static.c: New.
45111 2012-04-06  Robert Millan  <rmh@gnu.org>
45113         [BZ #6486]
45114         * manual/llio.texi (File Position Primitive): lseek
45115         refers to WHENCE when it really means OFFSET.
45117 2012-04-06  Andreas Jaeger  <aj@suse.de>
45119         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45120         strncmp declarations.
45122         * abilist/libc.abilist: Add __poll and __ppoll.
45124 2012-04-05  David S. Miller  <davem@davemloft.net>
45126         * scripts/check-local-headers.sh: Accept a host triplet in the
45127         path matched by the exclude regexp.
45129         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45130         definition.
45131         * sysdeps/powerpc/powerpc32/dl-machine.h
45132         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45133         * sysdeps/s390/s390-32/dl-machine.h
45134         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45135         * sysdeps/sparc/sparc32/dl-machine.h
45136         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45137         * sysdeps/sparc/sparc64/dl-machine.h
45138         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45140         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45141         lazy binding.
45142         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
45143         undefined symbol errors.
45145         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
45146         DT_NEEDED entries.
45148 2012-04-05  Michael Matz  <matz@suse.de>
45150         [BZ #13592]
45151         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45153 2012-04-05  Andreas Jaeger  <aj@suse.de>
45155         [BZ #13908]
45156         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45157         comment.
45159 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45161         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45162         which ROUND is no valid rounding mode.
45164 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45166         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45167         read again.
45168         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45170 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45172         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45173         an exception using FPU order intentionally.
45175 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45177         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45178         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45179         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45180         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45182 2012-04-05  Simon Josefsson  <simon@josefsson.org>
45184         [BZ #12340]
45185         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45186         EINVAL when BUFLEN is too smal.
45188 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
45190         [BZ #13553]
45191         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45192         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45194 2012-04-03  Andreas Jaeger  <aj@suse.de>
45196         [BZ #13938]
45197         * manual/setjmp.texi (System V contexts): Fix sentence.
45199         [BZ #13926]
45200         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45201         New macro for this case.
45202         [!__GNUC__] (__bswap_64): New inline function for this case.
45203         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45204         * bits/byteswap.h: Likewise.
45205         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45206         ull, guard with __GLIBC_HAVE_LONG_LONG.
45208         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45209         __GLIBC_HAVE_LONG_LONG.
45211         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45212         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45214 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45216         [BZ #13691]
45217         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45218         inptr and inend, rather than using last_ch.
45220 2012-04-02  David S. Miller  <davem@davemloft.net>
45222         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45223         * stdio-common/printf-parse.h (read_int): Change return type to
45224         'int', return -1 on INT_MAX overflow.
45225         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45226         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
45227         overflows INT_MAX.  Check for overflow of in-format-string precision
45228         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
45229         SIZE_MAX not INT_MAX for integer overflow test.
45230         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45231         skip the construct in the format string but do not record anything.
45232         * stdio-common/bug22.c: Adjust to test both width/prevision
45233         INT_MAX overflow as well as total length INT_MAX overflow.  Check
45234         explicitly for proper errno values.
45236 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
45238         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45239         CHAR_MAX.
45240         * string/test-strcmp.c [! WIDE]: Likewise.
45241         * time/tst-mktime2.c: Likewise for INT_MAX.
45242         * string/test-string.h: #include <sys/param.h> for MIN.
45244         * csu/init-first.c (__libc_init_first): Call __ctype_init.
45245         * sysdeps/i386/init-first.c (init): Likewise.
45246         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45247         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45248         * sysdeps/sh/init-first.c (init): Likewise.
45250 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
45252         * po/ru.po: Update from translation team.
45253         * po/vi.po: Likewise.
45255 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
45257         * resolv/nss_dns/dns-host.c: Merge copyright years.
45259 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45261         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45262         Optimize memcpy with prefetch if
45263         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
45264         src, dst pointers have unequal 16 byte alignments.
45266 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45268         [BZ #13928]
45269         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45270         from a CNAME entry and return the minimum ttl for the query.
45271         (gaih_getanswer_slice): Likewise.
45273 2012-03-30  Jeff Law  <law@redhat.com>
45275         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45276         due to long keys.
45277         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45278         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45280         * resolv/nss_dns/dns-host.c: Update copyright year.
45282 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
45284         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
45285         requests to save a system call.  Fix check that all bytes are sent.
45287         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45288         comments for sendmmsg.
45290 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45292         [BZ #13691]
45293         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45294         with only 1 character between 0x0041 and 0x01b0.
45295         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45296         * wcsmbs/tst-mbsnrtowcs.c: New file.
45298 2012-03-29  David S. Miller  <davem@davemloft.net>
45300         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45301         small copies by hand.
45303 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45305         [BZ #13761]
45306         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45307         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45308         group memberships.
45310 2012-03-28  David S. Miller  <davem@davemloft.net>
45312         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45313         that branches into memcpy.
45314         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45315         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45316         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45317         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45318         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45319         bits.
45320         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45321         implementation too.
45322         * sysdeps/sparc/mempcpy.S: New file.
45324         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45325         the IFUNC routine in the libc case.
45326         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45328         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45329         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45330         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45331         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45332         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45333         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45334         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45335         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45337         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45338         loop to 256 bytes instead of 64 bytes and fix test signedness.
45340         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45341         * sysdeps/sparc/sparc32/Makefile: rather than here...
45342         * sysdeps/sparc/sparc64/Makefile: and here.
45344 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
45346         * malloc/mallocbug.c: Avoid warnings about unused variables.
45348 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45350         [BZ #13760]
45351         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45352         in the right place. Discard and retry query if response is
45353         larger than input buffer size.
45355 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
45357         [BZ #369]
45358         [BZ #2678]
45359         [BZ #3866]
45360         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45361         x for large integer exponent.
45362         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45363         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
45364         sign of result as needed afterwards.
45365         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45366         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45367         result for underflowing pow the same as for overflow.
45368         (__kernel_standard_l): Handle powl overflow and underflow here
45369         rather than calling __kernel_standard.
45370         * math/libm-test.inc (pow_test): Add more tests.
45372         [BZ #3868]
45373         [BZ #13879]
45374         [BZ #13910]
45375         [BZ #13911]
45376         [BZ #13912]
45377         [BZ #13913]
45378         [BZ #13915]
45379         [BZ #13916]
45380         [BZ #13917]
45381         [BZ #13918]
45382         [BZ #13919]
45383         [BZ #13920]
45384         [BZ #13921]
45385         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45386         * sysdeps/ieee754/k_standard.c: Include <float.h>.
45387         (__kernel_standard_l): New function.
45388         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45389         __kernel_standard.
45390         * math/w_acosl.c (__acosl): Likewise.
45391         * math/w_asinl.c (__asinl): Likewise.
45392         * math/w_atan2l.c (__atan2l): Likewise.
45393         * math/w_atanhl.c (__atanhl): Likewise.
45394         * math/w_coshl.c (__coshl): Likewise.
45395         * math/w_exp10l.c (__exp10l): Likewise.
45396         * math/w_exp2l.c (__exp2l): Likewise.
45397         * math/w_fmodl.c (__fmodl): Likewise.
45398         * math/w_hypotl.c (__hypotl): Likewise.
45399         * math/w_j0l.c (__j0l, __y0l): Likewise.
45400         * math/w_j1l.c (__j1l, __y1l): Likewise.
45401         * math/w_jnl.c (__jnl, __ynl): Likewise.
45402         * math/w_lgammal.c (__lgammal): Likewise.
45403         * math/w_log10l.c (__log10l): Likewise.
45404         * math/w_log2l.c (__log2l): Likewise.
45405         * math/w_logl.c (__logl): Likewise.
45406         * math/w_powl.c (__powl): Likewise.
45407         * math/w_remainderl.c (__remainderl): Likewise.
45408         * math/w_scalbl.c (sysv_scalbl): Likewise.
45409         * math/w_sinhl.c (__sinhl): Likewise.
45410         * math/w_sqrtl.c (__sqrtl): Likewise.
45411         * math/w_tgammal.c (__tgammal): Likewise.
45412         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45413         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45414         * math/libm-test.inc (acos_test): Add more tests.
45415         (acosh_test): Likewise.
45416         (asin_test): Likewise.
45417         (atanh_test): Likewise.
45418         (exp_test): Likewise.
45419         (exp10_test): Likewise.
45420         (exp2_test): Likewise.
45421         (expm1_test): Likewise.
45422         (lgamma_test): Likewise.
45423         (log_test): Likewise.
45424         (log10_test): Likewise.
45425         (log1p_test): Likewise.
45426         (log2_test): Likewise.
45427         (pow_test): Do not allow some spurious overflow exceptions.
45428         (sqrt_test): Add more tests.
45429         (tgamma_test): Likewise.
45430         (y0_test): Likewise.
45431         (y1_test): Likewise.
45432         (yn_test): Likewise.
45434 2012-03-27  Anton Blanchard  <anton@samba.org>
45436         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
45437         MAP_HUGETLB.
45438         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
45439         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
45440         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
45442 2012-03-27  David S. Miller  <davem@davemloft.net>
45444         * conform/Makefile: Run run-conformtest.sh using $(BASH).
45446         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
45447         have-as-vis3 check.
45449 2012-03-27  Andreas Jaeger  <aj@suse.de>
45451         * sysdeps/x86_64/elf/configure.in: Moved to ...
45452         * sysdeps/x86_64/configure.in: ... here.
45453         * sysdeps/x86_64/elf/start.S: Moved to ...
45454         * sysdeps/x86_64/start.S: ... here.
45455         * sysdeps/x86_64/elf/configure: Delete.
45457         * sysdeps/x86_64/configure.in: Merge contents from
45458         sysdeps/i386/configure.in (without i686 check).
45460         * sysdeps/i386/elf/Versions: Merge into ...
45461         * sysdeps/i386/Versions: ... this.
45462         * sysdeps/i386/elf/Versions: Delete file.
45463         * sysdeps/i386/elf/start.S: Moved to ...
45464         * sysdeps/i386/start.S: ...here.
45465         * sysdeps/i386/elf/configure.in: Merge into...
45466         * sysdeps/i386/configure.in: ...here.
45467         * sysdeps/i386/elf/configure.in: Delete file.
45468         * sysdeps/i386/elf/configure: Delete file.
45470         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
45471         * debug/backtracesyms.c: ... here.
45472         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
45473         * debug/backtracesymsfd.c: ... here.
45474         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
45475         * sysdeps/generic/ifunc-sel.h: ... here.
45477         * sysdeps/unix/i386/start.c: Delete file.
45478         * sysdeps/unix/sparc/start.c: Delete file.
45479         * sysdeps/unix/start.c: Delete file.
45481         * sysdeps/sh/elf/configure.in: Moved to ...
45482         * sysdeps/sh/configure.in: ... here.
45483         * sysdeps/sh/elf/start.S: Moved to ...
45484         * sysdeps/sh/start.S: ... here.
45485         * sysdeps/sh/elf/configure: Delete file.
45487         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
45488         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
45489         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
45490         * sysdeps/powerpc/powerpc64/entry.h: ... here.
45491         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
45492         * sysdeps/powerpc/powerpc64/start.S: here.
45493         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
45494         * sysdeps/powerpc/powerpc64/Makefile: ... this.
45495         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
45496         * sysdeps/powerpc/powerpc64/configure.in: ... this.
45497         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
45499         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
45500         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
45501         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
45502         * sysdeps/powerpc/powerpc32/start.S: ... here.
45503         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
45504         * sysdeps/powerpc/powerpc32/configure.in: ... this.
45505         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
45507         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
45508         * sysdeps/powerpc/ifunc-sel.h: ... here.
45509         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
45510         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
45512         * sysdeps/sparc/elf/configure.in: Moved to ...
45513         * sysdeps/sparc/configure.in: ... here.
45514         * sysdeps/sparc/elf/configure: Delete file.
45515         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
45516         * sysdeps/sparc/sparc32/start.S: ... here.
45517         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
45518         * sysdeps/sparc/sparc64/start.S: ... here.
45519         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
45520         * sysdeps/sparc/sparc32/Makefile: ... this.
45521         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
45522         * sysdeps/sparc/sparc64/Makefile: ... this.
45524         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
45525         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
45526         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
45527         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
45528         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
45529         * sysdeps/s390/s390-32/setjmp.S: ... here.
45530         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
45531         * sysdeps/s390/s390-32/configure.in: ... here.
45532         * sysdeps/s390/s390-32/elf/configure: Delete file.
45533         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
45534         * sysdeps/s390/s390-32/start.S: ... here.
45536         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
45537         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
45538         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
45539         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
45540         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
45541         * sysdeps/s390/s390-64/setjmp.S: ... here.
45542         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
45543         * sysdeps/s390/s390-64/configure.in: ... here
45544         * sysdeps/s390/s390-64/elf/configure: Delete file.
45545         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
45546         * sysdeps/s390/s390-64/start.S: ... here.
45547         * sysdeps/s390/s390-64/elf/configure: Delete.
45549         * configure.in: Remove support for elf directories in sysdeps.
45551         * configure: Regenerated.
45552         * sysdeps/i386/configure: Regenerated.
45553         * sysdeps/powerpc/powerpc32/configure: Regenerated.
45554         * sysdeps/powerpc/powerpc64/configure: Regenerated.
45555         * sysdeps/s390/s390-32/configure: Regenerated.
45556         * sysdeps/s390/s390-64/configure: Regenerated.
45557         * sysdeps/sh/configure: Regenerated.
45558         * sysdeps/sparc/configure: Regenerated.
45559         * sysdeps/x86_64/configure: Regenerated.
45561 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
45563         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45565         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
45566         denormal result into account.
45568 2012-03-25  Roland McGrath  <roland@hack.frob.com>
45570         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
45571         Reported by Allan McRae <allan@archlinux.org>.
45573 2012-03-23  Jeff Law  <law@redhat.com>
45575         * nss/getnssent.c (__nss_getent): Fix typo.
45577 2012-03-23  David S. Miller  <davem@davemloft.net>
45579         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45581 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
45583         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
45584         to pad to uint64_t for each field.
45585         (dl_tls_index): Replace unsigned long with uint64_t.
45587 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
45588         Paul Pluzhnikov  <ppluzhnikov@google.com>
45590         [BZ #6528]
45591         * grp/Makefile (otherlibs): Don't set it.
45592         * inet/Makefile (otherlibs): Likewise.
45593         * login/Makefile (otherlibs): Likewise.
45594         * nscd/Makefile (otherlibs): Likewise.
45595         * posix/Makefile (otherlibs): Likewise.
45596         * pwd/Makefile (otherlibs): Likewise.
45597         * rt/Makefile (otherlibs): Likewise.
45598         * sunrpc/Makefile (otherlibs): Likewise.
45599         * nss/Makefile (otherlibs): Likewise.
45600         Add libnss_files to routines and static-only-routines.
45601         ($(objpfx)getent): Remove rule.
45602         * resolv/Makefile: Add libnss_dns and libresolv to routines and
45603         static-only-routines.
45605 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
45607         [BZ #13892]
45608         * math/s_cexp.c: Include <float.h>.
45609         (__cexp): Handle exp result overflowing not necessarily
45610         overflowing both real and imaginary parts of result.
45611         * math/s_cexpf.c: Likewise.
45612         * math/s_cexpl.c: Likewise.
45613         * math/libm-test.inc (cexp_test): Add more tests.
45614         * sysdeps/i386/fpu/libm-test-ulps: Update.
45615         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45617 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45619         * include/link.h (ELFW): New macro.
45620         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
45621         Replace ELF64_R_TYPE with ELFW(R_TYPE).
45623 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45625         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
45626         with uint64_t.
45628 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45630         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
45631         declaration.
45632         (struct La_x32_retval): Likewise.
45634 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
45636         * sysdeps/x86_64/preconfigure.in: New file.
45637         * sysdeps/x86_64/preconfigure: New generated file.
45639 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
45641         [BZ #13824]
45642         * math/e_exp2l.c: Include <float.h>.
45643         (__ieee754_exp2l): Handle overflow and underflow cases
45644         separately.  Only pass fractional part of argument to
45645         __ieee754_expl.
45646         * math/libm-test.inc (exp2_test): Add more tests.
45648         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
45649         negating x to take absolute value.
45650         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
45651         Likewise.
45652         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
45653         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
45654         Likewise.
45655         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
45656         computing low part if x was negated.
45657         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
45659 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45661         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
45662         la_x32_gnu_pltexit.
45663         (pltexit): Cast int_retval to ptrdiff_t.
45664         * elf/tst-auditmod3b.c: Likewise.
45665         * elf/tst-auditmod4b.c: Likewise.
45666         * elf/tst-auditmod5b.c: Likewise.
45667         * elf/tst-auditmod6b.c: Likewise.
45668         * elf/tst-auditmod6c.c: Likewise.
45669         * elf/tst-auditmod7b.c: Likewise.
45671         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
45672         and x32_gnu_pltexit.
45674         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
45675         __ELF_NATIVE_CLASS.
45676         (La_x32_regs): New macro.
45677         (La_x32_retval): Likewise.
45678         (la_x32_gnu_pltenter): New function prototype.
45679         (la_x32_gnu_pltexit): Likewise.
45681 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
45683         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
45684         exponent.
45686         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45688         * configure.in (libc_cv_cc_nofma): Check for option to disable
45689         generation of FMA instructions.
45690         * configure: Regenerate.
45691         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
45692         * sysdeps/ieee754/dbl-64/Makefile: New file.
45693         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
45694         Remove brandred-fma4.
45695         (CFLAGS-brandred-fma4.c): Remove.
45696         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
45697         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
45698         define.
45699         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
45700         define.
45702 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45704         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
45705         LLONG_MAX != LONG_MAX.
45706         (_itoa_word): Use _ITOA_WORD_TYPE on value.
45707         (_fitoa_word): Likewise.
45708         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
45709         LLONG_MAX != LONG_MAX.
45710         * stdio-common/_itowa.h: Include <_itoa.h>.
45711         (_itowa_word): Use _ITOA_WORD_TYPE on value.
45712         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
45713         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
45714         only if not defined.
45715         (_ITOA_WORD_TYPE): Likewise.
45716         (_itoa_word): Use _ITOA_WORD_TYPE on value.
45717         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
45719 2012-03-21  David S. Miller  <davem@davemloft.net>
45721         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45723 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
45725         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
45726         of x86_64 when setting libc_cv_slibdir, libdir and
45727         libc_cv_localedir.
45728         * sysdeps/unix/sysv/linux/configure: Regenerated.
45730 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45732         * manual/lang.texi (Old Varargs): Remove section.
45733         (How Variadic): Update menu.
45734         (va_start): Do not mention varargs.h.
45736 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45737             Joseph Myers  <joseph@codesourcery.com>
45739         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
45740         link test.
45741         * configure: Regenerated.
45743 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
45745         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
45746         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
45747         conformtest.pl
45749 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45751         * NOTES: Remove.
45752         * Makefile (files-for-dist): Remove NOTES.
45753         (NOTES): Remove rule.
45754         * README: Don't refer to NOTES.
45755         * manual/creature.texi: Don't include macros.texi.
45756         * manual/intro.texi (creature.texi): Remove comment referring to
45757         NOTES.
45759         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
45760         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
45761         * configure: Regenerated.
45762         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
45763         LIBC_TRY_CC_OPTION.
45764         (libc_cv_as_i686): Likewise.
45765         (libc_cv_cc_avx): Likewise.
45766         (libc_cv_cc_sse2avx): Likewise.
45767         (libc_cv_cc_fma4): Likewise.
45768         (libc_cv_cc_novzeroupper): Likewise.
45769         * sysdeps/i386/configure: Regenerated.
45771         [BZ #13883]
45772         * sysdeps/i386/fpu/s_cexp.S: Remove.
45773         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
45774         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
45775         * math/libm-test.inc (cexp_test): Add more tests.
45776         * sysdeps/i386/fpu/libm-test-ulps: Update.
45777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45779 2012-03-21  Allan McRae  <allan@archlinux.org>
45781         * timezone/Makefile: Do not install iso3166.tab and zone.tab
45783 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
45785         [BZ #13871]
45786         * math/w_exp2.c: Do not include <float.h>.
45787         (o_threshold, u_threshold): Remove.
45788         (__exp2): Calculate result before checking finiteness and calling
45789         __kernel_standard.
45790         * math/w_exp2f.c: Likewise.
45791         * math/w_exp2l.c: Likewise.
45792         * math/libm-test.inc (exp2_test): Require overflow exception for
45793         1e6 input.
45795         [BZ #3866]
45796         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
45797         range of signed 64-bit integers before using fistpll.  Remove
45798         checks for whether integers fit in mantissa bits.
45799         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
45800         the range of signed 32-bit integers before using fistpl.  Remove
45801         checks for whether integers fit in mantissa bits.
45802         * sysdeps/i386/fpu/e_powl.S (p64): New object.
45803         (__ieee754_powl): Test for y outside the range of signed 64-bit
45804         integers before using fistpll.  Reduce 64-bit values to 63-bit
45805         ones as needed.
45806         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
45807         divide-by-zero is raised for zero to large negative powers.
45808         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
45809         (__ieee754_powl): Test for y outside the range of signed 64-bit
45810         integers before using fistpll.  Reduce 64-bit values to 63-bit
45811         ones as needed.
45812         * math/libm-test.inc (pow_test): Add more tests.
45814 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45816         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
45817         <stdio-common/_itoa.h>.
45818         * debug/segfault.c: Likewise.
45819         * elf/dl-cache.c: Likewise.
45820         * elf/dl-minimal.c: Likewise.
45821         * elf/dl-misc.c: Likewise.
45822         * elf/dl-sysdep.c: Likewise.
45823         * elf/dl-version.c: Likewise.
45824         * elf/rtld.c: Likewise.
45825         * hurd/hurdsock.c: Likewise.
45826         * hurd/lookup-retry.c: Likewise.
45827         * malloc/malloc.c: Likewise.
45828         * malloc/mtrace.c: Likewise.
45829         * nscd/nscd_getgr_r.c: Likewise.
45830         * nscd/nscd_getpw_r.c: Likewise.
45831         * nscd/nscd_getserv_r.c: Likewise.
45832         * posix/getopt_init.c: Likewise.
45833         * posix/wordexp.c: Likewise.
45834         * stdio-common/_itoa.c: Likewise.
45835         * stdio-common/printf_fphex.c: Likewise.
45836         * stdio-common/vfprintf.c: Likewise.
45837         * string/_strerror.c: Likewise.
45838         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
45839         * sysdeps/i386/i686/hp-timing.h: Likewise.
45840         * sysdeps/mach/_strerror.c: Likewise.
45841         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
45842         * sysdeps/mach/hurd/sethostid.c: Likewise.
45843         * sysdeps/mach/hurd/xmknodat.c: Likewise.
45844         * sysdeps/mach/xpg-strerror.c: Likewise.
45845         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
45846         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
45847         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
45848         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
45849         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
45850         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
45851         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
45852         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
45853         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
45854         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
45855         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
45856         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
45857         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
45858         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
45859         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
45860         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
45861         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
45862         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
45863         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45864         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45865         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
45867         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
45869         * stdio-common/_itoa.h: Moved to ...
45870         * sysdeps/generic/_itoa.h: Here.
45872         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
45874         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
45875         instead of "_itoa.h" and "_itowa.h".
45876         * stdio-common/vfprintf.: Likewise.
45878 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45880         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
45881         <bits/wordsize.h>.
45882         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
45883         (__signbit): Likwise.
45884         (llrintf): Likwise.
45885         (llrint): Likwise.
45887 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
45889         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
45890         __WORDSIZE != 64.
45892 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
45894         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
45895         OVERFLOW_EXCEPTION_OK.
45896         * math/libm-test.inc ("Philosophy"): Update comment about
45897         exception testing.
45898         (OVERFLOW_EXCEPTION): Define.
45899         (OVERFLOW_EXCEPTION_OK): Likewise.
45900         (INVALID_EXCEPTION_OK): Renumber.
45901         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
45902         (IGNORE_ZERO_INF_SIGN): Likewise.
45903         (test_exceptions): Handle FE_OVERFLOW.
45904         (exp10_test): Expect overflow exceptions.
45905         (exp2_test): Likewise.
45906         (expm1_test): Likewise.
45907         (nextafter_test): Likewise.
45908         (pow_test): Likewise.
45909         (scalbn_test): Likewise.
45910         (scalbln_test): Likewise.
45912 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45914         * sysdeps/x86_64/bits/atomic.h
45915         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
45916         64bit integer.
45917         (atomic_exchange_acq): Likewise.
45918         (__arch_exchange_and_add_body): Likewise.
45919         (__arch_add_body): Likewise.
45920         (atomic_add_negative): Likewise.
45921         (atomic_add_zero): Likewise.
45923 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45925         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
45926         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
45928 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45930         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
45931         Check __x86_64__ instead of __WORDSIZE.
45933 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45935         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
45937 2012-03-19  David S. Miller  <davem@davemloft.net>
45939         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45941         * sysdeps/sparc/fpu/fenv_private.h: New file.
45942         * sysdeps/sparc/fpu/math_private.h: Use it.
45943         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
45944         Remove.
45945         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
45946         (libc_feholdexcept_setroundl): Remove.
45947         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
45948         Remove.
45949         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
45950         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
45952 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45954         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
45955         int64_t instead of long int.
45956         (INSERT_WORDS64): Likwise.
45958 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
45960         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
45961         _Unwind_GetCFA return to _Unwind_Ptr first.
45963 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
45965         [BZ #13629]
45966         * math/s_clog.c: Include <float.h>.
45967         (__clog): Scale large or subnormal inputs.
45968         * math/s_clogf.c: Likewise.
45969         * math/s_clogl.c: Likewise.
45970         * math/s_clog10.c: Include <float.h>.
45971         (M_LOG10_2): Define.
45972         (__clog10): Scale large or subnormal inputs.
45973         * math/s_clog10f.c: Likewise.
45974         * math/s_clog10l.c: Likewise.
45975         * math/libm-test.inc (clog_test): Add more tests.
45976         (clog10_test): Likewise.
45977         * sysdeps/i386/fpu/libm-test-ulps: Update.
45978         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45980         [BZ #11451]
45981         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
45982         x and y.
45983         * math/libm-test.inc (atan2_test): Add another test.
45985         * Makerules (common-objdir-compile): Remove.
45986         * sysdeps/unix/Makefile (config-generated): Do not add
45987         $(unix-generated) to variable.
45988         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
45989         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
45990         Remove rule.
45991         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
45992         Likewise.
45993         [generic bits/local_lim.h] (before-compile): Do not append to
45994         variable.
45995         [generic bits/local_lim.h] (common-generated): Likewise.
45996         [generic sys/param.h] (before-compile): Do not append to variable.
45997         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
45998         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
45999         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46000         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46001         include.
46002         [generic sys/param.h] (sys/param.h-includes): Remove variable.
46003         [generic sys/param.h] (sys/param.h-includes): Remove rule.
46004         [generic sys/param.h] ($(addprefix
46005         $(common-objpfx),$(sys/param.h-includes))): Likewise.
46006         [generic sys/param.h] (common-generated): Do not append to
46007         variable.
46008         [generic sys/param.h] (sysdep_headers): Likewise.
46009         [generic bits/errno.h] (before-compile): Do not append to
46010         variable.
46011         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46012         rule.
46013         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46014         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46015         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46016         [generic bits/errno.h] (common-generated): Do not append to
46017         variable.
46018         [generic bits/ioctls.h] (before-compile): Do not append to
46019         variable.
46020         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46021         rule.
46022         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46023         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46024         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46025         rule.
46026         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46027         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46028         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46029         [generic bits/ioctls.h] (common-generated): Do not append to
46030         variable.
46031         [generic sys/syscall.h] (syscall.h): Remove variable.
46032         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46033         rule.
46034         [generic sys/syscall.h] (before-compile): Do not append to
46035         variable.
46036         [generic sys/syscall.h] (common-generated): Likewise.
46037         * sysdeps/unix/errnos-tmpl.c: Remove file.
46038         * sysdeps/unix/errnos.awk: Likewise.
46039         * sysdeps/unix/ioctls-tmpl.c: Likewise.
46040         * sysdeps/unix/ioctls.awk: Likewise.
46041         * sysdeps/unix/mk-local_lim.c: Likewise.
46042         * sysdeps/unix/snarf-ioctls: Likewise.
46044 2012-03-19  Richard Henderson  <rth@twiddle.net>
46046         * sysdeps/i386/fpu/fenv_private.h: New file.
46047         * sysdeps/i386/fpu/math_private.h: Use it.
46048         (math_opt_barrier, math_force_eval): Remove.
46049         (libc_feholdexcept_setround_53bit): Remove.
46050         (libc_feupdateenv_53bit): Remove.
46051         * sysdeps/x86_64/fpu/math_private.h: Likewise.
46052         (math_opt_barrier, math_force_eval): Remove.
46053         (libc_feholdexcept): Remove.
46054         (libc_feholdexcept_setround): Remove.
46055         (libc_fetestexcept, libc_fesetenv): Remove.
46056         (libc_feupdateenv_test): Remove.
46057         (libc_feupdateenv, libc_feholdsetround): Remove.
46058         (libc_feresetround): Remove.
46060         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46061         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46063         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46064         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46065         (libc_feupdateenv_testl): New.
46066         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46067         (libc_feupdateenv_testf): New.
46068         (libc_feupdateenv): Use libc_feupdateenv_test.
46069         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46070         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46072         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46073         (libc_feholdsetroundf, libc_feholdsetroundl): New.
46074         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46075         (libc_feresetround_noex): New.
46076         (libc_feresetround_noexf): New.
46077         (libc_feresetround_noexl): New.
46078         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46079         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46080         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46081         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46082         SET_RESTORE_ROUND.
46083         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46084         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46085         (__cos): Likewise.
46086         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46087         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46088         SET_RESTORE_ROUND_NOEX.
46089         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46090         SET_RESTORE_ROUND_NOEXF.
46091         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46092         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46093         (libc_feholdsetroundf): New.
46094         (libc_feresetround, libc_feresetroundf): New.
46096         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46097         (libc_feholdexcept_setround_53bit): Convert from macro to function.
46098         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
46100         * sysdeps/generic/math_private.h: Include <fenv.h>.
46101         (default_libc_feholdexcept): New.
46102         (default_libc_feholdexcept_setround): New.
46103         (default_libc_fesetenv, default_libc_feupdateenv): New.
46104         (libc_feholdexcept): Only define if undefined.
46105         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46106         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46107         (libc_feholdexcept_setroundl): Likewise.
46108         (libc_feholdexcept_setround_53bit): Likewise.
46109         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46110         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46111         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46112         (libc_feupdateenv_53bit): Likewise.
46113         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46114         (libc_feholdexcept): Convert from macro to inline function.
46115         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46116         (libc_fesetenv, libc_feupdateenv): Likewise.
46118         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46119         not previously defined.
46120         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46121         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46122         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46123         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46124         * sysdeps/ieee754/flt-32/math_private.h: New file.
46125         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46126         math_private.h below SET_FLOAT_WORD.
46127         (__isnan, __isinf_ns, __finite): Remove.
46128         (__isnanf, __isinf_nsf, __finitef): Remove.
46130 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
46132         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46134 2012-03-17  David S. Miller  <davem@davemloft.net>
46136         [BZ #6471]
46137         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46138         for 2.16.
46140 2012-03-16  David S. Miller  <davem@davemloft.net>
46142         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46143         warnings.
46145         [BZ #6471]
46146         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46147         properly.
46148         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46149         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46150         sysdep_routines when subdir is sysvipc.
46151         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46152         __getshmlba helper.
46154         * sysdeps/sparc/fpu/libm-test/ulps: Update.
46156 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46158         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46159         [__LP64__].
46161 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46163         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46164         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46165         (__lround): Renamed to ...
46166         (__llround): This.  Replace long int with long long int.
46167         Define lround functions as aliases of llround functions.
46168         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46170 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46172         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46173         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
46174         adresses to uintptr_t.  Replace "long int" and "unsigned long
46175         int" with "greg_t" on va_arg.
46177 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46179         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46180         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46182         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46183         Move e_machine check before EI_CLASS check.  Handle x32
46184         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46185         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46186         SKIP_EM_IA_64 and include
46187         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46189         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46190         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46191         (add_system_dir): New macro.
46193         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46194         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46196 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
46198         [BZ #2551]
46199         [BZ #2552]
46200         [BZ #2553]
46201         [BZ #2554]
46202         [BZ #2562]
46203         [BZ #2563]
46204         [BZ #2565]
46205         [BZ #2566]
46206         [BZ #2576]
46207         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46208         (y0): Likewise.
46209         * math/w_j0f.c (j0f): Likewise.
46210         (y0f): Likewise.
46211         * math/w_j0l.c (__j0l): Likewise.
46212         (__y0l): Likewise.
46213         * math/w_j1.c (j1): Likewise.
46214         (y1): Likewise.
46215         * math/w_j1f.c (j1f): Likewise.
46216         (y1f): Likewise.
46217         * math/w_j1l.c (__j1l): Likewise.
46218         (__y1l): Likewise.
46219         * math/w_jn.c (jn): Likewise.
46220         (yn): Likewise.
46221         * math/w_jnf.c (jnf): Likewise.
46222         (ynf): Likewise.
46223         * math/w_jnl.c (__jnl): Likewise.
46224         (__ynl): Likewise.
46225         * math/libm-test.inc (j0_test): Add more tests.
46226         (j1_test): Likewise.
46227         (jn_test): Likewise.  Add trailing semicolon to existing test.
46228         (y0_test): Likewise.
46229         (y1_test): Likewise.
46230         * sysdeps/i386/fpu/libm-test-ulps: Update.
46231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46233         [BZ #13851]
46234         [BZ #13854]
46235         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46236         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46237         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46238         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46239         (__tanl): Set errno for infinite argument.
46240         * sysdeps/i386/fpu/mptan.c: Remove.
46241         * sysdeps/i386/fpu/s_tan.S: Likewise.
46242         * sysdeps/i386/fpu/s_tanl.S: Likewise.
46243         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46244         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46245         * math/libm-test.inc (tan_test): Add more tests and enable more
46246         tests for double and long double.
46247         * sysdeps/i386/fpu/libm-test-ulps: Update.
46248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46250 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
46252         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46253         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46255 2012-03-16  Roland McGrath  <roland@hack.frob.com>
46257         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46258         * configure.in: Use it for both main tree and add-ons.
46259         * configure: Regenerated.
46261 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46263         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46265 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
46267         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46268         in comment.
46270         [BZ #13851]
46271         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46272         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46273         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46274         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46275         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46276         infinite argument.
46277         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46278         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46279         != 0 for prec == 2.
46280         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46281         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46282         * sysdeps/i386/fpu/s_cosl.S: Likewise.
46283         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46284         * sysdeps/i386/fpu/s_sinl.S: Likewise.
46285         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46286         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46287         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46288         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46289         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46290         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46291         * math/libm-test.inc (cos_test): Add more tests and enable more
46292         tests for long double.
46293         (sin_test): Likewise.
46294         (sincos_test): Likewise.
46295         * sysdeps/i386/fpu/libm-test-ulps: Update.
46296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46298 2012-03-16  David S. Miller  <davem@davemloft.net>
46300         * sysdeps/sparc/fpu/math_private.h: New file.
46302 2012-03-15  David S. Miller  <davem@davemloft.net>
46304         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46305         file.
46306         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
46307         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46308         file.
46309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46310         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46311         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46312         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46313         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46314         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46315         sysdep routines.
46316         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46318         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46319         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46321         * sysdeps/sparc/sparc-ifunc.h: New file.
46322         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46323         sparc-ifunc.h
46324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
46325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46326         Likewise.
46327         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46328         Likewise.
46329         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46330         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46332         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46333         Likewise.
46334         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
46338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46339         Likewise.
46340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46341         Likewise.
46342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46343         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46346         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46347         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46348         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46349         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46350         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46351         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46352         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46353         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46354         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46355         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46356         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46357         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46358         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46359         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46360         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46361         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46362         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46363         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46364         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46365         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46367 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
46369         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46370         scaling.
46371         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46373 2012-03-15  Andreas Jaeger  <aj@suse.de>
46375         [BZ #13852]
46376         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46377         ieee754/flt-32 implementation for sin, cos and sincos.
46378         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46379         * sysdeps/i386/fpu/s_cosf.S: Likewise.
46380         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46381         * sysdeps/i386/fpu/s_sinf.S: Likewise.
46382         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46383         ieee754/flt-32 implementation for tan.
46385         * math/libm-test.inc (cos_test): Enable some large input tests for
46386         float as well
46387         (sin_test): Likewise.
46388         (sincos_test): Likewise.
46389         (tan_test): Add tests for large input.
46391         * sysdeps/i386/fpu/libm-test-ulps: Update.
46393 2012-03-15  Andreas Jaeger  <aj@suse.de>
46395         [BZ #13658]
46396         * math/libm-test.inc (cos_test): Add more test cases.
46397         (sin_test): Likewise.
46398         (sincos_test): Likewise.
46400 2012-03-15  Andreas Jaeger  <aj@suse.de>
46402         [BZ #13837]
46403         * math/libm-test.inc (cos_test): Add a test case for large input
46404         value.
46405         (sin_test): Likewise.
46406         (sincos_test): Likewise.
46408 2012-03-15  Andreas Jaeger  <aj@suse.de>
46409             Joseph Myers  <joseph@codesourcery.com>
46411         [BZ #13658]
46412         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
46413         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46414         * sysdeps/i386/fpu/branred.c: Likewise.
46415         * sysdeps/i386/fpu/dosincos.c: Likewise.
46416         * sysdeps/i386/fpu/mpa.c: Likewise.
46417         * sysdeps/i386/fpu/s_cos.S: Likewise.
46418         * sysdeps/i386/fpu/s_sin.S: Likewise.
46419         * sysdeps/i386/fpu/s_sincos.S: Likewise.
46420         * sysdeps/i386/fpu/sincos32.c: Likewise.
46422         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
46423         Define.
46424         (libc_feupdateenv_53bit): Define.
46425         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
46426         Define.
46427         (libc_feupdateenv_53bit): Define.
46429         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
46430         53 bit (without extend i386 double precision).
46432         * math/libm-test.inc (sincos_test): Add tests for large input.
46433         (sin): Likewise.
46434         (cos): Likewise.
46436         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
46438 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
46440         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46442 2012-03-15  David S. Miller  <davem@davemloft.net>
46444         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
46445         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
46446         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
46447         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
46448         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
46449         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
46450         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
46451         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
46452         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
46453         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
46454         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
46455         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
46456         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
46457         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
46458         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
46459         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
46460         file.
46461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
46462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
46463         file.
46464         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
46465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
46466         file.
46467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
46468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
46469         file.
46470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
46471         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
46472         fmin/fmax sysdep routines.
46473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46475 2012-03-14  David S. Miller  <davem@davemloft.net>
46477         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
46478         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
46479         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
46480         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
46481         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
46482         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
46483         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
46484         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
46485         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
46486         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
46487         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
46488         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
46489         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
46490         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
46491         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
46492         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
46493         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
46494         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
46495         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
46496         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
46497         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
46498         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
46499         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
46500         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
46501         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
46502         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
46503         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
46504         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
46505         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
46506         routines.
46507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
46508         file.
46509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
46510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
46511         file.
46512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
46513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
46514         file.
46515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
46516         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
46517         file.
46518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
46519         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
46520         file.
46521         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
46522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
46523         file.
46524         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
46525         file.
46526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
46527         file.
46528         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
46529         file.
46530         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
46531         New file.
46532         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
46533         file.
46534         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
46535         file.
46536         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
46537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
46538         file.
46539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
46540         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
46541         file.
46542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
46543         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
46544         file.
46545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
46546         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
46547         VIS3 routines.
46549         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
46550         New file.
46552         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46554         * sysdeps/sparc/configure.in: New file.
46555         * sysdeps/sparc/configure: Generate.
46556         * configure.in (libc_cv_sparc_as_vis3): Substitute.
46557         * configure: Regenerate.
46558         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
46559         * config.make.in (have-as-vis3): New.
46560         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
46561         available use -Av9d instead of -Av9a.
46562         * sysdeps/sparc/sparc64/Makefile: Likewise.
46563         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
46564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
46565         New file.
46566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
46567         file.
46568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
46569         New file.
46570         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
46571         file.
46572         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
46573         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
46574         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
46575         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
46576         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
46578         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
46579         fzeros/fnegs to load 0x80000000 into a float register instead of
46580         using the stack.
46581         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
46583 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
46585         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46586         bits/syscall.h.
46587         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
46588         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
46589         ($(inst_includedir)/bits/syscall.h): Remove rule.
46590         ($(objpfx)bits/syscall.d): Include instead of
46591         $(objpfx)syscall-list.d.
46592         (generated): Change syscall-list.h and syscall-list.d to
46593         bits/syscall.h and bits/syscall.d.
46595 2012-03-14  Roland McGrath  <roland@hack.frob.com>
46597         [BZ #13846]
46598         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
46600 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
46602         [BZ #13841]
46603         * math/s_csqrt.c: Include <float.h>.
46604         (__csqrt): Scale large or subnormal inputs.
46605         * math/s_csqrtf.c: Likewise.
46606         * math/s_csqrtl.c: Likewise.
46607         * math/libm-test.inc (csqrt_test): Add more tests.
46608         * sysdeps/i386/fpu/libm-test-ulps: Update.
46609         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46611         [BZ #13840]
46612         * math/libm-test.inc (hypot_test): Add more tests.
46614 2012-03-13  David S. Miller  <davem@davemloft.net>
46616         [BZ #13840]
46617         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
46618         double-precision for the calculation instead of scaling.
46620 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
46622         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
46623         manipulate bits before adding and subtracting TWO52[sx].
46624         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
46625         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
46626         Likewise.
46627         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
46629 2012-03-13  David S. Miller  <davem@davemloft.net>
46631         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
46632         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
46633         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
46634         rtld-global-offsets.h
46635         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46637         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
46638         large parameters.
46640         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
46642         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
46643         'err' in the ifdef scope in which it is actually used.
46645         * nss/nss_db/db-init.c: Include string.h
46647 2012-03-12  David S. Miller  <davem@davemloft.net>
46649         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
46650         masking out of the most significant byte of random value used.
46651         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46652         Fix coding style in previous change.
46654         * sysdeps/unix/sysv/linux/kernel-features.h
46655         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
46656         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
46657         expression.
46658         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
46659         later.
46661 2012-03-11  David S. Miller  <davem@davemloft.net>
46663         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
46664         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
46665         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
46666         for 'resultvar' otherwise things get truncated on 64-bit.
46668         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
46669         Fix masking out of the most significant byte of random value used.
46671         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46673 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
46675         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46677 2012-03-09  David S. Miller  <davem@davemloft.net>
46679         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
46680         variables with appropriate CPP guards.
46681         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
46682         from the frame pointer, not the stack pointer.  Correct layout
46683         comments.  Fix test on resulting framesize and the management of
46684         the outregs buffer for pltexit.  Preserve floating point return
46685         values across _dl_call_pltexit call.
46686         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
46687         framesize and the management of the outregs buffer for pltexit.
46688         Preserve floating point return values across _dl_call_pltexit
46689         call.
46690         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
46691         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
46692         (la_sparc64_gnu_pltexit): New functions.
46693         (print_exit): Fix format string for return register value.
46695 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
46697         * sunrpc/Makefile (others): Add rpcgen.
46698         ($(objpfx)rpcgen): Remove special build rule and dependency on
46699         libc.
46700         * sunrpc/rpcgen.c: New file.
46702 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
46704         [BZ #13673]
46705         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
46706         * stdio-common/bug-vfprintf-nargs.c: Likewise.
46707         * sysdeps/i386/crti.S: Likewise.
46708         * sysdeps/i386/crtn.S: Likewise.
46709         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
46710         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
46711         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
46712         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
46713         * sysdeps/sh/crti.S: Likewise.
46714         * sysdeps/sh/crtn.S: Likewise.
46715         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
46717         [BZ #13673]
46718         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
46719         with URL.
46720         * locale/programs/locfile-kw.gperf: Likewise.
46721         * locale/programs/charmap-kw.h: Regenerated.
46722         * locale/programs/locfile-kw.h: Likewise.
46724         [BZ #13673]
46725         * intl/plural.y: Replace FSF snail mail address with URL.
46726         * intl/plural.c: Regenerated.
46728 2012-03-09  Richard Henderson  <rth@twiddle.net>
46730         * include/math_private.h: Remove file.
46731         * math/math_private.h: Move file ...
46732         * sysdeps/generic/math_private.h: ... here.
46734         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
46735         * sysdeps/powerpc/fpu/math_private.h: Likewise.
46736         * sysdeps/x86_64/fpu/math_private.h: Likewise.
46738         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
46739         and <math_private.h>.
46740         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
46741         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
46742         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
46743         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
46744         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
46745         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
46746         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
46747         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
46748         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
46749         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
46750         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
46751         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46752         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
46753         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
46754         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
46755         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
46756         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
46757         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46758         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
46759         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
46760         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
46761         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
46762         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
46763         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
46764         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
46765         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
46766         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
46767         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
46768         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
46769         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
46770         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
46771         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
46772         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
46773         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
46774         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
46775         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46776         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46777         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
46778         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
46779         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
46780         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
46781         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
46782         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
46783         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
46784         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
46785         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
46786         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
46787         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
46788         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46789         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
46790         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
46791         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
46792         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
46793         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
46794         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
46795         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
46796         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
46797         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
46798         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
46799         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
46800         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
46801         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
46802         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
46803         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
46804         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
46805         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
46806         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
46807         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
46808         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
46809         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
46810         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
46811         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
46812         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
46813         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
46814         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
46815         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
46816         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
46817         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
46818         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
46819         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
46820         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
46821         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
46822         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
46823         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
46824         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
46825         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
46826         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
46827         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
46828         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
46829         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
46830         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
46831         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
46832         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46833         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
46834         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
46835         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
46836         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
46837         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
46838         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
46839         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
46840         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
46841         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
46842         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
46843         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
46844         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
46845         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
46846         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
46847         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
46848         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
46849         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
46850         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
46851         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
46852         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
46853         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
46854         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
46855         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
46856         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
46857         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
46858         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
46859         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
46860         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
46861         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
46862         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
46863         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
46864         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
46865         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
46866         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
46867         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
46868         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
46869         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
46870         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
46871         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
46872         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
46873         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
46874         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
46875         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
46876         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
46877         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
46878         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
46879         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
46880         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
46881         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
46882         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
46883         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
46884         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
46885         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
46886         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
46887         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
46888         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
46889         * sysdeps/ieee754/k_standard.c: Likewise.
46890         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
46891         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
46892         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
46893         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
46894         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
46895         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
46896         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
46897         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
46898         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
46899         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
46900         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
46901         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
46902         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
46903         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
46904         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
46905         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
46906         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
46907         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
46908         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
46909         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
46910         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
46911         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
46912         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
46913         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
46914         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
46915         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
46916         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
46917         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
46918         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
46919         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
46920         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
46921         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
46922         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
46923         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
46924         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
46925         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
46926         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
46927         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
46928         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
46929         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
46930         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
46931         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
46932         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
46933         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
46934         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
46935         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
46936         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
46937         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
46938         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
46939         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
46940         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
46941         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
46942         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
46943         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
46944         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
46945         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
46946         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
46947         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
46948         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
46949         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
46950         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
46951         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
46952         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
46953         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
46954         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
46955         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
46956         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
46957         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
46958         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
46959         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
46960         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
46961         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
46962         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
46963         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
46964         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
46965         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
46966         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
46967         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
46968         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
46969         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
46970         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
46971         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
46972         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
46973         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
46974         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
46975         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
46976         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
46977         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
46978         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
46979         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
46980         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
46981         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
46982         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
46983         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
46984         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
46985         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
46986         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
46987         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
46988         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
46989         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
46990         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
46991         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
46992         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
46993         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
46994         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
46995         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
46996         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
46997         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
46998         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
46999         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47000         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47001         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47002         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47003         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47004         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47005         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47006         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47007         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47008         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47009         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47010         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47011         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47012         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47013         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47014         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47015         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47016         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47017         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47018         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47019         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47020         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47021         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47022         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47023         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47024         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47025         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47026         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47027         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47028         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47029         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47030         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47031         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47032         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47033         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47034         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47035         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47036         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47037         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47038         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47039         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47040         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47041         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47042         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47043         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47044         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47045         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47046         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47047         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47048         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47049         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47050         * sysdeps/ieee754/s_lib_version.c: Likewise.
47051         * sysdeps/ieee754/s_matherr.c: Likewise.
47052         * sysdeps/ieee754/s_signgam.c: Likewise.
47053         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47054         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47055         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47056         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47057         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47058         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47059         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47060         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47061         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47062         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47063         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47064         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47065         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47066         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47067         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47068         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47069         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47070         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47071         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47072         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47073         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47075 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
47077         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47078         * sunrpc/rpc_main.c: Likewise.
47079         * sunrpc/rpc_svcout.c: Likewise.
47081 2012-03-09  David S. Miller  <davem@davemloft.net>
47083         * include/math_private.h: New file.
47085 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
47087         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47088         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47089         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47090         from <bits/socket_type.h>.
47091         (enum __socket_type): Don't define here.
47092         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47093         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47094         bits/socket_type.h.
47096         [BZ #13566]
47097         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47098         checking __USE_GNU.
47100         * Makerules ($(inst_includedir)/%.h): New rule.
47101         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47102         (install-others): Remove variable setting.
47103         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47105 2012-03-08  Richard Henderson  <rth@twiddle.net>
47107         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47108         from macro to inline function; merge with the
47109         !__LIBC_INTERNAL_MATH_INLINES version.
47110         (__ieee754_sqrtf): Likewise.
47112         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47113         to inline function.
47114         (__rintf, __floor, __floorf): Likewise.
47116         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47117         macro to inline function.
47118         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47120         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47121         not <math/math_private.h>.
47123 2012-03-08  David S. Miller  <davem@davemloft.net>
47125         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47126         copyright year.
47127         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47129 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
47131         * resolv/gai_misc.c (handle_requests): Fix struct timespec
47132         normalization.
47133         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47134         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47136 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
47138         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
47139         be defined individually, they must be defined as a block.  Define
47140         S for printing a string instead of hidint the different by using a
47141         macro for adding the 'l'.
47142         * stdio-common/tst-fphex-wide.c: Adjust.
47144 2012-03-07  Marek Polacek  <polacek@redhat.com>
47146         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47148 2012-03-08  Marek Polacek  <polacek@redhat.com>
47150         [BZ #13806]
47151         * stdio-common/Makefile (tests): Add tst-fphex-wide.
47152         * stdio-common/tst-fphex.c: Define a few macros to make the
47153         test reusable.  Use them.
47154         * stdio-common/tst-fphex-wide.c: New file.
47156 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
47158         [BZ #6911]
47159         * manual/macros.texi (gnusystems): New macro.
47160         (nongnusystems): Likewise.
47161         (gnulinuxhurdsystems): Likewise.
47162         (gnuhurdsystems): Likewise..
47163         (gnulinuxsystems): Likewise.
47164         * manual/charset.texi: Use new macros or @theglibc{} to refer to
47165         variants of the GNU system, not "GNU system".
47166         * manual/conf.texi: Likewise.
47167         * manual/errno.texi: Likewise.  Update example of errno macro
47168         expansion.
47169         * manual/filesys.texi: Likewise.
47170         (getumask): Document as specific to GNU/Hurd.
47171         * manual/install.texi: Likewise.  Reword some references to
47172         GNU/Linux.
47173         * manual/intro.texi: Likewise.
47174         * manual/io.texi: Likewise.
47175         (File Name Portability): Detail which constraints are inapplicable
47176         to all GNU systems and which are only inapplicable to GNU/Hurd.
47177         * manual/job.texi: Likewise.
47178         * manual/llio.texi: Likewise.
47179         (O_NOCTTY): Document as present on GNU/Linux.
47180         * manual/maint.texi: Likewise.
47181         * manual/memory.texi: Likewise.
47182         * manual/pattern.texi: Likewise.
47183         * manual/pipe.texi: Likewise.
47184         * manual/process.texi: Likewise.
47185         * manual/resource.texi: Likewise.
47186         (RUSAGE_CHILDREN): Remove statement about specifying a particular
47187         child on GNU/Hurd.
47188         * manual/setjmp.texi: Likewise.
47189         * manual/signal.texi: Likewise.
47190         * manual/startup.texi: Likewise.
47191         * manual/stdio.texi: Likewise.
47192         * manual/terminal.texi: Likewise.
47193         (ONLCR): Document as POSIX.
47194         (OXTABS): Document availability on GNU/Linux as XTABS.
47195         (ONOEOT): Document availability separately from other bits.
47196         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47197         * manual/time.texi: Likewise.
47198         * manual/users.texi: Likewise.
47199         * INSTALL: Regenerated.
47200         * sysdeps/gnu/errlist.c: Regenerated.
47202         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47203         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47204         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
47205         puts.
47206         * configure: Regenerated.
47208 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
47210         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47211         default includes instead of AC_HEADER_CHECK.
47212         * sysdeps/i386/configure: Regenerated.
47214         [BZ #10716]
47215         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47216         * math/s_cacoshf.c (__cacoshf): Likewise.
47217         * math/s_cacoshl.c (__cacoshl): Likewise.
47218         * math/s_casinh.c (__casinh): Set signs of result from argument.
47219         * math/s_casinhf.c (__casinhf): Likewise.
47220         * math/s_casinhl.c (__casinhl): Likewise.
47221         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47222         (casinh_test): Add more tests.
47223         * sysdeps/i386/fpu/libm-test-ulps: Update.
47224         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47226 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
47228         * po/zh_TW.po: Update from translation team.
47230         * login/Makefile (distribute): Remove variable.
47231         * catgets/Makefile: Likewise.
47232         * mach/Makefile: Likewise.
47233         * malloc/Makefile: Likewise.
47234         * misc/Makefile: Likewise.
47235         * iconv/Makefile: Likewise.
47236         * nscd/Makefile: Likewise.
47237         * hurd/Makefile: Likewise.
47238         * manual/Makefile: Likewise.
47239         * locale/Makefile: Likewise.
47240         * intl/Makefile: Likewise.
47241         * conform/Makefile: Likewise.
47242         * nss/Makefile: Likewise.
47243         * time/Makefile: Likewise.
47244         * soft-fp/Makefile: Likewise.
47245         * dirent/Makefile: Likewise.
47246         * gmon/Makefile: Likewise.
47247         * po/Makefile: Likewise.
47248         * rt/Makefile: Likewise.
47249         * socket/Makefile: Likewise.
47250         * math/Makefile: Likewise.
47251         * signal/Makefile: Likewise.
47252         * debug/Makefile: Likewise.
47253         * elf/Makefile: Likewise.
47254         * timezone/Makefile: Likewise.
47255         * stdlib/Makefile: Likewise.
47256         * iconvdata/Makefile: Likewise.
47257         * sunrpc/Makefile: Likewise.
47258         * io/Makefile: Likewise.
47259         * argp/Makefile: Likewise.
47260         * inet/Makefile: Likewise.
47261         * hesiod/Makefile: Likewise.
47262         * grp/Makefile: Likewise.
47263         * csu/Makefile: Likewise.
47264         * wctype/Makefile: Likewise.
47265         * crypt/Makefile: Likewise.
47266         * libio/Makefile: Likewise.
47267         * string/Makefile: Likewise.
47268         * nis/Makefile: Likewise.
47269         * resolv/Makefile: Likewise.
47270         * stdio-common/Makefile: Likewise.
47271         * wcsmbs/Makefile: Likewise.
47272         * dlfcn/Makefile: Likewise.
47273         * posix/Makefile: Likewise.
47275         [BZ #6959]
47276         * timezone/Makefile: Don't install timezone files, just the programs
47277         and scripts.
47279 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
47281         * nss/databases.def: Add missing gshadow entry.
47283         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
47285 2012-03-06  Marek Polacek  <polacek@redhat.com>
47287         [BZ #13726]
47288         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47289         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47290         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47291         * stdio-common/tst-long-dbl-fphex.c: New file.
47293 2012-03-06  David S. Miller  <davem@davemloft.net>
47295         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47296         (set_obp_int): New function.
47297         (get_obp_int): New function.
47298         (__get_clockfreq_via_dev_openprom): Likewise.
47299         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47300         Avoid unused variable warnings on 'val' and use builtin_expect.
47301         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47302         __builtin_expect.
47303         (INLINE_CLONE_SYSCALL): Likewise.
47305 2012-03-05  David S. Miller  <davem@davemloft.net>
47307         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47309 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
47311         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47313         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47314         only for |x| >= 40.
47315         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47317 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
47319         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47320         Replace gettimeofday with __vdso_gettimeofday.
47322         * sysdeps/unix/sysv/linux/x86_64/init-first.c
47323         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47324         __vdso_clock_gettime and __vdso_getcpu.
47326         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47327         time with __vdso_time.
47329 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
47331         * manual/lang.texi (size_t): Note types to which size_t may be
47332         equivalent with the GNU C Library, but do not describe when
47333         differences between them are significant.
47335 2012-03-05  Andreas Jaeger  <aj@suse.de>
47337         * sysdeps/i386/fpu/libm-test-ulps: Update.
47339 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
47341         [BZ #3976]
47342         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47343         (__ieee754_pow): Save and restore rounding mode and use
47344         round-to-nearest for main computations.
47345         * math/libm-test.inc (pow_test_tonearest): New function.
47346         (pow_test_towardzero): Likewise.
47347         (pow_test_downward): Likewise.
47348         (pow_test_upward): Likewise.
47349         (main): Call the new functions.
47350         * sysdeps/i386/fpu/libm-test-ulps: Update.
47351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47353         [BZ #3976]
47354         * math/libm-test.inc (cosh_test_tonearest): New function.
47355         (cosh_test_towardzero): Likewise.
47356         (cosh_test_downward): Likewise.
47357         (cosh_test_upward): Likewise.
47358         (sinh_test_tonearest): Likewise.
47359         (sinh_test_towardzero): Likewise.
47360         (sinh_test_downward): Likewise.
47361         (sinh_test_upward): Likewise.
47362         (main): Call the new functions.
47363         * sysdeps/i386/fpu/libm-test-ulps: Update.
47364         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47366 2012-03-05  Tom de Vries  <tom@codesourcery.com>
47368         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47369         default stack guard is set in last bytes.
47370         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47372 2012-03-05  Kees Cook  <keescook@chromium.org>
47374         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
47376         [BZ #13656]
47377         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47378         possibly allocate from heap instead of stack.
47379         * stdio-common/bug-vfprintf-nargs.c: New file.
47380         * stdio-common/Makefile (tests): Add nargs overflow test.
47382 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
47384         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47386 2012-03-03  Marek Polacek  <polacek@redhat.com>
47388         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47389         * math/math_private.h: Likewise.
47390         * stdlib/tst-strtod.c: Likewise.
47391         * sysdeps/i386/i486/bits/atomic.h: Likewise.
47392         * sysdeps/x86_64/bits/atomic.h: Likewise.
47394 2012-03-02  David S. Miller  <davem@davemloft.net>
47396         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47397         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47398         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47399         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47400         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47401         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47402         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47403         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47405 2012-03-02  Roland McGrath  <roland@hack.frob.com>
47407         [BZ #13792]
47408         * manual/examples/README: New file, says the example source files
47409         can be used under GPL>=2.
47410         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47411         line containing just "*/".
47412         * manual/examples/add.c: Add copyright header (GPL>=2).
47413         * manual/examples/argp-ex1.c: Likewise.
47414         * manual/examples/argp-ex2.c: Likewise.
47415         * manual/examples/argp-ex3.c: Likewise.
47416         * manual/examples/argp-ex4.c: Likewise.
47417         * manual/examples/atexit.c: Likewise.
47418         * manual/examples/db.c: Likewise.
47419         * manual/examples/dir.c: Likewise.
47420         * manual/examples/dir2.c: Likewise.
47421         * manual/examples/execinfo.c: Likewise.
47422         * manual/examples/filecli.c: Likewise.
47423         * manual/examples/filesrv.c: Likewise.
47424         * manual/examples/fmtmsgexpl.c: Likewise.
47425         * manual/examples/genpass.c: Likewise.
47426         * manual/examples/inetcli.c: Likewise.
47427         * manual/examples/inetsrv.c: Likewise.
47428         * manual/examples/isockad.c: Likewise.
47429         * manual/examples/longopt.c: Likewise.
47430         * manual/examples/memopen.c: Likewise.
47431         * manual/examples/memstrm.c: Likewise.
47432         * manual/examples/mkfsock.c: Likewise.
47433         * manual/examples/mkisock.c: Likewise.
47434         * manual/examples/mygetpass.c: Likewise.
47435         * manual/examples/pipe.c: Likewise.
47436         * manual/examples/popen.c: Likewise.
47437         * manual/examples/rprintf.c: Likewise.
47438         * manual/examples/search.c: Likewise.
47439         * manual/examples/select.c: Likewise.
47440         * manual/examples/setjmp.c: Likewise.
47441         * manual/examples/sigh1.c: Likewise.
47442         * manual/examples/sigusr.c: Likewise.
47443         * manual/examples/stpcpy.c: Likewise.
47444         * manual/examples/strdupa.c: Likewise.
47445         * manual/examples/strftim.c: Likewise.
47446         * manual/examples/strncat.c: Likewise.
47447         * manual/examples/subopt.c: Likewise.
47448         * manual/examples/swapcontext.c: Likewise.
47449         * manual/examples/termios.c: Likewise.
47450         * manual/examples/testopt.c: Likewise.
47451         * manual/examples/testpass.c: Likewise.
47452         * manual/examples/timeval_subtract.c: Likewise.
47454         [BZ #13792]
47455         * manual/time.texi (Elapsed Time): Move timeval_subtract example
47456         function to ...
47457         * manual/timeval_subtract.c.texi: ... here, new file.
47459 2012-03-02  David S. Miller  <davem@davemloft.net>
47461         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
47463 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
47465         [BZ #3976]
47466         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
47467         (__sin): Save and restore rounding mode and use round-to-nearest
47468         for all computations.
47469         (__cos): Save and restore rounding mode and use round-to-nearest
47470         for all computations.
47471         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
47472         <fenv.h>.
47473         (tan): Save and restore rounding mode and use round-to-nearest for
47474         all computations.
47475         * math/libm-test.inc (cos_test_tonearest): New function.
47476         (cos_test_towardzero): Likewise.
47477         (cos_test_downward): Likewise.
47478         (cos_test_upward): Likewise.
47479         (sin_test_tonearest): Likewise.
47480         (sin_test_towardzero): Likewise.
47481         (sin_test_downward): Likewise.
47482         (sin_test_upward): Likewise.
47483         (tan_test_tonearest): Likewise.
47484         (tan_test_towardzero): Likewise.
47485         (tan_test_downward): Likewise.
47486         (tan_test_upward): Likewise.
47487         (main): Call the new functions.
47488         * sysdeps/i386/fpu/libm-test-ulps: Update.
47489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47491         [BZ #10135]
47492         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
47493         small n, then large n, before computing and testing k+n.
47494         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47495         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
47496         Likewise.
47497         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
47498         Likewise.
47499         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
47500         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
47501         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
47502         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
47503         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
47504         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
47505         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
47506         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
47507         * math/libm-test.inc (scalbn_test): Add more tests.
47508         (scalbln_test): Likewise.
47510         * manual/filesys.texi (mode_t): Describe constraints on size and
47511         signedness, not exact equivalence to a particular type.
47512         (ino_t): Likewise.
47513         (ino64_t): Likewise.
47514         (dev_t): Likewise.
47515         (nlink_t): Likewise.
47516         (blkcnt_t): Likewise.
47517         (blkcnt64_t): Likewise.
47518         * manual/llio.texi (off_t): Likewise.
47520         [BZ #3976]
47521         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
47522         (__ieee754_exp): Save and restore rounding mode and use
47523         round-to-nearest for all computations.
47524         * math/libm-test.inc (exp_test_tonearest): New function.
47525         (exp_test_towardzero): Likewise.
47526         (exp_test_downward): Likewise.
47527         (exp_test_upward): Likewise.
47528         (main): Call the new functions.
47529         * sysdeps/i386/fpu/libm-test-ulps: Update.
47530         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47532 2012-03-01  Chris Demetriou  <cgd@google.com>
47534         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
47535         have predictable order.
47537 2012-03-01  David S. Miller  <davem@davemloft.net>
47539         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
47541         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
47542         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
47543         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
47544         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
47546         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
47547         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
47548         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
47549         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
47550         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
47551         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
47552         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
47553         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
47554         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
47556         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47558         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
47559         * sysdeps/sparc/fpu/libm-test-ulps: to here.
47560         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
47562         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
47563         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
47564         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
47565         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
47566         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
47567         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
47568         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
47569         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
47570         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
47571         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
47572         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
47573         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
47574         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
47575         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
47576         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
47577         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
47578         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
47579         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
47580         * sysdeps/sparc/elf/configure: Regenerated.
47582 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
47584         * configure.in (AS, LD): Require binutils 2.20 or later.
47585         * configure: Regenerated.
47586         * manual/install.texi (Tools for Compilation): Give binutils 2.20
47587         as required minimum version.
47588         * INSTALL: Regenerated.
47590         [BZ #2541]
47591         [BZ #4108]
47592         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
47593         before squaring exponent.
47594         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
47595         bottom long double and 27 bits of top long double before squaring
47596         exponent.
47597         * math/libm-test.inc (erfc_test): Add more tests.
47598         * sysdeps/i386/fpu/libm-test-ulps: Update.
47599         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
47600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47602 2012-03-01  Kai Tietz  <ktietz@redhat.com>
47604         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
47605         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
47606         containing bit-fields.
47607         * soft-fp/extended.h (_FP_UNION_E): Likewise.
47608         * soft-fp/single.h (_FP_UNION_S): Likewise.
47609         * soft-fp/double.h (_FP_UNION_D): Likewise.
47611 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
47613         [BZ #13786]
47614         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
47615         not include ../strcmp.S.
47616         [USE_AS_STRNCASECMP_L]: Likewise.
47617         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
47618         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
47619         * sysdeps/i386/i686/multiarch/strncase_l-c.c
47620         (__strncasecmp_l_ia32): Define as alias to
47621         __strncasecmp_l_nonascii.
47623         [BZ #5794]
47624         * math/libm-test.inc (expm1_test): Add test for bug 5794.
47625         * sysdeps/i386/fpu/libm-test-ulps: Update.
47626         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47628         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
47629         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47631 2012-02-29  Jeff Law  <law@redhat.com>
47633         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
47634         out of bounds read.
47636 2012-02-29  Marek Polacek  <polacek@redhat.com>
47638         [BZ #13706]
47639         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
47640         * elf/Makefile: Add rules to run tst-unused-dep.out.
47642 2012-02-28  David S. Miller  <davem@davemloft.net>
47644         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
47645         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
47646         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
47647         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
47648         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
47649         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
47651 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
47653         * math/libm-test.inc (llround_test): Move one test from
47654         lround_test.  Use TEST_f_L in moved test.
47655         (lround_test): Move misplaced test to llround_test.  Add testcase
47656         from bug 2561.
47658 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
47660         * sysdeps/x86_64/fpu/e_expf.S: New file.
47661         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
47663 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
47665         [BZ #13637]
47666         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
47667         of remain_len that may cause incomplete multi-byte character and
47668         false match.
47669         * posix/bug-regex33.c: New file.
47670         * posix/Makefile (tests): Add bug-regex33.
47672 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
47674         * manual/macros.texi: New file.
47675         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
47676         * manual/libc.texinfo: Include macros.texi.
47677         * manual/creatute.texi: Likewise.
47678         * manual/install.texi: Likewise.
47679         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
47680         @glibcadj{} in references to the GNU C Library.
47681         * manual/charset.texi: Likewise.
47682         * manual/conf.texi: Likewise.
47683         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
47684         when not using those macros.
47685         * manual/creature.texi: Likewise.
47686         * manual/crypt.texi: Likewise.
47687         * manual/errno.texi: Likewise.
47688         * manual/filesys.texi: Likewise.
47689         * manual/header.texi: Likewise.
47690         * manual/install.texi: Likewise.
47691         * manual/intro.texi: Likewise.
47692         * manual/io.texi: Likewise.
47693         * manual/job.texi: Likewise.
47694         * manual/lang.texi: Likewise.
47695         * manual/libc.texiinfo: Likewise.
47696         * manual/llio.texi: Likewise.
47697         * manual/locale.texi: Likewise.
47698         * manual/maint.texi: Likewise.
47699         * manual/math.texi: Likewise.
47700         * manual/memory.texi: Likewise.
47701         * manual/message.texi: Likewise.
47702         * manual/nss.texi: Likewise.
47703         * manual/pattern.texi: Likewise.
47704         * manual/process.texi: Likewise.
47705         * manual/resource.texi: Likewise.
47706         * manual/search.texi: Likewise.
47707         * manual/setjmp.texi: Likewise.
47708         * manual/signal.texi: Likewise.
47709         * manual/socket.texi: Likewise.
47710         * manual/startup.texi: Likewise.
47711         * manual/stdio.texi: Likewise.
47712         * manual/string.texi: Likewise.
47713         * manual/sysinfo.texi: Likewise.
47714         * manual/syslog.texi: Likewise.
47715         * manual/terminal.texi: Likewise.
47716         * manual/time.texi: Likewise.
47717         * manual/users.texi: Likewise.
47718         * INSTALL: Regenerated.
47719         * NOTES: Regenerated.
47720         * sysdeps/gnu/errlist.c: Regenerated.
47722 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
47724         * include/dirent.h: Include <dirstream.h> before
47725         <dirent/dirent.h>.
47727 2012-02-28  David S. Miller  <davem@davemloft.net>
47729         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
47730         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
47731         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
47732         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
47734 2012-02-27  David S. Miller  <davem@davemloft.net>
47736         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
47737         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
47738         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
47739         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
47741         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
47742         frame pointer instead of stack pointer relative arg slot.
47743         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47744         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47745         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47747 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
47749         [BZ #3992]
47750         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
47752 2012-02-27  David S. Miller  <davem@davemloft.net>
47754         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
47755         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
47756         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
47757         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
47758         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
47759         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
47760         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
47761         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
47763 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
47765         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
47766         later.  Allow versions 5-9.
47767         * configure: Regenerated.
47768         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
47769         required minimum version and 4.6 as recommended version.  Do not
47770         mention bugs in GCC 2.7 and 2.8.
47771         * INSTALL: Regenerated.
47773 2012-02-27  David S. Miller  <davem@davemloft.net>
47775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
47776         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
47777         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
47778         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
47779         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
47780         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
47781         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
47782         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
47784         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
47785         manipulate bits before adding and subtracting TWO112[sx].
47786         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
47788 2012-02-27  Roland McGrath  <roland@hack.frob.com>
47790         [BZ #13775]
47791         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
47792         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
47793         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
47794         being in POSIX, because they are in 1003.1-2008.
47796         * rt/tst-aio.c: Include <fcntl.h>.
47797         * rt/tst-aio7.c: Likewise.
47798         * rt/tst-aio64.c: Likewise.
47800         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
47802 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
47804         * manual/install.texi (--with-headers): Describe headers as
47805         interface headers, not private headers.
47806         (Specific advice for GNU/Linux systems): Describe use of headers
47807         from "make headers_install", not private headers from older
47808         kernels.
47809         * INSTALL: Regenerated.
47810         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
47811         Change to 2.6.19.
47812         * sysdeps/unix/sysv/linux/configure: Regenerated.
47814         * manual/llio.texi (fclean): Remove documentation.
47816         * manual/Makefile (libc-texi-generated): New variable.  Include
47817         version.texi.
47818         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
47819         $(libc-texi-generated), not duplicated list of files.
47820         (version.texi, stamp-version): New rules.
47821         (realclean): Remove $(libc-texi-generated), not individual files
47822         from that list.  Do not remove dir-add.texinfo.
47823         * manual/libc.texinfo: Comment out uses of edition numbers and
47824         references to printed manual.  Remove last-updated dates.
47825         (EDITION): Comment out.
47826         (ISBN): Likewise.
47827         (VERSION, UPDATED): Remove.
47828         (version.texi): Include.
47830 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
47832         * sysdeps/posix/spawni.c: Include <signal.h>.
47833         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
47834         * sysdeps/pthread/aio_fsync.c: Likewise.
47836 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
47838         * conform/Makefile (tests): Run only when not cross-compiling and
47839         when fast-check is not defined.
47841         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
47842         * conform/data/limits.h-data: Fixes for POSIX2008.
47843         * conform/run-conformtest.sh: Run all tests.
47844         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
47845         headers.
47846         * include/bits/dlfcn.h: Likewise.
47847         * include/langinfo.h: Likewise.
47848         * include/monetary.h: Likewise.
47849         * include/sys/poll.h: Likewise.
47851         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
47852         for __USE_GNU.
47853         * posix/spawn.h: Define __need_sigset_t.
47854         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
47855         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
47856         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
47857         to get sigevent_t only.
47858         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
47859         only for __USE_GNU.
47860         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47861         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
47862         process_vm_writev only for __USE_GNU.
47863         * termios/termios.h: Declare tcgetsid also for POSIX2008.
47865         * conform/Makefile: For now ignore errors from run-conformtest.
47866         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
47867         POSIX to avoid namespace pollution.  Don't prepend headers.
47868         * conform/data/aio.h-data: Fixes for POSIX testing.
47869         * conform/data/fcntl.h-data: Likewise.
47870         * conform/data/glob.h-data: Likewise.
47871         * conform/data/grp.h-data: Likewise.
47872         * conform/data/pthread.h-data: Likewise.
47873         * conform/data/pwd.h-data: Likewise.
47874         * conform/data/signal.h-data: Likewise.
47875         * conform/data/spawn.h-data: Likewise.
47876         * conform/data/stdio.h-data: Likewise.
47877         * conform/data/stdlib.h-data: Likewise.
47878         * conform/data/stropts.h-data: Likewise.
47879         * conform/data/sys/mman.h-data: Likewise.
47880         * conform/data/sys/stat.h-data: Likewise.
47881         * conform/data/sys/types.h-data: Likewise.
47882         * conform/data/sys/wait.h-data: Likewise.
47883         * conform/data/time.h-data: Likewise.
47884         * conform/data/unistd.h-data: Likewise.
47885         * conform/data/utime.h-data: Likewise.
47887         * io/sys/stat.h: fchmod was always in POSIX.
47888         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
47889         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
47890         * rt/aio.h: Define __need_timespec before including <time.h>.
47891         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
47892         struct.  Add forward declaration of pthread_attr_t and use it in
47893         sigevent.
47894         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
47895         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
47896         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
47897         always remove CLK_TCK definition.
47899 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
47901         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
47903 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
47905         * conform/run-conformtest.sh: New file.
47906         * conform/Makefile: Run run-conformtest for tests.
47907         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
47908         support.
47910         * conform/data/uchar.h-data: New file.
47911         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
47912         * conform/data/arpa/inet.h-data: Likewise.
47913         * conform/data/assert.h-data: Likewise.
47914         * conform/data/complex.h-data: Likewise.
47915         * conform/data/cpio.h-data: Likewise.
47916         * conform/data/ctype.h-data: Likewise.
47917         * conform/data/dirent.h-data: Likewise.
47918         * conform/data/dlfcn.h-data: Likewise.
47919         * conform/data/errno.h-data: Likewise.
47920         * conform/data/fcntl.h-data: Likewise.
47921         * conform/data/float.h-data: Likewise.
47922         * conform/data/fmtmsg.h-data: Likewise.
47923         * conform/data/fnmatch.h-data: Likewise.
47924         * conform/data/ftw.h-data: Likewise.
47925         * conform/data/glob.h-data: Likewise.
47926         * conform/data/grp.h-data: Likewise.
47927         * conform/data/iconv.h-data: Likewise.
47928         * conform/data/inttypes.h-data: Likewise.
47929         * conform/data/langinfo.h-data: Likewise.
47930         * conform/data/libgen.h-data: Likewise.
47931         * conform/data/limits.h-data: Likewise.
47932         * conform/data/locale.h-data: Likewise.
47933         * conform/data/math.h-data: Likewise.
47934         * conform/data/monetary.h-data: Likewise.
47935         * conform/data/mqueue.h-data: Likewise.
47936         * conform/data/ndbm.h-data: Likewise.
47937         * conform/data/net/if.h-data: Likewise.
47938         * conform/data/netdb.h-data: Likewise.
47939         * conform/data/netinet/in.h-data: Likewise.
47940         * conform/data/nl_types.h-data: Likewise.
47941         * conform/data/poll.h-data: Likewise.
47942         * conform/data/pthread.h-data: Likewise.
47943         * conform/data/pwd.h-data: Likewise.
47944         * conform/data/regex.h-data: Likewise.
47945         * conform/data/sched.h-data: Likewise.
47946         * conform/data/search.h-data: Likewise.
47947         * conform/data/semaphore.h-data: Likewise.
47948         * conform/data/setjmp.h-data: Likewise.
47949         * conform/data/signal.h-data: Likewise.
47950         * conform/data/spawn.h-data: Likewise.
47951         * conform/data/stdarg.h-data: Likewise.
47952         * conform/data/stdio.h-data: Likewise.
47953         * conform/data/stdlib.h-data: Likewise.
47954         * conform/data/string.h-data: Likewise.
47955         * conform/data/strings.h-data: Likewise.
47956         * conform/data/stropts.h-data: Likewise.
47957         * conform/data/sys/ipc.h-data: Likewise.
47958         * conform/data/sys/mman.h-data: Likewise.
47959         * conform/data/sys/msg.h-data: Likewise.
47960         * conform/data/sys/resource.h-data: Likewise.
47961         * conform/data/sys/select.h-data: Likewise.
47962         * conform/data/sys/sem.h-data: Likewise.
47963         * conform/data/sys/shm.h-data: Likewise.
47964         * conform/data/sys/socket.h-data: Likewise.
47965         * conform/data/sys/stat.h-data: Likewise.
47966         * conform/data/sys/statvfs.h-data: Likewise.
47967         * conform/data/sys/time.h-data: Likewise.
47968         * conform/data/sys/timeb.h-data: Likewise.
47969         * conform/data/sys/times.h-data: Likewise.
47970         * conform/data/sys/types.h-data: Likewise.
47971         * conform/data/sys/uio.h-data: Likewise.
47972         * conform/data/sys/un.h-data: Likewise.
47973         * conform/data/sys/utsname.h-data: Likewise.
47974         * conform/data/sys/wait.h-data: Likewise.
47975         * conform/data/syslog.h-data: Likewise.
47976         * conform/data/tar.h-data: Likewise.
47977         * conform/data/termios.h-data: Likewise.
47978         * conform/data/utime.h-data: Likewise.
47979         * conform/data/utmpx.h-data: Likewise.
47980         * conform/data/varargs.h-data: Likewise.
47981         * conform/data/wchar.h-data: Likewise.
47982         * conform/data/wctype.h-data: Likewise.
47983         * conform/data/wordexp.h-data: Likewise.
47985         * include/stropts.h: New file.
47986         * include/uchar.h: New file.
47987         * include/aio.h: Changes to allow conformtest.pl to use the headers.
47988         * include/assert.h: Likewise.
47989         * include/ctype.h: Likewise.
47990         * include/dirent.h: Likewise.
47991         * include/dlfcn.h: Likewise.
47992         * include/fcntl.h: Likewise.
47993         * include/fnmatch.h: Likewise.
47994         * include/glob.h: Likewise.
47995         * include/grp.h: Likewise.
47996         * include/libio.h: Likewise.
47997         * include/locale.h: Likewise.
47998         * include/math.h: Likewise.
47999         * include/net/if.h: Likewise.
48000         * include/netdb.h: Likewise.
48001         * include/netinet/in.h: Likewise.
48002         * include/pthread.h: Likewise.
48003         * include/pwd.h: Likewise.
48004         * include/regex.h: Likewise.
48005         * include/sched.h: Likewise.
48006         * include/search.h: Likewise.
48007         * include/setjmp.h: Likewise.
48008         * include/signal.h: Likewise.
48009         * include/stdio.h: Likewise.
48010         * include/stdlib.h: Likewise.
48011         * include/string.h: Likewise.
48012         * include/sys/cdefs.h: Likewise.
48013         * include/sys/mman.h: Likewise.
48014         * include/sys/msg.h: Likewise.
48015         * include/sys/resource.h: Likewise.
48016         * include/sys/select.h: Likewise.
48017         * include/sys/socket.h: Likewise.
48018         * include/sys/stat.h: Likewise.
48019         * include/sys/statvfs.h: Likewise.
48020         * include/sys/time.h: Likewise.
48021         * include/sys/times.h: Likewise.
48022         * include/sys/uio.h: Likewise.
48023         * include/sys/utsname.h: Likewise.
48024         * include/sys/wait.h: Likewise.
48025         * include/termios.h: Likewise.
48026         * include/time.h: Likewise.
48027         * include/ulimit.h: Likewise.
48028         * include/unistd.h: Likewise.
48029         * include/utime.h: Likewise.
48030         * include/wchar.h: Likewise.
48031         * include/wctype.h: Likewise.
48032         * include/wordexp.h: Likewise.
48034         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48036         * time/time.h: TIME_UTC must be a macro.
48037         Make timespec_get available for ISO C11 only as well.
48039 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
48041         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48042         Reported by Peng Haitao <penght@cn.fujitsu.com>.
48044 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48046         * configure.in: Use -o not -a in test for unsupported multi-arch.
48048 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48050         * manual/texinfo.tex: Update to version 2012-01-19.16.
48052 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48054         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48056 2012-02-24  Roland McGrath  <roland@hack.frob.com>
48058         [BZ #13738]
48059         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48060         * manual/fdl-1.3.texi: New file.
48061         * manual/fdl-1.1.texi: File removed.
48063         [BZ #13738]
48064         * manual/libc.texinfo (FDL_VERSION): New @set.
48065         Use it for mention of FDL in cover text.
48066         (Documentation License): Use it in @include file name.
48068 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48069             Roland McGrath  <roland@hack.frob.com>
48071         [BZ #5461]
48072         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48073         (not LONG_LONG_MAX and LONG_LONG_MIN.
48074         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48075         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
48076         name.
48077         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48079 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48081         [BZ #2547]
48082         [BZ #11365]
48083         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48084         manipulate bits before adding and subtracting TWO23[sx].
48085         * math/libm-test.inc (nearbyint_test): Add more tests.
48087 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48089         [BZ #2548]
48090         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48091         bits before adding and subtracting TWO23[sx].
48092         * math/libm-test.inc (rint_test): Add more tests.
48093         (rint_test_tonearest): Likewise.
48094         (rint_test_towardzero): Likewise.
48095         (rint_test_downward): Likewise.
48096         (rint_test_upward: Likewise.
48098 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48100         [BZ #10110]
48101         * include/stdc-predef.h: New file.  Extracted from features.h.
48102         * include/features.h: Include stdc-predef.h.
48103         * Makefile (headers): Add stdc-predef.h.
48104         * CONFORMANCE (Compiler limitations): Update.
48106 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48108         * manual/libc.texinfo (VERSION, UPDATED): Revert.
48110 2012-02-21  David S. Miller  <davem@davemloft.net>
48112         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48113         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48115 2012-02-20  David S. Miller  <davem@davemloft.net>
48117         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48118         using a normal save/restore sequence, rather than allocating a
48119         dummy stack frame just to store a frame pointer and restore.
48120         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48122 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48124         * manual/install.texi: Fix stray word in line-wrapped comment.
48126 2012-02-20  David S. Miller  <davem@davemloft.net>
48128         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48129         both binutils and gcc support GOTDATA.
48131         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48132         "rd %pc" in the PIC register setup sequences.
48134         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48135         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48136         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48137         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48138         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48139         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48140         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48141         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48142         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48143         (SYSCALL_ERROR_HANDLER): Likewise.
48144         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48145         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48146         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48147         (SYSCALL_ERROR_HANDLER): Likewise.
48149         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48150         (HAVE_GCC_GOTDATA): New.
48151         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48152         relocation support in both binutils and gcc.
48153         * sysdeps/sparc/elf/configure: Regenerate.
48155         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48156         * sysdeps/sparc/sparc32/elf/configure: Delete.
48157         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48158         * sysdeps/sparc/sparc64/elf/configure: Delete.
48159         * sysdeps/sparc/elf/configure.in: New file.
48160         * sysdeps/sparc/elf/configure: Generate.
48162         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48163         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48164         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48165         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48166         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48168 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48170         * manual/install.texi: Do not mention specific glibc version
48171         numbers.
48172         * manual/libc.texinfo (VERSION, UPDATED): Update.
48173         (@copying): Use @copyright{} and range of years.
48175 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48177         [BZ #13695]
48178         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48179         [crti.S not in sysdirs] (generated): Do not append.
48180         [crti.S not in sysdirs] (omit-deps): Likewise.
48181         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48182         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48183         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48184         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48185         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48186         Likewise.
48187         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48188         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48189         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48190         * csu/defs.awk: Remove file.
48191         * sysdeps/generic/initfini.c: Likewise.
48192         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48193         variable.
48194         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48195         Likewise.
48197 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
48199         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48200         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48201         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48202         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48203         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48204         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48205         <bits/epoll.h>.
48206         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48207         (__EPOLL_PACKED): Define to empty if not defined by
48208         <bits/epoll.h>.
48209         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48210         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48211         bits/epoll.h.
48213 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
48215         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48216         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48217         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48218         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48219         <bits/timerfd.h>.
48220         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48221         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48222         bits/timerfd.h.
48224 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
48226         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48227         in C locale.
48228         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48229         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48230         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48231         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48233 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
48235         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48236         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48238 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
48240         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48241         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48242         defined.
48243         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48244         Likewise.
48245         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48246         entry for 2.16.
48248 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
48250         * math/w_acos.c: Use non-signaling floating-point comparisons.
48251         * math/w_acosf.c: Likewise.
48252         * math/w_acosh.c: Likewise.
48253         * math/w_acoshf.c: Likewise.
48254         * math/w_acoshl.c: Likewise.
48255         * math/w_acosl.c: Likewise.
48256         * math/w_asin.c: Likewise.
48257         * math/w_asinf.c: Likewise.
48258         * math/w_asinl.c: Likewise.
48259         * math/w_atanh.c: Likewise.
48260         * math/w_atanhf.c: Likewise.
48261         * math/w_atanhl.c: Likewise.
48262         * math/w_exp2.c: Likewise.
48263         * math/w_exp2f.c: Likewise.
48264         * math/w_exp2l.c: Likewise.
48265         * math/w_j0.c: Likewise.
48266         * math/w_j0f.c: Likewise.
48267         * math/w_j0l.c: Likewise.
48268         * math/w_j1.c: Likewise.
48269         * math/w_j1f.c: Likewise.
48270         * math/w_j1l.c: Likewise.
48271         * math/w_jn.c: Likewise.
48272         * math/w_jnf.c: Likewise.
48273         * math/w_log.c: Likewise.
48274         * math/w_log10.c: Likewise.
48275         * math/w_log10f.c: Likewise.
48276         * math/w_log10l.c: Likewise.
48277         * math/w_log2.c: Likewise.
48278         * math/w_log2f.c: Likewise.
48279         * math/w_log2l.c: Likewise.
48280         * math/w_logf.c: Likewise.
48281         * math/w_logl.c: Likewise.
48282         * math/w_sqrt.c: Likewise.
48283         * math/w_sqrtf.c: Likewise.
48284         * math/w_sqrtl.c: Likewise.
48285         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48286         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48287         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48288         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48289         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48291 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48293         [BZ #9739]
48294         * manual/string.texi (strnlen): Use correct parameter name in
48295         equivalent expression.
48297 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48299         [BZ #11174]
48300         * manual/users.texi (seteuid): Consistently use neweuid for
48301         argument name.
48303 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48305         [BZ #13704]
48306         * manual/nss.texi (Services in the NSS configuration): Correct
48307         list of services in example configuration file.
48309 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
48311         [BZ #11322]
48312         * manual/arith.texi: Remove statements about negative zero
48313         behaving identically to zero.
48315 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
48317         [BZ #5993]
48318         * manual/install.texi: Do not document upgrading from libc5.
48320 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
48322         [BZ #4596]
48323         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48325 2012-02-18  David S. Miller  <davem@davemloft.net>
48327         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48328         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48329         %o7 across the call.
48330         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48331         instead.
48332         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48333         SETUP_PIC_REG_LEAF.
48334         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48335         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48336         * sysdeps/sparc/crtn.S: Likewise.
48338 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
48340         * aout/Makefile: Remove.
48342 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
48344         [BZ #13058]
48345         * manual/examples/argp-ex1.c (main): Format definition in GNU
48346         style.
48347         * manual/examples/argp-ex2.c (main): Likewise.
48348         * manual/examples/argp-ex3.c (main): Likewise.
48349         * manual/examples/argp-ex4.c (main): Likewise.
48350         * manual/examples/longopt.c (main): Use new-style prototype
48351         definition.
48352         * manual/examples/strncat.c (main): Specify return type and use
48353         (void) for arguments.
48354         * manual/examples/subopt.c (main): Use char **argv argument.
48356 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48358         [BZ #5077]
48359         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48360         rounding modes.
48362 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
48364         [BZ #6907]
48365         * manual/string.texi (strchr): Change when strchrnul is
48366         recommended.
48368 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
48370         [BZ #174]
48371         * manual/locale.texi (setlocale): Document LOCPATH.
48373 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48375         [BZ #10210]
48376         * manual/process.texi (execle): Move @dots{} before last argument.
48378 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
48380         [BZ #12047]
48381         * manual/charset.texi (Generic Charset Conversion): Fix typo
48382         (LC_TYPE -> LC_CTYPE).
48384 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
48386         [BZ #5805]
48387         * manual/arith.texi (scalbn): Use @var{} on parameter names.
48388         (scalbnf): Likewise.
48389         (scalbnl): Likewise.
48390         (scalbln): Likewise.
48391         (scalblnf): Likewise.
48392         (scalblnl): Likewise.
48393         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48394         (vwarnx): Likewise.
48395         (verr): Likewise.
48396         (verrx): Likewise.
48397         * manual/filesys.texi (telldir): Use braces around return type.
48398         * manual/llio.texi (mmap): Add space after comma.
48399         (mmap64): Likewise.
48400         * manual/math.texi (jn): Use @var{} on parameter names.
48401         (jnf): Likewise.
48402         (jnl): Likewise.
48403         (yn): Likewise.
48404         (ynf): Likewise.
48405         (ynl): Likewise.
48406         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48407         line.
48408         * manual/resource.texi (ulimit): Use @dots{} instead of literal
48409         "...".
48410         (sched_get_priority_min): Remove semicolon on @deftypefun line.
48411         (sched_get_priority_max): Likewise.
48412         * manual/signal.texi (sigvec): Add space after comma.
48413         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48414         names.
48415         (if_indextoname): Likewise.
48416         (if_freenameindex): Likewise.
48417         (sendto): Use ',' instead of '.' in prototype.
48418         * manual/startup.texi (syscall): Use @dots{} instead of literal
48419         "...".
48420         * manual/stdio.texi (__fpending): Separate initial words of
48421         paragraph from @deftypefun line.
48422         * manual/syslog.texi (syslog): Use @dots{} instead of literal
48423         "...".
48424         (vsyslog): Use @var{} on parameter names.
48425         * manual/terminal.texi (stty): Use @var{} on parameter names.
48426         * manual/users.texi (getutmp): Use @var{} on parameter names.
48427         (getutmpx): Likewise.
48429 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48431         [BZ #6884]
48432         * manual/stdio.texi (fopen): Fix typos in description of
48433         ",ccs=STRING".
48435 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
48437         [BZ #4026]
48438         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
48439         get clock_id definition.
48441 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
48443         [BZ #4822]
48444         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
48445         (madvise): Cast every argument to void on its own.
48447 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48449         [BZ #9902]
48450         * manual/startup.texi (Exit Status): Fix typo.
48452 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48454         [BZ #10140]
48455         * manual/examples/argp-ex1.c: Include <stdlib.h>.
48456         * manual/examples/argp-ex2.c: Likewise.
48457         * manual/examples/argp-ex3.c: Likewise.
48459 2012-02-16  Richard Henderson  <rth@redhat.com>
48461         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
48462         * sysdeps/s390/s390-32/initfini.c: Remove.
48463         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
48464         * sysdeps/s390/s390-64/initfini.c: Remove.
48466 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
48468         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
48469         compiler output for sysdeps/generic/initfini.c.
48470         * sysdeps/sh/elf/initfini.c: Remove file.
48472 2012-02-16  David S. Miller  <davem@davemloft.net>
48474         [BZ #11494]
48475         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
48477         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
48478         * sysdeps/sparc/crti.S: New file.
48479         * sysdeps/sparc/crtn.S: New file.
48480         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
48481         * sysdeps/sparc/sparc64/Makefile: Likewise.
48483 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
48485         [BZ #3335]
48486         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
48488 2012-02-15  Roland McGrath  <roland@hack.frob.com>
48490         [BZ #4822]
48491         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
48493         * mach/devstream.c (cookie_io_functions_t): Macro removed.
48494         (write, read, close): Likewise.
48495         Patch by Aurelien Jarno <aurelien@aurel32.net>.
48497 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
48499         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
48500         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
48501         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
48502         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
48503         <bits/signalfd.h>.
48504         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
48505         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48506         bits/signalfd.h.
48508 2012-02-14  Marek Polacek  <polacek@redhat.com>
48510         * sysdeps/x86_64/crti.S: New file.
48511         * sysdeps/x86_64/crtn.S: New file.
48512         * sysdeps/x86_64/elf/initfini.c: Remove file.
48514 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
48516         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
48517         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
48518         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
48519         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
48520         <bits/inotify.h>.
48521         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
48522         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48523         bits/inotify.h.
48525 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
48527         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
48528         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
48529         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
48530         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
48531         <bits/eventfd.h>.
48532         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
48533         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48534         bits/eventfd.h.
48536 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
48538         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
48539         __feraiseexcept instead of feraiseexcept.
48541         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
48542         nanosleep invocations.
48543         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
48544         strings, and add error checking for a nanosleep invocations.
48546 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
48548         Replace FSF snail mail address with URLs, as per GNU coding standards.
48549         Most of the snail mail addresses were wrong anyway, and omitting
48550         them makes the source code easier to maintain.  Almost all of the
48551         changes are to license notices and to locale LC_IDENTIFICATION
48552         addresses, except for this one:
48553         * manual/libc.texinfo: In "Published by", give the FSF's URL,
48554         not its snail mail address.
48556 2012-02-09  Richard Henderson  <rth@twiddle.net>
48558         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
48559         of kernel-features.h.
48561         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
48563 2012-02-08  Marek Polacek  <polacek@redhat.com>
48565         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
48566         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
48567         * sysdeps/gnu/_G_config.h: Likewise.
48568         * sysdeps/generic/_G_config.h: Likewise.
48570 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
48572         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
48573         tests.
48574         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48576         * sysdeps/powerpc/powerpc32/crti.S: New file.
48577         * sysdeps/powerpc/powerpc32/crtn.S: New file.
48578         * sysdeps/powerpc/powerpc64/crti.S: New file.
48579         * sysdeps/powerpc/powerpc64/crtn.S: New file.
48581         * Makeconfig (have-initfini): Don't set.
48582         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
48583         * configure.in (nopic_initfini): Don't substitute.
48584         * config.h.in (HAVE_INITFINI): Don't #undef.
48585         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
48586         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
48588 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
48590         Support crti.S and crtn.S provided directly by architectures.
48591         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
48592         [crti.S in sysdirs] (omit-deps): Likewise.
48593         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
48594         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
48595         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
48596         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
48597         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
48598         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
48599         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
48600         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
48601         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
48602         compiler output for sysdeps/generic/initfini.c.
48603         * sysdeps/i386/elf/Makefile: Remove file.
48604         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
48606 2012-02-07  Marek Polacek  <polacek@redhat.com>
48608         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
48609         * sysdeps/gnu/_G_config.h: Likewise.
48610         * sysdeps/mach/hurd/_G_config.h: Likewise.
48612 2012-02-07  Marek Polacek  <polacek@redhat.com>
48614         * math/Makefile (tests): Add tst-CMPLX2.
48615         * math/tst-CMPLX2.c: New file.
48617 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
48619         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48621         * math/libm-test.inc (jn_test): Add missing L suffix.
48623 2012-02-06  Marek Polacek  <polacek@redhat.com>
48625         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
48626         * sysdeps/i386/fpu/e_powf.S: Likewise.
48627         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
48628         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
48629         * sysdeps/i386/fpu/e_acosh.S: Likewise.
48630         * sysdeps/i386/fpu/e_pow.S: Likewise.
48631         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
48632         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
48633         * sysdeps/i386/fpu/s_expm1.S: Likewise.
48634         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
48635         * sysdeps/i386/fpu/e_log2.S: Likewise.
48636         * sysdeps/i386/fpu/e_log2l.S: Likewise.
48637         * sysdeps/i386/fpu/e_scalb.S: Likewise.
48638         * sysdeps/i386/fpu/e_powl.S: Likewise.
48639         * sysdeps/i386/fpu/s_log1p.S: Likewise.
48640         * sysdeps/i386/fpu/e_log10f.S: Likewise.
48641         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
48642         * sysdeps/i386/fpu/e_logl.S: Likewise.
48643         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
48644         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
48645         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
48646         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
48647         * sysdeps/i386/fpu/e_log2f.S: Likewise.
48648         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
48649         * sysdeps/i386/fpu/e_log.S: Likewise.
48650         * sysdeps/i386/fpu/s_cexp.S: Likewise.
48651         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
48652         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
48653         * sysdeps/i386/fpu/e_logf.S: Likewise.
48654         * sysdeps/i386/fpu/e_log10l.S: Likewise.
48655         * sysdeps/i386/fpu/e_atanh.S: Likewise.
48656         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
48657         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
48658         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
48659         * sysdeps/i386/fpu/e_log10.S: Likewise.
48660         * sysdeps/i386/fpu/s_frexp.S: Likewise.
48661         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
48662         * sysdeps/i386/fpu/s_asinh.S: Likewise.
48663         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
48664         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
48665         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
48666         * sysdeps/i386/asm-syntax.h: Likewise.
48667         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
48668         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
48669         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
48670         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
48671         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
48672         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
48673         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
48674         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
48675         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
48676         * sysdeps/powerpc/sysdep.h: Likewise.
48677         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
48678         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
48680 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
48682         [BZ #411]
48683         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
48685 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
48687         * sysdeps/i386/sysdep.h: Include <features.h>.
48688         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
48689         version.
48691 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
48693         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
48694         Define.
48695         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
48696         LOAD_PIC_REG_STR.
48698 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48700         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
48701         (SETUP_PIC_REG): Use GET_PC_THUNK.
48702         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
48703         macro.
48705 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48707         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
48708         for non-PIC compilation.
48709         (SETUP_PIC_REG): Add .p2align directive.
48710         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
48711         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
48712         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
48713         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
48714         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
48715         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
48716         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
48717         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
48718         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
48719         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
48720         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
48721         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
48722         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
48723         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
48724         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
48725         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
48726         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
48727         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
48728         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
48729         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
48730         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
48731         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
48732         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
48733         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
48734         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
48735         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
48736         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48737         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
48738         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
48739         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
48740         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
48741         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48742         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
48743         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
48744         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
48745         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
48746         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
48747         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
48748         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
48749         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
48750         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
48752 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
48754         * math/tst-CMPLX.c: Include <stdio.h>.
48756 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
48758         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
48759         float.
48760         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
48761         * sysdeps/sparc/bits/mathdef.h: Likewise.
48763 2012-01-31  Marek Polacek  <polacek@redhat.com>
48765         * libio/libio.h: Don't define _PARAMS.
48766         * locale/programs/config.h: Don't define PARAMS.
48767         * stdlib/strtol_l.c: Likewise.
48768         (__strtol_l): Remove PARAMS from the prototype.
48770 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
48772         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
48773         names.  Just use the correct names.  Remove unnecessary wrapper
48774         functions.
48775         * malloc/arena.c: Likewise.
48776         * malloc/hooks.c: Likewise.
48778         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
48779         ARENA_TEST says not to.  Simplify test for creation of a new arena.
48780         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
48782 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
48784         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
48785         into tail calls.
48786         (update_get_addr): New function.
48787         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
48788         GET_ADDR_MODULE parameter.
48790 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
48792         * crypt/cert.c: Remove __STDC__ conditionals.
48793         * crypt/crypt-entry.c: Likewise.
48794         * crypt/crypt_util.c: Likewise.
48795         * libio/filedoalloc.c: Likewise.
48796         * libio/fileops.c: Likewise.
48797         * libio/genops.c: Likewise.
48798         * libio/iofclose.c: Likewise.
48799         * libio/iofdopen.c: Likewise.
48800         * libio/iofopen.c: Likewise.
48801         * libio/iofopen64.c: Likewise.
48802         * libio/iogetdelim.c: Likewise.
48803         * libio/iopopen.c: Likewise.
48804         * libio/obprintf.c: Likewise.
48805         * libio/oldfileops.c: Likewise.
48806         * libio/oldiofclose.c: Likewise.
48807         * libio/oldiofdopen.c: Likewise.
48808         * libio/oldiofopen.c: Likewise.
48809         * libio/oldiopopen.c: Likewise.
48810         * libio/wfiledoalloc.c: Likewise.
48811         * libio/wgenops.c: Likewise.
48812         * locale/programs/xmalloc.c: Likewise.
48813         * misc/syslog.c: Likewise.
48814         * stdio-common/xbug.c: Likewise.
48815         * string/memchr.c: Likewise.
48816         * string/memcmp.c: Likewise.
48817         * string/memrchr.c: Likewise.
48818         * string/rawmemchr.c: Likewise.
48819         * sysdeps/posix/getcwd.c: Likewise.
48820         * time/strftime_l.c: Likewise.
48822 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
48824         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
48825         * config.make.in (config-cflags-sse2avx): Define.
48826         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
48827         Fix typo.
48829 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
48831         * scripts/config.guess: Update from upstream config git repository.
48832         * scripts/config.sub: Likewise.
48834 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
48836         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
48837         (EM_NUM): Update.
48838         (R_TILEPRO_*, R_TILEGX_*): New macros.
48840         * scripts/firstversions.awk: Fix bug in version range handling.
48842         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
48844         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
48846         * include/sys/epoll.h: New file.
48847         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
48848         libc_hidden_def.
48850 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
48852         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
48853         Avoid unnecessary __WORDSIZE == 64 test.
48854         (fmaxf): Use VEX format if possible.
48855         (fmax): Likewise.
48856         (fminf): Likewise.
48857         (fmin): Likewise.
48859         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
48860         * math/math_private.h: Remove libc_fegetround* and
48861         libc_fesetround*.
48862         * sysdeps/i386/configure.in: Check for -msse2avx.
48863         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
48864         also if SSE2AVX is defined.
48865         Remove libc_fegetround* and libc_fesetround*.
48866         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
48867         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
48868         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
48869         of HAS_YMM_USABLE.
48870         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48871         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48872         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48873         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48874         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48876         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
48878 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48880         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
48881         size is not set.
48882         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
48884 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
48886         [BZ #13618]
48887         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
48888         relocation.
48889         * Makeconfig (libm): Define.
48890         * elf/Makefile: Add rules to build and run tst-relsort1.
48891         * elf/tst-relsort1.c: New file.
48892         * elf/tst-relsort1mod1.c: New file.
48893         * elf/tst-relsort1mod2.c: New file.
48895 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
48897         * math/s_ldexp.c: Remove __STDC__ conditionals.
48898         * math/s_ldexpf.c: Likewise.
48899         * math/s_ldexpl.c: Likewise.
48900         * math/s_nextafter.c: Likewise.
48901         * math/s_nexttowardf.c: Likewise.
48902         * math/s_significand.c: Likewise.
48903         * math/s_significandf.c: Likewise.
48904         * math/s_significandl.c: Likewise.
48905         * math/w_jnl.c: Likewise.
48906         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
48907         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
48908         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
48909         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
48910         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
48911         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48912         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
48913         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
48914         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
48915         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
48916         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
48917         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48918         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
48919         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
48920         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
48921         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
48922         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
48923         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
48924         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
48925         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
48926         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
48927         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48928         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48929         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48930         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48931         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48932         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48933         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48934         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
48935         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48936         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48937         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
48938         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48939         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
48940         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
48941         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48942         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
48943         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
48944         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
48945         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
48946         * sysdeps/ieee754/k_standard.c: Likewise.
48947         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
48948         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48949         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
48950         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
48951         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
48952         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
48953         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48954         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
48955         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
48956         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
48957         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
48958         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
48959         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
48960         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
48961         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
48962         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
48963         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
48964         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48965         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48966         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
48967         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48968         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48969         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
48970         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
48971         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48972         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
48973         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
48974         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
48975         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
48976         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
48977         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
48978         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
48979         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
48980         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
48981         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
48982         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
48983         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
48984         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
48985         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
48986         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
48987         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
48988         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
48989         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
48990         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
48991         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
48992         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
48993         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48994         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48995         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
48996         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
48997         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
48998         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48999         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49000         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49001         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49002         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49003         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49004         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49005         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49006         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49007         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49008         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49009         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49010         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49011         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49012         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49013         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49014         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49015         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49016         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49017         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49018         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49019         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49020         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49021         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49022         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49023         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49024         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49025         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49026         * sysdeps/ieee754/s_matherr.c: Likewise.
49027         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49028         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49029         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49030         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49032 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
49034         * crypt/md5.h: Remove __STDC__ conditionals.
49035         * libio/libioP.h: Likewise.
49036         * locale/programs/config.h: Likewise.
49037         * sysdeps/generic/sysdep.h: Likewise.
49038         * sysdeps/i386/asm-syntax.h: Likewise.
49039         * sysdeps/s390/asm-syntax.h: Likewise.
49040         * sysdeps/unix/sysdep.h: Likewise.
49041         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49042         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49044 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
49046         * libio/libio.h: Remove __STDC__ conditionals.
49047         * malloc/obstack.h: Likewise.
49048         * math/complex.h: Likewise.
49049         * math/math.h: Likewise.
49050         * sysdeps/generic/_G_config.h: Likewise.
49051         * sysdeps/gnu/_G_config.h: Likewise.
49052         * sysdeps/mach/hurd/_G_config.h: Likewise.
49053         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49054         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49055         * sysdeps/sparc/bits/mathdef.h: Likewise.
49057 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
49059         [BZ #13583]
49060         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
49061         Clean up HAS_* macros.
49062         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
49063         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49064         possible.
49065         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49066         HAS_AVX.
49067         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49068         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49069         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49070         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49071         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49073 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
49075         * elf/tst-unique3.cc (gets): Remove declaration.
49076         * elf/tst-unique3lib.cc (gets): Likewise.
49077         * elf/tst-unique3lib2.cc (gets): Likewise.
49078         * elf/tst-unique4.cc (gets): Likewise.
49080 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
49082         * include/stdio.h: Add C++ protection.  Add gets declarations and
49083         definitions.
49084         * debug/tst-chk1.c: Don't declare gets here.
49085         * stdio-common/tst-gets.c: Likewise.
49087 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
49089         * posix/glob: Remove directory.
49091 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
49093         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49095 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
49097         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49098         of the non-standard EPFNOSUPPORT.
49100 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49102         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49103         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49104         ANYWHERE set to 1 only on KERN_NO_SPACE error.
49106 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
49108         * wcsmbs/uchar.h: Test __STDC_VERSION__.
49110 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
49112         * nscd/aicache.c (addhstaiX): Do not cache negative results of
49113         transient errors.
49114         * nscd/grpcache.c (cache_addgr): Likewise.
49115         * nscd/hstcache.c (cache_addhst): Likewise.
49116         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49117         * nscd/pwdcache.c (cache_addpw): Likewise.
49118         * nscd/servicescache.c (cache_addserv): Likewise.
49120 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
49122         * malloc/malloc.c: Various cleanups.
49123         * malloc/hooks.c: Likewise.
49125         * stdlib/Makefile (tests): Add bug-fmtmsg1.
49126         * stdlib/bug-fmtmsg1.c: New file.
49128         * stdlib/fmtmsg.c (init): Add missing unlock.
49129         Patch by Peng Haitao <penght@cn.fujitsu.com>.
49131 2012-01-12  Marek Polacek  <polacek@redhat.com>
49133         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49134         and _GNU_SOURCE.
49136 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
49138         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49139         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49140         macro to ensure uniqueness of label name.
49141         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49142         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49144 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
49146         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49148         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49149         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49150         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49151         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49153 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
49155         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49157         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49158         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49159         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49161         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49163         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
49164         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49165         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49166         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
49168         * math/bits/math-finite.h: Add ldexp support.
49170 2012-01-10  Marek Polacek  <polacek@redhat.com>
49172         * locale/programs/localedef.h (show_archive_content): Add noreturn
49173         attribute.
49175 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
49177         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49179 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
49181         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49183         * io/Makefile (headers): Add bits/poll2.h.
49185 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
49187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49188         typo #include statement.
49190 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
49192         * include/sys/cdefs.h: Define __attribute_alloc_size.
49193         * catgets/gencat.c: Add alloc_size attribute and apply consistently
49194         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49195         * elf/pldd.c: Likewise.
49196         * iconv/iconv_charmap.c: Likewise.
49197         * iconv/iconvconfig.c: Likewise.
49198         * iconv/strtab.c: Likewise.
49199         * locale/programs/locale.c: Likewise.
49200         * locale/programs/localedef.h: Likewise.
49201         * locale/programs/simple-hash.c: Likewise.
49202         * nscd/nscd.h: Likewise.
49203         * nss/makedb.c: Likewise.
49204         * sysdeps/generic/ldconfig.h: Likewise.
49205         * locale/programs/localedef.c: Remove xmalloc prototype.
49206         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49208 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
49210         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49211         appropriate.
49213 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
49215         * math/Makefile (tests): Add tst-CMPLX.
49216         * math/tst-CMPLX.c: New file.
49218         * math/complex.h (CMPLXL): Fix typo.
49220         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49221         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49222         GLIBC_2.16.
49223         * debug/tst-chk1.c: Add poll and ppoll tests.
49224         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49225         * include/sys/poll.h: Add hidden proto for ppoll.
49226         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49227         * sysdeps/mach/hurd/ppoll.c: Likewise.
49228         * io/ppoll.c: Likewise.
49229         * debug/poll_chk.c: New file.
49230         * debug/ppoll_chk.c: New file.
49231         * include/bits/poll2.h: New file.
49232         * io/bits/poll2.h: New file.
49234         [BZ #1350]
49235         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49237         * configure.in: static is always set to yes.  Remove.
49238         * config.make.in: Don't set build-static.
49239         * Makeconfig: Remove use of build-static.
49240         * dlfcn/Makefile: Likewise.
49241         * elf/Makefile: Likewise.
49242         * math/Makefile: Likewise.
49243         * misc/Makefile: Likewise.
49244         * nptl/Makefile: Likewise.
49245         * sysdeps/mach/hurd/Makefile: Likewise.
49247         * configure.in: PWD_P is not used anymore.
49248         * config.make.in: Remove PWD_P entry.
49250         * configure.in: Remove last remnants of RANLIB.
49251         No need to check for signed size_t anymore.
49252         Don't set libc_commonpagesize and libc_relro_required here for Alpha
49253         and IA-64.
49254         Remove __builtin_expect test because we require at least gcc 3.4.
49255         * aclocal.m4: Likewise.
49257         * wcsmbs/mbrtoc16.c: Implement using towc function.
49258         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49259         * wcsmbs/wcsmbsload.c: Likewise.
49260         * iconv/gconv_simple.c: Likewise.
49261         * iconv/gconv_int.h: Likewise.
49262         * iconv/gconv_builtin.h: Likewise.
49263         * iconv/iconv_prog.c: Remove CHAR16 handling.
49265         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49267         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49269         * configure.in: Remove --with-elf and --enable-bounded options.
49270         Dont set base_machine for ia64.  More non-ELF conditions removed.
49271         Remove testing and setting of leading underscore information.
49272         * config.make.in (build-bounded): Set to no.
49273         * config.h.in: Remove NO_UNDERSCORES entry.
49274         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
49275         them.
49276         * csu/start.c: Remove !NO_UNDERSCORE code.
49277         * locale/localeinfo.h: Likewise.
49278         * sysdeps/generic/machine-gmon.h: Likewise.
49279         * sysdeps/generic/sysdep.h: Likewise.
49280         * sysdeps/i386/sysdep.h: Likewise.
49281         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49282         * sysdeps/mach/sysdep.h: Likewise.
49283         * sysdeps/s390/s390-32/sysdep.h: Likewise.
49284         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49285         * sysdeps/sh/sysdep.h: Likewise.
49286         * sysdeps/sparc/sparc32/alloca.S: Likewise.
49287         * sysdeps/unix/i386/sysdep.S: Likewise.
49288         * sysdeps/unix/sparc/start.c: Likewise.
49289         * sysdeps/unix/sparc/sysdep.S: Likewise.
49290         * sysdeps/unix/sparc/sysdep.h: Likewise.
49291         * sysdeps/unix/start.c: Likewise.
49292         * sysdeps/unix/x86_64/sysdep.S: Likewise.
49293         * sysdeps/x86_64/sysdep.h: Likewise.
49295 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
49297         [BZ #13553]
49298         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49299         for non-gcc.
49300         * argp/argp-fmtstream.h: Use const instead __const.
49301         * argp/argp.h: Likewise.
49302         * assert/assert.h: Likewise.
49303         * bits/fenv.h: Likewise.
49304         * bits/sched.h: Likewise.
49305         * bits/sigset.h: Likewise.
49306         * bits/sigthread.h: Likewise.
49307         * catgets/nl_types.h: Likewise.
49308         * conform/data/pthread.h-data: Likewise.
49309         * crypt/crypt-private.h: Likewise.
49310         * crypt/crypt.h: Likewise.
49311         * crypt/crypt_util.c: Likewise.
49312         * ctype/ctype.h: Likewise.
49313         * debug/execinfo.h: Likewise.
49314         * debug/mbsnrtowcs_chk.c: Likewise.
49315         * debug/mbsrtowcs_chk.c: Likewise.
49316         * debug/wcsnrtombs_chk.c: Likewise.
49317         * debug/wcsrtombs_chk.c: Likewise.
49318         * debug/wcstombs_chk.c: Likewise.
49319         * dirent/dirent.h: Likewise.
49320         * dlfcn/dlfcn.h: Likewise.
49321         * elf/neededtest4.c: Likewise.
49322         * grp/grp.h: Likewise.
49323         * gshadow/gshadow.h: Likewise.
49324         * iconv/gconv.h: Likewise.
49325         * iconv/gconv_int.h: Likewise.
49326         * iconv/gconv_simple.c: Likewise.
49327         * iconv/iconv.h: Likewise.
49328         * iconv/loop.c: Likewise.
49329         * iconv/skeleton.c: Likewise.
49330         * include/aio.h: Likewise.
49331         * include/aliases.h: Likewise.
49332         * include/argz.h: Likewise.
49333         * include/arpa/inet.h: Likewise.
49334         * include/assert.h: Likewise.
49335         * include/dirent.h: Likewise.
49336         * include/dlfcn.h: Likewise.
49337         * include/execinfo.h: Likewise.
49338         * include/fcntl.h: Likewise.
49339         * include/fenv.h: Likewise.
49340         * include/glob.h: Likewise.
49341         * include/grp.h: Likewise.
49342         * include/libintl.h: Likewise.
49343         * include/mntent.h: Likewise.
49344         * include/netdb.h: Likewise.
49345         * include/pwd.h: Likewise.
49346         * include/rpc/netdb.h: Likewise.
49347         * include/sched.h: Likewise.
49348         * include/search.h: Likewise.
49349         * include/shadow.h: Likewise.
49350         * include/signal.h: Likewise.
49351         * include/stdio.h: Likewise.
49352         * include/stdlib.h: Likewise.
49353         * include/string.h: Likewise.
49354         * include/sys/socket.h: Likewise.
49355         * include/sys/stat.h: Likewise.
49356         * include/sys/statfs.h: Likewise.
49357         * include/sys/statvfs.h: Likewise.
49358         * include/sys/syslog.h: Likewise.
49359         * include/sys/time.h: Likewise.
49360         * include/sys/uio.h: Likewise.
49361         * include/time.h: Likewise.
49362         * include/unistd.h: Likewise.
49363         * include/utmp.h: Likewise.
49364         * include/wchar.h: Likewise.
49365         * include/wctype.h: Likewise.
49366         * inet/aliases.h: Likewise.
49367         * inet/arpa/inet.h: Likewise.
49368         * inet/netinet/ether.h: Likewise.
49369         * inet/netinet/in.h: Likewise.
49370         * intl/libintl.h: Likewise.
49371         * io/bits/fcntl2.h: Likewise.
49372         * io/fcntl.h: Likewise.
49373         * io/ftw.h: Likewise.
49374         * io/sys/poll.h: Likewise.
49375         * io/sys/stat.h: Likewise.
49376         * io/sys/statfs.h: Likewise.
49377         * io/sys/statvfs.h: Likewise.
49378         * io/utime.h: Likewise.
49379         * libio/bits/stdio.h: Likewise.
49380         * libio/bits/stdio2.h: Likewise.
49381         * libio/libio.h: Likewise.
49382         * libio/libioP.h: Likewise.
49383         * libio/stdio.h: Likewise.
49384         * locale/lc-ctype.c: Likewise.
49385         * locale/locale.h: Likewise.
49386         * login/utmp.h: Likewise.
49387         * malloc/arena.c: Likewise.
49388         * malloc/malloc.c: Likewise.
49389         * malloc/malloc.h: Likewise.
49390         * malloc/mcheck.c: Likewise.
49391         * malloc/mtrace.c: Likewise.
49392         * math/bits/mathcalls.h: Likewise.
49393         * math/fenv.h: Likewise.
49394         * math/math_private.h: Likewise.
49395         * misc/bits/error.h: Likewise.
49396         * misc/bits/syslog.h: Likewise.
49397         * misc/err.h: Likewise.
49398         * misc/error.h: Likewise.
49399         * misc/fstab.h: Likewise.
49400         * misc/mntent.h: Likewise.
49401         * misc/regexp.h: Likewise.
49402         * misc/search.h: Likewise.
49403         * misc/sgtty.h: Likewise.
49404         * misc/sys/mman.h: Likewise.
49405         * misc/sys/syslog.h: Likewise.
49406         * misc/sys/uio.h: Likewise.
49407         * misc/sys/xattr.h: Likewise.
49408         * misc/ttyent.h: Likewise.
49409         * nis/rpcsvc/ypclnt.h: Likewise.
49410         * nss/nss.h: Likewise.
49411         * posix/bits/unistd.h: Likewise.
49412         * posix/fnmatch.h: Likewise.
49413         * posix/glob.h: Likewise.
49414         * posix/sched.h: Likewise.
49415         * posix/spawn.h: Likewise.
49416         * posix/sys/wait.h: Likewise.
49417         * posix/unistd.h: Likewise.
49418         * posix/wordexp.h: Likewise.
49419         * pwd/pwd.h: Likewise.
49420         * resolv/netdb.h: Likewise.
49421         * resource/sys/resource.h: Likewise.
49422         * rt/aio.h: Likewise.
49423         * rt/bits/mqueue2.h: Likewise.
49424         * rt/mqueue.h: Likewise.
49425         * shadow/shadow.h: Likewise.
49426         * signal/signal.h: Likewise.
49427         * socket/send.c: Likewise.
49428         * socket/sendto.c: Likewise.
49429         * socket/sys/socket.h: Likewise.
49430         * stdio-common/printf.h: Likewise.
49431         * stdlib/bits/stdlib.h: Likewise.
49432         * stdlib/fmtmsg.h: Likewise.
49433         * stdlib/monetary.h: Likewise.
49434         * stdlib/stdlib.h: Likewise.
49435         * stdlib/ucontext.h: Likewise.
49436         * streams/stropts.h: Likewise.
49437         * string/argz.h: Likewise.
49438         * string/bits/string2.h: Likewise.
49439         * string/string.h: Likewise.
49440         * string/strings.h: Likewise.
49441         * sunrpc/rpc/auth.h: Likewise.
49442         * sunrpc/rpc/auth_des.h: Likewise.
49443         * sunrpc/rpc/clnt.h: Likewise.
49444         * sunrpc/rpc/netdb.h: Likewise.
49445         * sunrpc/rpc/pmap_clnt.h: Likewise.
49446         * sunrpc/rpc/xdr.h: Likewise.
49447         * sysdeps/generic/inttypes.h: Likewise.
49448         * sysdeps/generic/net/if.h: Likewise.
49449         * sysdeps/generic/sys/swap.h: Likewise.
49450         * sysdeps/gnu/net/if.h: Likewise.
49451         * sysdeps/gnu/utmpx.h: Likewise.
49452         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
49453         * sysdeps/i386/i486/bits/string.h: Likewise.
49454         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
49455         * sysdeps/s390/bits/string.h: Likewise.
49456         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
49457         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
49458         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
49459         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
49460         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
49461         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
49462         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
49463         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
49464         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
49465         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
49466         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
49467         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
49468         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
49469         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
49470         * sysdeps/unix/sysv/linux/readv.c: Likewise.
49471         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
49472         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
49473         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
49474         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
49475         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
49476         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49477         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
49478         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
49479         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
49480         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
49481         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
49482         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
49483         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49484         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
49485         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
49486         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
49487         * sysvipc/sys/ipc.h: Likewise.
49488         * sysvipc/sys/msg.h: Likewise.
49489         * sysvipc/sys/sem.h: Likewise.
49490         * sysvipc/sys/shm.h: Likewise.
49491         * termios/termios.h: Likewise.
49492         * time/sys/time.h: Likewise.
49493         * time/time.h: Likewise.
49494         * wcsmbs/bits/wchar2.h: Likewise.
49495         * wcsmbs/uchar.h: Likewise.
49496         * wcsmbs/wchar.h: Likewise.
49497         * wctype/wctype.h: Likewise.
49499         [BZ #13551]
49500         * Makeconfig: Remove all but ELF support including AIX support.
49501         * Makerules: Likewise.
49502         * config.h.in: Likewise.
49503         * config.make.in: Likewise.
49504         * configure: Likewise.
49505         * configure.in: Likewise.
49506         * csu/Makefile: Likewise.
49507         * csu/version.c: Likewise.
49508         * debug/Makefile: Likewise.
49509         * dlfcn/Makefile: Likewise.
49510         * elf/Makefile: Likewise.
49511         * extra-lib.mk: Likewise.
49512         * iconv/Makefile: Likewise.
49513         * include/libc-symbols.h: Likewise.
49514         * include/shlib-compat.h: Likewise.
49515         * resolv/Makefile: Likewise.
49516         * resolv/res_libc.c: Likewise.
49517         * rt/Makefile: Likewise.
49518         * sysdeps/i386/asm-syntax.h: Likewise.
49519         * sysdeps/i386/sysdep.h: Likewise.
49520         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49521         * sysdeps/mach/sysdep.h: Likewise.
49522         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
49523         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
49524         * sysdeps/s390/asm-syntax.h: Likewise.
49525         * sysdeps/s390/s390-32/sysdep.h: Likewise.
49526         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49527         * sysdeps/sh/sysdep.h: Likewise.
49528         * sysdeps/unix/sparc/sysdep.h: Likewise.
49529         * sysdeps/wordsize-32/divdi3.c: Likewise.
49530         * sysdeps/x86_64/sysdep.h: Likewise.
49532         * argp/Versions: Remove _argp_unlock_xxx.
49534         [BZ #13559]
49535         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
49536         * abilist/libBrokenLocale.abilist: Likewise.
49537         * abilist/libanl.abilist: Likewise.
49538         * abilist/libc.abilist: Likewise.
49539         * abilist/libcrypt.abilist: Likewise.
49540         * abilist/libdl.abilist: Likewise.
49541         * abilist/libm.abilist: Likewise.
49542         * abilist/libnsl.abilist: Likewise.
49543         * abilist/libpthread.abilist: Likewise.
49544         * abilist/libresolv.abilist: Likewise.
49545         * abilist/librt.abilist: Likewise.
49546         * abilist/libthread_db.abilist: Likewise.
49547         * abilist/libutil.abilist: Likewise.
49548         * abilist/libnss_db.abilist: New file.
49550         * scripts/abilist.awk: Add support for indirect functions.
49552         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
49554         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
49556         * shlib-versions: Remove entries for ports architectures.
49558         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
49559         files in ports.
49560         * elf/stackguard-macros.h: Remove support for IA-64.
49561         * elf/tst-auditmod1.c: Likewise.
49562         * sysdeps/generic/ldsodefs.h: Likewise.
49564         * sysdeps/unix/sysv/linux/configure.in: Ports should define
49565         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
49566         configure files.
49568         [BZ #13552]
49569         * configure.in: Remove --enable-omitfp support.
49570         * FAQ.in: Adjust.
49571         * config.make.in: Likewise.
49572         * Makeconfig: Likewise.
49573         * manual/install.texi: Likewise.
49575         In case anyone cares, the IA-64 architecture could move to ports.
49576         * sysdeps/ia64/*: Removed.
49577         * sysdeps/unix/sysv/linux/ia64/*: Removed.
49578         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
49580         [BZ #13555]
49581         * configure.in: Remove entries for unsupported architectures.
49583         [BZ #13533]
49584         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
49585         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
49586         routines.
49587         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
49588         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
49589         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
49590         fall back to using wcrtomb.
49591         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
49592         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
49593         renaming.
49594         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
49595         * wcsmbs/tst-c16c32-1.c: New file.
49597         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
49598         local variable.
49600         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
49602         * elf/tst-unique3.cc: Add explicit declaration of gets.
49603         * elf/tst-unique3lib.cc: Likewise.
49604         * elf/tst-unique3lib2.cc: Likewise.
49605         * elf/tst-unique4.cc: Likewise.
49607         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
49609 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
49611         [BZ #13566]
49612         * assert/assert.h (static_assert): Don't define for C++.
49613         * libio/stdio.h (gets): Do declare for C++ <= C++11.
49614         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
49616 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
49618         * iconv/loop.c (single loop): Fix assertion in storing of
49619         remaining bytes.
49621         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
49623 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
49625         * posix/getconf.c: Update copyright year.
49626         * nss/getent.c: Likewise.
49627         * nss/makedb.c: Likewise.
49628         * iconv/iconvconfig.c: Likewise.
49629         * iconv/iconv_prog.c: Likewise.
49630         * elf/ldconfig.c: Likewise.
49631         * elf/pldd.c: Likewise.
49632         * elf/sotruss.ksh: Likewise.
49633         * catgets/gencat.c: Likewise.
49634         * csu/version.c: Likewise.
49635         * elf/ldd.bash.in: Likewise.
49636         * elf/sprof.c (print_version): Likewise.
49637         * locale/programs/locale.c: Likewise.
49638         * locale/programs/localedef.c: Likewise.
49639         * login/programs/pt_chown.c: Likewise.
49640         * nscd/nscd.c (print_version): Likewise.
49641         * debug/xtrace.sh: Likewise.
49642         * malloc/memusage.sh: Likewise.
49643         * malloc/mtrace.pl: Likewise.
49644         * debug/catchsegv.sh: Likewise.
49646 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
49648         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
49649         pure attribute.
49651 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
49653         [BZ #13533]
49654         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
49655         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
49656         transformations.
49657         * iconv/gconv_int.h: Likewise.
49658         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
49659         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
49660         from libc for GLIBC_2.16.
49661         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
49662         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
49663         * wcsmbs/uchar.h: Really define mbstate_t.
49664         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
49665         * wcsmbs/c16rtomb.c: New file.
49666         * wcsmbs/mbrtoc16.c: New file.
49667         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
49668         for C/POSIX locale.
49669         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
49670         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
49672         * wcsmbs/wchar.h: Add missing __restrict.
49674 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
49676         [BZ #13532]
49677         * time/Makefile (routines): Add timespec_get.
49678         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
49679         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
49680         timespec for ISO C11.
49681         * time/timespec_get.c: New file.
49682         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
49683         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
49685         [BZ #13531]
49686         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
49687         * stdlib/stdlib.h: Declare aligned_alloc.
49688         * Versions.def: Add GLIBC_2.16 for libc.
49689         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
49691         [BZ 13527]
49692         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
49693         ISO C11.
49695         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
49696         code.
49698         [BZ #13528]
49699         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
49701         [BZ #13529]
49702         * assert/assert.h (static_assert): Define.
49704         * version.h: Update for 2.16 development version.
49706         [BZ #13526]
49707         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
49708         _ISOC11_SOURCE.
49710         * version.h (RELEASE): Bump for 2.15 release.
49711         * include/features.h (__GLIBC_MINOR__): Bump to 15.
49713         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
49714         Patch by Marek Polacek <mpolacek@redhat.com>.
49716         * bits/byteswap.h: Protect long long constants with __extension__.
49717         * sysdeps/i386/bits/byteswap.h: Likewise.
49718         * sysdeps/ia64/bits/byteswap.h: Likewise.
49719         * sysdeps/s390/bits/byteswap.h: Likewise.
49720         * sysdeps/x86_64/bits/byteswap.h: Likewise.
49722 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49724         [BZ #13540]
49725         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
49726         destination buffer.
49727         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
49729 2011-12-23  Marek Polacek  <polacek@redhat.com>
49731         * elf/dl-addr.c (determine_info): Add inline keyword.
49732         * elf/tst-auditmod4b.c (check_avx): Likewise.
49733         * elf/tst-auditmod6b.c (check_avx): Likewise.
49734         * elf/tst-auditmod6c.c (check_avx): Likewise.
49735         * elf/tst-auditmod7b.c (check_avx): Likewise.
49737 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
49739         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
49740         !__SSE_MATH__.
49742 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49744         [BZ #13540]
49745         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
49746         processing for last bytes.
49748 2011-08-06  Bruno Haible  <bruno@clisp.org>
49750         [BZ #13061]
49751         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
49752         U+0385, not to U+1FEE.
49754         [BZ #13062]
49755         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
49756         entry for U+00A5 U+0301.
49758 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
49760         [BZ #13166]
49761         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
49762         buffer for the output is too small.
49764         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
49765         optimization.
49767         [BZ #13185]
49768         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
49769         SSE flags if possible.
49771 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49773         [BZ #13540]
49774         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
49775         processing for last bytes.
49777 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
49779         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
49780         (syscall-list-default-options, syscall-list-default-condition)
49781         (syscall-list-includes): Define.
49782         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
49783         list of ABIs and options and #if conditions for each ABI.  Do not
49784         handle common syscalls between ABIs specially.
49785         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
49786         Remove.
49787         (syscall-list-variants, syscall-list-32bit-options)
49788         (syscall-list-32bit-condition, syscall-list-64bit-options)
49789         (syscall-list-64bit-condition): Define.
49790         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): 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/sparc/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.
49799         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
49800         Remove.
49801         (syscall-list-variants, syscall-list-32bit-options)
49802         (syscall-list-32bit-condition, syscall-list-64bit-options)
49803         (syscall-list-64bit-condition): Define.
49805 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
49807         * locale/iso-639.def: Add brx entry.
49809         [BZ #13328]
49810         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
49811         Proposed by Mariusz_Cukr <marcukr@op.pl>.
49813         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
49814         __feraiseexcept_renamed.
49816 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
49818         [BZ #13538]
49819         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
49820         EPOLLET with unsigned values.
49821         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49822         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
49824         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
49825         to large cancellation.
49826         * math/s_cacoshf.c: Likewise.
49827         * math/s_cacoshl.c: Likewise.
49829 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
49831         [BZ #13305]
49832         [BZ #12786]
49833         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
49834         * math/s_cacoshf.c: Likewise.
49835         * math/s_cacoshl.c: Likewise.
49837 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
49839         [BZ #13439]
49840         * iconv/gconv.h: Define __GCONV_SWAP.
49841         * iconvdata/unicode.c: The swap bit must be stored in __flags.
49842         * iconvdata/utf-16.c: Likewise.
49843         * iconvdata/utf-32.c: Likewise.
49845 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
49847         [BZ #13524]
49848         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
49849         numerator after shifting it by one limb.
49851 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
49853         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
49854         under [__USE_EXTERN_INLINES].
49856 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
49858         [BZ #13446]
49859         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
49861 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49863         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
49864         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
49865         optimized code.
49866         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
49867         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
49868         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
49869         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
49870         for strncasecmp/strncasecmp_l compilation.
49871         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
49872         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
49874 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
49876         [BZ #13484]
49877         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
49878         of __asm__.
49880 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
49882         [BZ #13506]
49883         * time/tzfile.c (__tzfile_read): Check values from file header.
49885 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
49887         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
49888         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
49889         * powerpc/powerpc32/dl-start.S: Likewise.
49890         * powerpc/powerpc32/elf/start.S: Likewise.
49891         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
49892         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
49893         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
49894         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
49895         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
49896         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
49897         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
49898         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
49899         * powerpc/powerpc32/fpu/s_round.S: Likewise.
49900         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
49901         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
49902         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
49903         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
49904         * powerpc/powerpc32/memset.S: Likewise.
49905         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
49906         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
49907         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
49908         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
49909         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
49910         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
49911         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
49912         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
49913         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
49914         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
49915         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
49916         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49917         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49919 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49921         * math/libm-test.inc: Added more nearbyint tests.
49922         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
49923         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
49924         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
49925         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
49927 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
49929         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
49930         FD_CLOEXEC.
49932 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49934         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
49935         Add wcscpy-ssse3 wcscpy-c.
49936         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
49937         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
49938         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
49939         * sysdeps/x86_64/wcschr.S: New file.
49940         * sysdeps/x86_64/wcsrchr.S: New file.
49941         * string/test-strcmp.c: Remove checking of wcscmp function for
49942         wrong alignments.
49943         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
49944         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
49945         wcsrchr-sse2 wcsrchr-c.
49946         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
49947         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
49948         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
49949         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
49950         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
49951         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
49952         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
49953         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
49954         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
49955         * wcsmbc/wcschr.c (WCSCHR): New macro.
49957 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49959         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
49960         * wcsmbs/test-wcsrchr.c: New file.
49961         * string/test-strrchr.c: Add wcsrchr support.
49962         (WIDE): New macro.
49963         * wcsmbs/test-wcscpy.c: New file.
49964         * string/test-strcpy.c: Add wcscpy support.
49965         (WIDE): New macro.
49967 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
49969         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
49970         the inner loop.
49972 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
49974         [BZ #13472]
49975         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
49977 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
49979         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
49980         Minor optimizations.
49982         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
49983         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
49984         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
49986 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
49988         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
49989         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
49990         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
49991         for gcc to avoid warnings.
49992         * inet/Makefile (tests): Add tst-checks.
49993         * inet/tst-checks.c: New file.
49995         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
49996         warning.
49998         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
49999         __wmemcmp_sse2.
50001         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50002         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50004         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50006 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
50008         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50009         problem.
50011         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50013 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
50015         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50016         conditional on GCC version.
50017         (__arch_compare_and_exchange_val_8_acq)
50018         (__arch_compare_and_exchange_val_16_acq)
50019         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50020         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50021         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50023 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
50025         * sysdeps/sh/backtrace.c: New file.
50027 2011-12-02  Andreas Schwab  <schwab@redhat.com>
50029         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
50030         parenthesis.
50032 2011-12-01  Andreas Schwab  <schwab@redhat.com>
50034         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50035         falling back to utime.
50037 2011-11-30  Andreas Schwab  <schwab@redhat.com>
50039         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50040         expectations for float.
50042 2011-11-29  Andreas Schwab  <schwab@redhat.com>
50044         * locale/weight.h (findidx): Add parameter len.
50045         * locale/weightwc.h (findidx): Likewise.
50046         * posix/fnmatch_loop.c (FCT): Adjust caller.
50047         * posix/regcomp.c (build_equiv_class): Likewise.
50048         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50049         * posix/regexec.c (check_node_accept_bytes): Likewise.
50050         * string/strcoll_l.c (STRCOLL): Likewise.
50051         * string/strxfrm_l.c (STRXFRM): Likewise.
50053 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
50055         * Makefile.in: Remove CVSOPT handling.
50056         * configure.in: Remove use of AC_REVISION.
50057         * iconvdata/Makefile (distribute): No need to filter out CVS.
50058         * scripts/list-sources.sh: Remove CVS, subversion and monotone
50059         handling.
50061 2011-11-16  Andreas Schwab  <schwab@redhat.com>
50063         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50064         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50065         [USE_AS_STRNCASECMP_L]: Likewise.
50066         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50067         NO_TLS_DIRECT_SEG_REFS.
50068         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50069         Fix argument offsets for non-PIC.
50070         [USE_AS_STRNCASECMP_L]: Likewise.
50071         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50072         NO_TLS_DIRECT_SEG_REFS.
50074 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
50076         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
50077         O_CLOEXEC.
50078         * locale/loadlocale.c (_nl_load_locale): Likewise.
50080 2011-11-15  Andreas Schwab  <schwab@redhat.com>
50082         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50083         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50084         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50085         (SYSCALL_GETTIME): Set errno on error.
50087         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50088         count references to noai6ai_cached.
50090 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
50092         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50094         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50095         FD_CLOEXEC for /proc/self/maps.
50097         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50098         FD_CLOEXEC for /proc/meminfo.
50100         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50101         gai.conf.
50103         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
50104         FD_CLOEXEC for given file.
50106         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50108         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50109         FD_CLOEXEC for /etc/hosts.
50110         (_gethtent): Likewise.
50112         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50114         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50115         cancellation and set FD_CLOEXEC for /etc/netgroup.
50117         * nss/nss_files/files-key.c (search): Don't allow cancellation when
50118         reading /etc/publickey.
50120         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50121         allow cancellation when reading /etc/group.
50123         * nss/nss_files/files-alias.c (internal_setent): Don't allow
50124         cancellation.
50125         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
50127         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50128         when using data file.
50130         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50132         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50133         (write_nis_obj): Use "c" and "e" in fopen.
50135         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50137         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50139         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50141         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50143         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50144         locale.alias.
50146         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50148         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50150         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50152         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50153         file parsing and set FD_CLOEXEC.
50155 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
50157         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50159 2011-11-14  Andreas Schwab  <schwab@redhat.com>
50161         * malloc/arena.c (arena_get2): Don't call reused_arena when
50162         _int_new_arena failed.
50164 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
50166         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50167         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50168         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50169         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50170         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50171         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50172         to compile strcasecmp and strncasecmp.
50173         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50174         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50176         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50178 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
50180         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50181         locale-defines.sym to gen-as-const-headers.
50182         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50183         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50184         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50185         to compile strcasecmp and strncasecmp.
50186         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50187         strcasecmp_l and strncasecmp_l.
50188         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50189         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50190         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50191         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50192         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50193         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50194         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50195         * sysdeps/i386/i686/multiarch/strncase.S: New file.
50196         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50197         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50198         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50200 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
50202         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50203         result of SYSDEP_GETTIME_CPU to retval.
50204         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50205         parameter list to macro.  Remove trailing semicolon.  Adjust users.
50207         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50208         variable.
50210         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50211         mantissa words.
50212         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50214         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50215         from unused variable.
50217         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50218         DWARF definitions.
50219         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50220         for assembling.
50222         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50223         over namespaces.
50225         * sunrpc/rpc_prot.c (rejected): Fix case value.
50227         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50228         unsigned long long int to avoid warnings in shift.
50230         * posix/regex_internal.c (re_string_reconstruct): Actually use result
50231         of use of trans.
50232         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50233         variable tmp.
50235         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50236         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50237         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50239         * nis/nis_table.c (nis_list): Use variable of correct type for
50240         result of __follow_path call.
50242 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50244         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50245         of math functions ceil, trunc, floor, round, and sqrt, when
50246         avaliable on the platform.
50247         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50248         name clash.
50249         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50250         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50251         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50253 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
50255         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50256         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50258 2011-11-11  Roland McGrath  <roland@hack.frob.com>
50260         * include/unistd.h: Fix __readlink return type.
50261         Reported by Chris Metcalf <cmetcalf@tilera.com>.
50263 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
50265         * stdlib/ucontext.h: Undo last change for makecontext.
50267 2011-11-11  Andreas Schwab  <schwab@redhat.com>
50269         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50271         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50272         * setjmp/setjmp.h: Mark functions as non-leaf.
50273         * setjmp/bits/setjmp2.h: Likewise.
50274         * stdlib/ucontext.h: Likewise.
50276 2011-11-10  Andreas Schwab  <schwab@redhat.com>
50278         * malloc/arena.c (_int_new_arena): Don't increment narenas.
50279         (reused_arena): Don't check arena limit.
50280         (arena_get2): Atomically check arena limit.
50282 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
50284         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50285         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50287         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50288         instructions.
50290 2011-11-07  Andreas Schwab  <schwab@redhat.com>
50292         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50293         handler when locking.
50295         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50296         Fix size of allocated buffer.
50298 2011-11-04  Andreas Schwab  <schwab@redhat.com>
50300         [BZ #10103]
50301         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50302         declarations for long double functions.
50303         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50305         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50307 2011-11-03  Andreas Schwab  <schwab@redhat.com>
50309         * nscd/nscd.c (main): Don't start AVC thread until credentials are
50310         installed.
50312         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50313         is disabled.
50315 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50317         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50319 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
50321         * include/alloca.h (stackinfo_alloca_round): Define.
50322         (extend_alloca): Use it.
50323         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50324         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50325         here.
50327         * scripts/check-local-headers.sh: Ignore libaudit.h.
50329         * nscd/Makefile (extra-objs): Make recursively expanded.
50331 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
50333         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50334         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50336         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50337         * posix/tst-rfc3484-2.c: Likewise.
50338         * posix/tst-rfc3484-3.c: Likewise.
50340         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50341         process_vm_writev.
50342         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50343         process_vm_writev.
50344         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50345         process_vm_writev from libc using GLIBC_2.15 version.
50347         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50349 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
50351         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50352         stack usage.
50354 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
50356         [BZ #13367]
50357         * nss/getent.c (initgroups_keys): Show error message in case no group
50358         names are given.
50360         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50361         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50362         __bump_nl_timestamp.
50363         * nscd/connections (nscd_init): When host database is served open
50364         netlink socket and request notification about configuration changes.
50365         (main_loop_poll): Track netlink file descriptor and bump timestamp
50366         in case data becomes available.
50367         (main_loop_epoll): Likewise.
50368         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50369         (database_pers_head): Add extra_data fileds.
50370         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50371         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50372         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50373         Adjust caller.
50374         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50375         in6ai data, call __free_in6ai.
50376         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50377         Add -DHAVE_NETLINK.
50378         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
50379         interface information.  Reuse previous data if netlink timestamp
50380         is not changed.
50381         (__bump_nl_timestamp): New function.
50382         (__free_in6ai): New function.
50384 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
50386         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50387         close_not_cancel_no_status here.
50388         (__check_pf): Reorganize code a bit to not call close twice if OOM.
50390 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
50392         [BZ #13276]
50393         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50394         return value.
50396         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
50397         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50398         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50400 2011-07-03  Andreas Jaeger  <aj@suse.de>
50402         [BZ #10709]
50403         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50404         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50405         * math/libm-test.inc (sin_test): Add test case.
50407 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
50409         [BZ #13337]
50410         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50411         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50413         * elf/chroot_canon.c (chroot_canon): Cleanups.
50415         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50417         [BZ #13335]
50418         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50419         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50421         * string/test-strchr.c: Make usable for strchrnul testing.
50422         * string/test-strchrnul.c: New file.
50423         * string/Makefile (strop-tests): Add strchrnul.
50425         * po/it.po: Update from translation team.
50426         * po/es.po: Likewise.
50428 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
50430         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
50431         the three constants needed as parameters.  Drop the others.
50432         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
50433         __m128i_strloadu_tolower.
50434         Create and initialize variable zero and use it in all the places
50435         where _mm_setzero_si128 was used.
50437         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
50438         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
50439         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
50440         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
50441         anymore.
50442         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
50443         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
50444         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
50445         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
50446         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
50447         __mpranred, __mptan.
50448         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
50449         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
50450         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
50451         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
50452         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
50453         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
50454         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
50455         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
50456         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
50458 2011-10-28  Andreas Schwab  <schwab@redhat.com>
50460         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
50461         redefine if SHARED.
50462         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
50464         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
50465         wide char related routines to wcsmbs subdir.
50467 2011-10-27  Andreas Schwab  <schwab@redhat.com>
50469         [BZ #13344]
50470         * misc/sys/cdefs.h (__THROWNL): Define.
50471         * posix/unistd.h: Use __THREADNL instead of __THREAD
50472         for memory synchronization functions.
50474 2011-10-26  Roland McGrath  <roland@hack.frob.com>
50476         [BZ #13349]
50477         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
50478         doesn't exist.
50479         * manual/stdio.texi (Obstack Streams): Node removed.
50481 2011-10-26  Andreas Schwab  <schwab@redhat.com>
50483         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
50484         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50485         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50487         * math/math_private.h (math_force_eval): Allow non-addressable
50488         arguments.
50489         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
50491 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50493         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
50494         file is not needed.
50496         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
50497         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
50498         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
50499         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
50500         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
50501         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
50502         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
50503         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
50504         Add AVX variants.
50505         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
50506         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
50507         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
50508         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
50509         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
50510         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
50511         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
50512         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
50513         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
50514         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
50515         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
50516         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
50517         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
50518         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
50519         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
50520         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
50521         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
50522         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
50523         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
50525         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
50526         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
50528         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
50529         place.  Use VEX encoding when compiling for AVX.
50531 2011-10-25  Andreas Schwab  <schwab@redhat.com>
50533         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
50534         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
50536         * string/test-strchr.c (do_test): Don't generate NUL bytes.
50538 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50540         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
50541         useless if() expression.
50542         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
50543         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
50544         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
50545         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
50546         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
50547         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
50548         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
50549         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50550         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50551         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
50552         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
50553         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
50554         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
50555         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
50556         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
50557         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
50558         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
50559         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
50560         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
50562         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
50564 2011-10-25  Andreas Schwab  <schwab@redhat.com>
50566         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
50567         condition.
50568         * elf/dl-fini.c (_dl_sort_fini): Likewise.
50570 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
50572         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
50573         .text section.  Avoid duplicate constants.
50574         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
50575         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50576         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
50577         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50578         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50579         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50580         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50581         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50582         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
50583         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
50584         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
50585         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
50586         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
50587         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
50588         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
50589         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
50590         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
50591         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
50592         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
50593         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50594         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
50595         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
50596         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
50597         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
50598         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
50599         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
50600         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
50601         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
50602         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
50603         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
50604         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
50605         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
50606         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
50607         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
50608         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
50609         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
50610         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
50611         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
50612         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
50613         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
50614         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
50615         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
50616         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
50617         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
50618         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
50620 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
50622         * sysdeps/x86_64/dla.h: Move to ...
50623         * sysdeps/x86_64/fpu/dla.h: ...here.
50624         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
50625         situations.  Use __builtin_fma only for gcc 4.6 and up.
50627         * config.make.in: Add have-mfma4 entry.
50628         * configure.in: Substitute libc_cv_cc_fma4.
50629         * math/Makefile (dbl-only-routines): Add sincostab.
50630         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
50631         Use __sincostab not sincos.
50632         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
50633         name is a macro.
50634         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
50635         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50636         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50637         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
50638         using __copysign.
50639         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
50640         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
50641         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
50642         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
50643         and __inv.
50644         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
50645         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
50646         __copysign.
50647         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
50648         define aliases when function name is a macro.
50649         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
50650         sysdeps/ieee754/dbl-64/sincos.tbl.
50651         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
50652         fma4-enabled routines.
50653         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
50654         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
50655         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
50656         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
50657         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
50658         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
50659         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
50660         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
50661         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
50662         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
50663         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
50664         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
50665         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
50666         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
50667         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
50668         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
50669         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
50670         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
50671         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
50672         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
50673         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
50674         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
50675         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
50676         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
50677         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
50678         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
50679         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
50680         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
50681         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
50682         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
50684         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
50685         rename.
50686         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50687         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50688         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50689         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50690         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50691         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50692         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50693         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50695 2011-10-24  Andreas Schwab  <schwab@redhat.com>
50697         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
50699 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50701         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
50703         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
50704         prediction.
50705         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
50707         * string/strnlen.c: Don't define STRNLEN, reverse logic.
50708         Remove unused variable magic_bits.
50709         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
50711         * string/strnlen.c: Define and use STRNLEN macro.
50712         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
50713         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
50714         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
50715         * wcsmbs/wcslen.c: Define and use WCSLEN.
50716         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
50717         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
50718         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
50719         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
50720         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
50721         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
50722         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50724 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50726         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50727         strnlen-sse2-no-bsf.
50728         Rename strlen-no-bsf to strlen-sse2-no-bsf.
50729         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
50730         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
50731         Add strnlen support.
50732         (USE_AS_STRNLEN): New macro.
50733         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
50734         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
50735         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
50736         * sysdeps/x86_64/wcslen.S: New file.
50738 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
50740         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
50741         XMM-moves are used for copying on small sizes.
50743 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50745         * wcsmbs/Makefile (strop-tests): Add wcschr.
50746         * wcsmbs/test-wcschr.c: New file.
50747         * string/test-strchr.c: Update.
50748         Add wcschr support.
50749         (WIDE): New macro.
50751 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50753         * wcsmbs/Makefile (strop-tests): Add wcslen.
50754         * wcsmbs/test-wcslen.c: New file.
50755         * string/test-strlen.c: Update.
50756         Add wcslen support.
50757         (WIDE): New macro.
50759 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50761         * po/it.po: Update from translation team.
50763 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50765         * sysdeps/x86_64/wcscmp.S: Update.
50766         Fix wrong comparison semantics.
50767         wcscmp shall use signed comparison not unsigned.
50768         Don't use substraction to avoid overflow bug.
50769         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
50770         * wcsmbc/wcscmp.c: Likewise.
50771         * string/test-strcmp.c: Likewise.
50772         Add new tests to check cases with negative values.
50774 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
50776         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
50777         * sysdeps/x86_64/dla.h: ...here.  New file.
50778         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
50779         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50780         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50781         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50782         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50783         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
50784         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50785         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50786         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50788 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
50790         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
50791         __ynl_finite aliases.
50793 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
50795         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
50797         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
50798         define DLA_FMA.
50799         [DLA_FMA] (EMULV): Use DLA_FMA.
50800         [DLA_FMA] (MUL12): Use EMULV.
50801         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
50802         that are not needed.
50803         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
50804         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
50805         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
50806         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
50807         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
50808         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
50809         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
50811 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
50813         * math/s_nan.c: Undef __nan.
50814         * math/s_nanf.c: Undef __nanf.
50815         * math/s_nanl.c: Undef __nanl.
50816         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
50817         "math_private.h".
50819 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
50821         * math/s_catan.c: Add branch predictions.
50822         * math/s_catanf.c: Likewise.
50823         * math/s_catanh.c: Likewise.
50824         * math/s_catanhf.c: Likewise.
50825         * math/s_catanhl.c: Likewise.
50826         * math/s_catanl.c: Likewise.
50827         * math/s_cexp.c: Likewise.
50828         * math/s_cexpf.c: Likewise.
50829         * math/s_cexpl.c: Likewise.
50830         * math/s_clog.c: Likewise.
50831         * math/s_clog10.c: Likewise.
50832         * math/s_clog10f.c: Likewise.
50833         * math/s_clog10l.c: Likewise.
50834         * math/s_clogf.c: Likewise.
50835         * math/s_clogl.c: Likewise.
50836         * math/s_csqrt.c: Likewise.
50837         * math/s_csqrtf.c: Likewise.
50838         * math/s_csqrtl.c: Likewise.
50839         * math/s_ctanf.c: Likewise.
50840         * math/s_ctanh.c: Likewise.
50841         * math/s_ctanhf.c: Likewise.
50842         * math/s_ctanhl.c: Likewise.
50843         * math/s_ctanl.c: Likewise.
50845         * math/math_private.h: Define __nan, __nanf, __nanl.
50846         * math/s_cacosh.c: Include <math_private.h>.
50847         * math/s_cacoshl.c: Likewise.
50848         * math/s_casinh.c: Likewise.
50849         * math/s_casinhf.c: Likewise.
50850         * math/s_casinhl.c: Likewise.
50851         * math/s_ccos.c: Rely entire on ccosh.
50852         * math/s_ccosf.c: Rely entire on ccoshf.
50853         * math/s_ccosl.c: Rely entirely on ccoshl.
50854         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
50855         Remove tests for FE_INVALID.
50856         * math/s_ccoshf.c: Likewise.
50857         * math/s_ccoshl.c: Likewise.
50858         * math/s_csin.c: Likewise.
50859         * math/s_csinf.c: Likewise.
50860         * math/s_csinh.c Likewise.
50861         * math/s_csinhf.c: Likewise.
50862         * math/s_csinhl.c: Likewise.
50863         * math/s_csinl.c: Likewise.
50864         * math/s_ctan.c: Likewise.
50865         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
50866         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
50867         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
50869 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
50871         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
50872         compilation problems.
50874         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
50875         __builtin_expect.
50877 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
50879         * sysdeps/i386/configure.in: Test for -mfma4 option.
50880         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
50881         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
50882         COMMON_CPUID_INDEX_80000001.
50883         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
50884         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
50885         use it if FMA3 is not supported.
50886         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
50888         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
50889         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
50891 2011-10-20  Andreas Schwab  <schwab@redhat.com>
50893         [BZ #12892]
50894         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
50895         it would create a cycle with a link time dependency.
50897 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
50899         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
50900         instruction.
50901         * string/Makefile (strop-tests): Add rawmemchr.
50902         * string/test-rawmemchr.c: New file.
50904         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
50905         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
50906         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
50907         when compiling str{,n}casecmp and when AVX is available.  Hook up
50908         new optimized code in initializers.
50910 2011-10-19  Andreas Schwab  <schwab@redhat.com>
50912         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
50913         __feraiseexcept instead of feraiseexcept.
50915 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
50917         * math/math_private.h: Define defaults for libc_fetestexcept and
50918         libc_feupdateenv.
50919         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
50920         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
50921         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
50922         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
50923         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
50924         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50925         libc_fetestexcept and libc_feupdateenv.
50927         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
50928         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
50929         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
50930         * sysdeps/x86_64/fpu/math_private.h: Define special version of
50931         libc_feholdexcept_setround.
50933         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
50934         Add s_nearbyint-c and s_nearbyintf-c.
50935         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
50936         nearbyintf inlines.
50937         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
50938         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
50939         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
50940         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
50942         * math/math_private.h: Define defaults for libc_fegetround,
50943         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
50944         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
50945         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
50946         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
50947         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
50948         standard functions.
50949         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
50950         Remove comments and hacks for old compiler versions.
50951         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
50952         libc_fegetround, libc_fesetround, libc_feholdexcept, and
50953         libc_feholdexceptl.
50955 2011-10-18  Andreas Schwab  <schwab@redhat.com>
50957         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
50958         (__feraiseexcept_renamed): Add __NTH.
50959         (feraiseexcept): Add __NTH.  Rename local variables to fix
50960         namespace violations.
50962 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
50964         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
50966         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
50968         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
50969         recently added interfaces.
50970         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
50972         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
50973         about macro parameter expansion.
50975         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
50976         __NO_MATH_INLINES is defined.  Cleanups.
50978         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
50979         and __floorf is target has SSE4.1.
50980         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
50981         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
50982         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
50983         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
50985         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
50986         name.
50987         (floorf): Likewise.
50989         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
50991 2011-10-17  Andreas Schwab  <schwab@redhat.com>
50993         * misc/sys/cdefs.h: Fix last change.
50995         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
50996         database lookup.
50998 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
51000         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51002         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51003         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51004         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51005         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51006         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51007         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51008         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51009         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51010         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51011         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51012         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51013         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51014         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51015         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51016         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51017         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51018         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51019         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51020         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51021         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51022         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51023         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51025         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51026         ceil, ceilf, floor, floorf.
51028         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51029         Perform IRELATIVE relocations last.
51031         * elf/do-rel.h: Add another parameter nrelative, replacing the
51032         local variable with the same name.  Change name of the function
51033         to end in Rel or Rela (uppercase).
51034         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51035         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
51036         elf_dynamic_do_##reloc function.
51038 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
51040         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51041         is sufficient, at least on modern CPUs.
51043         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51045         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51046         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51048         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51049         __expl_finite.
51050         * math/bits/math-finite.h: Add entries for exp.
51051         * math/e_expl.c: Add __*_finite alias.
51052         * sysdeps/i386/fpu/e_exp.S: Likewise.
51053         * sysdeps/i386/fpu/e_expf.S: Likewise.
51054         * sysdeps/i386/fpu/e_expl.c: Likewise.
51055         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51056         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51057         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51058         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51059         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51060         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51061         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51063         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51064         is sufficient, at least on modern CPUs.
51066         * ctype/ctype-info.c (__ctype_init): Define.
51067         * include/ctype.h (__ctype_init): Declare.
51068         (__ctype_b_loc): The variable is always initialized.
51069         (__ctype_toupper_loc): Likewise.
51070         (__ctype_tolower_loc): Likewise.
51071         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51072         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51074 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
51076         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51078         * configure.in: Also look in $cxxmachine/include for C++ system
51079         headers.
51081 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51083         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51084         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51085         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51086         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
51087         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51088         (USE_AS_WMEMCMP): New macro.
51089         Fixing indents.
51090         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51091         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51092         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51093         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51094         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51095         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51096         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51097         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51098         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51099         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51100         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51101         (USE_AS_WMEMCMP): New macro.
51102         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51103         * sysdeps/string/test-memcmp.c: Update.
51104         Fix simple_wmemcmp.
51105         Add new tests.
51106         * wcsmbs/wmemcmp.c: Update.
51107         (WMEMCMP): New macro.
51108         Fix overflow bug.
51110 2011-10-12  Andreas Jaeger  <aj@suse.de>
51112         [BZ #13268]
51113         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51115 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
51117         * libio/iofwide.c (do_length): Avoid warning.
51119         * ctype/ctype.h (__isctype_f): Add missing __THROW.
51121 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
51123         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51125         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51126         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51127         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51128         * sysdeps/i386/i686/fpu/e_log.S: New file.
51129         * sysdeps/i386/i686/fpu/e_logf.S: New file.
51130         * sysdeps/i386/i686/fpu/e_logl.S: New file.
51132         * ctype/ctype.h: Add support for inlined isXXX functions when
51133         compiling C++ code.
51135 2011-10-14  Andreas Schwab  <schwab@redhat.com>
51137         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51139         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51141 2011-10-13  Roland McGrath  <roland@hack.frob.com>
51143         [BZ #13291]
51144         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51146 2011-10-13  Andreas Schwab  <schwab@redhat.com>
51148         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51149         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51150         feraiseexcept.
51152         * sysdeps/x86_64/memrchr.S: Check for zero size.
51154         * string/stratcliff.c: Add memrchr tests.
51156 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51158         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51159         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51160         rawmemchr-sse2 rawmemchr-sse2-bsf.
51161         * sysdeps/i386/i686/multiarch/memchr.S: New file.
51162         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51163         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51164         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51165         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51166         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51167         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51168         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51169         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51170         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51171         * string/memrchr.c (MEMRCHR): New macro.
51173 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
51175         Add integration with gcc's -ffinite-math-only and optimize wrapper
51176         functions in libm.
51177         * Versions.def: Define GLIBC_2.15 version for libm.
51178         * math/Makefile (headers): Add bits/math-finite.h.
51179         * math/bits/math-finite.h: New file.
51180         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51181         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51182         * math/e_acoshl.c: Add __*_finite alias.
51183         * math/e_acosl.c: Likewise.
51184         * math/e_asinl.c: Likewise.
51185         * math/e_atan2l.c: Likewise.
51186         * math/e_atanhl.c: Likewise.
51187         * math/e_coshl.c: Likewise.
51188         * math/e_exp10.c: Likewise.
51189         * math/e_exp10f.c: Likewise.
51190         * math/e_exp10l.c: Likewise.
51191         * math/e_exp2l.c: Likewise.
51192         * math/e_fmodl.c: Likewise.
51193         * math/e_gammal_r.c: Likewise.
51194         * math/e_hypotl.c: Likewise.
51195         * math/e_j0l.c: Likewise.
51196         * math/e_j1l.c: Likewise.
51197         * math/e_jnl.c: Likewise.
51198         * math/e_lgammal_r.c: Likewise.
51199         * math/e_log10l.c: Likewise.
51200         * math/e_log2l.c: Likewise.
51201         * math/e_logl.c: Likewise.
51202         * math/e_powl.c: Likewise.
51203         * math/e_sinhl.c: Likewise.
51204         * math/e_sqrtl.c: Likewise.
51205         * math/e_scalb.c: Completely rewritten and optimized.
51206         * math/e_scalbf.c: Likewise.
51207         * math/e_scalbl.c: Likewise.
51208         * math/w_acos.c: Likewise.
51209         * math/w_acosf.c: Likewise.
51210         * math/w_acosl.c: Likewise.
51211         * math/w_acosh.c: Likewise.
51212         * math/w_acoshf.c: Likewise.
51213         * math/w_acoshl.c: Likewise.
51214         * math/w_asin.c: Likewise.
51215         * math/w_asinf.c: Likewise.
51216         * math/w_asinl.c: Likewise.
51217         * math/w_atan2.c: Likewise.
51218         * math/w_atan2f.c: Likewise.
51219         * math/w_atan2l.c: Likewise.
51220         * math/w_atanh.c: Likewise.
51221         * math/w_atanhf.c: Likewise.
51222         * math/w_atanhl.c: Likewise.
51223         * math/w_exp10.c: Likewise.
51224         * math/w_exp10f.c: Likewise.
51225         * math/w_exp10l.c: Likewise.
51226         * math/w_fmod.c: Likewise.
51227         * math/w_fmodf.c: Likewise.
51228         * math/w_fmodl.c: Likewise.
51229         * math/w_j0.c: Likewise.
51230         * math/w_j0f.c: Likewise.
51231         * math/w_j0l.c: Likewise.
51232         * math/w_j1.c: Likewise.
51233         * math/w_j1f.c: Likewise.
51234         * math/w_j1l.c: Likewise.
51235         * math/w_jn.c: Likewise.
51236         * math/w_jnf.c: Likewise.
51237         * math/w_log.c: Likewise.
51238         * math/w_logf.c: Likewise.
51239         * math/w_logl.c: Likewise.
51240         * math/w_log10.c: Likewise.
51241         * math/w_log10f.c: Likewise.
51242         * math/w_log10l.c: Likewise.
51243         * math/w_log2.c: Likewise.
51244         * math/w_log2f.c: Likewise.
51245         * math/w_log2l.c: Likewise.
51246         * math/w_pow.c: Likewise.
51247         * math/w_powf.c: Likewise.
51248         * math/w_powl.c: Likewise.
51249         * math/w_remainder.c: Likewise.
51250         * math/w_remainderf.c: Likewise.
51251         * math/w_remainderl.c: Likewise.
51252         * math/w_scalb.c: Likewise.
51253         * math/w_scalbf.c: Likewise.
51254         * math/w_scalbl.c: Likewise.
51255         * math/w_sqrt.c: Likewise.
51256         * math/w_sqrtf.c: Likewise.
51257         * math/w_sqrtl.c: Likewise.
51258         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51259         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
51260         used.
51261         * math/math_private.h: Declare __kernel_standard_f.
51262         * math/w_cosh.c: Remove cruft and optimize a bit.
51263         * math/w_coshf.c: Likewise.
51264         * math/w_coshl.c: Likewise.
51265         * math/w_exp2.c: Likewise.
51266         * math/w_exp2f.c: Likewise.
51267         * math/w_exp2l.c: Likewise.
51268         * math/w_hypot.c: Likewise.
51269         * math/w_hypotf.c: Likewise.
51270         * math/w_hypotl.c: Likewise.
51271         * math/w_lgamma.c: Likewise.
51272         * math/w_lgamma_r.c: Likewise.
51273         * math/w_lgammaf.c: Likewise.
51274         * math/w_lgammaf_r.c: Likewise.
51275         * math/w_lgammal.c: Likewise.
51276         * math/w_lgammal_r.c: Likewise.
51277         * math/w_sinh.c: Likewise.
51278         * math/w_sinhf.c: Likewise.
51279         * math/w_sinhl.c: Likewise.
51280         * math/w_tgamma.c: Likewise.
51281         * math/w_tgammaf.c: Likewise.
51282         * math/w_tgammal.c: Likewise.
51283         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51284         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51285         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51286         Minor optimizations.  Pretty printing.  Remove cruft.
51287         * sysdeps/i386/fpu/e_acosf.S: Likewise.
51288         * sysdeps/i386/fpu/e_acosh.S: Likewise.
51289         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51290         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51291         * sysdeps/i386/fpu/e_acosl.c: Likewise.
51292         * sysdeps/i386/fpu/e_asin.S: Likewise.
51293         * sysdeps/i386/fpu/e_asinf.S: Likewise.
51294         * sysdeps/i386/fpu/e_atan2.S: Likewise.
51295         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51296         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51297         * sysdeps/i386/fpu/e_atanh.S: Likewise.
51298         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51299         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51300         * sysdeps/i386/fpu/e_exp10.S: Likewise.
51301         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51302         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51303         * sysdeps/i386/fpu/e_exp2.S: Likewise.
51304         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51305         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51306         * sysdeps/i386/fpu/e_fmod.S: Likewise.
51307         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51308         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51309         * sysdeps/i386/fpu/e_hypot.S: Likewise.
51310         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51311         * sysdeps/i386/fpu/e_log.S: Likewise.
51312         * sysdeps/i386/fpu/e_log10.S: Likewise.
51313         * sysdeps/i386/fpu/e_log10f.S: Likewise.
51314         * sysdeps/i386/fpu/e_log10l.S: Likewise.
51315         * sysdeps/i386/fpu/e_log2.S: Likewise.
51316         * sysdeps/i386/fpu/e_log2f.S: Likewise.
51317         * sysdeps/i386/fpu/e_log2l.S: Likewise.
51318         * sysdeps/i386/fpu/e_logf.S: Likewise.
51319         * sysdeps/i386/fpu/e_logl.S: Likewise.
51320         * sysdeps/i386/fpu/e_pow.S: Likewise.
51321         * sysdeps/i386/fpu/e_powf.S: Likewise.
51322         * sysdeps/i386/fpu/e_powl.S: Likewise.
51323         * sysdeps/i386/fpu/e_remainder.S: Likewise.
51324         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51325         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51326         * sysdeps/i386/fpu/e_scalb.S: Likewise.
51327         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51328         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51329         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51330         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51331         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51332         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51333         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51334         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51335         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51336         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51337         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51338         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51339         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51340         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51341         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51342         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51343         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51344         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51345         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51346         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51347         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51348         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51349         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51350         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51351         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51352         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51353         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51354         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51355         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51356         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51357         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51358         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51359         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51360         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51361         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51362         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51363         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51364         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51365         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51366         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51367         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51368         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51369         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51370         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51371         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51372         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51373         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51374         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51375         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51376         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51377         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51378         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51379         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51380         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51381         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51382         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51383         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51384         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51385         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51386         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51387         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51388         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51389         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51390         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51391         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51392         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51393         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51394         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51395         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51396         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51397         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51398         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51399         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51400         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51401         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51402         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51403         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51404         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51405         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51406         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51407         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51408         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51409         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51410         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51411         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51412         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51413         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51414         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51415         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51416         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51417         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51418         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51419         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
51420         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
51421         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
51422         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
51423         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
51424         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51425         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
51426         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51427         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51428         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51429         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
51430         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
51431         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
51432         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
51433         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
51434         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
51435         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
51436         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
51437         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
51438         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
51439         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
51440         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
51441         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
51442         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
51443         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
51444         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
51445         (__isnanf): Likewise.
51446         (__isinf_ns): Likewise.
51447         (__isinf_nsf): Likewise.
51448         (__finite): Likewise.
51449         (__finitef): Likewise.
51450         (__ieee754_sqrt): Define as macro.
51451         (__ieee754_sqrtf): Define as macro.
51452         (__ieee754_sqrtl): Define as macro.
51453         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
51454         inlined copy.
51455         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
51456         __FINITE_MATH_ONLY__ consistent.
51457         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
51459 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
51461         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
51462         of rawmemchr.
51464         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
51466 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
51468         * po/ja.po: Update from translation team.
51470 2011-10-08  Roland McGrath  <roland@hack.frob.com>
51472         * locale/programs/locarchive.c (prepare_address_space): New function.
51473         (create_archive, enlarge_archive, open_archive): Use it.
51475         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
51476         inside [SHARED], where it is used.
51478         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
51480         * nss/getent.c (netgroup_keys): Remove unused variable.
51481         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
51483 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
51485         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
51486         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
51487         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
51488         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
51489         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
51490         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
51491         * math/Makefile (libm-calls): Add s_isinf_ns.
51492         * math/divtc3.c: Use __isinf_nsl instead of isinf.
51493         * math/multc3.c: Likewise.
51494         * math/s_casin.c: Likewise.
51495         * math/s_casinf.c: Likewise.
51496         * math/s_casinl.c: Likewise.
51497         * math/s_ccos.c: Likewise.
51498         * math/s_ccosf.c: Likewise.
51499         * math/s_ccosl.c: Likewise.
51500         * math/s_ctan.c: Likewise.
51501         * math/s_ctanf.c: Likewise.
51502         * math/s_ctanh.c: Likewise.
51503         * math/s_ctanhf.c: Likewise.
51504         * math/s_ctanhl.c: Likewise.
51505         * math/s_ctanl.c: Likewise.
51506         * math/w_fmod.c: Likewise.
51507         * math/w_fmodf.c: Likewise.
51508         * math/w_fmodl.c: Likewise.
51509         * math/w_remainder.c: Likewise.
51510         * math/w_remainderf.c: Likewise.
51511         * math/w_remainderl.c: Likewise.
51512         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
51513         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
51514         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
51515         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
51516         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
51517         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
51518         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
51519         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
51521         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
51522         of the number.
51523         * stdio-common/printf_fphex.c: Likewise.
51524         * stdio-common/printf_size.c: Likewise.
51526         * math/e_exp10.c: Include math_private.h using <...> not "...".
51527         * math/e_exp10f.c: Likewise.
51528         * math/e_exp10l.c: Likewise.
51529         * math/e_exp2l.c: Likewise.
51530         * math/e_j0l.c: Likewise.
51531         * math/e_j1l.c: Likewise.
51532         * math/e_jnl.c: Likewise.
51533         * math/e_lgammal_r.c: Likewise.
51534         * math/e_rem_pio2l.c: Likewise.
51535         * math/e_scalb.c: Likewise.
51536         * math/e_scalbf.c: Likewise.
51537         * math/e_scalbl.c: Likewise.
51538         * math/k_cosl.c: Likewise.
51539         * math/k_sinl.c: Likewise.
51540         * math/k_tanl.c: Likewise.
51541         * math/s_cacoshf.c: Likewise.
51542         * math/s_catan.c: Likewise.
51543         * math/s_catanf.c: Likewise.
51544         * math/s_catanh.c: Likewise.
51545         * math/s_catanhf.c: Likewise.
51546         * math/s_catanhl.c: Likewise.
51547         * math/s_catanl.c: Likewise.
51548         * math/s_ccosh.c: Likewise.
51549         * math/s_ccoshf.c: Likewise.
51550         * math/s_ccoshl.c: Likewise.
51551         * math/s_cexp.c: Likewise.
51552         * math/s_cexpf.c: Likewise.
51553         * math/s_cexpl.c: Likewise.
51554         * math/s_clog.c: Likewise.
51555         * math/s_clog10.c: Likewise.
51556         * math/s_clog10f.c: Likewise.
51557         * math/s_clog10l.c: Likewise.
51558         * math/s_clogf.c: Likewise.
51559         * math/s_clogl.c: Likewise.
51560         * math/s_csin.c: Likewise.
51561         * math/s_csinf.c: Likewise.
51562         * math/s_csinh.c: Likewise.
51563         * math/s_csinhf.c: Likewise.
51564         * math/s_csinhl.c: Likewise.
51565         * math/s_csinl.c: Likewise.
51566         * math/s_csqrt.c: Likewise.
51567         * math/s_csqrtf.c: Likewise.
51568         * math/s_csqrtl.c: Likewise.
51569         * math/s_ctan.c: Likewise.
51570         * math/s_ctanf.c: Likewise.
51571         * math/s_ctanh.c: Likewise.
51572         * math/s_ctanhf.c: Likewise.
51573         * math/s_ctanhl.c: Likewise.
51574         * math/s_ctanl.c: Likewise.
51575         * math/s_ldexp.c: Likewise.
51576         * math/s_ldexpf.c: Likewise.
51577         * math/s_ldexpl.c: Likewise.
51578         * math/s_significand.c: Likewise.
51579         * math/s_significandf.c: Likewise.
51580         * math/s_significandl.c: Likewise.
51581         * math/w_acos.c: Likewise.
51582         * math/w_acosf.c: Likewise.
51583         * math/w_acosh.c: Likewise.
51584         * math/w_acoshf.c: Likewise.
51585         * math/w_acoshl.c: Likewise.
51586         * math/w_acosl.c: Likewise.
51587         * math/w_asin.c: Likewise.
51588         * math/w_asinf.c: Likewise.
51589         * math/w_asinl.c: Likewise.
51590         * math/w_atan2.c: Likewise.
51591         * math/w_atan2f.c: Likewise.
51592         * math/w_atan2l.c: Likewise.
51593         * math/w_atanh.c: Likewise.
51594         * math/w_atanhf.c: Likewise.
51595         * math/w_atanhl.c: Likewise.
51596         * math/w_cosh.c: Likewise.
51597         * math/w_coshf.c: Likewise.
51598         * math/w_coshl.c: Likewise.
51599         * math/w_dremf.c: Likewise.
51600         * math/w_exp10.c: Likewise.
51601         * math/w_exp10f.c: Likewise.
51602         * math/w_exp10l.c: Likewise.
51603         * math/w_exp2.c: Likewise.
51604         * math/w_exp2f.c: Likewise.
51605         * math/w_fmod.c: Likewise.
51606         * math/w_fmodf.c: Likewise.
51607         * math/w_fmodl.c: Likewise.
51608         * math/w_hypot.c: Likewise.
51609         * math/w_hypotf.c: Likewise.
51610         * math/w_hypotl.c: Likewise.
51611         * math/w_j0.c: Likewise.
51612         * math/w_j0f.c: Likewise.
51613         * math/w_j0l.c: Likewise.
51614         * math/w_j1.c: Likewise.
51615         * math/w_j1f.c: Likewise.
51616         * math/w_j1l.c: Likewise.
51617         * math/w_jn.c: Likewise.
51618         * math/w_jnf.c: Likewise.
51619         * math/w_jnl.c: Likewise.
51620         * math/w_lgamma.c: Likewise.
51621         * math/w_lgamma_r.c: Likewise.
51622         * math/w_lgammaf.c: Likewise.
51623         * math/w_lgammaf_r.c: Likewise.
51624         * math/w_lgammal.c: Likewise.
51625         * math/w_lgammal_r.c: Likewise.
51626         * math/w_log.c: Likewise.
51627         * math/w_log10.c: Likewise.
51628         * math/w_log10f.c: Likewise.
51629         * math/w_log10l.c: Likewise.
51630         * math/w_log2.c: Likewise.
51631         * math/w_log2f.c: Likewise.
51632         * math/w_log2l.c: Likewise.
51633         * math/w_logf.c: Likewise.
51634         * math/w_logl.c: Likewise.
51635         * math/w_pow.c: Likewise.
51636         * math/w_powf.c: Likewise.
51637         * math/w_powl.c: Likewise.
51638         * math/w_remainder.c: Likewise.
51639         * math/w_remainderf.c: Likewise.
51640         * math/w_remainderl.c: Likewise.
51641         * math/w_scalb.c: Likewise.
51642         * math/w_scalbf.c: Likewise.
51643         * math/w_scalbl.c: Likewise.
51644         * math/w_sinh.c: Likewise.
51645         * math/w_sinhf.c: Likewise.
51646         * math/w_sinhl.c: Likewise.
51647         * math/w_sqrt.c: Likewise.
51648         * math/w_sqrtf.c: Likewise.
51649         * math/w_sqrtl.c: Likewise.
51650         * math/w_tgamma.c: Likewise.
51651         * math/w_tgammaf.c: Likewise.
51652         * math/w_tgammal.c: Likewise.
51654         * po/ja.po: Update from translation team.
51656 2011-09-29  Andreas Jaeger  <aj@suse.de>
51658         [BZ #13179]
51659         * sunrpc/netname.c (netname2host): Fix logic.
51661         [BZ #6779]
51662         [BZ #6783]
51663         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
51664         correctly.
51665         * math/w_remainder.c (__remainder): Likewise.
51666         * math/w_remainderf.c (__remainderf): Likewise.
51667         * math/libm-test.inc (remainder_test): Add test cases.
51669 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51671         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
51672         sdiv_qrnnd.
51674 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
51676         * string/test-memcmp.c: Avoid unncessary #defines.
51677         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51679 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51681         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
51682         Use new sse2 version for core i3 - i7 as it's faster
51683         than sse42 version.
51684         (bit_Prefer_PMINUB_for_stringop): New.
51685         * sysdeps/x86_64/rawmemchr.S: Update.
51686         Replace with faster SSE2 version.
51687         * sysdeps/x86_64/memrchr.S: New file.
51688         * sysdeps/x86_64/memchr.S: Update.
51689         Replace with faster SSE2 version.
51691 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
51693         * elf/dl-load.c (lose): Add cast to avoid warning.
51695 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
51697         * po/ca.po: Update from translation team.
51699         * inet/getnetgrent_r.c: Hook up nscd.
51700         * nscd/Makefile (routines): Add nscd_netgroup.
51701         (nscd-modules): Add netgroupcache.
51702         (CFLAGS-netgroupcache.c): Define.
51703         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
51704         (cache_search): Add const to second parameter.
51705         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
51706         INNETGR.
51707         (dbs): Add netgrdb entry.
51708         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
51709         (verify_persistent_db): Handle netgrdb.
51710         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
51711         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
51712         GETFDNETGR.
51713         (netgroup_response_header): Define.
51714         (innetgroup_response_header): Define.
51715         (datahead): Add netgroup_response_header and innetgroup_response_header
51716         elements.
51717         * nscd/nscd.conf: Add entries for netgroup cache.
51718         * nscd/nscd.h (dbtype): Add netgrdb.
51719         (_PATH_NSCD_NETGROUP_DB): Define.
51720         (netgroup_iov_disabled): Declare.
51721         (xmalloc, xcalloc, xrealloc): Move declarations here.
51722         (cache_search): Adjust prototype.
51723         Add netgroup-related prototypes.
51724         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
51725         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
51726         (__nscd_innetgr): Declare.
51727         * nscd/selinux.c (perms): Use access_vector_t as element type and
51728         add netgroup-related initializers.
51729         * nscd/netgroupcache.c: New file.
51730         * nscd/nscd_netgroup.c: New file.
51731         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
51732         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
51733         For four parameters use innetgr.
51734         * nss/nss_files/files-init.c: Add definition and callback for netgr.
51735         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
51736         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
51737         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
51739         * nscd/connections.c (register_traced_file): Don't register file
51740         for disabled databases.
51742 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
51744         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
51746         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
51747         from tree and freeing node.
51749 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
51751         * nss/nsswitch.c (__nss_database_lookup): Handle
51752         nss_parse_service_list out of memory case.
51754 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
51756         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
51757         out of memory case.
51759 2011-10-04  Andreas Schwab  <schwab@redhat.com>
51761         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
51762         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
51763         pass it down.
51764         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
51765         elf_machine_rela, elf_machine_lazy_rel.
51766         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
51767         (ELF_DYNAMIC_DO_REL): Likewise.
51768         (ELF_DYNAMIC_DO_RELA): Likewise.
51769         (ELF_DYNAMIC_RELOCATE): Likewise.
51770         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
51771         to ELF_DYNAMIC_DO_REL.
51772         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
51773         (dl_main): In trace mode always set __RTLD_NOIFUNC.
51774         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
51775         elf_machine_rela.
51776         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
51777         skip_ifunc, don't call ifunc function if non-zero.
51778         (elf_machine_rela): Likewise.
51779         (elf_machine_lazy_rel): Likewise.
51780         (elf_machine_lazy_rela): Likewise.
51781         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
51782         (elf_machine_lazy_rel): Likewise.
51783         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
51784         Likewise.
51785         (elf_machine_lazy_rel): Likewise.
51786         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51787         Likewise.
51788         (elf_machine_lazy_rel): Likewise.
51789         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
51790         (elf_machine_lazy_rel): Likewise.
51791         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
51792         (elf_machine_lazy_rel): Likewise.
51793         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
51794         (elf_machine_lazy_rel): Likewise.
51795         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
51796         (elf_machine_lazy_rel): Likewise.
51797         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
51798         (elf_machine_lazy_rel): Likewise.
51799         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
51800         (elf_machine_lazy_rel): Likewise.
51802 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
51804         * nss/nss_files/files-init.c (_nss_files_init): Use static
51805         initialization for all the *_traced_file variables.
51807 2011-09-28  Andreas Schwab  <schwab@redhat.com>
51809         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51811 2011-09-27  Roland McGrath  <roland@hack.frob.com>
51813         [BZ #13226]
51814         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
51816 2011-09-27  Andreas Schwab  <schwab@redhat.com>
51818         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51819         Reread the line before reparsing it.
51821 2011-09-26  Andreas Schwab  <schwab@redhat.com>
51823         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
51825 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
51826             Maxim Kuvyrkov  <maxim@codesourcery.com>
51827             Joseph Myers  <joseph@codesourcery.com>
51829         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
51830         if needed for __stack_chk_guard.
51832 2011-09-19  Roland McGrath  <roland@hack.frob.com>
51834         * sysdeps/posix/spawni.c (script_execute): Always define it.
51835         It will be optimized away if unused.
51836         (maybe_script_execute): New function.
51837         (__spawni): Call it.
51839         * Makerules: Don't include tls.make.
51840         (config-tls): Always set to thread.
51841         * tls.make.c: File removed.
51843 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
51845         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
51846         * config.make.in (CPPFLAGS-config): New substituted variable.
51848 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
51850         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
51852         [BZ #13192]
51853         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
51854         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
51856 2011-09-15  Roland McGrath  <roland@hack.frob.com>
51858         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
51859         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
51860         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
51861         (CALL_FAIL): Likewise.
51862         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
51863         (CALL_FAIL): Macro removed.
51864         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
51866 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
51868         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
51869         for __FINITE_MATH_ONLY__ == 1.
51871 2011-09-15  Andreas Schwab  <schwab@redhat.com>
51873         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
51874         __ieee754_sqrt instead of sqrt.
51875         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
51876         __ieee754_sqrtf instead of sqrtf.
51877         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
51878         __floorf instead of floorf.
51879         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
51880         __floorf, __truncf instead of floorf, truncf.
51882 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
51884         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
51886         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
51887         __extern_always_inline.
51888         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
51889         32-bit.
51891 2011-09-14  Andreas Schwab  <schwab@redhat.com>
51893         * elf/rtld.c (dl_main): Also relocate in dependency order when
51894         doing symbol dependency testing.
51896 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
51898         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
51899         Always define `refsym'.
51901 2011-09-13  Andreas Schwab  <schwab@redhat.com>
51903         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
51904         (__FD_ELT): Renamed from __FDELT.
51905         * misc/bits/select2.h (__FD_ELT): Likewise.
51906         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
51907         __FD_MASK instead of __FDELT, __FDMASK.
51908         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51909         Likewise.
51910         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
51911         Likewise.
51913         * elf/Makefile (gen-ldd): Fix pattern.
51915         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
51916         (init_tls): Likewise.
51918 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
51920         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
51922 2011-09-12  Andreas Schwab  <schwab@redhat.com>
51924         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
51925         `struct cmsghdr *' instead of `void *'.
51926         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
51927         Likewise.
51929 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
51931         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
51932         if non-absolute.
51933         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
51934         ldd_rewrite_script.
51936 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
51938         * configure.in: Remove --with-tls option.
51939         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
51940         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
51941         out in case it is missing.
51942         * sysdeps/ia64/elf/configure.in: Likewise.
51943         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
51944         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
51945         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
51946         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
51947         * sysdeps/sh/elf/configure.in: Likewise.
51948         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
51949         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
51950         * sysdeps/x86_64/elf/configure.in: Likewise.
51951         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
51952         * sysdeps/mach/hurd/tls.h: Likewise.
51954         [BZ #13067]
51955         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
51957         [BZ #13090]
51958         * configure.in: Fix use of AC_INIT.
51960         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
51962 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
51964         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
51965         __set_errno.
51966         * malloc/hooks.c: Likewise.
51968         [BZ #11929]
51969         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
51970         variables statically.
51971         (narenas): Initialize.
51972         (list_lock): Initialize.
51973         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
51974         initializtion of main_arena and list_lock.  Small cleanups.
51975         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
51976         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
51977         Add initializers to main_arena and mp_.
51978         (malloc_state): Remove pagesize member.  Change all users to use
51979         GLRO(dl_pagesize).
51981         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
51982         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
51983         is always initialized.
51985         * malloc/malloc.c: Removed unused configurations and dead code.
51986         * malloc/arena.c: Likewise.
51987         * malloc/hooks.c: Likewise.
51988         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
51990         * include/tls.h: Removed.  USE___THREAD must always be defined.
51991         * bits/libc-tsd.h: Don't handle !USE___THREAD.
51992         * elf/dl-libc.c: Likewise.
51993         * elf/dl-tsd.c: Likewise.
51994         * include/errno.h: Likewise.
51995         * include/netdb.h: Likewise.
51996         * include/resolv.h: Likewise.
51997         * inet/herrno-loc.c: Likewise.
51998         * inet/herrno.c: Likewise.
51999         * malloc/arena.c: Likewise.
52000         * malloc/hooks.c: Likewise.
52001         * malloc/malloc.c: Likewise.
52002         * resolv/res-state.c: Likewise.
52003         * resolv/res_libc.c: Likewise.
52004         * sysdeps/i386/dl-machine.h: Likewise.
52005         * sysdeps/ia64/dl-machine.h: Likewise.
52006         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52007         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52008         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52009         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52010         * sysdeps/sh/dl-machine.h: Likewise.
52011         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52012         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52013         * sysdeps/unix/i386/sysdep.S: Likewise.
52014         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52015         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52016         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52017         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52018         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52019         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52020         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52021         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52022         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52023         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52024         * sysdeps/unix/x86_64/sysdep.S: Likewise.
52025         * sysdeps/x86_64/dl-machine.h: Likewise.
52026         * tls.make.c: Likewise.
52028         * configure.in: Remove --with-__thread option.  Make tests for
52029         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52030         tls_model attribute fail if no support is available.  Remove
52031         USE_IN_LIBIO.
52032         * Makeconfig: Adjust for dropped configure option.  All features are
52033         now mandatory.
52034         * Makerules: Likewise.
52035         * Versions.def: Likewise.
52036         * argp/argp-fmtstream.c: Likewise.
52037         * argp/argp-fmtstream.h: Likewise.
52038         * argp/argp-help.c: Likewise.
52039         * assert/assert.c: Likewise.
52040         * config.h.in: Likewise.
52041         * config.make.in: Likewise.
52042         * configure: Likewise.
52043         * configure.in: Likewise.
52044         * csu/Versions: Likewise.
52045         * csu/init.c: Likewise.
52046         * elf/tst-audit2.c: Likewise.
52047         * elf/tst-tls10.c: Likewise.
52048         * elf/tst-tls10.h: Likewise.
52049         * elf/tst-tls11.c: Likewise.
52050         * elf/tst-tls12.c: Likewise.
52051         * elf/tst-tls14.c: Likewise.
52052         * elf/tst-tlsmod11.c: Likewise.
52053         * elf/tst-tlsmod12.c: Likewise.
52054         * elf/tst-tlsmod13.c: Likewise.
52055         * elf/tst-tlsmod13a.c: Likewise.
52056         * elf/tst-tlsmod14a.c: Likewise.
52057         * elf/tst-tlsmod15b.c: Likewise.
52058         * elf/tst-tlsmod16a.c: Likewise.
52059         * elf/tst-tlsmod16b.c: Likewise.
52060         * elf/tst-tlsmod7.c: Likewise.
52061         * elf/tst-tlsmod8.c: Likewise.
52062         * elf/tst-tlsmod9.c: Likewise.
52063         * gmon/gmon.c: Likewise.
52064         * grp/fgetgrent_r.c: Likewise.
52065         * grp/putgrent.c: Likewise.
52066         * hurd/fopenport.c: Likewise.
52067         * include/libc-symbols.h: Likewise.
52068         * include/tls.h: Likewise.
52069         * intl/gettextP.h: Likewise.
52070         * intl/loadinfo.h: Likewise.
52071         * locale/global-locale.c: Likewise.
52072         * locale/localeinfo.h: Likewise.
52073         * mach/devstream.c: Likewise.
52074         * malloc/arena.c: Likewise.
52075         * malloc/set-freeres.c: Likewise.
52076         * misc/err.c: Likewise.
52077         * misc/getttyent.c: Likewise.
52078         * misc/mntent_r.c: Likewise.
52079         * posix/getopt.c: Likewise.
52080         * posix/wordexp.c: Likewise.
52081         * pwd/fgetpwent_r.c: Likewise.
52082         * resolv/Versions: Likewise.
52083         * resolv/res_hconf.c: Likewise.
52084         * shadow/fgetspent_r.c: Likewise.
52085         * shadow/putspent.c: Likewise.
52086         * stdio-common/printf_fphex.c: Likewise.
52087         * stdio-common/tmpfile.c: Likewise.
52088         * stdlib/abort.c: Likewise.
52089         * stdlib/fmtmsg.c: Likewise.
52090         * sunrpc/auth_unix.c: Likewise.
52091         * sunrpc/clnt_perr.c: Likewise.
52092         * sunrpc/clnt_tcp.c: Likewise.
52093         * sunrpc/clnt_udp.c: Likewise.
52094         * sunrpc/clnt_unix.c: Likewise.
52095         * sunrpc/openchild.c: Likewise.
52096         * sunrpc/svc_simple.c: Likewise.
52097         * sunrpc/svc_tcp.c: Likewise.
52098         * sunrpc/svc_udp.c: Likewise.
52099         * sunrpc/svc_unix.c: Likewise.
52100         * sunrpc/xdr.c: Likewise.
52101         * sunrpc/xdr_array.c: Likewise.
52102         * sunrpc/xdr_rec.c: Likewise.
52103         * sunrpc/xdr_ref.c: Likewise.
52104         * sunrpc/xdr_stdio.c: Likewise.
52106 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52108         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52110 2011-07-03  Andreas Jaeger  <aj@suse.de>
52112         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52113         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52114         regenerate with gen-libm-tests.pl.
52116 2010-05-12  Petr Baudis  <pasky@suse.cz>
52118         [BZ #11589]
52119         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52120         around j0() zero points by switching to j1().
52121         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52122         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52123         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52124         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52126 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52128         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52129         instead of 0.
52130         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
52131         instead of 0.
52132         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52133         Patch in part by Pavel Roskin <proski@gnu.org>.
52135         [BZ #13138]
52136         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52137         realloc.
52138         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
52139         Free memory block if necessary.
52141         [BZ #12847]
52142         * libio/genops.c (INTDEF): For string streams the _lock pointer can
52143         be NULL.  Don't lock in this case.
52145 2011-09-09  Roland McGrath  <roland@hack.frob.com>
52147         * elf/elf.h (ELFOSABI_GNU): New macro.
52148         (ELFOSABI_LINUX): Define to that.
52150 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
52152         * string/strncat.c (strncat): Undef the symbol in case it has been
52153         defined in bits/string.h.
52155 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52157         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52159         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
52160         link map.
52162 2011-08-17  Andreas Jaeger  <aj@suse.de>
52164         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52166 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
52167             Ian Lance Taylor  <iant@google.com>
52169         * math/libm-test.inc (lround_test): New testcase.
52170         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52172 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
52174         * Makefile: Remove support for automatic cvs check-ins.
52175         * Makerules: Likewise.
52176         * config.make.in: Likewise.
52177         * configure.in: Likewise.
52178         * intl/Makefile: Likewise.
52179         * locale/Makefile: Likewise.
52180         * po/Makefile: Likewise.
52181         * posix/Makefile: Likewise.
52182         * sysdeps/gnu/Makefile: Likewise.
52183         * sysdeps/mach/hurd/Makefile: Likewise.
52184         * sysdeps/sparc/sparc32/Makefile: Likewise.
52186         [BZ #13118]
52187         * posix/Makefile (bug-regex32-ENV): Define.
52188         Patch by John Stanley <jpsinthemix@verizon.net>.
52190         * misc/Makefile (headers): Add bits/select2.h.
52191         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52192         * misc/bits/select2.h: New file.
52193         * include/bits/select2.h: New file.
52194         * debug/Makefile (routines): Add fdelt_chk.
52195         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52196         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52197         FD_ISSET.
52198         * debug/fdelt_chk.c: New file.
52200         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
52201         * wcsmbs/test-wmemcmp.c: Likewise.
52202         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
52203         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
52205 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52207         * string/Makefile (strop-tests): Add memcmp.
52208         * string/test-wmemcmp.c: New file.
52209         * string/test-memcmp.c: Add wmemcmp support.
52211 2011-09-08  Roland McGrath  <roland@hack.frob.com>
52213         [BZ #13153]
52214         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52215         2011-07-19 change.
52217         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52218         garbage value in a __mach_port_mod_refs call in the cases of the
52219         task-self and thread-self ports.
52221 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52223         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52225 2011-09-08  Andreas Schwab  <schwab@redhat.com>
52227         * elf/dl-load.c (lose): Check for non-null L.
52229 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
52231         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52233         * elf/dl-libc.c (dlerror_run): Pass back error code from
52234         dl_catch_error.
52236         [BZ #13123]
52237         * elf/dl-load.c (lose): Free l_origin if it is valid.
52239         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52240         names.
52241         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52242         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52243         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52244         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52245         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52246         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52248 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52250         * sysdeps/powerpc/fpu/e_hypot.c: New file.
52251         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52252         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52253         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52254         * sysdeps/powerpc/fpu/k_cosf.c: New file.
52255         * sysdeps/powerpc/fpu/k_sinf.c: New file.
52256         * sysdeps/powerpc/fpu/s_cosf.c: New file.
52257         * sysdeps/powerpc/fpu/s_sinf.c: New file.
52258         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52259         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52261 2011-08-15  Alan Modra  <amodra@gmail.com>
52263         [BZ #13092]
52264         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52265         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52266         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
52267         ppc_mcount to static-only-routines.
52268         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52269         __mcount_internal.
52270         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52271         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
52273 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
52275         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52276         for finite and infinity parameters.
52278 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
52280         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52281         and add nop instructions for throughput optimization.
52282         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52284 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
52286         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52287         aligned copy for power7 with vector-scalar instructions.
52288         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52290 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
52292         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52293         AVX check.
52295 2011-09-07  Andreas Schwab  <schwab@redhat.com>
52297         [BZ #13144]
52298         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52299         last change.
52301 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
52303         * sysdeps/unix/sysv/linux/x86_64/init-first.c
52304         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52305         syscall wrapper around clock_gettime in __vdso_clock_gettime.
52306         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52307         clock_gettime.
52309 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
52311         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52312         Forgot to demangle the pointer.
52314         * sysdeps/i386/sysdep.h: Define atom_text_section.
52315         * sysdeps/x86_64/sysdep.h: Likewise.
52316         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52317         section with atom_text_section.
52318         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52319         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52320         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52321         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52322         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52324         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52325         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52326         already be defined.  Change to take two parameters and don't assign
52327         result to variable.  Adjust all users.
52328         Define INTERNAL_GETTIME if not already defined.
52329         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52330         call.
52331         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52332         HAVE_CLOCK_GETTIME_VSYSCALL.
52333         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52335         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52336         gettimeofday vsyscall, just use time.
52338 2011-09-06  Andreas Schwab  <schwab@redhat.com>
52340         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52341         <errno.h>.
52343 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
52345         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52346         syscall on x86-64.
52347         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52348         syscall.
52349         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52350         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52351         syscall if possible.
52353 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52355         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52356         e_ident.  Don't pass to find_mapsXX.
52357         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52359 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52361         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52362         strchr-sse2-no-bsf strrchr-sse2-no-bsf
52363         * sysdeps/x86_64/multiarch/strchr.S: Update.
52364         Check bit_slow_BSF bit.
52365         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52366         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52367         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52369 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52371         [BZ #13134]
52372         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52373         before glibc 2.15.
52374         (tryshell): Define.
52375         (__spawni): Change last parameter to be flag.  Test
52376         SPAWN_XFLAGS_USE_PATH flag to use path or not.
52377         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52378         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52379         * posix/spawni.c: Likewise.
52380         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52381         * posix/spawnp.c: Likewise.  Change normal version to use
52382         SPAWN_XFLAGS_USE_PATH.
52383         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52384         SPAWN_XFLAGS_TRY_SHELL.
52386         [BZ #13150]
52387         * posix/glob.h: Remove gcc 1.x support.
52389         [BZ #13068]
52390         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52392 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52394         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52395         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52396         strrchr-sse2-bsf
52397         * sysdeps/i386/i686/multiarch/strchr.S: New file.
52398         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52399         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52400         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52401         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52402         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52404 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52406         * sysdeps/x86_64/wcscmp.S: New file.
52408         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52409         wcscmp-c wcscmp-sse2
52410         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52411         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52412         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52413         * wcsmbs/wcscmp.c: Allow renaming.
52415 2011-09-05  David S. Miller  <davem@davemloft.net>
52417         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52418         stack slot, rather than the struct return pointer slot.
52419         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
52420         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
52421         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
52422         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
52424 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52426         * po/ja.po: Update from translation team.
52428         [BZ #13144]
52429         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
52430         kernel in 64-bit binaries.
52432 2011-09-01  David S. Miller  <davem@davemloft.net>
52434         * elf/elf.h (HWCAP_SPARC_*): Move to..
52435         * sysdeps/sparc/sysdep.h: this new file and add new values.
52436         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
52437         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
52438         _DL_HWCAP_COUNT to 24.
52439         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
52440         entries.
52441         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
52442         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
52443         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
52444         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
52445         instead of magic constants.
52446         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
52448 2011-08-31  David S. Miller  <davem@davemloft.net>
52450         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
52451         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
52452         Reimplement to do errno handling inline.
52453         (SYSCALL_ERROR_HANDLER): New macro.
52454         (__SYSCALL_STRING): Do not do errno handling in asm.
52455         (__CLONE_SYSCALL_STRING): Delete.
52456         (__INTERNAL_SYSCALL_STRING): Delete.
52457         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
52458         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
52459         (PSEUDO): Reimplement to do errno handling inline.
52460         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
52461         (SYSCALL_ERROR_HANDLER): New macro.
52462         (__SYSCALL_STRING): Do not do errno handling in asm.
52463         (__CLONE_SYSCALL_STRING): Delete.
52464         (__INTERNAL_SYSCALL_STRING): Delete.
52465         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
52466         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
52467         i386.
52468         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
52469         (inline_syscall*): Add 'err' argument.
52470         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
52471         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
52472         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
52473         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
52475         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
52476         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
52478 2011-08-30  Andreas Schwab  <schwab@redhat.com>
52480         * elf/rtld.c (dl_main): Relocate objects in dependency order.
52482 2011-08-29  Jiri Olsa <jolsa@redhat.com>
52484         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
52485         directive.
52487 2011-08-24  David S. Miller  <davem@davemloft.net>
52489         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
52491 2011-08-24  Andreas Schwab  <schwab@redhat.com>
52493         * elf/Makefile: Add rules to build and run unload8 test.
52494         * elf/unload8.c: New file.
52495         * elf/unload8mod1.c: New file.
52496         * elf/unload8mod1x.c: New file.
52497         * elf/unload8mod2.c: New file.
52498         * elf/unload8mod3.c: New file.
52500         * elf/dl-close.c (_dl_close_worker): Reset private search list if
52501         it wasn't used.
52503 2011-08-23  David S. Miller  <davem@davemloft.net>
52505         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
52506         subtract stack bias.
52507         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
52508         %sp not %fp in calculations.
52509         (_JMPBUF_UNWINDS_ADJ): Likewise.
52511         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
52512         (aio_suspend): Call it to force an exception region around the
52513         AIO_MISC_WAIT() invocation.
52515 2011-08-23  Andreas Schwab  <schwab@redhat.com>
52517         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
52518         backslash.
52520 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
52522         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
52523         protection macro.
52524         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
52525         and <dl-machine.h>.
52526         (Elf64_FuncDesc): Remove.
52528 2011-08-22  David S. Miller  <davem@davemloft.net>
52530         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
52531         sigaltstack check, add missing cfi directives.
52532         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
52533         missing cfi directives, and sigaltstack handling.
52535 2011-08-16  Andreas Schwab  <schwab@redhat.com>
52537         [BZ #11724]
52538         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
52539         object is seen twice.
52540         * elf/dl-fini.c (_dl_sort_fini): Likewise.
52542         * elf/Makefile (distribute): Add tst-initorder2.c.
52543         (tests): Add tst-initorder2.
52544         (modules-names): Add tst-initorder2a tst-initorder2b
52545         tst-initorder2c tst-initorder2d.  Add rules to build them.
52546         ($(objpfx)tst-initorder2.out): New rule.
52547         * elf/tst-initorder2.c: New file.
52548         * elf/tst-initorder2.exp: New file.
52550 2011-08-22  Andreas Schwab  <schwab@redhat.com>
52552         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
52554         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
52555         dependencies back to end of function.
52557         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
52558         $(elfobjdir)/ld.so.
52560 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
52562         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
52563         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
52564         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
52565         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
52566         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
52567         of __vdso_gettimeofday.
52568         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
52569         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
52570         attribute_hidden.
52571         (_libc_vdso_platform_setup): Remove initialization of
52572         __vdso_gettimeofday and __vdso_time.
52574 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
52576         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
52577         and fgetc_unlocked.
52578         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
52579         getc_unlocked.
52581         * elf/dl-open.c (add_to_global): Report additions to the global scope
52582         for LD_DEBUG=scopes.
52583         (dl_open_worker): Also print scope of newly loaded dependencies.
52584         (_dl_show_scope): Indicate if there is no scope.
52586         [BZ #13114]
52587         * stdio-common/Makefile (tests): Add bug24.
52588         * stdio-common/bug24.c: New file.
52590 2011-08-19  Andreas Jaeger  <aj@suse.de>
52592         [BZ #13114]
52593         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
52594         non-existant file when using close-on-exec mode.
52596 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
52598         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
52599         the very first instruction.
52601         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
52602         the CFI state in the end.
52603         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
52604         inclusion of dl-trampoline.h.
52605         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
52607 2011-08-19  Andreas Schwab  <schwab@redhat.com>
52609         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
52610         expectations for long double.
52612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
52613         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
52615 2011-08-14  David S. Miller  <davem@davemloft.net>
52617         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
52618         artificual limit depends upon the system page size.
52620 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
52622         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
52623         * resolv/Makefile: Define CFLAGS-libresolv.
52625 2011-08-17  Andreas Schwab  <schwab@redhat.com>
52627         * nss/makedb.c (compute_tables): Make variables used in nested
52628         function static.
52630 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
52632         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
52633         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
52634         if buffer was too small.
52636         * elf/pldd.c (main): Attach to all threads in the process.
52637         Rewrite /proc handling to use *at functions.
52639 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
52641         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
52642         specifies first scope to show.
52643         (dl_open_worker): Update callers.  Move printing scope of new
52644         object to before the relocation.
52645         * elf/rtld.c (dl_main): Update _dl_show_scope call.
52646         * sysdeps/generic/ldsodefs.h: Update declaration.
52648         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
52649         string for the scope number.
52651 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
52653         * nscd/servicescache.c (cache_addserv): Make sure written is always
52654         initialized.
52656 2011-08-14  Roland McGrath  <roland@hack.frob.com>
52658         * sysdeps/i386/i486/bits/atomic.h
52659         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
52660         statement expression, so as to suppress "set but not used" warning.
52661         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
52663         * string/strncat.c (STRNCAT): Use prototype definition.
52665         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
52666         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
52667         -Iprograms here.
52668         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
52669         (localedef-modules): Add localedef.
52670         (locale-modules): Add locale.
52672         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
52673         * elf/rtld.c (dl_main): Invert order of assignment in last change,
52674         to avoid a warning.
52676 2011-08-14  David S. Miller  <davem@davemloft.net>
52678         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
52679         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
52681 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
52683         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
52684         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
52685         * elf/rtld.c (dl_main): Set l_name of vDSO.
52686         Call _dl_show_scope when DL_DEBUG_SCOPES.
52687         (process_dl_debug): Recognize scopes flag and also set it for all.
52688         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
52689         Declare _dl_show_scope.
52691         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
52692         (do_dlopen): Pass caller_dlopen to dl_open.
52693         (__libc_dlopen_mode): Initialize caller_dlopen.
52695         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
52696         of libc.  Make tolower call locale-independent.  Optimize a bit by
52697         using isdigit instead of isalnum.
52698         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
52700 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
52702         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
52703         was a dependency or dynamically loaded.
52705 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
52707         * intl/l10nflist.c: Allow architecture-specific pop function.
52708         * sysdeps/x86_64/l10nflist.c: New file.
52710         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
52711         classification.
52713 2011-08-10  Andreas Schwab  <schwab@redhat.com>
52715         * include/dirent.h: Add libc_hidden_proto for scandirat and
52716         scandirat64.  Don't declare __scandirat64.
52717         * dirent/scandirat.c: Add libc_hidden_def.
52718         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
52719         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
52721 2011-08-10  David S. Miller  <davem@davemloft.net>
52723         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
52724         enum.
52725         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52726         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52727         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52729 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
52731         * Versions.def [libc]: Add GLIBC_2.15.
52732         * dirent/Makefile (routines): Add scandirat and scandirat64.
52733         * dirent/Versions [libc]: Export scandirat and scandirat64 for
52734         GLIBC_2.15.
52735         * dirent/dirent.h: Declare scandirat and scandirat64.
52736         * dirent/scandirat.c: New file.
52737         * dirent/scandirat64.c: New file.
52738         * sysdeps/wordsize-64/scandirat.c: New file.
52739         * sysdeps/wordsize-64/scandirat64.c: New file.
52740         * dirent/opendir.c: Define opendirat.
52741         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
52742         using scandirat.
52743         * dirent/scandir64.c: Adjust for scandir.c change.
52744         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
52745         __scandirat64, and __scandir_cancel_handler.
52746         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
52747         additional parameter and use openat instead of open (outside of ld.so).
52748         Add new __opendir as wrapper around __opendirat.
52749         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
52750         here without requiring old scandirat implementation.
52752 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
52754         * dirent/scandir.c (cancel_handler): Renamed to
52755         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
52756         defined.  Adjust users.
52757         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
52758         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
52760 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
52762         * string/test-string.h (IMPL): Use __STRING to expand name and then
52763         stringify it.
52765         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
52766         of cleanups.
52768 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52770         * string/Makefile: Update.
52771         (strop-tests): Append strncat.
52772         * string/test-wcscmp.c: New file.
52773         New comprehensive test for wcscmp.
52774         * string/test-strcmp.c: Update.
52775         (WIDE): New define.
52777 2011-07-22  Andreas Schwab  <schwab@redhat.com>
52779         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
52780         line.
52782 2011-07-26  Andreas Schwab  <schwab@redhat.com>
52784         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
52785         encoding to ACE if AI_IDN.
52787 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
52789         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
52790         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
52792 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52794         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
52795         Fix overflow bug in strncat.
52796         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
52798         * string/test-strncat.c: Update.
52799         Add new tests for checking overflow bugs.
52801 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52803         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52804         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
52805         * sysdeps/i386/i686/multiarch/strcat.S: New file.
52806         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
52807         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
52808         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
52809         * sysdeps/i386/i686/multiarch/strncat.S: New file.
52810         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
52811         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
52813         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
52814         (USE_AS_STRCAT): Define.
52815         Add strcat and strncat support.
52816         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52818 2011-07-25  Andreas Schwab  <schwab@redhat.com>
52820         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
52821         __n bigger than INT_MAX+1.
52822         (__strncmp_g): Likewise.
52824 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
52826         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
52827         * libio/stido.h: Likewise.
52829         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
52830         (AF_NFC): Define.
52831         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
52832         (AF_NFC): Define.
52834         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
52835         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
52836         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
52837         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
52838         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
52840         [BZ #13021]
52841         * scripts/test-installation.pl: Don't expect libnss_test1 to be
52842         installed.
52844         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
52845         typo.
52846         (_dl_x86_64_save_sse): Likewise.
52848 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
52850         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
52851         OSXSAVE.
52852         (_dl_x86_64_save_sse): Likewise.
52854         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
52856         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
52858 2011-07-21  Andreas Schwab  <schwab@redhat.com>
52860         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
52861         change.
52862         (_dl_x86_64_save_sse): Use correct AVX check.
52864 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52866         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
52867         bug in strncpy/strncat.
52868         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
52870 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
52872         * string/tester.c (test_strcat): Add tests for different alignments
52873         of source and destination.
52874         (test_strncat): Likewise.
52876 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
52878         [BZ #12852]
52879         * posix/glob.c (glob): Check passed in values before using them in
52880         expressions to avoid some overflows.
52881         (glob_in_dir): Likewise.
52883         [BZ #13007]
52884         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
52885         check for AVX enablement so that we don't crash with old kernels and
52886         new hardware.
52887         * elf/tst-audit4.c: Add same checks here.
52888         * elf/tst-audit6.c: Likewise.
52890         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
52892 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
52894         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
52896 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
52898         * po/cs.po: Update from translation team.
52899         * po/bg.po: Likewise.
52901 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
52903         * misc/sys/cdefs.h: Add support for const attribute.
52904         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
52905         to gnu_dev_{major,minor,makedev} functions.
52907 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
52909         * intl/dcigettext.c (get_output_charset): Add missing bracket.
52911 2011-07-20  Andreas Schwab  <schwab@redhat.com>
52913         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
52914         strlen results.
52916 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52918         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
52919         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
52920         register in order to avoid conflicts with the soft frame pointer
52921         being held in r11 when necessary.
52922         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
52923         (INTERNAL_VSYSCALL_NCS): Likewise.
52925 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
52927         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
52928         * elf/dl-fini.c (_dl_fini): Adjust caller.
52929         * elf/dl-close.c (_dl_close_worker): Likewise.
52930         * sysdeps/generic/ldsodefs.h: Adjust declaration.
52932 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
52934         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
52935         "aux_cache->nlibs < 0".
52937         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
52938         in the reload-count case.
52940 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52942         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52943         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
52944         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
52945         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
52946         * sysdeps/x86_64/multiarch/strcat.S: New file.
52947         * sysdeps/x86_64/multiarch/strncat.S: New file.
52948         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
52949         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
52950         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
52951         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
52952         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
52953         (USE_AS_STRCAT): Define.
52954         Add strcat and strncat support.
52955         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52956         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
52957         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
52958         * string/strncat.c: Update.
52959         (USE_AS_STRNCAT): Define.
52960         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52961         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
52962         and i7.
52963         * sysdeps/x86_64/multiarch/init-arch.h
52964         (bit_Prefer_PMINUB_for_stringop): New.
52965         (index_Prefer_PMINUB_for_stringop): Likewise.
52966         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
52967         bit_Prefer_PMINUB_for_stringop.
52969 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
52971         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
52972         buffer64.
52973         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
52974         of casting of buffer.
52975         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
52976         buffer32 and buffer64.
52977         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
52978         writes instead of casting of buffer.
52979         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
52980         buffer32.
52981         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
52982         casting of buffer.
52984 2011-07-19  Andreas Schwab  <schwab@redhat.com>
52986         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
52988 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
52990         * nscd/nscd.c (termination_handler): Don't do anything for a database
52991         if it has not yet been initialized.
52993 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
52995         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
52997 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
52999         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53001 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
53003         * po/nl.po: Update from translation team.
53004         * po/sv.po: Likewise.
53006 2011-07-16  Roland McGrath  <roland@hack.frob.com>
53008         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53009         now disallowed by GCC.
53011         * configure.in (use-default-link): Default to yes if a test -shared
53012         link meets our qualifications.
53013         * configure: Regenerated.
53015         * config.make.in (output-format): New variable.
53016         * configure.in: Check for ld --print-output-format support.
53017         * configure: Regenerated.
53018         * Makerules ($(common-objpfx)format.lds)
53019         [$(output-format) != unknown]: Just use $(output-format),
53020         instead of the linker-script munging.
53022 2011-07-14  Roland McGrath  <roland@hack.frob.com>
53024         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53025         of $(common-objpfx)shlib.lds.
53026         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53028         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53029         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53031         * configure.in (-z relro check): Adjust test code to add a large
53032         writable data section after it.
53033         * configure: Regenerated.
53035 2011-07-11  Roland McGrath  <roland@hack.frob.com>
53037         * configure.in (-z relro check): Fix test code to make the variable
53038         truly const.
53039         * configure: Regenerated.
53041 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
53043         * nscd/nscd.h (struct traced_file): Define.
53044         (struct database_dyn): Remove inotify_descr, reset_res, and filename
53045         elements.  Add traced_files.
53046         (inotify_fd): Declare.
53047         (register_traced_file): Declare.
53048         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53049         (inotify_fd): Export.
53050         (resolv_conf_descr): Remove.
53051         (nscd_init): Move inotify descriptor creation to main.
53052         Don't register files for notification here.
53053         (register_traced_file): New function.
53054         (invalidate_cache): Don't use reset_res to determine whether to call
53055         res_init, go through the list of registered files.
53056         (main_loop_poll): The inotify descriptors are now stored in the
53057         structures for the traced files.
53058         (main_loop_epoll): Likewise
53059         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
53060         to __nss_disable_nscd.
53061         * nscd/cache.c (prune_cache): There is no single inotify descriptor
53062         for a database anymore.  Check the records for all the registered
53063         files instead.
53064         * nss/Makefile (libnss_files-routines): Add files-init.
53065         (libnss_db-routines): Add db-init.
53066         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53067         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53068         * nss/nss_db/db-init.c: New file.
53069         * nss/nss_files/files-init.c: New file.
53070         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
53071         __nss_lookup_function.
53072         (__nss_lookup_function): Call nss_load_library.
53073         (nss_load_all_libraries): New function.
53074         (__nss_disable_nscd): Take parameter with callback function for files
53075         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
53076         used for the cached services.
53077         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53078         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53079         options for features to all the files in nscd.
53081         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53083 2011-07-10  Roland McGrath  <roland@hack.frob.com>
53085         * csu/elf-init.c (__libc_csu_init): Comment typo.
53087 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
53089         * po/pl.po: Update from translation team.
53090         * po/ja.po: Likewise.
53091         * po/ru.po: Likewise.
53092         * po/ko.po: Likewise.
53093         * po/fr.po: Likewise.
53095 2011-07-09  Roland McGrath  <roland@hack.frob.com>
53097         * configure.in (.ctors/.dtors header and trailer check):
53098         Use an empirical test on a built program.
53099         * configure: Regenerated.
53101         * configure.in (-z relro check): Use an empirical test on a built DSO.
53102         Detect, but do not require, on ia64.
53103         * configure: Regenerated.
53105         * configure.in (READELF): Find it with AC_CHECK_TOOL.
53106         Update tests that use readelf to use $READELF instead.
53107         * configure: Regenerated.
53109 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
53111         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53112         if the result is not used.
53114 2011-07-05  Andreas Jaeger  <aj@suse.de>
53116         [BZ#9696]
53117         * stdlib/tst-strtod.c: Add testcase.
53119 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
53121         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
53122         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
53123         The latter has a higher limit.  Take additional parameter to pass to
53124         the new function.
53125         (__pathconf): Pass file to __statfs_link_max.
53126         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53127         __statfs_link_max.
53128         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53129         __statfs_link_max.
53131         [BZ #12868]
53132         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53133         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53134         Handle Lustre.
53135         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53136         (__statfs_filesize_max): Likewise.
53137         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53139 2011-07-05  Andreas Jaeger  <aj@suse.de>
53141         * resolv/res_comp.c (dn_skipname): Remove unused variable.
53143 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
53145         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53146         `status' variable.
53147         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53148         Likewise.
53150 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
53152         * Makefile (strop-tests): Add strncat.
53153         * string/test-strncat.c: New file.
53155 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
53157         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53159 2011-06-21  Andreas Jaeger  <aj@suse.de>
53161         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53162         Copy rule from iconvdata/Makefile.
53164 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
53166         [BZ #12922]
53167         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53168         but no long options are defined, just return 'W'.
53170 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
53172         [BZ #9696]
53173         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53175 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
53177         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53178         netgroups to read.
53179         (innetgr): Likewise.
53181 2011-07-05  Roland McGrath  <roland@hack.frob.com>
53183         * config.make.in (install_root): Default to $(DESTDIR).
53185 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
53187         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53189 2011-07-02  Roland McGrath  <roland@hack.frob.com>
53191         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53193         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53194         containing directory rather than embedding absolute directory names.
53196         * scripts/check-local-headers.sh: Rewritten using awk.
53197         Match by word, not by line.  Print error messages for matches.
53198         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53200         * Makerules [shlib-lds-flags empty]:
53201         ($(common-objpfx)libc_pic.opts): New target.
53202         ($(common-objpfx)libc_pic.os.clean): New target.
53203         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53205         * config.make.in (OBJCOPY): New variable.
53206         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53207         * configure: Regenerated.
53209         * config.make.in (use-default-link): New variable.
53210         * configure.in (use_default_link): Grok --with-default-link to set it.
53211         * configure: Regenerated.
53212         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53213         (shlib-lds, shlib-lds-flags): Define to empty.
53215         * Makerules (shlib-lds): New variable.
53216         (shlib-lds-flags): New variable.
53217         (build-shlib, build-moduile, build-module-asneeded): Use it.
53218         ($(common-objpfx)libc.so): Use $(shlib-lds).
53219         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53220         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53222         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53223         DT_FLAGS/DT_FLAGS_1 with zero flags.
53225         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53226         linker script munging.
53228 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
53230         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53231         as 128-bit value.
53232         * crypt/sha512.c (sha512_process_block): Perform total addition using
53233         128-bit if possible.
53234         (__sha512_finish_ctx): Likewise.
53235         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53236         as 64-bit value.
53237         * crypt/sha256.c (SWAP64): Define.
53238         (sha256_process_block): Perform total addition using 64-bit if
53239         possible.
53240         (__sha256_finish_ctx): Likewise.
53242 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
53244         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
53245         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53246         * nscd/hstcache.c (cache_addhst): Likewise.
53247         * nscd/grpcache.c (cache_addgr): Likewise.
53248         * nscd/aicache.c (addhstaiX): Likewise
53249         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53251 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
53253         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53254         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53255         * nscd/hstcache.c (cache_addhst): Likewise.
53256         * nscd/grpcache.c (cache_addgr): Likewise.
53257         * nscd/aicache.c (addhstaiX): Likewise
53259 2011-07-01  Andreas Schwab  <schwab@redhat.com>
53261         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53262         domain only when needed.
53264 2011-06-30  Andreas Schwab  <schwab@redhat.com>
53266         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53267         is always restored.
53269 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
53271         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53272         are re-adding the entry.
53273         * nscd/servicescache.c (cache_addserv): Likewise.
53275 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
53277         * sysdeps/generic/dl-irel.h: fix protection against multiple
53278         inclusions.
53279         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53281 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
53283         [BZ #12935]
53284         * malloc/memusage.sh: Fix quoting in message.
53285         * debug/xtrace.sh: Likewise.
53287         * configure.in: Remove support for --experimental-malloc option, make
53288         it the default.
53289         * config.make.in: Likewise.
53290         * malloc/Makefile: Likewise.
53292 2011-06-27  Andreas Schwab  <schwab@redhat.com>
53294         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53295         two-byte characters.
53297 2011-06-27  Roland McGrath  <roland@hack.frob.com>
53299         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53300         AC_CACHE_CHECK invocation.
53301         * configure: Regenerated.
53303         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53305 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
53307         [BZ #12350]
53308         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
53309         bit from old_res_options.
53311         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53313         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53314         value type for setfct.
53316 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
53318         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53319         __gettimeofday instead of gettimeofday.
53321 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
53323         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53325 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
53327         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53329         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53330         info.
53332 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
53334         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53335         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53336         strcpy-sse2-unaligned strncpy-sse2-unaligned
53337         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53338         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53339         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53340         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53341         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53342         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53343         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53344         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53345         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53346         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53347         (STRCPY): Support SSE2 and SSSE3 versions.
53349 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
53351         [BZ #12874]
53352         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53353         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53354         kernels which artificially limit size of requests.
53356 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
53358         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53359         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53360         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53361         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53362         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53363         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53364         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53365         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53366         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53367         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53368         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53369         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53370         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53371         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53372         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53373         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53374         Enable unaligned load optimization for Intel Core i3, i5 and i7
53375         processors.
53376         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53377         Define.
53378         (index_Fast_Unaligned_Load): Define.
53379         (HAS_FAST_UNALIGNED_LOAD): Define.
53381 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
53383         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53385 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
53387         [BZ #12907]
53388         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53389         until it is clear that the information is realy needed.
53390         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53392 2011-06-22  Andreas Schwab  <schwab@redhat.com>
53394         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53396 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
53398         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53399         /sys/devices/system/cpu/online if it is usable.
53401         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53402         reading the information from the /proc filesystem to once a second.
53404 2011-06-21  Andreas Jaeger  <aj@suse.de>
53406         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53407         NULL after inclusion of kernel headers.
53409 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
53411         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53412         calls to internal_setent.
53414         [BZ #12885]
53415         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53416         addresses using gethostbyname4_r ignore IPv4 addresses.
53418         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53419         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
53421         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
53423 2011-06-20  David S. Miller  <davem@davemloft.net>
53425         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
53426         inclusions.
53427         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
53429         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
53430         (elf_irel): Use it.
53431         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
53432         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
53433         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
53434         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
53435         * sysdeps/x86_64/dl-irel.h: Likewise.
53437         * elf/dl-runtime.c: Use elf_ifunc_invoke.
53438         * elf/dl-sym.c: Likewise.
53440 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
53442         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
53443         need to dereference resplen2.
53445 2011-06-14  Andreas Schwab  <schwab@redhat.com>
53447         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
53449 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
53451         * Makeconfig: Define vardbdir and inst_vardbdir.
53452         * nss/Makefile: Add rules to install db-Makefile.
53454         * nss/nss_db/db-XXX.c: Cleanup.
53456         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
53457         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
53458         GLIBC_PRIVATE.
53459         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
53460         * nss/makedb.c: Implement -g option to specify that value strings
53461         are generated and should not be added to table iterated over for
53462         get*ent calls.
53463         * nss/nss_db/db-initgroups.c: New file.
53465         * nss/getent.c: Add support for initgroups lookups through getgrouplist
53466         interface.
53468         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
53469         (internal_getgrouplist): Adjust to name change.
53470         Update use_initgroups_entry if this is not the first call.
53471         * nss/databases.def: Add initgroups entry.
53473         * nss/makedb.c (compute_tables): Check result of multiple hash table
53474         sizes to minimize maximum chain length.
53476 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
53478         * Versions.def: Add entry for libnss_db.
53479         * shlib-versions: Likewise.
53480         * nss/Makefile: Add rules to build libnss_db.
53481         * nss/Versions: Add libnss_db information.  Organize libnss_files
53482         entries better.
53483         * nss/db-Makefile: Add gshadow support.  Change rules for the new
53484         makedb progra.  Some minor improvements to generate smaller files.
53485         * nss/nss_db/nss_db.h: Move NSS database header data structures to
53486         here from...
53487         * nss/makedb.c: ...here.
53488         Improve database format to be smaller and require less memory at
53489         runtime.
53490         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
53491         db anymore.
53492         * nss/nss_db/db-netgrp.c: Likewise.
53493         * nss/nss_db/db-open.c: Likewise.
53494         * nss/nss_files/flies-XXX.x: Adjust comments.
53495         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
53496         * nss/nss_files/files-grp.c: Likewise.
53497         * nss/nss_files/files-hosts.c: Likewise.
53498         * nss/nss_files/files-network.c: Likewise.
53499         * nss/nss_files/files-proto.c: Likewise.
53500         * nss/nss_files/files-pwd.c: Likewise.
53501         * nss/nss_files/files-rpc.c: Likewise.
53502         * nss/nss_files/files-service.c: Likewise.
53503         * nss/nss_files/files-sgrp.c: Likewise.
53504         * nss/nss_files/files-spwd.c: Likewise.
53505         * nss/nss_db/db-alias.c: Removed.
53506         * nss/nss_db/dummy-db.h: Removed.
53508 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
53510         * nss/makedb.c: Rewritten to not use database library.
53511         * nss/Makefile: Update to build new makedb program.
53513 2011-06-14  Andreas Jaeger  <aj@suse.de>
53515         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
53516         memset declaration.
53518 2011-06-10  Andreas Schwab  <schwab@redhat.com>
53520         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
53521         tmpbuf.
53523 2011-06-10  Roland McGrath  <roland@hack.frob.com>
53525         * Makerules (shlib.lds): Fail if the linker script comes out empty.
53526         * elf/Makefile ($(objpfx)ld.so): Likewise.
53528         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
53529         Don't list ld.so twice in dependencies.
53531         * posix/bug-regex31.c: Include <stdlib.h>.
53533         * nscd/hstcache.c (cache_addhst): Remove unused variable.
53535         * nis/nss_compat/compat-spwd.c
53536         (getspent_next_nss_netgr): Remove unused variable.
53537         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
53539         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
53540         nonmembers" output to use the right array.
53542         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
53544         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
53546         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
53547         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
53548         * catgets/gencat.c (read_input_file): Likewise.
53549         * locale/programs/locarchive.c (enlarge_archive): Likewise.
53551         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
53552         variable definition inside #if's controlling its use.
53554         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
53556         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
53558         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
53560         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
53561         unreachable code.
53563         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
53565         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
53566         * configure: Regenerated.
53568         * Makerules: Revert last change.
53569         * elf/Makefile: Likewise.
53571 2011-06-09  Roland McGrath  <roland@hack.frob.com>
53573         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
53574         * elf/Makefile ($(objpfx)librtld.os): Likewise.
53575         (reloc-link): Likewise.
53577 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
53579         * elf/Makefile: Add rules to build pldd.
53580         * elf/pldd.c: New file.
53581         * elf/pldd-xx.c: New file.
53583 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
53585         * version.h: Update for 2.15 development version.
53587 2011-06-07  David S. Miller  <davem@davemloft.net>
53589         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
53590         ifuncs.
53591         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
53592         elf_machine_lazy_rel): Likewise.
53593         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
53594         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
53595         elf_machine_lazy_rel): Likewise.
53596         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
53597         dl_hwcap via passed in argument.
53598         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
53599         Likewise.
53601 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53603         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
53605 2011-06-06  Roland McGrath  <roland@hack.frob.com>
53607         [BZ #12849]
53608         * manual/fdl-1.1.texi: New file, verbatim from:
53609         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
53610         * manual/lgpl-2.1.texi: New file, verbatim from:
53611         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
53612         * manual/Makefile (licenses): New variable, list those new file names.
53613         (texis): Use it.
53614         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
53616         * manual/fdl.texi: File removed.
53617         * manual/lesser.texi: File removed.
53618         * manual/libc.texinfo (Copying, Documentation License):
53619         Use new @include file names, put @appendix directive before @include.
53621 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
53623         [BZ #12841]
53624         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
53625         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
53626         (mq_open): Add __NTH.
53628 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
53630         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53631         Assume Intel Core i3/i5/i7 processor if AVX is available.
53633 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
53635         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
53636         typo.
53638 2011-05-31  Andreas Schwab  <schwab@redhat.com>
53640         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
53641         memory.  Use alloca_account.  Fix memory leak when retrying.
53643 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
53645         * version.h (RELEASE): Bump for 2.14 release.
53646         * include/features.h (__GLIBC_MINOR__): Bump to 14.
53648         * config.make.in (RANLIB): Remove entry.
53650 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
53652         * po/Makefile (po-sed-cmd): Add ksh to extensions.
53653         (libc.pot): Work around missing support for .ksh extension in xgettext.
53655         [BZ #12684]
53656         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
53657         if both request failed.
53658         (send_dg): In case of server errors clear resplen or *resplen2.
53660         [BZ #12454]
53661         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
53662         when there are multiple maps.
53663         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
53664         (_dl_fini): Remove test here.
53666         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
53668 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
53670         [BZ #12350]
53671         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
53672         bit from old_res_options.
53673         (gaih_inet): Likewise.
53675         [BZ #11099]
53676         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
53677         as signed.
53679         * resolv/res_init.c (res_setoptions): Make the code more compact.
53681         [BZ #11558]
53682         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
53683         set RES_USEVC.
53685         [BZ #11634]
53686         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
53688         * malloc/malloc.h: Mark malloc hook variables as deprecated.
53690         [BZ #11781]
53691         * malloc/malloc.h: Declare malloc hook variables as volatile.
53693         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
53694         in last patch.
53696         [BZ #11799]
53697         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
53698         raise in the comment.
53699         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
53700         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
53701         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
53703 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
53705         [BZ #12811]
53706         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
53707         grow the buffers more if it already has to be sufficient.
53708         (build_wcs_upper_buffer): Likewise.
53709         * posix/regexec.c (check_matching): Likewise.
53710         (clean_state_log_if_needed): Likewise.
53711         (extend_buffers): Don't enlarge buffers beyond size of the input
53712         buffer.
53713         Patches mostly by Emil Wojak <emil@wojak.eu>.
53714         * posix/bug-regex32.c: New file.
53715         * posix/Makefile (tests): Add bug-regex32.
53717         * locale/findlocale.c (_nl_find_locale): Return right away if
53718         _nl_explode_name failed.
53719         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
53721         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
53723         * debug/xtrace.sh: Unify messages.
53724         * malloc/memusage.sh: Likewise.
53726         [BZ #12813]
53727         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
53728         time symbol from vDSO.  Substitute with vsyscall if not available.
53729         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
53730         __vdso_time.
53732         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
53733         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
53734         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
53735         Add sendmmsg and internal_sendmmsg.
53736         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
53737         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
53738         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
53740         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
53741         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
53742         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
53744 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
53746         [BZ #12813]
53747         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
53748         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
53749         available.
53750         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
53751         __vdso_getcpu.
53753         [BZ #12814]
53754         * iconvdata/Makefile (tests): Add bug-iconv9.
53755         * iconvdata/bug-iconv9.c: New file.
53757 2011-05-27  Andreas Schwab  <schwab@redhat.com>
53759         [BZ #12814]
53760         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
53762 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
53764         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53765         (struct user_regs_struct): Change intcs field back to cs.
53767 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
53769         * po/ja.po: Update from translation team.
53771 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
53773         [BZ #12795]
53774         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
53775         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
53777 2011-05-20  Andreas Schwab  <schwab@redhat.com>
53779         * stdlib/longlong.h: Update from GCC.
53781 2011-05-23  Andreas Schwab  <schwab@redhat.com>
53783         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
53784         parameter name.
53785         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
53786         Add parameter name.
53787         (__sysconf): Pass it down.
53789 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
53791         [BZ #12671]
53792         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
53793         some situations.
53794         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
53795         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
53796         add in in __libc_use_alloca calls.  Adjust callers.
53797         (glob): Use malloc in some situations.
53799         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
53800         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
53801         pltexit.
53803 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
53805         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
53806         and CLOCK_BOOTTIME_ALARM.
53808         [BZ #12782]
53809         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
53810         is returned.
53812         * string/_strerror.c (__strerror_r): Print negative errors as signed
53813         numbers.
53815         [BZ #12777]
53816         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
53817         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
53818         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
53820         * configure.in: Fix typo in redirection and correct removal of test
53821         files in two cases.
53823         [BZ #12788]
53824         * locale/setlocale.c (new_composite_name): Fix test to check for
53825         identical name of all categories.
53827         [BZ #12792]
53828         * libio/filedoalloc.c (local_isatty): New function.
53829         (_IO_file_doallocate): Use local_isatty.
53830         * stdio-common/perror.c (perror): In case a new stream is used
53831         forward the stream error.
53832         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
53833         error flag.
53835 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
53837         [BZ #11869]
53838         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
53839         alloca.
53840         * include/alloca.h (extend_alloca_account): Define.
53842         [BZ #11857]
53843         * posix/regex.h: Fix comments with documentation of user-accessible
53844         fields after compilation and describe correct free'ing of pattern
53845         after re_compile_pattern.
53846         Patch by Reuben Thomas <rrt@sc3d.org>.
53848 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
53850         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
53851         and -mno-altivec to prevent the compiler from using Altivec and/or
53852         VSX instructions when the corresponding registers are not available.
53854 2011-05-19  Andreas Schwab  <schwab@redhat.com>
53856         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
53858 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
53860         * libio/freopen.c (freopen): Use __dup2, not dup2.
53861         * libio/freopen64.c (freopen64): Likewise.
53863 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
53865         [BZ #12775]
53866         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
53867         * math/Makefile (tests): Add test-powl.
53868         (CFLAGS-test-powl.c): Define.
53869         * math/test-powl.c: New file.
53871 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
53873         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
53875 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
53877         [BZ #11837]
53878         * iconvdata/gb18030.c: Update to GB18020-2005.
53880 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
53882         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
53883         RE_SYNTAX_POSIX_AWK): Update to match recent development.
53884         Patch by Aharon Robbins <arnold@skeeve.com>.
53886         [BZ #11892]
53887         * stdlib/putenv.c (putenv): Don't always create copy of the variable
53888         on the stack.
53890         [BZ #11895]
53891         * misc/pselect.c (__pselect): Handle timeout value errors hidden
53892         through underflows.
53894         [BZ #12766]
53895         * misc/error.c (error_at_line): Ensure file_name and old_file_name
53896         point to strings before performing equality test for error_one_per_line
53897         mode.
53899         [BZ #11697]
53900         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
53902         [BZ #11820]
53903         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
53904         (struct user_fpregs_struct): Avoid __uint*_t types.
53906         [BZ #6420]
53907         * malloc/mtrace.c (tr_where): Add additional parameter to point to
53908         symbol info.  Use it instead of calling _dl_addr locally.
53909         (lock_and_info): New function.
53910         (tr_freehook): Call lock_and_info and pass symbol info as additional
53911         parameter to tr_where.
53912         (tr_mallochook): Likewise.
53913         (tr_reallochook): Likewise.
53914         (tr_memalignhook): Likewise.
53916         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
53917         used and couldn't be at all thread-safe.
53919 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
53921         * libio/freopen.c (freopen): Don't close old file descriptor
53922         before the new one is opened.  Instead dup the new file descriptor
53923         to the old one after the new stream is created.
53924         * libio/freopen64.c (freopen64): Likewise.
53925         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
53926         * libio/fileops.c (_IO_new_file_close_it): Handle new
53927         _IO_FLAGS2_NOCLOSE flag.
53928         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
53929         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
53930         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
53931         _IO_FLAGS2_NOCLOSE flag.
53932         * include/unistd.h: Add hidden_proto for dup3.
53933         Define __have_dup3.
53934         * io/dup3.c: Define hidden symbol.
53935         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
53937         [BZ #7101]
53938         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
53939         when an incomplete long option is used.
53940         * posix/tst-getopt_long1.c: New file.
53941         * posix/Makefile (tests): Add tst-getopt_long1.
53943         [BZ #10138]
53944         * scripts/config.guess: Update from autoconf-2.68.
53945         * scripts/config.sub: Likewise.
53947         [BZ #10157]
53948         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
53949         tests into ...
53950         (has_cpuclock): ...this.  New function.
53951         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
53952         macro here based on has_cpuclock code.
53954         [BZ #10149]
53955         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53956         First byte (not low byte) is now always NUL.
53957         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
53959         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
53960         Use non-cancelable interfaces.
53962         [BZ #9809]
53963         * locale/iso-639.def: Add entry for Sorani.
53965         [BZ #11901]
53966         * include/stdlib.h: Move include protection to the right place.
53967         Define abort_msg_s.  Declare __abort_msg with it.
53968         * stdlib/abort.c (__abort_msg): Adjust type.
53969         * assert/assert.c (__assert_fail_base): New function.  Majority
53970         of code from __assert_fail.  Allocate memory for __abort_msg with
53971         mmap.
53972         (__assert_fail): Now call __assert_fail_base.
53973         * assert/assert-perr.c: Remove bulk of implementation.  Use
53974         __assert_fail_base.
53975         * include/assert.hL Declare __assert_fail_base.
53976         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
53977         mmap.
53978         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
53980 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
53982         [BZ #11952]
53983         [BZ #12453]
53984         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
53985         until all modules are registered in the DTV.
53986         * elf/Makefile: Add rules to build and run tst-tls19.
53987         * elf/tst-tls19.c: New file.
53988         * elf/tst-tls19mod1.c: New file.
53989         * elf/tst-tls19mod2.c: New file.
53990         * elf/tst-tls19mod3.c: New file.
53991         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
53993         [BZ #12083]
53994         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
53995         correctly.
53997         [BZ #12601]
53998         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
53999         two-byte sequence errors.
54000         * iconvdata/Makefile (tests): Add bug-iconv8.
54001         * iconvdata/bug-iconv8.c: New file.
54003         [BZ #12626]
54004         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54005         buf2 definition.
54007         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54009         [BZ #12432]
54010         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54011         (dummy_getcfa): New function.
54012         (init): Get _Unwind_GetCFA address, use dummy if not found.
54013         (backtrace_helper): In recursion check, also check whether CFA changes.
54014         (__backtrace): Completely initialize arg.
54016         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
54017         storing incomplete byte sequence in state object.  Avoid testing for
54018         guaranteed too small input if we know there is enough data available.
54020 2011-05-11  Andreas Schwab  <schwab@redhat.com>
54022         * Makeconfig (+link-pie): Indent.
54023         * Rules (binaries-pie): Define if $(have-fpie) and
54024         $(build-shared).
54025         (binaries-shared): Also filter out $(binaries-pie).
54026         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54027         * nscd/Makefile (others-pie): Add nscd.
54028         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54029         ($(objpfx)nscd): Remove command override.
54030         * login/Makefile (others-pie): Add pt_chown.
54031         ($(objpfx)pt_chown): Remove command override.
54032         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54033         remove command overrides.
54035 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
54037         * libio/tst_putwc.c: Fix error messages.
54039         [BZ #12724]
54040         * libio/fileops.c (_IO_new_file_close_it): Always flush when
54041         currently writing and seek to current position when not.
54042         * libio/Makefile (tests): Add bug-fclose1.
54043         * libio/bug-fclose1.c: New file.
54045 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
54047         [BZ #12511]
54048         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54049         don't set DF_1_NODELETE here.
54050         (do_lookup_x): When entering new entry test for copy relocation
54051         and if necessary set DF_1_NODELETE flag.
54052         * elf/tst-unique4.cc: New file.
54053         * elf/tst-unique4.h: New file.
54054         * elf/tst-unique4lib.cc: New file.
54055         * elf/Makefile: Add rules to build and run tst-unique4.
54056         Patch by Piotr Bury <pbury@goahead.com>.
54058 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
54060         [BZ #12052]
54061         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54063         [BZ #12625]
54064         * misc/mntent_r.c (addmntent): Flush the stream after the output
54066         [BZ #12393]
54067         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54068         (is_trusted_path_normalize): Skip initial colon.  Append slash
54069         to empty buffer.  Duplicate is_trusted_path code but allow
54070         constructed patch to be prefix.
54071         (is_dst): Allow $ORIGIN followed by /.
54072         (_dl_dst_substitute): Correct clearing of check_for_trusted.
54073         Correct testing of result of is_trusted_path_normalize
54074         (decompose_rpath): Fix warning.
54076 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
54078         [BZ #11257]
54079         * grp/initgroups.c (internal_getgrouplist): When we found the service
54080         list through the initgroups entry in nsswitch.conf do not always
54081         continue on a successful lookup.  Don't always use the
54082         __nss_group_database value if it is set.
54083         * nss/nsswitch.conf (initgroups): Change action for successful db
54084         lookup to continue for compatibility.
54086 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
54088         [BZ #11532]
54089         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54090         and CP774 modules.
54091         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54092         and CP774 modules.
54093         * iconvdata/tst-tables.sh: Likewise.
54094         * iconvdata/cp770.c: New file.
54095         * iconvdata/cp771.c: New file.
54096         * iconvdata/cp772.c: New file.
54097         * iconvdata/cp773.c: New file.
54098         * iconvdata/cp774.c: New file.
54099         * iconvdata/testdata/CP770: New file.
54100         * iconvdata/testdata/CP770..UTF8: New file.
54101         * iconvdata/testdata/CP771: New file.
54102         * iconvdata/testdata/CP771..UTF8: New file.
54103         * iconvdata/testdata/CP772: New file.
54104         * iconvdata/testdata/CP772..UTF8: New file.
54105         * iconvdata/testdata/CP773: New file.
54106         * iconvdata/testdata/CP773..UTF8: New file.
54107         * iconvdata/testdata/CP774: New file.
54108         * iconvdata/testdata/CP774..UTF8: New file.
54110         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54111         END CHARMAP line.
54112         * iconvdata/gen-8bit-gap.sh: Likewise.
54113         * iconvdata/gen-8bit.sh: Likewise.
54115         * locale/iso-639.def: Add ary entry.
54117         [BZ #11258]
54118         * locale/C-translit.h.in: Add U20A1 transliteration.
54120         [BZ #12178]
54121         * locale/iso-639.def: Add wae entry.
54122         Patch by Kevin Bortis <bortis@translate-wae.ch>.
54124         [BZ #12545]
54125         * locale/programs/localedef.c (construct_output_path): Use ssize_t
54126         for n.
54128         [BZ #12711]
54129         * locale/C-translit.h.in: Add entry for U20B9.
54130         Patch by pravin.d.s@gmail.com.
54132 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
54134         [BZ #12713]
54135         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54136         ENAMETOOLONG use generic getcwd.
54137         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
54138         in rtld.  Use *stat64.
54139         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
54140         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
54141         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
54142         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54143         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54144         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54145         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54146         __fstatat64 macros.
54147         * include/dirent.h: Add libc_hidden_proto for rewinddir.
54148         * dirent/rewinddir.c: Add libc_hidden_def.
54149         * sysdeps/mach/hurd/rewinddir.c: Likewise.
54150         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
54152         * include/dirent.h (__alloc_dir): Add flags parameter.
54153         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54154         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54155         __alloc_dir.
54156         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
54157         from fdopendir if O_CLOEXEC is already set.
54159 2011-03-15  Alan Modra  <amodra@gmail.com>
54161         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54162         l_tls_firstbyte_offset non-zero.  Save padding offset in
54163         l_tls_firstbyte_offset for later use.
54164         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54165         freeing static tls block.
54167 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
54169         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54170         where #ifdef was intended.  The intent is to prevent ARG_MAX from
54171         being defined by the kernel headers.
54173 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
54175         [BZ #12734]
54176         * resolv/resolv.h: Define RES_NOTLDQUERY.
54177         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54178         no-tld-query and set RES_NOTLDQUERY.
54179         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54180         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54181         modern BIND to search name as TLD unless forbidden.
54183 2011-05-07  Petr Baudis  <pasky@suse.cz>
54184             Ulrich Drepper  <drepper@gmail.com>
54186         [BZ #12393]
54187         * elf/dl-load.c (fillin_rpath): Move trusted path check...
54188         (is_trusted_path): ...to here.
54189         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
54190         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
54191         using is_trusted_path_normalize() in setuid scripts.
54193 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
54195         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54196         __BEGIN/__END_DECLS.
54198 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
54200         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54201         NSS_STATUS_NOTFOUND if no record was found.
54203 2011-05-05  Andreas Schwab  <schwab@redhat.com>
54205         * sunrpc/Makefile (headers): Add rpc/netdb.h.
54206         (headers-not-in-tirpc): Remove rpc/netdb.h
54207         * resolv/netdb.h: Revert last change.
54209 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54211         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54212         circular dependency between libgcc.a and libc.a.
54214 2011-05-05  Andreas Schwab  <schwab@redhat.com>
54216         * resolv/netdb.h: Don't include <rpc/netdb.h>.
54217         * nis/Makefile: Don't install rpcsvc/*.
54218         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54219         instead of <rpc/types.h>.
54220         (MAXHOSTNAMELEN): Define.
54222 2011-05-03  Andreas Schwab  <schwab@redhat.com>
54224         * elf/ldconfig.c (add_dir): Don't crash on empty path.
54226 2011-04-28  Maciej Babinski  <mbabinski@google.com>
54228         [BZ #12714]
54229         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54230         gethostbyname4_r when IPv6 results are possible.
54232 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
54234         [BZ #12723]
54235         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54236         _PC_PIPE_BUF handling.
54238 2011-04-30  Bruno Haible  <bruno@clisp.org>
54240         [BZ #12717]
54241         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54242         * resolv/netdb.h (getnameinfo): Change type of flags parameter
54243         to 'int'.
54244         * inet/getnameinfo.c (getnameinfo): Likewise.
54246 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
54248         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54249         to groups setting in database lookup.
54250         * nss/nsswitch.conf: Add initgroups entry.
54252 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
54254         [BZ #12685]
54255         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54256         mode string.
54257         Patch by Eric Blake <eblake@redhat.com>.
54259 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
54261         * sunrpc/Makefile (need-export-routines): Add svc_run.
54262         (routines): Remove svc_run.
54263         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54264         * sunrpc/clnt_perr.c (clnt_perrno): Export.
54265         * sunrpc/svc_run.c (svc_run): Likewise.
54266         * sunrpc/svc_udp.c (svcudp_create): Likewise.
54268 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
54270         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54271         problem in reallocation in last patch.
54273 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
54275         * sunrpc/Makefile: Move inclusion of Rules.
54277 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
54279         * nss/nss_files/files-initgroups.c: New file.
54280         * nss/Makefile (libnss_files-routines): Add files-initgroups.
54281         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54282         _nss_files_initgroups_dyn.
54284 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
54286         * elf/elf.h (R_ARM_IRELATIVE): Define.
54288 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
54290         * po/ru.po: Update from translation team.
54292 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
54294         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54295         dependencies.
54297 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
54299         [BZ #12653]
54300         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54301         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54302         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54303         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54304         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54306 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
54308         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54309         differing bytes.
54310         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54311         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54312         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54314 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
54316         [BZ #12420]
54317         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54318         storing it.
54319         * stdlib/bug-getcontext.c: New file.
54320         * stdlib/Makefile: Add rules to build and run bug-getcontext.
54322 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54324         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54325         instructions into .machine "z9-109".
54326         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54327         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54329 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54331         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54332         between environment variables and auxiliary vector.
54334 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
54336         * Makefile: Add rules to build linkobj/libc.so.
54337         * include/libc-symbols.h: Define libc_hidden_nolink.
54338         * include/rpc/auth.h: Mark functions which are to be hidden.
54339         * include/rpc/auth_des.h: Likewise.
54340         * include/rpc/auth_unix.h: Likewise.
54341         * include/rpc/clnt.h: Likewise.
54342         * include/rpc/des_crypt.h: Likewise.
54343         * include/rpc/key_prot.h: Likewise.
54344         * include/rpc/pmap_clnt.h: Likewise.
54345         * include/rpc/pmap_prot.h: Likewise.
54346         * include/rpc/pmap_rmt.h: Likewise.
54347         * include/rpc/rpc_msg.h: Likewise.
54348         * include/rpc/svc.h: Likewise.
54349         * include/rpc/svc_auth.h: Likewise.
54350         * include/rpc/xdr.h: Likewise.
54351         * nis/Makefile: Link all DSOs against linkobj/libc.so.
54352         * nss/Makefile: Likewise.
54353         * sunrpc/Makefile: Don't install headers.  Build library with normal
54354         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
54355         * sunrpc/auth_des.c: Hide exported symbols by default, export some
54356         for the compat linking library.  Remove use of INTDEF/INTUSE.
54357         * sunrpc/auth_none.c: Likewise.
54358         * sunrpc/auth_unix.c: Likewise.
54359         * sunrpc/authdes_prot.c: Likewise.
54360         * sunrpc/authuxprot.c: Likewise.
54361         * sunrpc/clnt_gen.c: Likewise.
54362         * sunrpc/clnt_perr.c: Likewise.
54363         * sunrpc/clnt_raw.c: Likewise.
54364         * sunrpc/clnt_simp.c: Likewise.
54365         * sunrpc/clnt_tcp.c: Likewise.
54366         * sunrpc/clnt_udp.c: Likewise.
54367         * sunrpc/clnt_unix.c: Likewise.
54368         * sunrpc/des_crypt.c: Likewise.
54369         * sunrpc/des_soft.c: Likewise.
54370         * sunrpc/get_myaddr.c: Likewise.
54371         * sunrpc/key_call.c: Likewise.
54372         * sunrpc/key_prot.c: Likewise.
54373         * sunrpc/netname.c: Likewise.
54374         * sunrpc/pm_getmaps.c: Likewise.
54375         * sunrpc/pm_getport.c: Likewise.
54376         * sunrpc/pmap_clnt.c: Likewise.
54377         * sunrpc/pmap_prot.c: Likewise.
54378         * sunrpc/pmap_prot2.c: Likewise.
54379         * sunrpc/pmap_rmt.c: Likewise.
54380         * sunrpc/publickey.c: Likewise.
54381         * sunrpc/rpc_cmsg.c: Likewise.
54382         * sunrpc/rpc_common.c: Likewise.
54383         * sunrpc/rpc_dtable.c: Likewise.
54384         * sunrpc/rpc_prot.c: Likewise.
54385         * sunrpc/rpc_thread.c: Likewise.
54386         * sunrpc/rtime.c: Likewise.
54387         * sunrpc/svc.c: Likewise.
54388         * sunrpc/svc_auth.c: Likewise.
54389         * sunrpc/svc_authux.c: Likewise.
54390         * sunrpc/svc_raw.c: Likewise.
54391         * sunrpc/svc_run.c: Likewise.
54392         * sunrpc/svc_simple.c: Likewise.
54393         * sunrpc/svc_tcp.c: Likewise.
54394         * sunrpc/svc_udp.c: Likewise.
54395         * sunrpc/svc_unix.c: Likewise.
54396         * sunrpc/svcauth_des.c: Likewise.
54397         * sunrpc/xcrypt.c: Likewise.
54398         * sunrpc/xdr.c: Likewise.
54399         * sunrpc/xdr_array.c: Likewise.
54400         * sunrpc/xdr_float.c: Likewise.
54401         * sunrpc/xdr_intXX_t.c: Likewise.
54402         * sunrpc/xdr_mem.c: Likewise.
54403         * sunrpc/xdr_rec.c: Likewise.
54404         * sunrpc/xdr_ref.c: Likewise.
54405         * sunrpc/xdr_sizeof.c: Likewise.
54406         * sunrpc/xdr_stdio.c: Likewise.
54408 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
54410         [BZ #12650]
54411         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54412         * sysdeps/ia64/dl-tls.h: Likewise.
54413         * sysdeps/powerpc/dl-tls.h: Likewise.
54414         * sysdeps/s390/dl-tls.h: Likewise.
54415         * sysdeps/sh/dl-tls.h: Likewise.
54416         * sysdeps/sparc/dl-tls.h: Likewise.
54417         * sysdeps/x86_64/dl-tls.h: Likewise.
54418         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
54420 2011-03-14  Andreas Schwab  <schwab@redhat.com>
54422         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
54423         rpath element also skip the following colon.
54424         (expand_dynamic_string_token): Add is_path parameter and pass
54425         down to DL_DST_REQUIRED and _dl_dst_substitute.
54426         (decompose_rpath): Call expand_dynamic_string_token with
54427         non-zero is_path.  Ignore empty rpaths.
54428         (_dl_map_object_from_fd): Call expand_dynamic_string_token
54429         with zero is_path.
54431 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
54433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
54434         Make cancelable.
54436 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
54438         [BZ #12655]
54439         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
54440         Patch by Filipe David Manana <fdmanana@apache.org>.
54442 2011-04-07  Andreas Schwab  <schwab@redhat.com>
54444         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
54445         Maintain aligned stack.
54446         (CHECK_RSP): Remove unused macro.
54448 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
54450         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
54451         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
54453 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
54455         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
54457         * include/features.h: Mention __USE_XOPEN2K8 in comment.
54459 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
54461         [BZ #12518]
54462         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
54463         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
54464         * sysdeps/x86_64/memmove.c: New file.
54465         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
54466         (memcpy): Renamed to ...
54467         (__new_memcpy): This.
54468         (memcpy): Provide GLIBC_2_14 memcpy.
54469         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
54470         (memcpy): Provide GLIBC_2_2_5 memcpy.
54472 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54474         [BZ #12631]
54475         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
54477 2011-03-30  Andreas Schwab  <schwab@redhat.com>
54479         * misc/syncfs.c: New file.
54480         * misc/Makefile (routines): Add syncfs.
54481         * posix/unistd.h: Declare syncfs.
54482         * sysdeps/unix/syscalls.list: Add syncfs.
54484 2011-04-01  Andreas Schwab  <schwab@redhat.com>
54486         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
54487         open_by_handle_at.
54488         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54489         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54490         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54491         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54492         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54493         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
54494         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54496 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54498         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
54499         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54500         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
54501         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54502         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54503         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54504         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54506         * io/Makefile: Compile fallocate.c, fallocate64.c, and
54507         sync_file_range.c with -fexceptions.
54508         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
54509         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
54510         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
54511         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
54512         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
54513         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
54514         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
54515         sync_file_range as cancellation point
54516         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
54517         now a wrapper around __call_sync_file_range with cancellation handling.
54518         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
54519         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
54520         function name to __call_sync_file_range.
54521         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
54522         Add call_sync_file_range.
54524 2011-04-01  Andreas Schwab  <schwab@redhat.com>
54526         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
54527         bits/timex.h.
54529 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
54531         * iconv/iconv.h: Fix typo in comment.
54532         * io/fcntl.h: Likewise.
54533         * libio/stdio.h: Likewise.
54534         * posix/spawn.h: Likewise.
54535         * posix/unistd.h: Likewise.
54536         * stdlib/stdlib.h: Likewise.
54537         * time/time.h: Likewise.
54538         * wcsmbs/wchar.h: Likewise.
54540         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
54541         open_by_handle): Add.
54542         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
54543         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
54544         Augment a few comments.
54545         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
54546         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54547         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54548         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54549         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54550         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
54551         open_by_handle.
54553         * io/fcntl.h (AT_EMPTY_PATH): Define.
54555 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
54557         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
54558         * sysdeps/unix/sysv/linux/bits/time.h: New file.
54559         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
54560         to...
54561         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
54562         * Versions.def: Add GLIBC_2.14.
54563         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
54564         Export.
54566 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
54568         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
54569         round counter.
54570         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54572 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
54574         [BZ #12597]
54575         * string/test-strncmp.c (do_page_test): New function.
54576         (check2): Likewise.
54577         (test_main): Call check2.
54578         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
54580 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
54582         [BZ #12587]
54583         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
54584         Handle cache information in CPU leaf 4.
54585         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
54587 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
54589         [BZ #12583]
54590         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
54591         character representation.
54592         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
54594 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
54596         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
54597         END(__isnan) to END(__isnanf) to match function entry point/label
54598         EALIGN(__isnanf,...).
54600 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
54602         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
54604 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
54606         [BZ #12510]
54607         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
54608         copy from the symbol referenced in the relocation to initialize the
54609         used variable.
54610         Patch by Piotr Bury <pbury@goahead.com>.
54611         * elf/Makefile: Add rules to build and tst-unique3.
54612         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
54613         * elf/tst-unique3.cc: New file.
54614         * elf/tst-unique3.h: New file.
54615         * elf/tst-unique3lib.cc: New file.
54616         * elf/tst-unique3lib2.cc: New file.
54618         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
54620 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
54622         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
54623         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
54624         to _start.
54626 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
54628         * elf/dl-load.c (_dl_map_object): If we are looking for the first
54629         to-be-loaded object along a path to loader is ld.so.
54631 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
54632             Ulrich Drepper  <drepper@gmail.com>
54634         * sysdeps/x86_64/memset.S: After aligning destination, code
54635         branches to different locations depending on the value of
54636         misalignment, when multiarch is enabled. Fix this.
54638 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
54640         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
54641         Set _x86_64_preferred_memory_instruction for AMD processsors.
54642         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54643         Set bit_Prefer_SSE_for_memop for AMD processors.
54645 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
54647         * libio/fmemopen.c (fmemopen): Optimize a bit.
54649 2011-03-03  Andreas Schwab  <schwab@redhat.com>
54651         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
54653 2011-03-03  Roland McGrath  <roland@redhat.com>
54655         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
54657 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
54659         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
54660         __bzero_ultra1 instead of __memset_ultra1.
54662 2011-02-23  Andreas Schwab  <schwab@redhat.com>
54663             Ulrich Drepper  <drepper@gmail.com>
54665         [BZ #12509]
54666         * include/link.h (struct link_map): Add l_orig_initfini.
54667         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
54668         returning unsuccessfully.
54669         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
54670         close of a file loaded at startup, restore the original l_initfini
54671         list.
54672         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
54673         list, store the pointer.
54674         * elf/Makefile ($(objpfx)noload-mem): New rule.
54675         (noload-ENV): Define.
54676         (tests): Add $(objpfx)noload-mem.
54677         * elf/noload.c: Include <memcheck.h>.
54678         (main): Call mtrace.  Close all opened handles.
54680 2011-02-17  Andreas Schwab  <schwab@redhat.com>
54682         [BZ #12454]
54683         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
54684         dependencies are missing.
54686 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54688         Fix __if_freereq crash: Unlike the generic version which uses free,
54689         Hurd needs munmap.
54690         * sysdeps/mach/hurd/ifreq.h: New file.
54692 2011-01-27  Petr Baudis  <pasky@suse.cz>
54693             Ulrich Drepper  <drepper@gmail.com>
54695         [BZ 12445]#
54696         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
54697         to extend_alloca().
54698         * stdio-common/bug23.c: New file.
54699         * stdio-common/Makefile (tests): Add bug23.
54701 2010-09-28  Andreas Schwab  <schwab@redhat.com>
54702             Ulrich Drepper  <drepper@gmail.com>
54704         [BZ #12489]
54705         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
54706         before performing relro protection.  At old place add assertion
54707         to make sure nothing changed.
54709 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
54710             Glauber de Oliveira Costa  <glommer@gmail.com>
54712         * elf/elf.h: Add new ARM TLS relocs.
54714 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
54716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
54717         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
54718         cast from r3.
54719         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
54720         'tests' variable.
54721         * sysdeps/wordsize-64/tst-writev.c: New file.
54723 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
54725         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
54726         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
54727         insns in _dl_start to prevent a TOC reference before relocs are
54728         resolved.
54730 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
54732         [BZ #12469]
54733         * Makeconfig: Remove RANLIB definition.
54734         * Makerules: Don't use RANLIB.
54735         * aclocal.m4: Remove ranlib test.
54736         * configure.in: No need to check for ranlib.
54737         * elf/rtld-Rules: Don't use RANLIB.
54739 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54741         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
54742         protection macro.
54743         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
54744         inclusion protection macro.
54746         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
54747         SIGRTMIN and SIGRTMAX and print information in that case only when
54748         SIGRTMIN is defined.
54750 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
54752         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
54753         arginfo fn returning -1.
54755         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
54756         and thousands string is zero terminated.
54758 2011-02-03  Andreas Schwab  <schwab@redhat.com>
54760         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
54761         sysdeps/unix/sysv/linux/bits/socket.h.
54763 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54765         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
54766         (__CPU_COUNT): Remove old macros.
54767         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
54768         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
54769         (__CPU_ALLOC, __CPU_FREE): Add macros.
54770         (__sched_cpualloc, __sched_cpufree): Add declarations.
54772 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
54774         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
54775         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
54776         * nscd/aicache.c (addhstaiX): Return timeout of added value.
54777         (readdhstai): Return value of addhstaiX call.
54778         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
54779         (addgrbyX): Return value returned by cache_addgr.
54780         (readdgrbyname): Return value returned by addgrbyX.
54781         (readdgrbygid): Likewise.
54782         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
54783         (addpwbyX): Return value returned by cache_addpw.
54784         (readdpwbyname): Return value returned by addhstbyX.
54785         (readdpwbyuid): Likewise.
54786         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
54787         (addservbyX): Return value returned by cache_addserv.
54788         (readdservbyname): Return value returned by addservbyX:
54789         (readdservbyport): Likewise.
54790         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
54791         (addhstbyX): Return value returned by cache_addhst.
54792         (readdhstbyname): Return value returned by addhstbyX.
54793         (readdhstbyaddr): Likewise.
54794         (readdhstbynamev6): Likewise.
54795         (readdhstbyaddrv6): Likewise.
54796         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
54797         (readdinitgroups): Return value returned by addinitgroupsX.
54798         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
54799         (prune_cache): Keep track of timeout value of re-added entries.
54800         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
54801         * nscd/nscd.h: Adjust prototypes of readd* functions.
54803 2011-02-04  Roland McGrath  <roland@redhat.com>
54805         * nis/nis_server.c (nis_servstate): Use the right name for 0.
54806         (nis_stats): Likewise.
54807         * nis/nis_modify.c (nis_modify): Likewise.
54808         * nis/nis_remove.c (nis_remove): Likewise.
54809         * nis/nis_add.c (nis_add): Likewise.
54811         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
54813         * posix/fnmatch_loop.c: Add some consts.
54815         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
54817 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
54819         [BZ #12460]
54820         * config.make.in (config-cflags-novzeroupper): Define.
54821         * configure.in: Substitute libc_cv_cc_novzeroupper.
54822         * elf/Makefile (AVX-CFLAGS): Define.
54823         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
54824         (CFLAGS-tst-auditmod4a.c): Likewise.
54825         (CFLAGS-tst-auditmod4b.c): Likewise.
54826         (CFLAGS-tst-auditmod6b.c): Likewise.
54827         (CFLAGS-tst-auditmod6c.c): Likewise.
54828         (CFLAGS-tst-auditmod7b.c): Likewise.
54829         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
54831 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
54833         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
54834         function to the callback.
54835         Patch partly by Jiri Olsa <jolsa@redhat.com>.
54837 2011-02-02  Andreas Schwab  <schwab@redhat.com>
54839         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
54840         of errno.
54842 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
54844         [BZ #11724]
54845         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
54846         of constructors.
54847         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
54848         of destructors.
54849         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
54851         [BZ #11724]
54852         * elf/Makefile: Add rules to build and run new test.
54853         * elf/tst-initorder.c: New file.
54854         * elf/tst-initorder.exp: New file.
54855         * elf/tst-initordera1.c: New file.
54856         * elf/tst-initordera2.c: New file.
54857         * elf/tst-initordera3.c: New file.
54858         * elf/tst-initordera4.c: New file.
54859         * elf/tst-initorderb1.c: New file.
54860         * elf/tst-initorderb2.c: New file.
54861         * elf/tst-order-a1.c: New file.
54862         * elf/tst-order-a2.c: New file.
54863         * elf/tst-order-a3.c: New file.
54864         * elf/tst-order-a4.c: New file.
54865         * elf/tst-order-b1.c: New file.
54866         * elf/tst-order-b2.c: New file.
54867         * elf/tst-order-main.c: New file.
54868         New test case by George Gensure <werkt0@gmail.com>.
54870 2010-10-01  Andreas Schwab  <schwab@redhat.com>
54872         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
54873         decoding ACE if AI_CANONIDN.
54875 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
54877         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
54879 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
54881         * version.h (RELEASE): Bump for 2.13 release.
54882         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
54884         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
54886         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
54887         MADV_NOHUGEPAGE.
54888         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
54889         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
54890         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
54891         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
54892         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
54893         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
54895         * posix/getconf.c: Update copyright year.
54896         * catgets/gencat.c: Likewise.
54897         * csu/version.c: Likewise.
54898         * debug/catchsegv.sh: Likewise.
54899         * debug/xtrace.sh: Likewise.
54900         * elf/ldconfig.c: Likewise.
54901         * elf/ldd.bash.in: Likewise.
54902         * elf/sprof.c (print_version): Likewise.
54903         * iconv/iconv_prog.c: Likewise.
54904         * iconv/iconvconfig.c: Likewise.
54905         * locale/programs/locale.c: Likewise.
54906         * locale/programs/localedef.c: Likewise.
54907         * malloc/memusage.sh: Likewise.
54908         * malloc/mtrace.pl: Likewise.
54909         * nscd/nscd.c (print_version): Likewise.
54910         * nss/getent.c: Likewise.
54912         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
54913         PF_CAIF, and PF_ALG.
54914         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
54916 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
54918         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
54919         (modules-names): Use them.
54920         (ifunc-test-modules, ifunc-pie-tests): Define.
54921         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
54922         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
54923         (test-extras): Likewise.
54924         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
54925         $(compile-command.c).
54926         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
54927         (all-built-dso): Define.
54928         (check-textrel.out, check-execstack.out): Depend on it.
54930         * configure.in: Don't override --enable-multi-arch.
54932 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
54934         [BZ #6812]
54935         * nscd/hstcache.c (tryagain): Define.
54936         (cache_addhst): Return tryagain not notfound for temporary errors.
54937         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
54938         failed.
54940 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
54942         [BZ #10563]
54943         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
54944         to make the syscall.
54945         * sysdeps/unix/sysv/linux/setgroups.c: New file.
54947         [BZ #12378]
54948         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
54949         and fall back to matching as normal character if the string ends before
54950         the matching ']' is found.  This is what POSIX requires.
54951         * posix/testfnm.c: Adjust test result.
54952         * posix/globtest.sh: Adjust test result.  Add new test.
54953         * posix/tst-fnmatch.input: Likewise.
54954         * posix/tst-fnmatch2.c: Add new test.
54956 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
54958         * elf/Makefile (check-execstack): Revert last change.  Depend on
54959         check-execstack.h.
54960         (check-execstack.h): New target.
54961         (generated): Add check-execstack.h.
54962         * elf/check-execstack.c: Include "check-execstack.h".
54963         (main): Revert last change.
54964         (handle_file): Return zero if GNU_STACK is absent and
54965         DEFAULT_STACK_PERMS doesn't include PF_X.
54967 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
54969         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
54970         in child fails because the descriptor is already closed.
54971         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
54972         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
54973         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
54975         [BZ #12397]
54976         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
54977         syscall.
54979         [BZ #10484]
54980         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
54981         temporary buffer used to handle multi lookups locally.
54982         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
54984 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
54986         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
54987         loader is ld.so.
54989 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
54991         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
54992         alignment for SSE2.
54994 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
54996         [BZ #12394]
54997         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
54998         characters.  When rounding increased number of integer digits recompute
54999         number of groups.
55000         * stdio-common/tst-grouping.c: New file.
55001         * stdio-common/Makefile: Add rules to build and run tst-grouping.
55003 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
55005         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55006         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
55008         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55009         void.
55010         * bits/select.h: Likewise.
55012 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
55014         * po/ja.po: Update from translation team.
55016 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
55018         [BZ #11155]
55019         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55020         implementation just like for lxstat, fxstatat, et al.
55022 2010-12-27  Jim Meyering  <meyering@redhat.com>
55024         [BZ #12348]
55025         * posix/regexec.c (build_trtable): Return failure indication upon
55026         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
55028 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
55030         [BZ #12201]
55031         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55032         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55033         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55034         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55036         [BZ #12207]
55037         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55039         [BZ #12204]
55040         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55041         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55043 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
55045         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55046         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55047         script has SORT_BY_INIT_PRIORITY.
55048         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55049         NO_CTORS_DTORS_SECTIONS is defined.
55050         * elf/soinit.c: Likewise.
55051         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55052         NO_CTORS_DTORS_SECTIONS is defined.
55053         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55054         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55055         * sysdeps/sh/init-first.c: Likewise.
55056         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55058 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
55060         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55061         always use the slow path.
55063 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
55065         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55066         similar rule which adds the sysdep directories to the header search in
55067         order to pick up the correct platform stackinfo.h.
55068         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55069         perform test if it is, otherwise return successfully without testing.
55070         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55071         DEFAULT_STACK_PERMS define in stackinfo.h.
55072         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55073         defined in stackinfo.h.
55074         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55075         DEFAULT_STACK_PERMS defined in stackinfo.h.
55076         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55077         * sysdeps/ia64/stackinfo.h: Likewise.
55078         * sysdeps/s390/stackinfo.h: Likewise.
55079         * sysdeps/sh/stackinfo.h: Likewise.
55080         * sysdeps/sparc/stackinfo.h: Likewise.
55081         * sysdeps/x86_64/stackinfo.h: Likewise.
55082         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55083         PF_X for powerpc64.  Retain PF_X for powerpc32.
55085 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
55087         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55088         accurately.
55089         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55090         GETDENTS_64BIT_ALIGNED.
55092 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
55094         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
55096 2010-12-10  Andreas Schwab  <schwab@redhat.com>
55098         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55099         _GNU_SOURCE.
55101         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55102         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55103         Remove __restrict.
55104         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55105         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55107 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
55109         [BZ #11655]
55110         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55111         are initialized.
55113 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
55115         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55117 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
55119         * po/it.po: Update from translation team.
55121 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
55123         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55124         unused codes.
55126 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
55128         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55130 2010-11-24  Andreas Schwab  <schwab@redhat.com>
55132         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55133         specially.
55134         (gaih_getanswer_slice): Likewise.
55136 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
55138         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55140 2010-05-31  Petr Baudis  <pasky@suse.cz>
55142         [BZ #11149]
55143         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55144         silently even in the chroot mode.
55146 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
55148         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55149         last patch a bit.  Pretty printing
55151 2010-05-31  Petr Baudis <pasky@suse.cz>
55153         [BZ #10085]
55154         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55155         initialization of skip_initgroups_dyn.
55157 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
55159         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55160         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55162 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
55164         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55166 2010-11-11  Andreas Schwab  <schwab@redhat.com>
55168         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55169         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55170         (tst-fnmatch-ENV): Set MALLOC_TRACE.
55171         ($(objpfx)tst-fnmatch-mem): New rule.
55172         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55173         * posix/tst-fnmatch.c (main): Call mtrace.
55175 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
55177         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55178         Support Intel processor model 6 and model 0x2c.
55180 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
55182         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55183           signed comparison.
55185 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
55187         [BZ #12205]
55188         * string/test-strncasecmp.c (check_result): New function.
55189         (do_one_test): Use it.
55190         (check1): New function.
55191         (test_main): Use it.
55192         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55193         Support strcasecmp and strncasecmp.
55195 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
55197         [BZ #12194]
55198         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55199         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55201 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
55203         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55204         IFUNC support.
55205         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55206         memset-x86-64.
55207         * sysdeps/x86_64/multiarch/bzero.S: New file.
55208         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55209         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55210         * sysdeps/x86_64/multiarch/memset.S: New file.
55211         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55212         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55213         Set bit_Prefer_SSE_for_memop for Intel processors.
55214         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55215         Define.
55216         (index_Prefer_SSE_for_memop): Define.
55217         (HAS_PREFER_SSE_FOR_MEMOP): Define.
55219 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
55221         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55222         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55224 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
55226         [BZ #12191]
55227         * sysdeps/i386/i686/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.
55232         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55233         (__x86_64_raw_data_cache_size_half): Likewise.
55234         (__x86_64_raw_shared_cache_size): Likewise.
55235         (__x86_64_raw_shared_cache_size_half): Likewise.
55236         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55237         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55238         and __x86_64_raw_shared_cache_size_half.  Round
55239         __x86_64_data_cache_size_half, __x86_64_data_cache_size
55240         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55241         to multiple of 256 bytes.
55243 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
55245         [BZ #12167]
55246         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55247         of inacessible symlinks.  Verify result of symlink before returning it.
55248         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55249         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55251 2010-10-28  Erich Ritz  <erichritz@gmail.com>
55253         * math/math.h (isinf): Fix typo in comment.
55255 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
55257         * po/da.po: Update from translation team.
55259 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
55261         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55262         is added to the list.
55264 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55265             Ulrich Drepper  <drepper@gmail.com>
55267         * elf/dl-object.c (_dl_new_object): Don't append the new object to
55268         the global list here.  Move code to...
55269         (_dl_add_to_namespace_list): ...here.  New function.
55270         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55271         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55272         * elf/dl-load.c (lose): Don't remove the element from the list.
55273         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55274         (_dl_map_object): Likewise.
55276 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
55278         [BZ #12159]
55279         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55280         into all bytes of SSE register.
55281         Patch by Richard Li <richardpku@gmail.com>.
55283 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
55285         [BZ #12140]
55286         * malloc/malloc.c (_int_free): Fill correct number of bytes when
55287         perturbing.
55289 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
55291         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55292         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55293         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55294         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55296         submachine.
55297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55299 2010-10-22  Andreas Schwab  <schwab@redhat.com>
55301         * include/dlfcn.h (__RTLD_SECURE): Define.
55302         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
55303         mode & __RTLD_SECURE instead.
55304         (open_path): Rename preloaded parameter to secure.
55305         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55306         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55307         * elf/dl-deps.c (openaux): Likewise.
55308         * elf/rtld.c (struct map_args): Remove is_preloaded.
55309         (map_doit): Don't use it.
55310         (dl_main): Likewise.
55311         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55312         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55314 2010-09-09  Andreas Schwab  <schwab@redhat.com>
55316         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55317         (sysd-rules-targets): Remove duplicates.
55318         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55319         rtld-%.$o dependency.
55321 2010-10-18  Andreas Schwab  <schwab@redhat.com>
55323         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55324         _dl_map_object do it.
55326 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
55328         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55329         fast fma builtins, define the macros in the C99 standard.
55330         (FP_FAST_FMAF): Likewise.
55331         (FP_FAST_FMAL): Likewise.
55332         * sysdeps/x86_64/bits/mathdef.h: Likewise.
55334         * bits/mathdef.h: Update copyright year.
55335         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55337 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
55339         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55340         builtins, define the macros in the C99 standard.
55341         (FP_FAST_FMAF): Likewise.
55342         (FP_FAST_FMAL): Likewise.
55343         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55344         multiply/add.
55345         (FP_FAST_FMAF): Likewise.
55347 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
55349         [BZ #3268]
55350         * math/libm-test.inc (fma_test): Some new testcases.
55351         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55352         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55353         y and infinite z.  Do multiplication by C already in long double.
55354         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55355         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55356         y and infinite z.  Do bitwise or of inexact bit into u.d.
55357         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55358         * sysdeps/i386/fpu/s_fmaf.S: Removed.
55359         * sysdeps/i386/fpu/s_fma.S: Removed.
55360         * sysdeps/i386/fpu/s_fmal.S: Removed.
55362 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
55364         [BZ #3268]
55365         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55366         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55367         computation is not scheduled after fetestexcept.  Fix value
55368         of minimum denormal long double.
55370 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
55372         [BZ #3268]
55373         * math/libm-test.inc (fma_test): Add some more tests.
55374         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55375         correctly.
55377 2010-10-15  Andreas Schwab  <schwab@redhat.com>
55379         * scripts/data/localplt-s390-linux-gnu.data: New file.
55380         * scripts/data/localplt-s390x-linux-gnu.data: New file.
55382 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
55384         [BZ #3268]
55385         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55386         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55387         instead of dbl-64.
55388         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55389         inlines.
55390         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55391         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55392         if one of x and y is very large and the other is subnormal.
55393         * sysdeps/s390/fpu/s_fmaf.c: New file.
55394         * sysdeps/s390/fpu/s_fma.c: New file.
55395         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55396         * sysdeps/powerpc/fpu/s_fma.S: New file.
55397         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55398         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55399         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55401 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
55403         [BZ #3268]
55404         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55405         fma tests.
55406         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55407         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55408         * sysdeps/i386/i686/multiarch/s_fma.c: Include
55409         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55410         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55411         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55412         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55414 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
55416         [BZ #12078]
55417         * posix/regcomp.c (parse_branch): One more memory leak plugged.
55418         * posix/bug-regex31.input: Add test case.
55420 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
55422         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
55423         * posix/bug-regex31.input: New file.
55425         [BZ #12078]
55426         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
55427         (parse_sub_exp): Fix last change, use postorder.
55429         * posix/bug-regex31.c: New file.
55430         * posix/Makefile: Add rules to build and run bug-regex31.
55432         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
55434         [BZ #12078]
55435         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
55437         [BZ #12108]
55438         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
55439         to have entries in sys_siglist.
55441         [BZ #12093]
55442         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
55443         be NULL.
55445 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
55447         [BZ #3268]
55448         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
55449         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
55450         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
55451         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
55452         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
55453         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
55454         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
55455         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
55456         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
55457         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
55458         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
55459         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
55460         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
55461         * math/ftestexcept.c (fetestexcept): Likewise.
55462         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
55463         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
55464         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
55465         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
55466         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
55467         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
55468         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
55470 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
55472         [BZ #12107]
55473         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
55474         newline.
55476 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
55478         * string/bug-strstr1.c: New file.
55479         * string/Makefile: Add rules to build and run bug-strstr1.
55481 2010-10-05  Eric Blake  <eblake@redhat.com>
55483         [BZ #12092]
55484         * string/str-two-way.h (two_way_long_needle): Always clear memory
55485         when skipping input due to the shift table.
55487 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
55489         [BZ #12005]
55490         * malloc/mcheck.c: Handle large requests.
55492         [BZ #12077]
55493         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
55494         for strncmp and strncasecmp.
55495         * string/stratcliff.c: Add tests for strcmp and strncmp.
55496         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
55498 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
55500         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
55501         __set_fpscr.
55503 2010-09-30  Andreas Jaeger  <aj@suse.de>
55505         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
55506         (CGROUP_SUPER_MAGIC): Define.
55507         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55508         Handle btrfs and cgroup file systems.
55509         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
55510         Likewise.
55512 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
55514         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
55515         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
55517 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55519         [BZ #12067]
55520         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
55521         trying to locate the ELF header.
55523 2010-09-27  Andreas Schwab  <schwab@redhat.com>
55525         [BZ #11611]
55526         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
55527         Mask out sign-bit copies when constructing f_fsid.
55529 2010-09-24  Petr Baudis <pasky@suse.cz>
55531         * debug/stack_chk_fail_local.c: Add missing licence exception.
55532         * debug/warning-nop.c: Likewise.
55534 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
55536         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
55537         implementing getdents64 using getdents syscall, set d_type if
55538         __ASSUME_GETDENTS32_D_TYPE.
55540 2010-09-16  Andreas Schwab  <schwab@redhat.com>
55542         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
55543         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
55545 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
55547         [BZ #12037]
55548         * posix/unistd.h: Undo change of feature selection for ftruncate from
55549         2010-01-11.
55551 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
55553         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
55554         detection.
55556 2010-09-20  Andreas Schwab  <schwab@redhat.com>
55558         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
55559         fanotify_mark.
55560         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
55562 2010-09-14  Andreas Schwab  <schwab@redhat.com>
55564         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
55565         variables after CHECK_SP call.
55566         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
55568 2010-09-13  Andreas Schwab  <schwab@redhat.com>
55569             Ulrich Drepper  <drepper@redhat.com>
55571         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
55572         re-relocationg ld.so.
55573         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
55574         _dl_init_paths call.
55575         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
55576         here anymore.
55578 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
55580         * resolv/res_init.c (__res_vinit): Count the default server we added.
55582 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
55583             Ulrich Drepper  <drepper@redhat.com>
55585         [BZ #11968]
55586         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
55587         (____longjmp_chk): Use %ebx for saving value across system call.
55588         Add unwind info.
55590 2010-09-06  Andreas Schwab  <schwab@redhat.com>
55592         * manual/Makefile: Don't mix pattern rules with normal rules.
55594 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
55596         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
55597         operation.
55598         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
55599         * libio/iofopncook.c (_IO_cookie_init): Likewise.
55600         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
55601         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
55602         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55603         Likewise.
55605 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
55607         [BZ #11979]
55608         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
55609         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
55611 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
55613         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
55614         * sysdeps/x86_64/addmul_1.S: Likewise.
55615         * sysdeps/x86_64/lshift.S: Likewise.
55616         * sysdeps/x86_64/mul_1.S: Likewise.
55617         * sysdeps/x86_64/rshift.S: Likewise.
55618         * sysdeps/x86_64/sub_n.S: Likewise.
55619         * sysdeps/x86_64/submul_1.S: Likewise.
55621 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55623         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
55624         Define __sched_param instead of SCHED_* and sched_param when
55625         <bits/sched.h> is included with __need_schedparam defined.
55626         * bits/sched.h [__need_schedparam]
55627         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
55628         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
55629         (__defined_schedparam): Define to 1.
55630         (__sched_param): New structure, identical to sched_param.
55631         (__need_schedparam): Undefine.
55633 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
55635         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
55636         (epoll_create1): Declare.
55638         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
55640 2010-08-31  Andreas Schwab  <schwab@redhat.com>
55642         [BZ #7066]
55643         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
55644         shifting retval into place.
55646 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
55648         * nis/rpcsvc/nis.h: Update copyright notice.
55649         * nis/rpcsvc/nis.x: Likewise.
55650         * nis/rpcsvc/nis_callback.h: Likewise.
55651         * nis/rpcsvc/nis_callback.x: Likewise.
55652         * nis/rpcsvc/nis_object.x: Likewise.
55653         * nis/rpcsvc/nis_tags.h: Likewise.
55654         * nis/rpcsvc/yp.h: Likewise.
55655         * nis/rpcsvc/yp.x: Likewise.
55656         * nis/rpcsvc/ypupd.h: Likewise.
55657         * nis/yp_xdr.c: Likewise.
55658         * nis/ypupdate_xdr.c: Likewise.
55660         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
55661         mainly the body of pmap_getport.  Add parameters to specify timeouts.
55662         (pmap_getport): Use __libc_rpc_getport.
55663         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
55664         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
55665         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
55667 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
55669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
55670         fanotify_mark.
55672 2010-08-27  Roland McGrath  <roland@redhat.com>
55674         * sysdeps/i386/i686/multiarch/Makefile
55675         (CFLAGS-varshift.c): New variable.
55677 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
55679         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
55680         * sysdeps/i386/i686/multiarch/varshift.c: New file.
55682         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
55684         * sysdeps/x86_64/strlen.S: Minimal code improvement.
55686 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
55688         * sysdeps/x86_64/strlen.S: Unroll the loop.
55689         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55690         strlen-sse2 strlen-sse2-bsf.
55691         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
55692         __strlen_no_bsf if bit_Slow_BSF is set.
55693         (__strlen_sse42): Removed.
55694         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
55695         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
55697 2010-08-25  Roland McGrath  <roland@redhat.com>
55699         * sysdeps/x86_64/multiarch/varshift.S: File removed.
55700         * sysdeps/x86_64/multiarch/varshift.c: New file.
55701         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
55702         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
55703         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
55704         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
55706 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
55708         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
55709         strlen-sse2 strlen-sse2-bsf.
55710         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
55711         __strlen_sse2_bsf if bit_Slow_BSF is unset.
55712         (__strlen_sse2): Removed.
55713         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
55714         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
55715         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
55716         bit_Slow_BSF for Atom.
55717         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
55718         (index_Slow_BSF): Define.
55719         (HAS_SLOW_BSF): Define.
55721 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
55723         [BZ #10851]
55724         * resolv/res_init.c (__res_vinit): When no server address at all
55725         is given default to loopback.
55727 2010-08-24  Roland McGrath  <roland@redhat.com>
55729         * configure.in: Remove config-name.h generation.
55730         * configure: Regenerated.
55731         * config-name.in: File removed.
55732         * scripts/config-uname.sh: New file.
55733         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
55734         ($(objdir)config-name.h): New target.
55736         * sunrpc/rpc_parse.h: Avoid nested comment.
55738 2010-08-24  Richard Henderson  <rth@redhat.com>
55739             Ulrich Drepper  <drepper@redhat.com>
55740             H.J. Lu  <hongjiu.lu@intel.com>
55742         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
55743         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
55744         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
55745         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
55746         _mm_alignr_epi8 with _mm_loadu_si128.
55747         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
55748         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
55749         (__m128i_shift_right): Removed.
55750         * sysdeps/i386/i686/multiarch/varshift.h: New file.
55751         * sysdeps/i386/i686/multiarch/varshift.S: New file.
55752         * sysdeps/x86_64/multiarch/varshift.h: New file.
55753         * sysdeps/x86_64/multiarch/varshift.S: New file.
55755 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
55757         * configure.in: Move assembler checks to before sysdep dir checking.
55759 2010-08-20  Petr Baudis  <pasky@suse.cz>
55761         * LICENSES: Sync the sunrpc license.
55763 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
55765         * sunrpc/auth_des.c: Update copyright notice once again.
55766         * sunrpc/auth_none.c: Likewise.
55767         * sunrpc/auth_unix.c: Likewise.
55768         * sunrpc/authdes_prot.c: Likewise.
55769         * sunrpc/authuxprot.c: Likewise.
55770         * sunrpc/bindrsvprt.c: Likewise.
55771         * sunrpc/clnt_gen.c: Likewise.
55772         * sunrpc/clnt_perr.c: Likewise.
55773         * sunrpc/clnt_raw.c: Likewise.
55774         * sunrpc/clnt_simp.c: Likewise.
55775         * sunrpc/clnt_tcp.c: Likewise.
55776         * sunrpc/clnt_udp.c: Likewise.
55777         * sunrpc/clnt_unix.c: Likewise.
55778         * sunrpc/des_crypt.c: Likewise.
55779         * sunrpc/des_soft.c: Likewise.
55780         * sunrpc/get_myaddr.c: Likewise.
55781         * sunrpc/getrpcport.c: Likewise.
55782         * sunrpc/key_call.c: Likewise.
55783         * sunrpc/key_prot.c: Likewise.
55784         * sunrpc/openchild.c: Likewise.
55785         * sunrpc/pm_getmaps.c: Likewise.
55786         * sunrpc/pm_getport.c: Likewise.
55787         * sunrpc/pmap_clnt.c: Likewise.
55788         * sunrpc/pmap_prot.c: Likewise.
55789         * sunrpc/pmap_prot2.c: Likewise.
55790         * sunrpc/pmap_rmt.c: Likewise.
55791         * sunrpc/rpc/auth.h: Likewise.
55792         * sunrpc/rpc/auth_unix.h: Likewise.
55793         * sunrpc/rpc/clnt.h: Likewise.
55794         * sunrpc/rpc/des_crypt.h: Likewise.
55795         * sunrpc/rpc/key_prot.h: Likewise.
55796         * sunrpc/rpc/netdb.h: Likewise.
55797         * sunrpc/rpc/pmap_clnt.h: Likewise.
55798         * sunrpc/rpc/pmap_prot.h: Likewise.
55799         * sunrpc/rpc/pmap_rmt.h: Likewise.
55800         * sunrpc/rpc/rpc.h: Likewise.
55801         * sunrpc/rpc/rpc_des.h: Likewise.
55802         * sunrpc/rpc/rpc_msg.h: Likewise.
55803         * sunrpc/rpc/svc.h: Likewise.
55804         * sunrpc/rpc/svc_auth.h: Likewise.
55805         * sunrpc/rpc/types.h: Likewise.
55806         * sunrpc/rpc/xdr.h: Likewise.
55807         * sunrpc/rpc_clntout.c: Likewise.
55808         * sunrpc/rpc_cmsg.c: Likewise.
55809         * sunrpc/rpc_common.c: Likewise.
55810         * sunrpc/rpc_cout.c: Likewise.
55811         * sunrpc/rpc_dtable.c: Likewise.
55812         * sunrpc/rpc_hout.c: Likewise.
55813         * sunrpc/rpc_main.c: Likewise.
55814         * sunrpc/rpc_parse.c: Likewise.
55815         * sunrpc/rpc_parse.h: Likewise.
55816         * sunrpc/rpc_prot.c: Likewise.
55817         * sunrpc/rpc_sample.c: Likewise.
55818         * sunrpc/rpc_scan.c: Likewise.
55819         * sunrpc/rpc_scan.h: Likewise.
55820         * sunrpc/rpc_svcout.c: Likewise.
55821         * sunrpc/rpc_tblout.c: Likewise.
55822         * sunrpc/rpc_util.c: Likewise.
55823         * sunrpc/rpc_util.h: Likewise.
55824         * sunrpc/rpcinfo.c: Likewise.
55825         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
55826         * sunrpc/rpcsvc/key_prot.x: Likewise.
55827         * sunrpc/rpcsvc/klm_prot.x: Likewise.
55828         * sunrpc/rpcsvc/mount.x: Likewise.
55829         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
55830         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
55831         * sunrpc/rpcsvc/rex.x: Likewise.
55832         * sunrpc/rpcsvc/rstat.x: Likewise.
55833         * sunrpc/rpcsvc/rusers.x: Likewise.
55834         * sunrpc/rpcsvc/sm_inter.x: Likewise.
55835         * sunrpc/rpcsvc/spray.x: Likewise.
55836         * sunrpc/rpcsvc/yppasswd.x: Likewise.
55837         * sunrpc/rtime.c: Likewise.
55838         * sunrpc/svc.c: Likewise.
55839         * sunrpc/svc_auth.c: Likewise.
55840         * sunrpc/svc_authux.c: Likewise.
55841         * sunrpc/svc_raw.c: Likewise.
55842         * sunrpc/svc_run.c: Likewise.
55843         * sunrpc/svc_simple.c: Likewise.
55844         * sunrpc/svc_tcp.c: Likewise.
55845         * sunrpc/svc_udp.c: Likewise.
55846         * sunrpc/svc_unix.c: Likewise.
55847         * sunrpc/svcauth_des.c: Likewise.
55848         * sunrpc/xcrypt.c: Likewise.
55849         * sunrpc/xdr.c: Likewise.
55850         * sunrpc/xdr_array.c: Likewise.
55851         * sunrpc/xdr_float.c: Likewise.
55852         * sunrpc/xdr_mem.c: Likewise.
55853         * sunrpc/xdr_rec.c: Likewise.
55854         * sunrpc/xdr_ref.c: Likewise.
55855         * sunrpc/xdr_sizeof.c: Likewise.
55856         * sunrpc/xdr_stdio.c: Likewise.
55858         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
55859         handling.
55861 2010-08-19  Andreas Schwab  <schwab@redhat.com>
55863         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
55865 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
55867         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
55868         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
55869         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
55870         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
55871         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
55872         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
55873         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
55874         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
55875         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
55876         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
55877         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
55878         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
55879         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
55880         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
55882 2010-07-26  Anton Blanchard  <anton@samba.org>
55884         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
55885         * malloc/arena.c (heap_trim): Likewise.
55887 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
55889         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
55890         here.  Not...
55891         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
55892         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
55894 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
55896         * sysdeps/i386/elf/Makefile: New file.
55898 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
55900         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
55901         from fanotify_init.
55902         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
55903         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
55905 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
55907         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
55908         of strncasecmp_l.
55909         * sysdeps/multiarch/strcmp.S: Likewise.
55911 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
55913         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
55914         strncase_l-nonascii.
55915         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
55916         Add strncase_l-ssse3.
55917         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
55918         * sysdeps/x86_64/strcmp.S: Likewise.
55919         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
55920         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
55921         * sysdeps/x86_64/strncase.S: New file.
55922         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
55923         * sysdeps/x86_64/strncase_l.S: New file.
55924         * string/Makefile (strop-tests): Add strncasecmp.
55925         * string/test-strncasecmp.c: New file.
55927         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
55928         warning.
55930         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
55931         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
55933 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
55935         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
55937 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
55939         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
55940         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
55941         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
55943 2010-05-01  Alan Modra  <amodra@gmail.com>
55945         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
55946         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
55947         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
55948         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
55949         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
55950         tidying.  Don't tail-call __sigjmp_save for static lib.
55951         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
55952         save location.
55953         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
55954         (CALL_MCOUNT): Add eh info, and nop after bl.
55955         (TAIL_CALL_SYSCALL_ERROR): New macro.
55956         (PSEUDO_RET): Use it.
55957         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
55958         Correct save location of integer regs and cr.
55959         (_dl_profile_resolve): Correct cr save location.  Delete nops
55960         after bl when SHARED.  Reduce cfi size a little by better
55961         placement of cfi directives.
55962         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
55963         make a stack frame.  Instead use parm save area as a temp.
55964         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
55965         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
55966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
55967         Don't make a stack frame for parent, use parm save area.
55968         Increase child stack frame to 112 bytes.  Don't save unused reg,
55969         and adjust reg usage.  Set up cfi on error recovery and
55970         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
55971         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
55972         (__makecontext): Add dummy nop after jump to exit.
55973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
55974         Use correct parm save area and cr save, reduce stack frame.
55975         Correct cfi for possible PSEUDO_RET frame setup.
55976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
55977         Branch to local label emitted by PSEUDO_RET rather than
55978         __syscall_error.
55980 2010-08-12  Andreas Schwab  <schwab@redhat.com>
55982         [BZ #11904]
55983         * locale/programs/locale.c (print_assignment): New function.
55984         (show_locale_vars): Use it.
55986 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
55988         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
55989         field.
55990         (struct statfs64): Likewise.
55991         (_STATFS_F_FLAGS): Define.
55992         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
55993         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
55994         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
55995         (ST_VALID): Define locally.
55996         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
55997         __statvfs_getflags, use the provided value.
55998         * sysdeps/unix/sysv/linux/kernel-features.h: Define
55999         __ASSUME_STATFS_F_FLAGS.
56001         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56003         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56004         Add sys/fanotify.h.
56005         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56006         fanotify_mask for GLIBC_2.13.
56007         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56008         fanotify_init and fanotify_mark.
56009         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56010         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56012         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56013         Add prlimit.
56014         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56015         prlimit64 for GLIBC_2.13.
56016         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56017         prlimit64.
56018         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56019         syscall.
56020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56021         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56022         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56023         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56024         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
56025         add prlimit alias.
56026         * sysdeps/unix/sysv/linux/prlimit.c: New file.
56028         [BZ #11903]
56029         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56030         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56032         * nss/Makefile: Add rules to build and run tst-nss-test1.
56033         * shlib-versions: Add entry for libnss_test1.
56034         * nss/nss_test1.c: New file.
56035         * nss/tst-nss-test1.c: New file.
56037         * nss/nsswitch.c (__nss_database_custom): Define new variable.
56038         (__nss_configure_lookup): Set appropriate entry in
56039         __nss_configure_lookup to true.
56040         * nss/nsswitch.h: Define enum with indeces of databases in
56041         databases and __nss_database_custom arrays.  Declare
56042         __nss_database_custom.
56043         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56044         to avoid using nscd when custom rules are installed.
56045         * nss/getXXbyYY_r.c: Likewise.
56046         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56048         * nss/nss_files/files-parse.c: Whitespace fixes.
56050 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
56052         [BZ #11883]
56053         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56054         * posix/fnmatch_loop.c: Likewise.
56056 2010-07-17  Andi Kleen  <ak@linux.intel.com>
56058         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56059         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56060         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56061         * Versions.def [GLIBC_2.13]: Add.
56063 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
56065         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56066         Also fail if tpwd after pwuid call is NULL.
56068 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56070         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56071         when converting to ms.
56073 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56075         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56076         EOPNOTSUPP errors with ENOTTY.
56077         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56078         EOPNOTSUPP errors with ENOTTY.
56080 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
56082         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56083         Add strcasecmp_l-ssse3.
56084         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56085         strcasecmp.
56086         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56087         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56088         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56090 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
56092         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56094         * string/Makefile (strop-tests): Add strcasecmp.
56095         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56096         strcasecmp_l-nonascii.
56097         (gen-as-const-headers): Add locale-defines.sym.
56098         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56099         * sysdeps/x86_64/strcasecmp.S: New file.
56100         * sysdeps/x86_64/strcasecmp_l.S: New file.
56101         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56102         * sysdeps/x86_64/locale-defines.sym: New file.
56103         * string/test-strcasecmp.c: New file.
56105         * string/test-strcasestr.c: Test both ends of the range of characters.
56106         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56108 2010-07-29  Roland McGrath  <roland@redhat.com>
56110         [BZ #11856]
56111         * manual/locale.texi (Yes-or-No Questions): Fix example code.
56113 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
56115         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56116         for ld.so.
56118 2010-07-27  Andreas Schwab  <schwab@redhat.com>
56120         * manual/memory.texi (Malloc Tunable Parameters): Document
56121         M_PERTURB.
56123 2010-07-26  Roland McGrath  <roland@redhat.com>
56125         [BZ #11840]
56126         * configure.in (-fgnu89-inline check): Set and substitute
56127         gnu89_inline, not libc_cv_gnu89_inline.
56128         * configure: Regenerated.
56129         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56131 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
56133         * string/test-strnlen.c: New file.
56134         * string/Makefile (strop-tests): Add strnlen.
56135         * string/tester.c (test_strnlen): Add a few more test cases.
56136         * string/tst-strlen.c: Better error reporting.
56138         * sysdeps/x86_64/strnlen.S: New file.
56140 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
56142         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56143         lower-latency instructions.
56145 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
56147         * string/test-strcasestr.c: New file.
56148         * string/test-strstr.c: New file.
56149         * string/Makefile (strop-tests): Add strstr and strcasestr.
56150         * string/str-two-way.h: Don't undefine MAX.
56151         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56153 2010-07-21  Andreas Schwab  <schwab@redhat.com>
56155         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56156         strcasestr-nonascii.
56157         (CFLAGS-strcasestr-nonascii.c): Define.
56158         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56159         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56160         Remove unused attribute.
56162 2010-07-20  Roland McGrath  <roland@redhat.com>
56164         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56165         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
56166         ld.so.cache was broken.  With it, there is no way to disable dsocaps
56167         like LD_HWCAP_MASK can disable hwcaps.
56169 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
56171         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56173 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
56175         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56176         call in strcasestr.
56177         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56178         __strcasestr_sse42_nonascii.
56179         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56180         strcasestr-nonascii.c.
56181         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56183 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
56185         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56186         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56187         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56188         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56190 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
56192         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56193         fcntl.
56195 2010-07-06  Andreas Schwab  <schwab@redhat.com>
56197         [BZ #11577]
56198         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56199         dl_signal_cerror.
56201 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
56203         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56204         _PC_PIPE_BUF using F_GETPIPE_SZ.
56206 2010-07-05  Roland McGrath  <roland@redhat.com>
56208         * manual/arith.texi (Rounding Functions): Fix rint description
56209         implicit in round description.
56211 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
56213         * elf/Makefile: Fix linking for a few tests to make recent linker
56214         happy.
56216 2010-06-30  Andreas Schwab  <schwab@redhat.com>
56218         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56219         $(common-objpfx)libc_nonshared.a.
56221 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
56223         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56224         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56225         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56226         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56227         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56228         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56229         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56230         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56231         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56233         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56235         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56236         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56237         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56245         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56246         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56247         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56248         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56249         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56250         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56251         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56252         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56253         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56254         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56255         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56256         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56259         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56261         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56262         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56272 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
56274         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56275         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
56276         * string/memmove.c (memmove): Renamed to ...
56277         (MEMMOVE): ...this.  Default to memmove.
56278         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56279         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56280         (END_CHK): Define.
56281         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56282         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56283         mempcpy-ssse3-back memmove-ssse3-back.
56284         * sysdeps/x86_64/multiarch/bcopy.S: New file .
56285         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56286         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56287         * sysdeps/x86_64/multiarch/memcpy.S: New file.
56288         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56289         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56290         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56291         * sysdeps/x86_64/multiarch/memmove.c: New file.
56292         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56293         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56294         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56295         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56296         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56297         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56298         Define.
56299         (index_Fast_Copy_Backward): Define.
56300         (HAS_ARCH_FEATURE): Define.
56301         (HAS_FAST_REP_STRING): Define.
56302         (HAS_FAST_COPY_BACKWARD): Define.
56304 2010-06-21  Andreas Schwab  <schwab@redhat.com>
56306         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56307         Restore proper fallback handling.
56309 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
56311         [BZ #11701]
56312         * posix/group_member.c (__group_member): Correct checking loop.
56314         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56315         OOM in getpwuid_r correctly.  Return error number when the caller
56316         should return, otherwise -1.
56317         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56318         call returning > 0 value.
56319         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56321 2010-06-07  Andreas Schwab  <schwab@redhat.com>
56323         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56324         libc_nonshared.a from targets in modules-names.
56326 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
56328         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56329         requires it.
56331 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
56333         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56334         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56335         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56336         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56338 2010-06-02  Andreas Schwab  <schwab@redhat.com>
56340         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56342 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
56344         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56345         and F_GETPIPE_SZ.
56346         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56347         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56348         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56349         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56350         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56351         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56353 2010-06-14  Roland McGrath  <roland@redhat.com>
56355         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56357 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
56359         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56360         __REDIRECT followed by __THROW.
56361         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56362         * posix/getopt.h (getopt): Likewise.
56364 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
56366         * hurd/lookup-at.c (__file_name_lookup_at): Accept
56367         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
56368         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56369         in AT_FLAGS.
56370         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56371         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56373 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
56375         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56377 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
56379         [BZ #11640]
56380         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56381         Properly check family and model.
56383 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
56385         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56387 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
56389         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56391 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
56393         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56394         symbol reference.
56396 2010-05-19  Andreas Schwab  <schwab@redhat.com>
56398         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56399         symbol reference.
56401 2010-05-21  Andreas Schwab  <schwab@redhat.com>
56403         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56404         and internal_recvmmsg.
56405         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56406         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56407         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56408         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56410         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56411         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56412         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56414 2010-05-20  Andreas Schwab  <schwab@redhat.com>
56416         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56418 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
56420         POWER7 optimizations.
56421         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
56422         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
56424 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
56426         * version.h: Update for 2.13 development version.
56428 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
56430         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
56431         exceptions.  Return 0.
56433 2010-05-07  Roland McGrath  <roland@redhat.com>
56435         * elf/ldconfig.c (main): Add a const.
56437 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
56439         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
56440         (args_options): Add no-idn option.
56441         (ahosts_keys_int): Add idn_flags to ai_flags.
56442         (parse_option): Handle 'i' option to clear idn_flags.
56444         * malloc/malloc.c (_int_free): Possible race in the most recently
56445         added check.  Only act on the data if no current modification
56446         happened.
56448 See ChangeLog.17 for earlier changes.